Author Topic: water texture dlisappearing  (Read 2070 times)

well im working on a map that has water but it wont stop disappearing



Copy water data from slate sea.
Solve all problems.

Code: [Select]
new WaterBlock(Water) {
      position = "0 0 -91";
      rotation = "1 0 0 0";
      scale = "2048 2048 100";
      UseDepthMask = "1";
      RepeatTerrain = "1";
      surfaceTexture = "~/data/water/TSwater1";
      ShoreTexture = "~/data/water/TSwater1";
      submergeTexture[0] = "~/data/water/TSwater1";
      submergeTexture[1] = "~/data/water/TSwater1";
      liquidType = "OceanWater";
      density = "1";
      viscosity = "40";
      waveMagnitude = "0.5";
      surfaceOpacity = "0.25";
      envMapIntensity = "0";
      TessSurface = "50";
      TessShore = "60";
      SurfaceParallax = "10";
      FlowAngle = "0";
      FlowRate = "0.02";
      DistortGridScale = "0";
      DistortMag = "0";
      DistortTime = "0.5";
      ShoreDepth = "0";
      DepthGradient = "0";
      MinAlpha = "1";
      MaxAlpha = "10";
      removeWetEdges = "0";
      specularColor = "0.700000 0.600000 0.550000 0.900000";
      specularPower = "0.7";
      waterColor = "0.200000 0.600000 0.600000 0.300000";
      useCustomFog = "0";
      customFogDistance = "800";
      customVisibilityDistance = "1000";
         params0 = "0.32 -0.67 0.066 0.5";
         params1 = "0.63 -2.41 0.33 0.21";
         params3 = "1.21 -0.61 0.13 -0.33";
         textureSize = "32 32";
         extent = "100 100 10";
         floodFill = "1";
         params2 = "0.39 0.39 0.2 0.133";
         seedPoints = "0 0 1 0 1 1 0 1";
   };
   new WaterBlock(Water) {
      position = "-56 -64 -100.238";
      rotation = "1 0 0 0";
      scale = "2048 2048 100";
      UseDepthMask = "1";
      RepeatTerrain = "1";
      surfaceTexture = "~/Map_Kitchen/sand1.jpg";
      ShoreTexture = "~/Map_Kitchen/sand1.jpg";
      submergeTexture[0] = "~/data/water/TSwater1";
      submergeTexture[1] = "~/data/water/TSwater1";
      liquidType = "OceanWater";
      density = "1";
      viscosity = "40";
      waveMagnitude = "0";
      surfaceOpacity = "1";
      envMapIntensity = "0";
      TessSurface = "50";
      TessShore = "60";
      SurfaceParallax = "0";
      FlowAngle = "0";
      FlowRate = "0";
      DistortGridScale = "0";
      DistortMag = "0";
      DistortTime = "1";
      ShoreDepth = "0";
      DepthGradient = "0";
      MinAlpha = "1";
      MaxAlpha = "10";
      removeWetEdges = "0";
      specularColor = "0.200000 0.200000 0.250000 0.750000";
      specularPower = "0";
      waterColor = "0.200000 0.600000 0.600000 0.300000";
      useCustomFog = "0";
      customFogDistance = "800";
      customVisibilityDistance = "1000";
         params1 = "0.63 -2.41 0.33 0.21";
         params0 = "0.32 -0.67 0.066 0.5";
         params3 = "1.21 -0.61 0.13 -0.33";
         textureSize = "32 32";
         extent = "100 100 10";
         floodFill = "1";
         params2 = "0.39 0.39 0.2 0.133";
         seedPoints = "0 0 1 0 1 1 0 1";
   };

can i copy the water data block from slatesea or do i have to put that in manuely?

This happens whenb using bedroom as a base. Use Flatlands.

i did use flatlands i never use any thing else as a base

Open up mission editor inspector and select the water. Make the scale 2000 2000 100 then drag it back into place.

Open up mission editor inspector and select the water. Make the scale 2000 2000 100 then drag it back into place.

thank you it works i'll be on my way to makeing maps in no timemore like a year :l