SetFog

From the Fallout3 GECK Wiki
Jump to navigation Jump to search

The SETFOG command allows you to alter the current fog properties. Very handy for getting precise future fog-weather values and/or for a screenshot setup.

It requires two input values:

Syntax[edit | edit source]

SetFog 1500 1500 ; Would be a near & very sharp fog.

The second value determines the distant range towards the player. With a value of 1500, the fog would appear 1500 units away from the player.

The first value determines ...I would say... the "softness curve". If the first value is equal to the second, the fog plane will be as sharp as possible, which results in seeing the fog cutting through each polygon it hits.

SetFog 0 15000 ; Would be a far distant & soft fog.

A first value of 0 would be a very soft gradient towards the player. However the virst value can also be fed with negative inputs, which would result in a much more soft-curve towards the player.

Notice that objects with NoLightingProperties, such as the players PipBoy-Screen, will not be affected by the fog and visually jump out.

If the first value is higher than the second, the fog will be inverted. Just try it to see what I mean.


May the fog be with you...


/!\ Warning /!\
Changing the fog settings will override ALL fog settings (weather/dungeons) and can not be undone. A restart of Fallout 3 is required to restore original fog settings, loading a saved game won't do the thing.