I want to get rushing out of civics, and available right from the start.

What files do I have to change ?

18,253 views 4 replies
Reply #1 Top

Ok lets do this!

First open /data/English/Only-SP/Techs_Amarian.xml from the TechDef "Civics" find and Cut out this block.

Code: xml
  1. <GameModifier>
  2. <ModType>Player</ModType>
  3. <Attribute>UnlockCityAction</Attribute>
  4. <StrVal>RushProduction</StrVal>
  5. <Icon>Consumption_Icon.png</Icon>
  6. <Provides>Can Rush Production</Provides>
  7. </GameModifier>

then go to /data/English/Core Improvements/CoreImprovements.xml

find the <ImprovementType InternalName="CityHub1"> block.

Scroll down to where the <GameModifier> blocks begin and add the block from above.

Now when you plant your first city Rush Production will unlock for you.

PS. There may be a better place to put this than the city block but this functions correctly as far as I can tell (Note I just did it right now and instantly rushed a merchant on turn 1 so if you find any bugs with my method please let me know!)

PPS. I realize editing CoreImprovements is unwise compared to using the mod folder. But this demonstrated the concept quickly and efficiently and as far as I know you have to change the TechDef in the Core files anyway so it seemed better to just add the block back into the Core.

+1 Loading…
Reply #2 Top

That's a really clever solution, I didn't think of doing it like that.

 

Since it is going to get unlocked with your first city, you don't actually need to worry about removing it from the technology (unless you worry about cosmetics).

If you do decide to put it in the /mods/ folder instead (for compatibility with other mods that also overwrite CoreImprovements.xml), all you'd need is this:

    <ImprovementType InternalName="CityHub1">

       <GameModifier>
            <ModType>Player</ModType>
            <Attribute>UnlockCityAction</Attribute>
            <StrVal>RushProduction</StrVal>
            <Icon>Consumption_Icon.png</Icon>
            <Provides>Can Rush Production</Provides>
        </GameModifier>

    </ImprovementType>

 

Reply #3 Top

I just tampered with orginal files. It works. My thanks to both of you.

Reply #4 Top

Quoting Heavenfall, reply 2
Since it is going to get unlocked with your first city, you don't actually need to worry about removing it from the technology (unless you worry about cosmetics).

Yep, I only changed the Tech because I thought having it still show up as an unlock was silly :P