SWO-RD : Unit Caps

If you liked this item, please rate it up on Steam Workshop page.

Author: stephane.f.david

Last revision: 18 Jan, 2022 at 04:40 UTC

File size: 829.44 KB

On Steam Workshop

Description:

DOCUMENTATION
The documentation of the mod as a PDF document is available here[drive.google.com].

This is a heavily modified version of Table Top Caps, from Drunk Flamingo.

I have adapted it to SWO-RD.

– They are now 9 unit classes instead of 3. The limit of special/rate units is based on the rank of the lord instead of being a constant.

– Each type of units have a per army limit. Similar units (weapon variants, generic/regional units, or RoR/base unit) share the same limit.

– Each lord type (or LL) can give bonus to the unit weight, or to the limit (exemple, Imrik can recruit more Dragon Princes or Dragons than other HE lords). Skills can also increase the unit limits.

– I have modified the way the unit list and how the core/special/rage group is defined and detected to make it easier to manage with the hundreds of units required by a regional recruitment system.

Since this version has been heavily changed, it’s a beta version and requires a lot of testing and feedback (either from ingame testing, or just from the documentation)

– Does the UI updates properly when adding or removing units from the queue, or disbanding/merging units?
– Does it work well for the different source of recruitment (RoR, raise dead…)

– Does it work well for every race?

– Do the bonus from lord’s type and skill work well (only implemented for HE at the moment)?

– Balance: are the weight/limit OK for the different units and ranls? What balance changes would you suggesT?

This mod is maded originallly for SWORD, but it should work with vanilla, and probably any mod, as long as the extra units match the name of existing one (i.e. if a unit is "emp_inf_spearmen_MyMod", it should be identified immediately, but "MyUnitWithPointyStick" would not).

So it’s possible to test the mod with SWORD, or with vanilla, or other mods. It will NOT be compatible with other capacity mod however.

TODO:
Some things are not done yet:
– The limits apply to the AI, by replacing units which are beyond the limits with a unit that respects the limits. But at the moment the replacer is always a generic unit. Future version will use regional/heraldic version when possible.

Credits:
– Drunk Flamingo for original TTC and advice
– Pro Joe for debugging a nasty error in the script.
– The bugs would be my own creation!