Possible to add faction specific unit to a different faction?

Moderator: Pocus

Post Reply
Bombax
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 256
Joined: Sat Jul 02, 2016 1:44 pm

Possible to add faction specific unit to a different faction?

Post by Bombax »

Hi folks,

First off, apologies if this question has been asked before - I've been out of the loop for a few months.

Now, my question is whether it's possible to make a troop type specific to one faction available to another faction, via a mod. At the moment I'm not aware of where the available troops for each faction are determined. Any help would be very welcome!

Many thanks,
Jay.
Bercor
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 62
Joined: Tue Feb 19, 2019 12:36 am

Re: Possible to add faction specific unit to a different faction?

Post by Bercor »

Hi Bombax,

Yeah, it's possible and very easy to add a specific unit to a different faction (I've done it extensively in my mod).

You just need to find out the unit's id in the UNITS.csv file (for example "$ID_UNI_ROM_LEGIO0",for the roman legion unit), open the FACTIONS.csv file, go to the UnitsAge1, UnitsAge 2 and UnitsAge3 columns (each column corresponds to the three government ages), find the row corresponding to the faction you wish to add the unit to, and add the ID to the list.

Then just launch the game and the unit in question should be recruitable by the faction you've added it to.

Cheers
Post Reply

Return to “MOD”