I know it can be done - mods like PoP do it. Sadly, the standard "troop_add_item" command doesn't seem to work right as the NPC just won't equip any item added that way.
troop_add_item = 1530 # (troop_add_item, <troop_id>, <item_id>, [modifier]),
# Adds an item to the troop, optionally with a modifier (see imod_* constants in header_item_modifiers.py).
Don't forget to add the respective modifier at the end. Is it some new weapon which you want to give them or is it their casual weapon which they have already at the beginning?
troop_add_item = 1530 # (troop_add_item, <troop_id>, <item_id>, [modifier]),
# Adds an item to the troop, optionally with a modifier (see imod_* constants in header_item_modifiers.py).
Don't forget to add the respective modifier at the end. Is it some new weapon which you want to give them or is it their casual weapon which they have already at the beginning?
troop_add_item = 1530 # (troop_add_item, <troop_id>, <item_id>, [modifier]),
# Adds an item to the troop, optionally with a modifier (see imod_* constants in header_item_modifiers.py).
Don't forget to add the respective modifier at the end. Is it some new weapon which you want to give them or is it their casual weapon which they have already at the beginning?
Well, it should work since others are using it too. The best here would be that you post your code and explain how you are using it so that we can see it and point to possible errors.
Otherwise edit process_troops.py and edit it as follows:
Well, it should work since others are using it too. The best here would be that you post your code and explain how you are using it so that we can see it and point to possible errors.
Otherwise edit process_troops.py and edit it as follows:
For context, this is Klargus' castle. Klargus has a flag with a red background, I changed it to this blue one. Except for whatever reason, the back of his soldiers' heraldic armor is still red. Any idea why this is?
For future references, always open up a new question, otherwise it gets messy with the answers.
The backside of the heraldry is done differently than the one at the front side. It's some kind of banner background color array thing, getting mentioned here. I see that @MadVader wrote about it in the post afterwards, perhaps he can explain it better to you than I since I have never looked into that yet.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.