king or Lord face code Editing

Users who are viewing this thread

Hello making a small mod for me and my brother to mess with and i need to know where to place a face gen code

i did  search to find out  did not find any thing i did read (Mount & Blade Mod Makers Q&A Thread)

to get

Q: How can I make unique faces for NPCs?
A: With edit mode enabled, go to your Character screen and click the Edit Face button. Play around with all the sliders and settings until you've got the face you're after. Now click Ctrl+E, and you'll notice a box/button pop up at the top right with a string of characters in it. Click this and it will copy the face code to the clipboard. In module_troops.py, simply paste in it in as the face code.

all i need is the place to put my code for the said king or lord

Thanks
 
Here is an example from module_troop.py, face code is in red.

["kingdom_1_lord",  "King Harlaus",  "Kingdom 1 Lord",  tf_hero, 0,reserved,  fac_kingdom_1,[itm_swa_lord_charger_1,  itm_rich_outfit,        itm_blue_hose,                  itm_iron_greaves,              itm_lord_plate_armor_3, itm_gauntlets,    itm_estoc,      itm_tab_shield_heater_cav_b,      itm_crown_2],          knight_attrib_5,wp(220),knight_skills_5|knows_trainer_5, 0x0000000f45041105241acd2b5a66a86900000000001e98310000000000000000,swadian_face_older_2],

Or troop will have random face code which are defined in the beginning of the file.
 
tf_female to make troop female.

Default is male, so you don't have to use tf_male on every male troop.

Troop flags (tf_) should go together and seperated by |

For example tf_hero|tf_female
 
Back
Top Bottom