Changing a civ's starting bias

_megafone_

Warlord
Joined
Aug 30, 2011
Messages
192
Since The Netherlands' bias suck (I've rerolled 30 maps already and couldn't get a SINGLE ocean + marsh/floodplains start, even one or two tiles), I've tried to "fix" it by directly writing new lines on the XML file.

Obviously, it didn't work.

Is there any "easy" way to do it, or would I have to create a mod to do so? That's about the only thing I want to change. Thanks!
 
What exactly did you change? Please post the lines of XML which you edited, the before/after.
 
Simply tried to add this:

<Row>
<CivilizationType>CIVILIZATION_NETHERLANDS</CivilizationType>
<StartAlongOcean>true</StartAlongOcean>
</Row>

and changed their type from grass to marsh:

<Row>
<CivilizationType>CIVILIZATION_NETHERLANDS</CivilizationType>
<RegionType>REGION_MARSH</RegionType>
</Row>

And then, the game didn't even load the new civs once I tried to play - I had backed up the files, though.

(that's on the CIV5Civilizations_Expansion.XML file, edited on notepad)
 
Number one, NEVER modify the base files. Restore the originals.

Next, create a new mod and do it from ModBuddy.

You have the right idea, but the game failing to load the file will point to a spelling or syntax error. Make sure everything you type is perfectly spelt or else the game won't load the file.
 
I am a complete noob when it comes to customization.

So, only way I can do it is to create an actual mod?
 
So, only way I can do it is to create an actual mod?

No but its the only safe reliable way :)

Simply tried to add this:

<Row>
<CivilizationType>CIVILIZATION_NETHERLANDS</CivilizationType>
<StartAlongOcean>true</StartAlongOcean>
</Row>

and changed their type from grass to marsh:

<Row>
<CivilizationType>CIVILIZATION_NETHERLANDS</CivilizationType>
<RegionType>REGION_MARSH</RegionType>
</Row>

And then, the game didn't even load the new civs once I tried to play - I had backed up the files, though.

Download the sdk from Steam/Tools. Open Modbuddy, create new mod. You will want Add/New Item(Right click on your solution name in the upper right window, Solution Explorer) chose sql file, name it whatever you want :)

Paste this code into it:-
Code:
INSERT INTO "Civilization_Start_Along_Ocean" VALUES ("CIVILIZATION_DUTCH","1");

Save File. Now right click your mod name again and select properties. New window opens. In this window select actions(Upper Left) then Add. Here you want:-
Event - OnModActivated
Action - UpdateDatabse
File - The one you just created with above code.

Now on the menu at the top, Click Build. Save, Exit and Boot Civ5. Your mod will be listed under mods :)

As for marsh thats a Feature and as PawelS said it isnt listed as a Region like forest or jungle and there is no table in the database for specifing features as a start bias.
 
I'm afraid the only way to make the Dutch start near Marsh is to use a modified version of AssignStartingPlots.lua, and this file is known for being long, complicated, and unfriendly to modders...
 
Back
Top Bottom