PDA

View Full Version : horde modding



Mangudai
11-15-2005, 22:35
Is there a way to change horde composition? For example, when my huns control one city and horde up I get zero herdsmen, but lots of spearmen. I'd like to change this.

professorspatula
11-15-2005, 23:22
The descr_sm_factions.txt file in your BI\Data folder has everything you need to edit about hordes there. It's pretty straight forward.

Mangudai
11-16-2005, 19:53
Thanks. My first question is solved.

Can anybody tell me what these mean?

horde_min_units 60
horde_max_units 100
horde_max_units_reduction_every_horde 20
horde_unit_per_settlement_population 300
horde_min_named_characters 4
horde_max_percent_army_stack 80

professorspatula
11-16-2005, 20:34
Thanks. My first question is solved.

Can anybody tell me what these mean?

horde_min_units 60
horde_max_units 100
horde_max_units_reduction_every_horde 20
horde_unit_per_settlement_population 300
horde_min_named_characters 4
horde_max_percent_army_stack 80

It's mostly straightforward to be honest.

horde_min_units 60 = Minimum number of horde units created when the horde forms, in this case sixty.

horde_max_units 100 = Maximum number of horde units created when horde forms, eg 100.

horde_max_units_reduction_every_horde 20 = Can't remember off the top of my head the exact meaning of this. Possibly each time a new horde is formed, the maximum number of horde units that can be created is lowered by 20.

horde_unit_per_settlement_population 300 = This means for every 300 people in the settlement, 1 horde unit is created. A settlement with 30000 population creates 100 horde units.

horde_min_named_characters 4 = When the horde forms, this is the minimum number of generals your faction will have. If you only have a faction leader when the horde forms, 3 new family members will be created.

horde_max_percent_army_stack 80 = Never really tested this one. Something to do with the number of horde units that can be in a single army stack. I assume lowering this number to say 50, means horde units will only fill half an army stack.

Now if you've been paying attention, you might have noticed the default minimum amount of horde units created is 60. And that one horde unit is created per 300 people in a settlement (for some factions per 250). That means the minimum size horde created is the equivalent to that of a city of 18,000 inhabitants (60x300). If the horde is created in a smaller city of say 3000 people, 60 horde units is still created. You can play around with the minimum and maximum settings and horde_unit_per_settlement_population to get some interesting results.

Mangudai
11-16-2005, 22:37
thanks

Epistolary Richard
11-17-2005, 00:38
Excellent stuff, professorspatula. :thumbsup: