Is there anyway to change NPC faces without the module system?

Users who are viewing this thread

yes.. you can first enable edit mode. Then go in to the character page. Look above the picture of your face or what it is. And you will see a scrolling arrow for both ways. Use this to toggle yourself forward to the companions. They are abit back.. and then click on the face picture and then you can edit it.. VOILA!

now you got a Face a lá Editmode
 
i've tried that before, but it only works on that save file only and i wanted it to have the face changed in all the save games.
 
Lord_Cheap said:
i've tried that before, but it only works on that save file only and i wanted it to have the face changed in all the save games.

I have the same problem as you, python and all that just dont work for me.

But if you see the code underneath or above the face scrren when you edit the faces, you need to copy it and paste it in to the troops.txt file somewhere, shall look into it.
 
If I were you, I'd try to learn python. Hell, you don't even have to learn it all, you could just read about the part regarding faces.
 
SoTAL said:
If I were you, I'd try to learn python. Hell, you don't even have to learn it all, you could just read about the part regarding faces.
oh god. Shut up! You keep jumping from thread to thread and the only thing you say it. Learn how to use the modulesystem. Is there maybe! A reason! Why people don't use it! IF YOU READ THE DAMN POSTS ABOVE YOU WOULD UNDERSTAND! Damnit!
 
bjorne. said:
SoTAL said:
If I were you, I'd try to learn python. Hell, you don't even have to learn it all, you could just read about the part regarding faces.
oh god. Shut up! You keep jumping from thread to thread and the only thing you say it. Learn how to use the modulesystem. Is there maybe! A reason! Why people don't use it! IF YOU READ THE DAMN POSTS ABOVE YOU WOULD UNDERSTAND! Damnit!

Heheh... that's a bit hard, but I felt it coming.

Lord_Cheap said:
I've tried using the module system and it just doesnt work for me, so are there other ways to edit NPC faces?

Here, I wrote this remarkably unpopular post a few months ago when I knew next to nothing. This trick worked extremely well for my mod, though I still don't understand it 100% (Explained in the post)

http://forums.taleworlds.com/index.php/topic,62863.0.html
 
Johnny Morphine - thanks for the link to your post.  I added it to the front page of my troop editor since several people have asked about this and I haven't had time to update my editor to be compatible with M&B 1.x face codes.  thx
 
Johnny Morphine said:
Here, I wrote this remarkably unpopular post a few months ago when I knew next to nothing. This trick worked extremely well for my mod, though I still don't understand it 100% (Explained in the post)

http://forums.taleworlds.com/index.php/topic,62863.0.html
Based on that, here is an easier way (instead of hacking each number in that bunch).

You will need a hex converter. Use the below link if you don't have one.
Hex converter:
http://www.easycalculation.com/hex-converter.php

Search for a converter if you don't like the above.

The face code in troops.txt is actually a set of 3 long numbers then a zero (don't know about that). You have 2 sets for randomize face codes, 1 for a fix face code (heroes).

503844867 5228031016488736898 2037989 0

1) Turn on edit mode and start the game. Go to face generator. Generate the face you want the press ctrl + e to copy the code (or double click on the face code, I forgot). Put the code onto a temporary text file. It will look like this:
0x0000000fc000710936db6db6db6db6db00000000001db6db0000000000000000

2) Eliminate the "0x" then split the face code into a few parts as follow:
- First 16 digits (you can discard leading zeroes).
- Next 16 digits
- The rest of the digits but discard all leading and trailing zeroes (should be 6 didgits max).
0000000fc0007109 36db6db6db6db6db  00000000001db6db0000000000000000

Use the hex converter to convert these hex numbers to decimal and use them for coresponding decimal number in the text file (1st hex number for the 1st decimal number).

Let me know if this will work for you.
 
HokieBT said:
Johnny Morphine - thanks for the link to your post.  I added it to the front page of my troop editor since several people have asked about this and I haven't had time to update my editor to be compatible with M&B 1.x face codes.  thx

You're very welcome. Glad it was useful!

The face code in troops.txt is actually a set of 3 long numbers then a zero (don't know about that).

When I studied how troops.txt is formatted I found that a zero by itself is nothing more than a divider that Mount and Blade reads as a separation of different data. Any word on how the third value equates into how face codes are translated into M&B? That's the only part I couldn't figure out. Seems like it has no substantial impact faces in general but seemed more to have to do with the variation of them. Never could pin it down.

503844867 5228031016488736898 2037989 0

I mean the one you have in green. Thanks SPD_Phoenix for this other method.
 
Back
Top Bottom