My first mod - help

Hello!
I have been modding some other games in the past such as Stellaris, which works similar to what I’ve read here about AoM Retold.

Basically, if you want to change for example starting resources from 100 to 200, you simply edit the resource.json, naming it something else, like resource_mymod.json and putting it in the same path in mod folder as it is in the original path. I’ve read that we need to put filename_mods.xml for AoM Retold, but that doesn’t work.

I wanted to try a really simple mod so I could get used to syntax, how it all works, etc. so I decided to increase Gaia’s lush radius by double.

I found the file that is supposed to do that, and I made a new file major_gods_mods.xml and put it into mymodfolder/game/data/gameplay/major_gods_mods.xml which looks like this:

<civs>
  <civ>
    <name>Gaia</name>
    <statsid>SP</statsid>
    <key>A</key>
    <culture>Atlantean</culture>
    <displaynameid>STR_CIV_GAIA</displaynameid>
    <rollovernameid>STR_CIV_GAIA_LR</rollovernameid>
    <titleid>STR_CIV_GAIA_T</titleid>
    <agetech age="ArchaicAge">
      <tech>ArchaicAgeGaia</tech>
    </agetech>
    <deathmatchtech>DeathMatchAtlantean</deathmatchtech>
    <buildingefficiency>0.6</buildingefficiency>
    <extrabuildingefficiency>0.3</extrabuildingefficiency>
    <startingunits>
      <unit count="1" delay="6.00" x="19.00" y="0.00" z="40.00">Oracle</unit>
      <unit count="1" delay="10.00" x="-45.00" y="0.00" z="25.00">Oracle</unit>
      <unit count="1" delay="14.00" x="12.00" y="0.00" z="-25.00">Oracle</unit>
      <unit count="2" delay="2.00" x="-2.00" y="0.00" z="0.00">VillagerAtlanteanHero</unit>
    </startingunits>
    <startingunits mode="deathmatch">
      <unit count="1" delay="4.00" x="7.00" y="0.00" z="28.00">Oracle</unit>
      <unit count="1" delay="4.00" x="-20.00" y="0.00" z="28.00">Oracle</unit>
      <unit count="1" delay="4.00" x="9.00" y="0.00" z="-8.00">Oracle</unit>
      <unit count="6" delay="2.00" x="0.00" y="0.00" z="0.00">VillagerAtlanteanHero</unit>
    </startingunits>
    <startingqueue>
      <unit autotrain="true">VillagerAtlantean</unit>
    </startingqueue>
    <startingresources>
      <food>275</food>
      <wood>200</wood>
      <gold>75</gold>
    </startingresources>
    <startingresources mode="deathmatch">
      <food>15000</food>
      <wood>15000</wood>
      <gold>15000</gold>
      <favor>200</favor>
    </startingresources>
    <icon>resources\atlantean\static_color\major_gods\gaia_icon.png</icon>
    <portrait>resources\atlantean\static_color\major_gods\gaia_portrait.png</portrait>
    <breakoutportrait>resources\atlantean\static_color\major_gods\gaia_breakoutportrait.png</breakoutportrait>
    <minimapborderimage>ui\ingame\minimap\atl_min_panel</minimapborderimage>
    <backgroundscenario>backgrounds\\background_atlantis.mythscn</backgroundscenario>
    <terraincreeps>
      <terraincreep creep="GaiaCreep" maxradius="40.0" growthrate="0.25" decayrate="0.5" minupdateinterval="4.5" maxupdateinterval="5.5" avoidunbuildable="" avoidimpassable="">
        <protounit>TownCenter</protounit>
        <protounit>VillageCenter</protounit>
        <protounit>CitadelCenter</protounit>
        <protounit>Manor</protounit>
        <protounit>EconomicGuild</protounit>
        <protounit>Market</protounit>
      </terraincreep>
    </terraincreeps>
  </civ>
</civs>

I changed max radius for GaiaCreep from 20 to 40, but the game still spawns the same area, it is not increased at all.

Can someone please tell me what I’m doing wrong?

Thank you!

First not sure if additive works with major_gods file, it doesn’t always follow the same rules unfortunately
Seoncdly, did you try by just copy pastin the full majorgods and changing radius ? It doesn’t make it additive but at least you can see if it can be increased that way

1 Like

I tried some thing here but got nothing…
Even if I do like Eskiss sugest, It just replace or add the first god (Zeus), or any other if you let the entire “civ=odin”, it apply some changes, but also make the deathmatch settings by default for that god. At least, if you just let Gaia, the lush if added correctly even in this “chaos god”.

That works, but it’s not “additive”, that’s why I was asking. Looks like the rules do not apply for all files so we have no idea what works and what doesn’t. :frowning:

1 Like

No and devs aren’t helping neither. We have no idea what is additive and what’s not + sometimes additive just break.