Faction's Infantry/Ranged/Mounted units ratio

Users who are viewing this thread

KorpiSoturi

Recruit
I've noticed that for example Swadians seem to prefer ranged and mounted units instead of infantry units. Swadians don't have much infantry even though I've done many infantry classes (and less ranged classes) in the troop tree. Is there any way to change these ratios with Python?
 
You could force the issue by changing who is recruited in module_party_templates.  Each nation has three reinforcement templates that they pick from.  If you added say swadian infantry to one of these more swadian infantry would show up in war parties.  The way it works is this.  The first template is chosen 50% of the time and the next two are respectively chosen 25% of the time.  The last one usually has elite troops.  The engine will keep picking templates at random like this till the lord party is full.
 
Back
Top Bottom