Env fog (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{entity|env_fog|<!--sprite=1-->|type=point|engine=gldsrc|game=Counter-Strike|game1=cscz|game2=czds|game3= | {{entity|env_fog|<!--sprite=1-->|type=point|engine=gldsrc|game=Counter-Strike|game1=cscz|game2=czds|game3=Deathmatch Classic}} This entity is used to cover the map in fog. | ||
== Key values == | == Key values == | ||
{{KV|Start distance|intn=startdist|int| | {{KV|Start distance|intn=startdist|int| This value defines how far away from the player the fog will start. At this range, the fog is completely transparent.|only={{dmc}} }} | ||
{{KV|End distance|intn=enddist|int| | {{KV|End distance|intn=enddist|int|This value defines how far away from the player the fog will end. At this point, the fog becomes 100% opaque.|only={{dmc}} }} | ||
{{KV|Start distance|intn=fogStartDistance|int|Distance where the fog begins to appear.|only={{cs}}, {{cscz}} & {{czds}} }} | {{KV|Start distance|intn=fogStartDistance|int|Distance where the fog begins to appear.|only={{cs}}, {{cscz}} & {{czds}} }} | ||
{{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| | {{KV|Fog Color (R G B)|intn=rendercolor|color255|This property allows you to set the color of the fog using an "R G B" value. For example, for blue fog you could use "0 0 255".}} | ||
== Flags == | == Flags == | ||
{{fl|1|Fog Affects Skybox|only={{cs}}, {{cscz}} & {{czds}} }} | {{fl|1|Fog Affects Skybox|only={{cs}}, {{cscz}} & {{czds}} }} | ||
Revision as of 13:51, 16 August 2023
Template:Entity This entity is used to cover the map in fog.
Key values
- Start distance (startdist) <integer> (only in
)
- This value defines how far away from the player the fog will start. At this range, the fog is completely transparent.
- End distance (enddist) <integer> (only in
)
- This value defines how far away from the player the fog will end. At this point, the fog becomes 100% opaque.
- Start distance (fogStartDistance) <integer> (only in
,
&
)
- Distance where the fog begins to appear.
- Stop distance (fogStopDistance) <integer> (only in
,
&
)
- Distance where the fog ends to appear.
- Fog density (density) <integer> (only in
,
&
)
- Density of the fog.
- Fog Color (R G B) (rendercolor) <color255>
- This property allows you to set the color of the fog using an "R G B" value. For example, for blue fog you could use "0 0 255".