Joseph Zahnen
Chieftain
- Joined
- Jul 6, 2018
- Messages
- 2
I've been toying around with the TerrainGenerator.lua file trying to generate maps with no Tundra or Snow. I don't want to adjust the amount of Desert, water, etc. I'd love to remove Ice too but that seems even more complicated so for now I'm just trying to drop all tundra/snow.
I tried setting the fSnowLatitude to values ranging from 0 to -999. I also tried changing the terrainTypes[index] from snow or tundra to just plains. For instance:
if(lat >= fSnowLatitude) then terrainTypes[index] = g_TERRAIN_TYPE_PLAINS;
I was hoping that if it still found a value within the latitude it would generate plains instead. No Joy.
It does seem to have reduced the amount of Tundra/Snow but not remove it entirely. I'm either doing something wrong in TerrainGenerator.lua OR there is another script that comes by after and is creating snow/tundra.
Anyone able to point me in the right direction?
I tried setting the fSnowLatitude to values ranging from 0 to -999. I also tried changing the terrainTypes[index] from snow or tundra to just plains. For instance:
if(lat >= fSnowLatitude) then terrainTypes[index] = g_TERRAIN_TYPE_PLAINS;
I was hoping that if it still found a value within the latitude it would generate plains instead. No Joy.
It does seem to have reduced the amount of Tundra/Snow but not remove it entirely. I'm either doing something wrong in TerrainGenerator.lua OR there is another script that comes by after and is creating snow/tundra.
Anyone able to point me in the right direction?