Page 1 of 1

Waterlevel raising/lowering without getting other grey tint

Posted: 27 Mar 2007, 01:04
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

Posted: 27 Mar 2007, 02:16
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".

Posted: 27 Mar 2007, 02:26
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

error

Posted: 27 Mar 2007, 03:09
by Daan
When opening this program i getting an error of a missing file or a bad part.

Posted: 27 Mar 2007, 03:59
by mufdvr222
You may need .net or VB viles, not shure.

Posted: 27 Mar 2007, 05:35
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.

Posted: 27 Mar 2007, 07:31
by Forboding Angel