How to make start bias mod?

DeepSoul

Warlord
Joined
Dec 30, 2011
Messages
172
I want to add some start biases to the existing ones to make the start locations fit the different civs better. Since I don't know how to make a mod from scratch I found some code that was used in the game for it, and pasted a few lines into another mod:

<StartBiasTerrains>

<Row CivilizationType="CIVILIZATION_ARABIA" TerrainType="TERRAIN_DESERT" Tier="3"/>
<Row CivilizationType="CIVILIZATION_CREE" TerrainType="TERRAIN_TUNDRA" Tier="3"/>
<Row CivilizationType="CIVILIZATION_GERMANY" TerrainType="TERRAIN_GRASSLAND" Tier="3"/>
<Row CivilizationType="CIVILIZATION_INDIA" TerrainType="TERRAIN_PLAINS" Tier="3"/>
<Row CivilizationType="CIVILIZATION_INDONESIA" TerrainType="TERRAIN_JUNGLE" Tier="4"/>
<Row CivilizationType="CIVILIZATION_KHMER" TerrainType="TERRAIN_JUNGLE" Tier="3"/>
<Row CivilizationType="CIVILIZATION_NETHERLANDS" TerrainType="TERRAIN_GRASSLAND" Tier="3"/>
<Row CivilizationType="CIVILIZATION_PERSIA" TerrainType="TERRAIN_DESERT_MOUNTAIN" Tier="3"/>
<Row CivilizationType="CIVILIZATION_PERSIA" TerrainType="TERRAIN_GRASS_MOUNTAIN" Tier="3"/>
<Row CivilizationType="CIVILIZATION_PERSIA" TerrainType="TERRAIN_PLAINS_MOUNTAIN" Tier="3"/>
<Row CivilizationType="CIVILIZATION_ZULU" TerrainType="TERRAIN_PLAINS" Tier="3"/>
</StartBiasTerrains>

<StartBiasResources>
<Row CivilizationType="CIVILIZATION_SPAIN" ResourceType="RESOURCE_CATTLE" Tier="5"/>
<Row CivilizationType="CIVILIZATION_SPAIN" ResourceType="RESOURCE_HORSES" Tier="5"/>
</StartBiasResources>

Will this have any effect, or is it the wrong code for modding?
 
Jungle is not a terrain, it is a feature.

There is no TERRAIN_GRASSLAND. It is TERRAIN_GRASS.

I'm not at all sure the game will properly implement the specifications for mountains since I don't recall Firaxis ever using that terrain type in that table.

Otherwise I don't know what you mean by
is it the wrong code for modding?
 
Back
Top Bottom