Adding children to mod

Users who are viewing this thread

ltdab

Recruit
Hello, brytenwalda spoiled me with its level of realism and now I want to add children to the villages and towns of Native Warband. Can someone point me in the right direction by telling me what are the main files I will need to modify to add them?
 
Idibil,

Can you tell me how the troop ids in headers_troops.py reference the skins in modules_skins.py? Is there another file that I have to declare the reference, or does the headers_troops.py file reference the skins in the module_skins.py file based on the sequential order of the skins listed; ie tf_male = 0 references the first skin and so on?

I ask that because I cannot get my child troop to reference the skin(copy of the man skin) that I entered after the woman skin in the module_skins.py file. I changed headers_troops.py to this:

tf_male          = 0
tf_female        = 1
tf_child            =2
tf_undead        = 3

I also notice that if I change it to:

tf_male          = 0
tf_child            =1
tf_female        = 2
tf_undead        = 3

tf_female still references the second skin listed in skin_modules.py

Thanks again!
 
I figured out my problem. The module_ skins and header_troops files were bot ok, but I inserted a troop into the middle of my module_ troops file and that screwed up all do the troops after it.
 
Back
Top Bottom