Env fog (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{entity|env_fog|<!--sprite=1-->|type=point|engine=gldsrc|game=Counter-Strike|game1=cscz|game2=czds|game3=dmc}} This entity is used to cover the map in fog. == Key values ==...")
 
No edit summary
Line 7: Line 7:
{{KV|Stop distance|intn=fogStopDistance|int|Distance where the fog ends to appear.|only={{cs}}, {{cscz}} & {{czds}} }}
{{KV|Stop distance|intn=fogStopDistance|int|Distance where the fog ends to appear.|only={{cs}}, {{cscz}} & {{czds}} }}
{{KV|Fog density|intn=density|int|Density of the fog.|only={{cs}}, {{cscz}} & {{czds}} }}
{{KV|Fog density|intn=density|int|Density of the fog.|only={{cs}}, {{cscz}} & {{czds}} }}
{{KV|Fog Color (R G B)|intn=rendercolor|color255|Fog color.}}
{{KV|Fog Color (R G B)|intn=rendercolor|color255|Fog color.|only={{cs}}, {{cscz}} & {{czds}} }}


== Flags ==
== Flags ==

Revision as of 13:39, 14 August 2023

Template:Entity This entity is used to cover the map in fog.

Key values

Start distance (startdist) <integer> (only in Deathmatch Classic)
Distance where the fog begins to appear.
End distance (enddist) <integer> (only in Deathmatch Classic)
Distance where the fog ends to appear.
Start distance (fogStartDistance) <integer> (only in Counter-Strike, Counter-Strike: Condition Zero & Condition Zero Deleted Scenes)
Distance where the fog begins to appear.
Stop distance (fogStopDistance) <integer> (only in Counter-Strike, Counter-Strike: Condition Zero & Condition Zero Deleted Scenes)
Distance where the fog ends to appear.
Fog density (density) <integer> (only in Counter-Strike, Counter-Strike: Condition Zero & Condition Zero Deleted Scenes)
Density of the fog.
Fog Color (R G B) (rendercolor) <color255> (only in Counter-Strike, Counter-Strike: Condition Zero & Condition Zero Deleted Scenes)
Fog color.

Flags

Fog Affects Skybox : [1] (only in Counter-Strike, Counter-Strike: Condition Zero & Condition Zero Deleted Scenes)