Jump to content

how do I turn off the fog


remix79

Recommended Posts

If you need to change the settings on custom maps, there are only 2 settings to change in the environment files (.env) found in the map folders.

Here is the caves env file:

<EnvironmentFile>

<VersionNumber>1.000000</VersionNumber>

<MapFileName>m01_caves\m01_caves.map</MapFileName>

<SkyboxFileName>m01_caves.pob</SkyboxFileName>

<FarPlane>180</FarPlane>

<MaxSpot>90</MaxSpot>

<Fog Near = "10" Far = "180" Red = "249" Green = "239" Blue = "205" LayerRange = "90" LayerHeight = "20"/>

<CMBitmap>m01_caves.rsb</CMBitmap>

<CMPieceBitmapNode/>

<CMBasePlanningLevel>0</CMBasePlanningLevel>

<CMOffsetX>-183</CMOffsetX>

<CMOffsetY>-220</CMOffsetY>

</EnvironmentFile>

Change

<FarPlane>180</FarPlane> to <FarPlane>400</FarPlane>

That is when the engine draws the environment.

Far = "180" to Far = "400"

That is fog and how far you can see. Usually wise to have the FarPlane a little more than the fog.

  • Like 1
Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...