October 23, 200223 yr Hi all.Waterclass may be changed just like Landclass. It requires a RAW sourcefile, and uses value #254 as transparent. My LandCalc programs will give the coordinates and other INF info for a 257x257 sourcefile.The values for water are found in the "Terrain Texture Naming Convention" document of the FS2002 Terrain SDKs.If you look at in the scenedbtexture folder, you'll see some BMPs named like the land textures, but they have a 'w' in the name. These are the water textures, and the first 3 numbers of the name ID that texture for a WaterClass BGL.The SDK also tells you the depth associated with a Waterclass assignment. Waterclass vertex assignments blend into the surrounding 4 directions, just like LandClass, so the watertiles are built at runtime, and are derived by the 4 surounding verticies that corner each watertile.Here's a sample INF:; PearlWater.inf; 257x257 source[Destination]DestDir = "."DestBaseFileName = "PearlWater"UseSourceDimensions = 1[source]Type = WaterClassU8SourceDir ="."SourceFile = "PearlWater.raw"Lon = -161.25Lat = 22.5NumOfCellsPerLine = 257NumOfLines = 257CellXdimensionDeg=0.0146484375CellYdimensionDeg=0.010986328125You can use this code as a template with a 257x257 sourcefile. Change the names, and the LON and LAT. The cell dimensions will stay the same for 257x257.Dick
October 24, 200223 yr I question to you about this thread in the thread named LANDCLASS Question. Thanks you for the explain.Jose
October 25, 200223 yr That sounds great but this wil change the water color aspect and will not reshape the coast right?Michel
October 25, 200223 yr Author Hi Michel.This may change the color, but more importantly, it will change the depth.The color of water may be changed with VTP polygons, with a Layer value of 0-3. VTPs are interesting, as they will allow 8-bit with Alpha transparency. So you should be able to get some unusual coloring effects by laying down up to 4 layers of transparent-texure colored polygons over water areas if desired, and that will not change the depth.Dick
Create an account or sign in to comment