target_fog
This is an entity on id Tech 3 engines, present on RTCW Single Player, RTCW Multiplayer and Enemy Territory. Below you can find its spawnflags, keys and editor settings for each game that defines it.
RTCW Single Player
color picker chooses color of fog
distance value sets the type of fog. values > 1 are distance fog (ex. 2048), values < 1 are density fog (ex. .0002)
Keys
| Key |
Description |
| distance |
sets fog distance. Use value '0' to give control back to the game (and use the fog values specified in the sky shader if present) |
| near |
is fog start distance when using distance fog |
| time |
time it takes to change fog to new value. default time is 1 sec |
Editor
| Property |
Value |
| Type |
point entity |
| Min |
-8 -8 -8 |
| Max |
8 8 8 |
| Color |
1 1 0 |
| Spawn function |
SP_target_fog |
RTCW Multiplayer
color picker chooses color of fog
Keys
| Key |
Description |
| distance |
sets fog distance. Use value '0' to give control back to the game (and use the fog values specified in the sky shader if present) |
| time |
time it takes to change fog to new value. default time is 1 sec |
Editor
| Property |
Value |
| Type |
point entity |
| Min |
-8 -8 -8 |
| Max |
8 8 8 |
| Color |
1 1 0 |
| Spawn function |
SP_target_fog |
Enemy Territory
color picker chooses color of fog
Keys
| Key |
Description |
| distance |
sets fog distance. Use value '0' to give control back to the game (and use the fog values specified in the sky shader if present) |
| time |
time it takes to change fog to new value. default time is 1 sec |
Editor
| Property |
Value |
| Type |
point entity |
| Min |
-8 -8 -8 |
| Max |
8 8 8 |
| Color |
1 1 0 |
| Spawn function |
SP_target_fog |