[General] Wc3 custom map dimensions

Status
Not open for further replies.
Level 3
Joined
Jan 19, 2017
Messages
32
does anyone know the unit of measurement (cm, in, px, etc) used when creating a new map?
pls help ty
 
Level 13
Joined
May 10, 2009
Messages
868
HSpbDFy.jpg

Based on the image above, the distance between the:
  • Yellow lines is 512
  • White lines is 128
  • Gray/Grey lines is 32

When you're about to create a new map, the editor shows you these numbers: 32 x 32 / 64 x 64. Each number (every 1) is equal to the distance between the white lines, which is 128.

So a 64 x 64 map has a total size of 8192 for each axis.

kGwvmc0.png
 
Level 3
Joined
Jan 19, 2017
Messages
32
i'm trying to make a random seed map by using heightmap files so i'm a bit confused about the dimensions.
 
Level 3
Joined
Jan 19, 2017
Messages
32
What does this even mean... Surely you want a hash algorithm then to hash the height map image data? Also surely it would be constant for the map then so not really a good random seed?

I have googled a height map creator (only a few KB) and it can create random seed heightmaps. Then I save it to .bmp and open it with photo edit software. Save it to .tga then walllah. after a few more freaking steps i have a random map (without water)
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,284
Oh you are tying to make a map with terrain that came from a random map generator.

Biggest maps in WC3 are 480*480 tiles. The smallest unit of modifiable terrain is a mesh vertex, of which there are x+1 * y+1 of them or 481*481 for the biggest map. The X and Y spacing between vertices in the terrain mesh is 128 in game units, meaning that any feature smaller than 128 in game units cannot be represented by terrain.

Both terrain and water are meshes with the same deformable height range.
 
Status
Not open for further replies.
Top