Possible To Mod Building Effects?

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 Mod Building Effects?

Post 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.
Femto
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 25
Joined: Mon Dec 31, 2018 7:59 am

Re: Possible To Mod Building Effects?

Post 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.
Bombax
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 256
Joined: Sat Jul 02, 2016 1:44 pm

Re: Possible To Mod Building Effects?

Post 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! 8)
Post Reply

Return to “MOD”