Brewster Bufallo 0 Posted March 14, 2008 Im working on an island based on a real world location in sweden, it is situated next to a big lake wich has its surface 44 meters over the sea level, and the highest point is 79 meters above the sea. But when i bring it into arma i get 500 meter high mountains!!! I guess the problem is in my terrain.pbl <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class cfg { PNGfilename="terrain.png"; squareSize=20.000000; originX=0; originY=0; minHeight=0; maxHeight=35; }; Can anyone see something wrong in there? I cant acess imageshack for the moment, otherwise i could had posted a screenshot of what it looks like Share this post Link to post Share on other sites
Nicholas Bell 0 Posted March 14, 2008 "Sea Level" is always 0 in the V3. In the PBL the minHeight is the bottom of the sea (or your lake if there is no open sea on the map). Use a negative number, (eg "-10") for the minHeight value. Set the maxHeight value to "35" to represent the highest elevation if above the water level - the difference between the water level and the highest elevation. Is the sea and the lake on your map? If so, you need to use the "pond" object to create the lake. In this case you would create a depression in a flat level at 44 and use the pond object. The maxHeight would then be 79. The minHeight would be whatever negative value you select for the sea bottom. Hope this makes sense. Share this post Link to post Share on other sites
Brewster Bufallo 0 Posted March 14, 2008 What i meant is that it is a lake in real life, in Arma its one of the world oceans lol, it looks like and acts as the sea simply. EDIT i tryed this, as well as resaving the .pew and exporting a new .wrp. +that i renamed the files. But it wouldnt work, i still end up with sky high mountains, the highest one is 800 meters! Maybe my file structure is wrong, or something in my config file? Share this post Link to post Share on other sites
Nicholas Bell 0 Posted March 14, 2008 Right. Just so I'm clear, you changed your PBL to look like this and it still is messed up? class cfg { PNGfilename="terrain.png"; squareSize=20.000000; originX=0; originY=0; minHeight=-10; maxHeight=79; }; Share this post Link to post Share on other sites
Brewster Bufallo 0 Posted March 14, 2008 Actually i made it class cfg { PNGfilename="terrain.png"; squareSize=20.000000; originX=0; originY=0; minHeight=-10; maxHeight=35; }; since the highest point will be 35 meters over my sea(the real life lake). I hope that is correct? Im gonna look into this tomorrow, i gotta have made a misstake somewhere. EDIT: this is an exact copy direct from the file: class cfg { PNGfilename="terrain.png"; squareSize=20.000000; originX=0; originY=0; minHeight=-10; maxHeight=35; }; i cant see any differenc tough Share this post Link to post Share on other sites