Page 1 of 1

Help. I have no Water :(

Posted: 02 Nov 2006, 06:01
by Pharanygitis
Please help. I have made a Map ... and the map has no water .... :(
(look, this is my highmap).. :(

Image

the color for water is 0,0,0 :-/

Posted: 02 Nov 2006, 06:15
by Forboding Angel
post the smd file.

What heights are you using for the compiler?

Posted: 02 Nov 2006, 06:31
by Pharanygitis
maphigh : 255 :-/

smd :


//Compiled by Maelstroms SMD Creator version 3.5
[MAP]
{
Description=Shit !;
TidalStrength=23;
Gravity=130;
MaxMetal=0.012;
ExtractorRadius=350;
MapHardness=150;
[ATMOSPHERE]
{
FogColor=1 1 1;
CloudColor=1 1 1;
SkyColor=0,6 0,76 1;
SunColor=1 1 0;
MinWind=0;
MaxWind=3;
}
[WATER]
{
WaterBaseColor=0.4 0.6 0.8; //color at water surface
WaterAbsorb=0.004 0.004 0.002; //how fast different colors are absorbed by the water
WaterMinColor=0.1 0.1 0.3; //the min value the water colors will go down to

}
[LIGHT]
{
SunDir=0,444 0,329 0,504;
GroundAmbiantColor=1 1 0,65;
GroundSunColor=1 1 1;
GroundShadowDensity=1;
UnitAmbiantColor=1 1 1;
UnitSunColor=1 1 1;
UnitShadowDensity=1;
SpecularSunColor=1 1 1;
}
[TERRAINTYPE0]
{
name=Default;
hardness=1;
tankmovespeed=1;
kbotmovespeed=1;
hovermovespeed=1;
shipmovespeed=1;
}
[TEAM0]
{
StartPosX=200;
StartPosZ=200;
}
[TEAM1]
{
StartPosX=8000;
StartPosZ=200;
}
[TEAM2]
{
StartPosX=200;
StartPosZ=8000;
}
[TEAM3]
{
StartPosX=8000;
StartPosZ=8000;
}
[TEAM4]
{
StartPosX=3000;
StartPosZ=200;
}
[TEAM5]
{
StartPosX=3000;
StartPosZ=3000;
}
}

Posted: 02 Nov 2006, 07:50
by Forboding Angel
what is the minimum map height?

I need the max and the min. Sorry I thought I had stated that clearly. My bad.

well if you want a water map your min map height should be a negative number. For the heightmap you posted, try maxheight 200 minheight -100 and see if that works.

The higher the negative number goes (into the negatives) the deeper you water will be. For example -110 is not as deep as -250 is not as deep as -500 etc. So just raise the water height till you have it where you want it.

max 200 min -100 is a pretty generic value that should work.

Posted: 02 Nov 2006, 08:07
by Pharanygitis
where can change the max and min water height ?
:-/

Posted: 02 Nov 2006, 08:13
by Maelstrom
When you compile your map with MapConv. See this wiki page for more info on compiling.

Also, dont use my SMD creator. It sucks. Notepad FTW.

Posted: 02 Nov 2006, 10:20
by Comp1337
those cliffs are really steep... maybe smudge them out a bit?

Posted: 02 Nov 2006, 23:25
by Weaver
Pharanygitis the water level in Spring maps is not at RGB 0 0 0. It can be at any level, so that you can have no water or the entire map below water. Even below the water there is still height map data, so you can have shallow areas, or deep underwater trenches.

FA's suggestion of using -100 min and 200 max is a good start and puts the water level at RGB 85 85 85.

Don't worry about asking questions, everyone needs a little guidance at the start.

Posted: 03 Nov 2006, 08:05
by mufdvr222
To clarify a little more, you first need to decide on a height range for your map and then start chasing your preferred water height.
So If you decide on a total height range of say, 310 then you go and open the .bat file in notepad and enter your numbers,, see example

-x 268 -n -42
You will notice both numbers add up to 310, so if I wanted to raise the water level I would need to raise the negative number whilst lowering the positive number, its like a sliding scale, water level is moving between 0 and 310, if I was to raise the water level in the example above by 20 it would go like this,

-x 248 -n -62

and the sum of the two is still 310.

Posted: 03 Nov 2006, 14:24
by bamb
Your heightmap is wrong. You have put black where you intend the water level to be, correct? Spring does not work in this way.

Imagine the terrain without water, so that you can see the bottom of lakes and seas. Make this terrain as heightmap. If your heightmap min is at -50 and max is at +50, then the water level will be at zero and all values smaller than that will be underwater, or, sea bottom.