KJ Jansson
Prince
- Joined
- Oct 7, 2008
- Messages
- 509
Who understand the distribution of resources in CivIVCol?
Let's analyse the situation with SILVER, for instance. As an example I will take original CivIVColonization with 1.01 patch. Please, note without any modification!
Question: Where and how SILVER could appear?
1. SILVER as a bonus.
....\Sid Meier's Civilization IV Colonization\Assets\XML\Terrain\CIV4BonusInfos.xml
Thus, SILVER could appear on TERRAIN_TUNDRA and TERRAIN_SNOW if they have FEATURE_FOREST and FEATURE_LIGHT_FOREST.
P.S. I leave my comments about silver in snow outside the discussions.
2. +1 SILVER as result of <RiverYieldIncreases>:
\Sid Meier's Civilization IV Colonization\Assets\XML\Terrain\CIV4TerrainInfos.xml
a)
b)
c)
d)
e)
Then in \Sid Meier's Civilization IV Colonization\Assets\XML\Terrain\CIV4FeatureInfos.xml:
a)
b)
c)
That's all were SILVER can appear.
And now let's start the game and see which SILVER distribution we really have. I used couple standard maps from CivIVCol without changes and modifications. I generate a number of maps of different size, however all the time the result was the same. Practically we have two possible variants:
Picture 1. Hill/Forest/Tundra; here we have a SILVER_BONUS

Picture 2: As you see, each Peak has 1 SILVER, or 2 SILVER if Peak has <RiverYieldIncreases>

OK, but were is SILVER in snow? Why SILVER all the time appears on Peaks, that according to
\Sid Meier's Civilization IV Colonization\Assets\XML\Terrain\CIV4TerrainInfos.xml
have no <Yields/> or <RiverYieldIncreases/>?
Who can explain how SILVER instead of TERRAIN_SNOW suddenly appears on TERRAIN_PEAK that according to xml file must be without any resources at all? Any ideas?
Let's analyse the situation with SILVER, for instance. As an example I will take original CivIVColonization with 1.01 patch. Please, note without any modification!
Question: Where and how SILVER could appear?
1. SILVER as a bonus.
....\Sid Meier's Civilization IV Colonization\Assets\XML\Terrain\CIV4BonusInfos.xml
Code:
<Type>BONUS_SILVER</Type>
.............
<TerrainBooleans>
<TerrainBoolean>
<TerrainType>TERRAIN_TUNDRA</TerrainType>
<bTerrain>1</bTerrain>
</TerrainBoolean>
<TerrainBoolean>
<TerrainType>TERRAIN_SNOW</TerrainType>
<bTerrain>1</bTerrain>
</TerrainBoolean>
</TerrainBooleans>
<FeatureBooleans>
<FeatureBoolean>
<FeatureType>FEATURE_FOREST</FeatureType>
<bFeature>1</bFeature>
</FeatureBoolean>
<FeatureBoolean>
<FeatureType>FEATURE_LIGHT_FOREST</FeatureType>
<bFeature>1</bFeature>
</FeatureBoolean>
</FeatureBooleans>
<FeatureTerrainBooleans>
<FeatureTerrainBoolean>
<TerrainType>TERRAIN_TUNDRA</TerrainType>
<bFeatureTerrain>1</bFeatureTerrain>
</FeatureTerrainBoolean>
<FeatureTerrainBoolean>
<TerrainType>TERRAIN_SNOW</TerrainType>
<bFeatureTerrain>1</bFeatureTerrain>
</FeatureTerrainBoolean>
</FeatureTerrainBooleans>
Thus, SILVER could appear on TERRAIN_TUNDRA and TERRAIN_SNOW if they have FEATURE_FOREST and FEATURE_LIGHT_FOREST.
P.S. I leave my comments about silver in snow outside the discussions.
2. +1 SILVER as result of <RiverYieldIncreases>:
\Sid Meier's Civilization IV Colonization\Assets\XML\Terrain\CIV4TerrainInfos.xml
a)
Code:
<Type>TERRAIN_GRASS</Type>
.............
<RiverYieldIncreases>
.............
<YieldIntegerPair>
<YieldType>YIELD_SILVER</YieldType>
<iValue>1</iValue>
</YieldIntegerPair>
</RiverYieldIncreases>
b)
Code:
<Type>TERRAIN_PLAINS</Type>
.............
<RiverYieldIncreases>
.............
<YieldIntegerPair>
<YieldType>YIELD_SILVER</YieldType>
<iValue>1</iValue>
</YieldIntegerPair>
</RiverYieldIncreases>
c)
Code:
<Type>TERRAIN_DESERT</Type>
.............
<RiverYieldIncreases>
.............
<YieldIntegerPair>
<YieldType>YIELD_SILVER</YieldType>
<iValue>1</iValue>
</YieldIntegerPair>
</RiverYieldIncreases>
d)
Code:
<Type>TERRAIN_TUNDRA</Type>
.............
<RiverYieldIncreases>
.............
<YieldIntegerPair>
<YieldType>YIELD_SILVER</YieldType>
<iValue>1</iValue>
</YieldIntegerPair>
</RiverYieldIncreases>
e)
Code:
<Type>TERRAIN_SNOW</Type>
.............
<RiverYieldIncreases>
.............
<YieldIntegerPair>
<YieldType>YIELD_SILVER</YieldType>
<iValue>1</iValue>
</YieldIntegerPair>
</RiverYieldIncreases>
Then in \Sid Meier's Civilization IV Colonization\Assets\XML\Terrain\CIV4FeatureInfos.xml:
a)
Code:
<Type>FEATURE_JUNGLE</Type>
...........
<RiverYieldIncreases>
...........
<YieldIntegerPair>
<YieldType>YIELD_SILVER</YieldType>
<iValue>1</iValue>
</YieldIntegerPair>
</RiverYieldIncreases>
b)
Code:
<Type>FEATURE_FOREST</Type>
...........
<YieldIntegerPair>
<YieldType>YIELD_SILVER</YieldType>
<iValue>1</iValue>
</YieldIntegerPair>
</RiverYieldIncreases>
c)
Code:
<Type>FEATURE_LIGHT_FOREST</Type>
...........
<YieldIntegerPair>
<YieldType>YIELD_SILVER</YieldType>
<iValue>1</iValue>
</YieldIntegerPair>
</RiverYieldIncreases>
That's all were SILVER can appear.
And now let's start the game and see which SILVER distribution we really have. I used couple standard maps from CivIVCol without changes and modifications. I generate a number of maps of different size, however all the time the result was the same. Practically we have two possible variants:
Picture 1. Hill/Forest/Tundra; here we have a SILVER_BONUS

Picture 2: As you see, each Peak has 1 SILVER, or 2 SILVER if Peak has <RiverYieldIncreases>

OK, but were is SILVER in snow? Why SILVER all the time appears on Peaks, that according to
\Sid Meier's Civilization IV Colonization\Assets\XML\Terrain\CIV4TerrainInfos.xml
have no <Yields/> or <RiverYieldIncreases/>?
Code:
<TerrainInfo>
<Type>TERRAIN_PEAK</Type>
<Description>TXT_KEY_TERRAIN_PEAK</Description>
<Civilopedia>TXT_KEY_TERRAIN_PEAK_PEDIA</Civilopedia>
<ArtDefineTag>ART_DEF_TERRAIN_PEAK</ArtDefineTag>
<Yields/>
<RiverYieldIncreases/>
.....
Who can explain how SILVER instead of TERRAIN_SNOW suddenly appears on TERRAIN_PEAK that according to xml file must be without any resources at all? Any ideas?