How to mod a nation's modifiers

Moderator: Pocus

Post Reply
nlinzer
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 8
Joined: Wed Jul 17, 2019 11:39 am

How to mod a nation's modifiers

Post by nlinzer » Wed Jul 31, 2019 12:35 pm

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?

GodOfNothing
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 7
Joined: Sat Jun 15, 2019 8:55 pm

Re: How to mod a nation's modifiers

Post by GodOfNothing » Thu Aug 01, 2019 5:50 am

to add onto your question, how to add modifiers?

Femto
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 9
Joined: Mon Dec 31, 2018 7:59 am

Re: How to mod a nation's modifiers

Post by Femto » Thu Aug 01, 2019 11:15 am

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.

nlinzer
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 8
Joined: Wed Jul 17, 2019 11:39 am

Re: How to mod a nation's modifiers

Post by nlinzer » Thu Aug 01, 2019 1:55 pm

Thank you

Post Reply

Return to “MOD”