How do I mod the large empire penalty?

I have so far played with only custom factions that use the patriotic trait so they can ignore the large empire penalty. Problem is that the mechanic isn't designed well in the first place since it doesn't scale with map size which makes playing on large maps hard without the trait and it also makes the trait OP. Is it possible to mod the penalty into something else?

If so then:

1. How do I do that?

2. What would you set the limit at assuming I only play on the larger map sizes?

10,442 views 12 replies
Reply #1 Top

GalCiv3GlobalDefs.xml  You would be looking for this

<GlobalInterColonyMods>
            <EffectType>GoodsAndServices</EffectType>
            <Target>
                <TargetType>Colony</TargetType>
                <TargetQualifier>NotPatriotic</TargetQualifier>
            </Target>
            <BonusType>Flat</BonusType>
            <Value>-.2</Value>
        </GlobalInterColonyMods>

I doubt you can cap it but you can change the value or make it affect something other than morale.

Reply #2 Top

Quoting Moogle65535, reply 1

GalCiv3GlobalDefs.xml  You would be looking for this

<GlobalInterColonyMods>
            <EffectType>GoodsAndServices</EffectType>
            <Target>
                <TargetType>Colony</TargetType>
                <TargetQualifier>NotPatriotic</TargetQualifier>
            </Target>
            <BonusType>Flat</BonusType>
            <Value>-.2</Value>
        </GlobalInterColonyMods>

I doubt you can cap it but you can change the value or make it affect something other than morale.
End of Moogle65535's quote

My plan wasn't to put a cap on the penalty but rather to just lower it so that it has only a very mild effect.

Reply #3 Top

I haven't played a game with loads of planets lately so not sure what to suggest for you. Maybe something between -.1 and -.05 depending on how many planets you are expecting and how mild you want.

Reply #4 Top

I would suggest posting this on insane abundant mod since Naselus changes it to economics instead of morale. He knows the answer.

Reply #5 Top

You might want to try to put the GlobalInterColonyMods object in MapSizeDefs.xml, and deleting it from GalCiv3GlobalDefs.xml.   I just noticed that the tiny mapsize object has no GlobalCombatMods object, however all other mapsizes do.  

 

I have no idea if GC3's XML parser would allow adding GlobalInterColonyMods to MapSizeDefs.xml, but it might (the fact that both GlobalInterColonyMods and GlobalCombatMods are in Galciv3GlobalDefs.xml, and MapSizeDefs.xml currently uses GlobalCombatMods implies it), and if it does, it certainly would then give the opportunity to "manually scale" factors which we feel should be scaled based on map size.

Reply #6 Top

For IAM it is changed to:

 

Code: xml
  1.         &lt;GlobalInterColonyMods&gt;
  2.             &lt;EffectType&gt;Maintenance&lt;/EffectType&gt;
  3.             &lt;Target&gt;
  4.                 &lt;TargetType&gt;Colony&lt;/TargetType&gt;
  5.             &lt;/Target&gt;
  6.             &lt;BonusType&gt;Flat&lt;/BonusType&gt;
  7.             &lt;Value&gt;0.2&lt;/Value&gt;
  8.         &lt;/GlobalInterColonyMods&gt;

Reply #7 Top

I found it but it wont let me change it? I'm probably doing something wrong?

Edit Done it! opened it with notepad! YAY No more LEP!

Search for the folder in the main search bar and right click open with notepad,scroll down to the relevant part -0.2 and change the value to whatever you want (I change mine to 0 so I have no LEP) then save and come out and relaunch the game and enjoy!

Reply #8 Top

I am about to try and change this but I can't find the file. Where is it located?

Reply #9 Top

C:\Program Files (x86)\Steam\SteamApps\common\Galactic Civilizations III\data\Game, at least if you installed in the default directory.

Reply #10 Top

Hey :)

Thanks for the info here on how to mod the LEP. It's horrific on larger maps..

Doing it the way described here in GalCiv3GlobalDefs.xml only seems to work on new games. I tested it and the LEP adjustments work on a new game but seem to revert to the standard .2 on an existing saved game. I have an insane map on about 275 turns and up to 246 planets, so yeah the LEP is getting harsh now. 

Is there another file I would need to edit to make an existing game use the new setting? I also added Patriotic to Terran to try it out. Again seems to work on a new game but not for an existing one. *Prays the original settings aren't hardcoded when the game starts..

Thanks in advance for the help :)

 

 

Reply #11 Top

Quoting ben_god, reply 10

Hey :)

Thanks for the info here on how to mod the LEP. It's horrific on larger maps..

Doing it the way described here in GalCiv3GlobalDefs.xml only seems to work on new games. I tested it and the LEP adjustments work on a new game but seem to revert to the standard .2 on an existing saved game. I have an insane map on about 275 turns and up to 246 planets, so yeah the LEP is getting harsh now. 

Is there another file I would need to edit to make an existing game use the new setting?

Thanks in advance for the help :)
End of ben_god's quote

 

xml files are generally saved into the savegame so changes to the xmls only work with a new game

Reply #12 Top

Quoting mortili, reply 11


xml files are generally saved into the savegame so changes to the xmls only work with a new game

End of mortili's quote

 

Thought so. Ahh well, I guess I'll take the opportunity to create a new race and start a new game.