Env fog (GoldSrc): Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		 Warning:
Warning:
		
	
| No edit summary |  (I think this is important to say) | ||
| Line 1: | Line 1: | ||
| {{This is a|name=env_fog|e0|engine=1|game=Counter-Strike|game1=Counter-Strike: Condition Zero|game2=Condition Zero Deleted Scenes|game3=Deathmatch Classic}} This entity is used to cover the map in fog. | {{This is a|name=env_fog|e0|engine=1|game=Counter-Strike|game1=Counter-Strike: Condition Zero|game2=Condition Zero Deleted Scenes|game3=Deathmatch Classic}} This entity is used to cover the map in fog. Most Counter-Strike FGDs do not come with this entity listed, it has to be manually added in the FGD to be used in Hammer. | ||
| == Key values == | == Key values == | ||
Revision as of 12:37, 23 October 2023
env_fog  is an   e0  available in  Counter-Strike,
 Counter-Strike,  Counter-Strike: Condition Zero,
 Counter-Strike: Condition Zero,  Condition Zero Deleted Scenes, and
 Condition Zero Deleted Scenes, and  Deathmatch Classic.Template:1 topicon
 Deathmatch Classic.Template:1 topicon
 Warning:
Warning:
- The {{{game2}}}parameter is inconsistent with the name defined by the {{Condition Zero Deleted Scenes}} template. This can most likely be fixed by setting the value of the{{{game2}}}parameter toCondition Zero Deleted Scenes.
- The {{{engine}}}parameter is inconsistent with the name defined by the {{1}} template.
 If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
This entity is used to cover the map in fog. Most Counter-Strike FGDs do not come with this entity listed, it has to be manually added in the FGD to be used in Hammer.
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".