Unfortunately the amount of graphical plot types are hard coded in the exe, including where the art for them is found.
Couldn't you change that art?
Unfortunately the amount of graphical plot types are hard coded in the exe, including where the art for them is found.
Yes, but you can't have more of it than there already is which is a severe limit.Couldn't you change that art?
In what way would a feature that is one pixel above the ground differ from simply changing the terrain texture (which we can and of which we can have any number).Ah... I don't believe I have any programs that would work with that very well anyhow then.
But units already walk into the terrain at points... the features would have to only be set a pixel above the original to make it an imperceptible difference. But I'm starting to think that what I had in mind wouldn't work because they don't already define tiles as a 3d mesh object, which is terribly disappointing. Ah well... onto other matters then.
I see one potential problem with the project, though:
Neither basic Civilization IV nor the C2C mod have an array of terrains that is really suitable for representing realistic climate zones and biomes. For instance, there just isn't a good terrain to represent rain forest soil. The rain forests are among the wettest climate zones, obviously, but the soil is very poor for agriculture because most of the nutrients of the rainforest are locked in living vegetation and recycled without entering the soil.
Unfortunately not, it is one set of of 4 plot types for all together.This raises another question. Can a different set of plot types be used for the multi maps?
All 9 new Info types have been integrated into the SDK with their "signatures" added to the global context. (Still have to add them to python... but that is low priority). The two schema files for the folders they will be in (TerrainInfos and GameInfos) have been updated to accommodate them as well.
Now all that's left is the actual XML file for each type. I changed CvClimateInfo to CvBiomeInfo because apparently the climate info file already exists... and I don't want to mess with it since I assume it is used in the creation of maps. Keep in mind I am not removing the current map generator. It will still be used to create the basic map before I apply the GeoRealism engine.
The CvBiomeInfo.xml and the CvSeasonsInfo.xml file have already been started. I will post samples from each file as well as the file for feedback as they near completion.
Have you talked to Koshling yet about getting commit access, or are you going to have one of us look this over and commit it?
I am going to develop the GeoRealism mod separately from C2C for several reasons. The biggest is that debugging it in C2C is going to be a nightmare since it takes over 5 minutes for C2C to load on my machine, even when I elevate the process. Once it is completed, I will incorporate it into C2C.
Just a quick thought....
Is the peak plot type really needed? Isn't it impassable anyway? Couldn't the peak be a impassable feature?
The biggest holdup I see is the plot type problem. I was hoping to make a plateau terrain (which would need a semi-flat with the base as high as the top of the hills). Plus, I was hoping to add new plot types to the ocean.
If you want to give this a try, extract the Art/Terrain/Heightmap/Peaks folder from the first BtS pak. And you will also need to change the textures belonging to it.Yes Laskaris. I pretty much agree. We have to make use of prominence with our limited terrains. I still think we should make the mountains a little less prominent and more plentiful within a single square. That would make the hills more plateau like.
I assume the terrain type will only be used for graphics, right?
The actual gameplay effect would depend on the height, humidity, soil and the like.
When I post the new info files and sample xml, it will make a lot more sense how it is all going to work. Believe me, the new info files make a lot of sense when considered together. They will make the GeoRealism map generator a WHOLE lot easier to implement. They provide a "shortcut" to turning stats such as mentioned above into vegetation types, soil (terrain) types, plot types, geography types, etc...
<CIV4VegetationInfos>
<VegetationInfos>
...
<!--=============== TROPICAL VEGETATION ===============-->
<VegetationInfo>
<Type>VEGETATION_TROPICAL_SWAMP</Type>
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<MapColor>COLOR_AQUA</MapColor>
<Feature>FEATURE_JUNGLE</Feature>
<Variety>0</Variety>
<SoilTerrain>TERRAIN_MARSH</SoilTerrain>
<bRequiresRiver>0</bRequiresRiver>
<bRequiresGroundwater>0</bRequiresGroundwater>
<iOverrideOdds>0</iOverrideOdds>
<iSpawnOdds>10</iSpawnOdds>
</VegetationInfo>
<VegetationInfo>
<Type>VEGETATION_JUNGLE</Type>
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<MapColor>COLOR_BLUE</MapColor>
<Feature>FEATURE_JUNGLE</Feature>
<Variety>0</Variety>
<SoilTerrain>TERRAIN_RAINFOREST</SoilTerrain>
<bRequiresRiver>0</bRequiresRiver>
<bRequiresGroundwater>0</bRequiresGroundwater>
<iOverrideOdds>0</iOverrideOdds>
<iSpawnOdds>20</iSpawnOdds>
</VegetationInfo>
<VegetationInfo>
<Type>VEGETATION_MONSOON_JUNGLE</Type>
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<MapColor>COLOR_BLUE</MapColor>
<Feature>FEATURE_JUNGLE</Feature>
<Variety>0</Variety>
<SoilTerrain>TERRAIN_MONSOON</SoilTerrain>
<bRequiresRiver>0</bRequiresRiver>
<bRequiresGroundwater>0</bRequiresGroundwater>
<iOverrideOdds>0</iOverrideOdds>
<iSpawnOdds>20</iSpawnOdds>
</VegetationInfo>
<VegetationInfo>
<Type>VEGETATION_BAMBOO</Type>
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<MapColor>COLOR_BLUE</MapColor>
<Feature>FEATURE_BAMBOO</Feature>
<Variety>0</Variety>
<SoilTerrain>TERRAIN_MONSOON</SoilTerrain>
<bRequiresRiver>0</bRequiresRiver>
<bRequiresGroundwater>0</bRequiresGroundwater>
<iOverrideOdds>0</iOverrideOdds>
<iSpawnOdds>20</iSpawnOdds>
</VegetationInfo>
<VegetationInfo>
<Type>VEGETATION_MONSOON_GRASS</Type>
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<MapColor>COLOR_BLUE</MapColor>
<Feature>FEATURE_SWORDGRASS</Feature>
<Variety>0</Variety>
<SoilTerrain>TERRAIN_MONSOON</SoilTerrain>
<bRequiresRiver>0</bRequiresRiver>
<bRequiresGroundwater>0</bRequiresGroundwater>
<iOverrideOdds>0</iOverrideOdds>
<iSpawnOdds>20</iSpawnOdds>
</VegetationInfo>
<VegetationInfo>
<Type>VEGETATION_MONSOON_FOREST</Type>
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<MapColor>COLOR_BLUE</MapColor>
<Feature>FEATURE_TREES</Feature>
<Variety>3</Variety>
<SoilTerrain>TERRAIN_MONSOON</SoilTerrain>
<bRequiresRiver>0</bRequiresRiver>
<bRequiresGroundwater>0</bRequiresGroundwater>
<iOverrideOdds>0</iOverrideOdds>
<iSpawnOdds>12</iSpawnOdds>
</VegetationInfo>
<VegetationInfo>
<Type>VEGETATION_MONSOON</Type>
<!-- PROBABLY NOT NECESSARY - WORKS AS VEGETATION_NONE -->
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<MapColor>COLOR_BLUE</MapColor>
<Feature>NONE</Feature>
<Variety>0</Variety>
<SoilTerrain>TERRAIN_MONSOON</SoilTerrain>
<bRequiresRiver>0</bRequiresRiver>
<bRequiresGroundwater>0</bRequiresGroundwater>
<iOverrideOdds>0</iOverrideOdds>
<iSpawnOdds>20</iSpawnOdds>
</VegetationInfo>
<VegetationInfo>
<Type>VEGETATION_SAVANNAH_GRASS</Type>
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<MapColor>COLOR_BLUE</MapColor>
<Feature>FEATURE_SWORDGRASS</Feature>
<Variety>0</Variety>
<SoilTerrain>TERRAIN_SAVANNAH</SoilTerrain>
<bRequiresRiver>0</bRequiresRiver>
<bRequiresGroundwater>0</bRequiresGroundwater>
<iOverrideOdds>0</iOverrideOdds>
<iSpawnOdds>20</iSpawnOdds>
</VegetationInfo>
<VegetationInfo>
<Type>VEGETATION_SAVANNAH_FOREST</Type>
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<MapColor>COLOR_BLUE</MapColor>
<Feature>FEATURE_TREES</Feature>
<Variety>0</Variety>
<SoilTerrain>TERRAIN_SAVANNAH</SoilTerrain>
<bRequiresRiver>0</bRequiresRiver>
<bRequiresGroundwater>0</bRequiresGroundwater>
<iOverrideOdds>0</iOverrideOdds>
<SpawnsBonuses/>
</VegetationInfo>
<VegetationInfo>
<Type>VEGETATION_SAVANNAH</Type>
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<MapColor>COLOR_BLUE</MapColor>
<Feature>NONE</Feature>
<Variety>0</Variety>
<SoilTerrain>TERRAIN_SAVANNAH</SoilTerrain>
<bRequiresRiver>0</bRequiresRiver>
<bRequiresGroundwater>0</bRequiresGroundwater>
<iOverrideOdds>0</iOverrideOdds>
<iSpawnOdds>20</iSpawnOdds>
</VegetationInfo>
...
</VegetationInfos>
</CIV4VegetationInfos>
<CIV4BiomeInfos>
<BiomeInfos>
<BiomeInfo>
<Type>BIOME_TROPICAL_RAINFOREST</Type>
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<Koppen>Af</Koppen>
<MapColor>COLOR_DARK_BLUE</MapColor>
<iMinLatitude>0</iMinLatitude>
<iMaxLatitude>20</iMaxLatitude>
<iMinHumidity>97</iMinHumidity>
<iMaxHumidity>100</iMaxHumidity>
<iMinPrecipitation>75</iMinPrecipitation>
<iMaxPrecipitation>-1</iMaxPrecipitation>
<AirMassType>AIRMASS_MARITIME_TROPICAL</AirMassType>
<SeasonType>SEASONS_EQUATORIAL</SeasonType>
<HighlandBiome>NONE</HighlandBiome>
<RainshadowBiome>BIOME_SAVANNAH</RainshadowBiome>
<bCoastal>1</bCoastal>
<bCoolwater>0</bCoolwater>
<bPolar>0</bPolar>
<bMixZone>0</bMixZone>
<bMidLatitude>0</bMidLatitude>
<DefaultBeachTerrain>TERRAIN_MARSH</DefaultBeachTerrain>
<BeachVegetations>
<Vegetation>
<Type>VEGETATION_TROPICAL_SWAMP</Type>
<iOdds>0</iOdds>
</Vegetation>
</BeachVegetations>
<DefaultCoastalTerrain>TERRAIN_MUD</DefaultCoastalTerrain>
<CoastalVegetations>
<Vegetation>
<Type>VEGETATION_JUNGLE</Type>
<iOdds>0</iOdds>
</Vegetation>
</CoastalVegetations>
<DefaultInlandTerrain>TERRAIN_MUD</DefaultInlandTerrain>
<InlandVegetations>
<Vegetation>
<Type>VEGETATION_JUNGLE</Type>
<iOdds>0</iOdds>
</Vegetation>
</InlandVegetations>
<DefaultHighlandTerrain>TERRAIN_MUD</DefaultHighlandTerrain>
<HighlandVegetations>
<Vegetation>
<Type>VEGETATION_JUNGLE</Type>
<iOdds>35</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_DECIDUOUS</Type>
<iOdds>65</iOdds>
</Vegetation>
</HighlandVegetations>
<DefaultRainshadowTerrain>NONE</DefaultRainshadowTerrain>
<RainshadowVegetations/>
</BiomeInfo>
<BiomeInfo>
<Type>BIOME_MONSOON</Type>
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<Koppen>Am</Koppen>
<MapColor>COLOR_MEDIUM_BLUE</MapColor>
<iMinLatitude>5</iMinLatitude>
<iMaxLatitude>25</iMaxLatitude>
<iMinHumidity>90</iMinHumidity>
<iMaxHumidity>97</iMaxHumidity>
<iMinPrecipitation>55</iMinPrecipitation>
<iMaxPrecipitation>74</iMaxPrecipitation>
<AirMassType>AIRMASS_MARITIME_TROPICAL</AirMassType>
<SeasonType>SEASONS_MONSOON</SeasonType>
<HighlandBiome>NONE</HighlandBiome>
<RainshadowBiome>BIOME_STEPPE_HEISS</RainshadowBiome>
<bCoastal>1</bCoastal>
<bCoolwater>0</bCoolwater>
<bPolar>0</bPolar>
<bMixZone>0</bMixZone>
<bMidLatitude>0</bMidLatitude>
<DefaultBeachTerrain>TERRAIN_MARSH</DefaultBeachTerrain>
<BeachVegetations>
<Vegetation>
<Type>VEGETATION_TROPICAL_SWAMP</Type>
<iOdds>65</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_BAMBOO</Type>
<iOdds>35</iOdds>
</Vegetation>
</BeachVegetations>
<DefaultCoastalTerrain>TERRAIN_MONSOON</DefaultCoastalTerrain>
<CoastalVegetations>
<Vegetation>
<Type>VEGETATION_BAMBOO</Type>
<iOdds>65</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_JUNGLE</Type>
<iOdds>20</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_MONSOON_GRASS</Type>
<iOdds>15</iOdds>
</Vegetation>
</CoastalVegetations>
<DefaultInlandTerrain>TERRAIN_MONSOON</DefaultInlandTerrain>
<InlandVegetations>
<Vegetation>
<Type>VEGETATION_BAMBOO</Type>
<iOdds>60</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_MONSOON_FOREST</Type>
<iOdds>20</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_MONSOON_GRASS<</Type>
<iOdds>10</iOdds>
</Vegetation>
</InlandVegetations>
<DefaultHighlandTerrain>TERRAIN_GRASS</DefaultHighlandTerrain>
<HighlandVegetations>
<Vegetation>
<Type>VEGETATION_DECIDUOUS</Type>
<iOdds>80</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_MONSOON_GRASS</Type>
<iOdds>10</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_BAMBOO</Type>
<iOdds>10</iOdds>
</Vegetation>
</HighlandVegetations>
<DefaultRainshadowTerrain>NONE</DefaultRainshadowTerrain>
<RainshadowVegetations/>
</BiomeInfo>
<BiomeInfo>
<Type>BIOME_SAVANNAH</Type>
<Description></Description>
<Civilopedia></Civilopedia>
<Help></Help>
<Button></Button>
<Koppen>Aw</Koppen>
<MapColor>COLOR_LIGHT_STEEL_BLUE</MapColor>
<iMinLatitude>5</iMinLatitude>
<iMaxLatitude>25</iMaxLatitude>
<iMinHumidity>70</iMinHumidity>
<iMaxHumidity>89</iMaxHumidity>
<iMinPrecipitation>35</iMinPrecipitation>
<iMaxPrecipitation>54</iMaxPrecipitation>
<AirMassType>AIRMASS_MARITIME_TROPICAL</AirMassType>
<SeasonType>SEASONS_MONSOON</SeasonType>
<HighlandBiome>NONE</HighlandBiome>
<RainshadowBiome>BIOME_SAVANNAH</RainshadowBiome>
<bCoastal>1</bCoastal>
<bCoolwater>1</bCoolwater>
<bPolar>0</bPolar>
<bMixZone>0</bMixZone>
<bMidLatitude>0</bMidLatitude>
<DefaultBeachTerrain>TERRAIN_MARSH</DefaultBeachTerrain>
<BeachVegetations>
<Vegetation>
<Type>VEGETATION_BAMBOO</Type>
<iOdds>65</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_MARSH_GRASS</Type>
<iOdds>35</iOdds>
</Vegetation>
</BeachVegetations>
<DefaultCoastalTerrain>TERRAIN_SAVANNAH</DefaultCoastalTerrain>
<CoastalVegetations>
<Vegetation>
<Type>VEGETATION_BAMBOO</Type>
<iOdds>10</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_SAVANNAH_FOREST</Type>
<iOdds>45</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_SAVANNAH_GRASS</Type>
<iOdds>35</iOdds>
</Vegetation>
</CoastalVegetations>
<DefaultInlandTerrain>TERRAIN_SAVANNAH</DefaultInlandTerrain>
<InlandVegetations>
<Vegetation>
<Type>VEGETATION_SAVANNAH_FOREST</Type>
<iOdds>20</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_SAVANNAH_GRASS</Type>
<iOdds>50</iOdds>
</Vegetation>
</InlandVegetations>
<DefaultHighlandTerrain>TERRAIN_LUSH</DefaultHighlandTerrain>
<HighlandVegetations>
<Vegetation>
<Type>VEGETATION_SAVANNAH_FOREST</Type>
<iOdds>35</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_MIXED_FOREST</Type>
<iOdds>50</iOdds>
</Vegetation>
<Vegetation>
<Type>VEGETATION_BAMBOO</Type>
<iOdds>15</iOdds>
</Vegetation>
</HighlandVegetations>
<DefaultRainshadowTerrain>NONE</DefaultRainshadowTerrain>
<RainshadowVegetations/>
</BiomeInfo>
...
</BiomeInfos>
</CIV4BiomeInfos>