View Single Post
  #13  
Old January 9th, 2007, 09:22 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: Dom3minions.com MAPs

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.
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote