Page 1 of 1
Can't compile a map
Posted: 08 Mar 2007, 01:06
by gamer17
I just started mapping today, but I cant compile this map.
Mothers Mapconv keeps saying "Errenous dimensions for heightmap"
My heightmap is 1024 by 1024
I have also tried 1025 by 1025
Can someone help me? [/img][/code]
Posted: 08 Mar 2007, 01:20
by genblood
Ok.
Do you have all the proper files in the dir you
are making the map?
The size of the height map, you need to add a extra pixel.
Example:
Texture = 8192x8192
height = 1025x1025
feature = 1024x1024
metal = 1025x1025
type = 1025x1025(optional)
Also, did you make a bat file to process the map. If so,
post it ...
Example ;;;
Here is a sample I did on my last map.
mapconv.exe -i -l -x 289 -n -45 -f apr-fm2.bmp -m apr-mm1.bmp -a apr-hm.bmp -t apr-mm22.bmp -o Smoth-Heights-V2.smf -c .6
Post more details and I'll try an help you out.
Posted: 08 Mar 2007, 01:33
by gamer17
OK my sizes are
Texture = 1025x1025
height = 1024x1024
feature = 1025x1025
metal = 1025x1025
type = none
My bat is
mapconv.exe -i -x 300 -n 50 -m Metal.bmp -a Height.bmp -t Texture.bmp -f Feature.bmp -c .5 -o First.smf
Posted: 08 Mar 2007, 03:55
by Goolash_
your texture map is wrong, for a 16x16 map it should be 8192. your height map is wrong as well it should be texture(=8192)\8+1=1025.
texture map goes like this: for every 2x2 in the game you need 1024x1024 image, so for 16x16 just multiply 1024 by 8 = 8192.
This has everything you need to know:
http://spring.clan-sy.com/phpbb/viewtopic.php?t=3941
Posted: 08 Mar 2007, 11:23
by genblood
OK my sizes are
Texture = 1025x1025 should be 8192x8192
height = 1024x1024 should be 1025x1025
feature = 1025x1025 should be 1024x1024
metal = 1025x1025 correct
type = none
Do the changes and goto the link that Goolash_ put
in and that should help you out.
Posted: 08 Mar 2007, 13:11
by gamer17
Thanks, but when the map always crashes when fighting starts
Posted: 08 Mar 2007, 13:49
by Goolash_
did you put features in your map? maps crash if you put features too close to the edge of the map, especially trees. it caused me lots of head aches this bug.
And one more thing, maybe it's just me but my features map is always texture/8+1 which in this case would be 1025 and my metal map is always just texture/8 which in this case would be 1024. each and every map i made i went by these rules. so either one of is wrong genblood (could be me) or maybe you can go with both the sizes...
Posted: 08 Mar 2007, 22:54
by genblood
Goolash_,
I've always design my maps with the same format.
Main texture = 512x (#) say 16 .. 8192
Feature map = main texture # divided by 8 say 8192 / 8 = 1024
height map = main texture # divided by 8 + 1 pixel say 8192 / 8 +1 = 1025
metal map = main texure # divided by 8 +1 pixel say 8192 / 8 + 1 = 1025
type map (Option) main texture # divided by 8 + 1 pixel say 8192 / 8 +1 = 1025
So far, I've been able to compile them and getting them to run ...
Are people playing them

, that's another subject ...
gamer17,
Look the Wiki pages over, theirs a lot of info about map making
and stuff like that ... to help you out ....
Posted: 09 Mar 2007, 00:36
by Forboding Angel
Negative sun values cause crashes. Check them in your smd. Don't ask why, because no one truly knows, they just do.
Posted: 09 Mar 2007, 17:00
by gamer17
ok I'll check