Waterlevel raising/lowering without getting other grey tint

Waterlevel raising/lowering without getting other grey tint

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

Moderator: Moderators

Post Reply
Daan

Waterlevel raising/lowering without getting other grey tint

Post by Daan »

conv.exe -i -l -x 500 -n -50 -m MetalFloatingCastles.bmp -a heightFloatingCastles.bmp -t TextureFloatingcastles.bmp -f featureFloatingCastles.bmp -o Floating_Castle.smf -c .3

Basicully this is my inpot in mapconv and i tried a lot other combinations

like
300 -50
400 -50
300 -200

Well all of those veriations seems to only change the scale above and under water. So basically i edeting the scale instead of rising or lowering the water level.

Is ther a way around to this problem. I conclude after trying that ther most be a sort of gray tint between white and black that represent water level. is this treu? i read in another topic someone wanted to modify the heightscale on slopes after compiling and stuff with some kind of system well i could make out of it that the guy that proposed got told ther eshould be a way to level water with the -x and -n thin working.

Well great thanks in advantage.

Daan
User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

Post by hunterw »

0 is the height of the water in mapconv.

lets say for example you have a 8-bit greyscale heightmap. goes from 0 to 255, and you want, oh lets say 60 to be your water level. put these parameters in mapconv:

conv.exe -x 195 -n -60

the X is the max height, so 255-60=195. N is the min height, so 0-60=-60

this will put the water level directly at 60 on your heightmap, but you might end up with your hills either too steep or not steep enough. now all you have to do is multiply both numbers by some value. say you want them half as steep...multiply both by 0.5, and you'll get -x 97 -n -30. say you want them 1.5 times as steep, multiply both by 0.5, and you'll get -x 293 -n -90

by the way don't compile your map to do this, there's a program on unknown files that will modify these variables without having to compile your entire map. i think it's called "water thingy".
mufdvr222
Posts: 681
Joined: 01 May 2005, 09:24

Post by mufdvr222 »

I believe the util is "SMFED"
Gave up trying to find it on unknown files so I uploaded a copy here.

linky....http://muf.222clan.com/SMFED.zip
Daan

error

Post by Daan »

When opening this program i getting an error of a missing file or a bad part.
mufdvr222
Posts: 681
Joined: 01 May 2005, 09:24

Post by mufdvr222 »

You may need .net or VB viles, not shure.
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

You can also use my Water height thingy for working out what height values to use for whatever water level and height values you want.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Post Reply

Return to “Map Creation”