I've come a bit of a cropper

I've come a bit of a cropper

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

Moderators: Moderators, Moderators

Post Reply
Gurkha
Posts: 81
Joined: 31 Aug 2004, 01:53

I've come a bit of a cropper

Post by Gurkha »

compiling a map.

Basically, the height map doesn't seem to have been incorporated into the map (so the finished thing is all flat). The file I pointed mapconv at is definately the right map and I'm assuming that I must've pointed it right or with would have fallen over (it wouldn't have compiled without a heightmap and just made it all flat, would it?)

This is the command line I used:
mapconv -x 500 -n 500 -o faceoff.smf -t ground1.bmp -m metal1.bmp -a heightmap2.bmp

My heightmap is rotationally symmetric, so I omitted the -i and I don't have any features (yet, anyway) so I ommitted the entire featuremap thing.

heightmap2.bmp is 2049x1025 pixels
metal1.bmp is 2049 x 1025 pixels
ground1.bmp is 16384 x 8192 pixels

mapconv would've fallen over if there was something wrong with one of my images, wouldn't it?

-Gurkha

edit: oh, yeah, the filesizes seem very small, the .smf file is only 6,449 KB and it all compresses to 64KB (which would suggest that faceoff.smf is very easily compress, which suggest that it totally contiguous)
0 x

User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Re: I've come a bit of a cropper

Post by Das Bruce »

Gurkha wrote:mapconv -x 500 -n 500 -o faceoff.smf -t ground1.bmp -m metal1.bmp -a heightmap2.bmp
Max and min are same. :roll:
0 x

Gurkha
Posts: 81
Joined: 31 Aug 2004, 01:53

Post by Gurkha »

ah, that would be it, I was wanting -500, thanks. Time to recompile... lets hope it works this time

-Gurkha
0 x

User avatar
hrmph
Posts: 1054
Joined: 12 May 2005, 20:08

Post by hrmph »

That is definitely the problem. This post needs to be nuked! Or... You could post some screenies? ;)
0 x

User avatar
Quanto042
Basically OTA Developer
Posts: 778
Joined: 22 Feb 2006, 03:01

Post by Quanto042 »

lol give him a break
0 x

User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

That is an aweful big heigh difference.
0 x

User avatar
Weaver
Posts: 644
Joined: 07 Jul 2005, 21:15

Post by Weaver »

Might be ok since it's a 32x16 map, we'll see.
0 x

User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

On an 8 bit heightmap? I'm not so sure.
0 x

User avatar
Weaver
Posts: 644
Joined: 07 Jul 2005, 21:15

Post by Weaver »

Das Bruce wrote:On an 8 bit heightmap? I'm not so sure.
Its converted to 16bit during compile, if he uses lowpass that should help alot. If not then yes, 1000 is almost certainly too much.
0 x

User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

Heh heh heh heh
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14630
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

1k is generally fine on 32x16's, he might have to scale it down a bit if he want's it to work with AA (prolly to a 600 difference), but it will work fin in EE.
0 x

Zagupi
Posts: 99
Joined: 26 Jul 2006, 11:50

Post by Zagupi »

It all depends on how you make the map. Real.sd7 is 16x16 and with 1100 overall height difference. It works fine (althou planes bump into mountains)
0 x

Post Reply

Return to “Map Creation”

cron