Quote:
you dont happen to know the terrain code for sea vs. deep sea or maybe know a place or document where i cant find the relevant info?
|
Old Dom2 Terrain BitMath:
"small" 1
"large" 2
"sea" 4
"somewater" 8
"mountain" 16
"swamp" 32
"waste" 64
"forest" 128
"farm" 256
"nostart" 512
"manysites" 1024
New Dom3 Terrain BitMath from Gandalf:
"small" 1
"large" 2
"sea" 4
"somewater" 8
"mountain" 16
"swamp" 32
"waste" 64
"forest" 128
"farm" 256
"nostart" 512
"manysites" 1024
"deep" 2048
"cave" 4096
"firesite" 8192
"airsite" 16384
"watersite" 32768
"earthsite" 65536
"astralsite" 131072
"deathsite" 262144
"naturesite" 524288
"bloodsite" 1048576
"priestsite" 2097152
"edgemount" 4194304
When converting from Dom3 to Dom2, the bitmath is the same except when you run into provinces with a terrain value of 2048 or greater. To turn mountain edges (4194304) to mountains (16), just subtract 4194304 from the current Dom3 terrain value and it should work fine. Simply changing it to 16 would probably work on a pure random generated map, but you might lose any "small" or "large" province tags, and any user modifications means that other terrain types can get mixed in as well.
If Gandalf adds his auto-converted map generation to his site it will save you a lot of trouble!
Hope this helps.
