More settings for leader traits

Cybah

Emperor
Joined
Jun 22, 2007
Messages
1,481
I would like to have the following settings changeable for leader traits:

- modificator for war weariness (see police state)
- modificator for pillage (see promotion settings)
- global building production modificator (see organized religion)
- global military unit production modificator (see police state)
- modificator for specific unit categories (if possible, e.g.: +25% production for melee units)


Those bonus settings won't work without changes in the gamecore .dll

Would be great if someone could tell me, where I have to add which source lines. Compiling the .dll is no problem for me.
 
- modificator for specific unit categories (if possible, e.g.: +25% production for melee units)

This one you can theoretically do with just XML, although its not very straightforward.

Step 1: use the SpecialUnitInfos.xml, and create a "descripter" called "Melee" (or whatever you want). here you can give the Melee descripter a production bonus via a trait.

Step 2: put the descriptor in the specialunit tag in the UNITINFOS.xml
 
Back
Top Bottom