Changing terrain types

How do you change the "preferred terrain" types of various empires, I want the kingdom of Resolin(Wraiths) to have artic based terrain rather than the typical fallen terrain but dont know how to go about it, I have found the core faction stats and the core terrain stats as well but I dont know how to switch them up. Any help would be appriciated. Thanks!

3,500 views 4 replies
Reply #1 Top

Edit: The link didn't have the info, miraculously.

In your raceconfig, go to the tag

<EnvironmentTerrainType>2</EnvironmentTerrainType>

and change it to a number between 1 and 4. 1: fallen 2: grassland 3: desert 4: arctic

 

Edit: In case you're new to modding, it is usually a very bad idea to modify core files. Check out some tutorials. Instead of modifying the core file, you should create a new file in your mods folder.

Reply #2 Top

So basically all I have to do is change the type from 1 to 4? Thanks, and if push comes to shove I can just uninstall and reinstall the game. And though I am not a good modder, I know enough not to mess with major things, like how the faction runs and what not, but I do tweak little things like terrain types and what not. :)

Reply #3 Top

No, changing a core file and doing nothing else won't change anything.

Make a new file in your mods folder, put the following in it

<?xml version="1.0" encoding="ISO-8859-1"?>
<RaceConfigs>
    <DataChecksum NoParse="1">
        <Ignore>DisplayName, ShortName, Capitol, Description, UnitSkinColor, UnitHairColor, UnitClothColor, BuildingPrimaryColor, BuildingSecondaryColor, BuildingRoofColor, BuildingStyle, UnitStyle, WorkerName</Ignore>
        <Translate>DisplayName, ShortName, Capitol, Description, WorkerName</Translate>
    </DataChecksum>

  <RaceConfig InternalName="EmpireOfResoln">

   <EnvironmentTerrainType>4</EnvironmentTerrainType>

</RaceConfig>

</Raceconfigs>

End of quote

Start elemental, make sure "use mods" is on in options, start a new game.

 

Reply #4 Top

Where is the mods folder(Do I have to make it?) and what file do I make the race file as?*XML?*

 

OK I made a mods folder in the elemental data older, made a new file and pasted what you put into it and then tried to play the game but no change. I also have use mods selected as well.

 

Edit: Actually simply changing 1 to the 4 in the core file actually worked...