Page 1 of 1
Possible To Mod Building Effects?
Posted: Sat Dec 14, 2019 5:18 pm
by Bombax
Can anyone advise as to whether it's possible to mod the way in which constructing a specific building effects (i) decadence and (ii) loyalty?
And if so, which values in which files need to be amended, if it's a case of modding a .csv file. Or which bits of code need tweaking if it's more complex than that?
Many thanks.
Re: Possible To Mod Building Effects?
Posted: Sat Dec 14, 2019 6:53 pm
by Femto
You need to edit STRUCTURES.CSV.
For decadence, enter the desired number in column CH. It is effective in percentage.
For loyalty, enter loyalty-related structure modifiers into any one of empty columns (show as -1) between CD to CG. Those modifiers are found in MODIFIERS.CSV with strings of ID_MOD_STRUCTURE_XXXX and have the effect of $MOD_EFFECT_LOYALTY_BONUS or $MOD_EFFECT_LOYALTY_PENALTY.
Of course, you can create an original modifier in MODIFIERS.CSV and copy it to STRUCTURES.CSV.
Read the official modding guide for details.
http://archonwiki.slitherine.com/index. ... es_Modding.
Re: Possible To Mod Building Effects?
Posted: Sat Dec 14, 2019 11:19 pm
by Bombax
Femto wrote: Sat Dec 14, 2019 6:53 pm
You need to edit STRUCTURES.CSV.
For decadence, enter the desired number in column CH. It is effective in percentage.
For loyalty, enter loyalty-related structure modifiers into any one of empty columns (show as -1) between CD to CG. Those modifiers are found in MODIFIERS.CSV with strings of ID_MOD_STRUCTURE_XXXX and have the effect of $MOD_EFFECT_LOYALTY_BONUS or $MOD_EFFECT_LOYALTY_PENALTY.
Of course, you can create an original modifier in MODIFIERS.CSV and copy it to STRUCTURES.CSV.
Read the official modding guide for details.
http://archonwiki.slitherine.com/index. ... es_Modding.
Thank you so much for your help, Femto.
I've tried the Decadence tweak and it works a treat! Hope to look into the Loyalty changes during the week.
Thanks again, you're a star!
