Page 1 of 1

How to mod a nation's modifiers

Posted: Wed Jul 31, 2019 12:35 pm
by nlinzer
How do you mod a unique modifier for a nation. Such as Jewish tradition for Judea?
Using that example making the 20% increase to commerce a 20% increase to food?

Re: How to mod a nation's modifiers

Posted: Thu Aug 01, 2019 5:50 am
by GodOfNothing
to add onto your question, how to add modifiers?

Re: How to mod a nation's modifiers

Posted: Thu Aug 01, 2019 11:15 am
by Femto
If you want to mod the game, I strongly recommend reading archonwiki page below.

http://archonwiki.slitherine.com/index. ... es_Modding

Now, the factions traits are set out in "\Steam\steamapps\common\Field of Glory Empires\Data\FACTIONS.CSV", effect of traits are in "\Steam\steamapps\common\Field of Glory Empires\Data\MODIFIERS.CSV" and further, effects are defined in "Steam\steamapps\common\Field of Glory Empires\Data\EFFECTS.CSV".

For example, FACTIONS.CSV says Judea has jewish tradition (row 67, column BK), MODIFIERS.CSV says jewish tradition has commerce bonus of 25% (row 612, column AM and AN) and EFFECTS.CSV says commerce bonus is defined as a legitimate effect of the game (row 11, column B).

If you want to add an existing new modifier to a faction, copy the relevant string (row D) from MODIFIERS.CSV and paste it to column BK to BN of the faction of your choice. AND add $ before the string. The colum shown as -1 is an empty slot, so you can add a new modifier without deleting existing one.

Note that some effects are not applicable for a faction. Your faction can, say, reduce decadence by 200% but cannot give units movement bonus.

I hope this helps.

Re: How to mod a nation's modifiers

Posted: Thu Aug 01, 2019 1:55 pm
by nlinzer
Thank you