Jump to content

Fixed facial expressions while playing as NPCs


lol username
 Share

Recommended Posts

While you can play as NPCs via Cheat Engine, it doesn't always work perfectly - most NPCs only have face textures for the expressions they normally show in-game, and when they're plopped into a cutscene that needs a texture they don't have, it can cause some weird stuff:

lego_racers_2_2013-09-25_17-16-38-36.png

lego_racers_2_2013-09-25_17-18-49-64.png

While I hope we'll eventually be able to create full sets of face textures for the NPCs, in the meantime, it's pretty easy to patch things up a bit:

lego_racers_2_2013-09-25_14-32-00-33.png

lego_racers_2_2013-09-25_17-11-37-76.png

Go to GAMEDATAGAME DATACHARACTERSHEADS and open FACES.TXT. The developer comments should be enough to explain how it works.

What you wanna do is turn something like this:

#  Frankie Solido (Brick Hauss)
#
#  (individual)
#
frankie solido happy1
null
null
null
null
null
null
null
Into something like this:
#  Frankie Solido (Brick Hauss)
#
#  (individual)
#
frankie solido happy1
frankie solido happy2
frankie solido sad1
frankie solido sad2
frankie solido angry1
frankie solido angry2
frankie solido surprised1
frankie solido surprised2
... For whatever NPCs you wanna fix. Then go into the TEXTURES folder, make copies of whatever facial expressions DO exist, and rename them to match up with the edit you made to the TXT file. Frankie Solido actually has an unused HAPPY2 texture already, so simply cloning those two and renaming them for sad, angry, and surprise should make things work right. Of course, they won't actually show the specified emotions as you're probably gonna be copying the default happy texture(s) around, but it still looks a heck of a lot better than glitchy hair or a big red X.

Also, I tried just editing the TXT file to list the same textures repeatedly (instead of actually duplicating the textures in the assets), but the game didn't recognize them and glitched out as it did before. I also haven't tested this with any NPCs aside from Voltage and Frankie, but it should work on all the other minifigures (martians and ramas don't even have multiple face textures).

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.