Can't compile a map

Can't compile a map

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
gamer17
Posts: 235
Joined: 21 Feb 2007, 23:51

Can't compile a map

Post 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]
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post 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.
User avatar
gamer17
Posts: 235
Joined: 21 Feb 2007, 23:51

Post 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
User avatar
Goolash_
Posts: 201
Joined: 25 Nov 2006, 16:26

Post 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
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post 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.
User avatar
gamer17
Posts: 235
Joined: 21 Feb 2007, 23:51

Post by gamer17 »

Thanks, but when the map always crashes when fighting starts
User avatar
Goolash_
Posts: 201
Joined: 25 Nov 2006, 16:26

Post 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...
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post 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 :roll: , that's another subject ... :P


gamer17,


Look the Wiki pages over, theirs a lot of info about map making
and stuff like that ... to help you out ....
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post 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.
User avatar
gamer17
Posts: 235
Joined: 21 Feb 2007, 23:51

Post by gamer17 »

ok I'll check
Post Reply

Return to “Map Creation”