R radialfog force: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(new console command to test radial fog (without recompiling map).)
 
(Now available in Portal since May 20, 2025 update.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{this is a|console variable|name=r_radialfog_force|game=Half-Life 2 series|game1=Team Fortress 2 branch}}
{{this is a|console variable|name=r_radialfog_force|game=Half-Life 2 series|game1=Portal|game2=Team Fortress 2 branch}}


Force-on toggle for testing [[radial fog]] on/off. This is not a cheat for the joy of playing with this set on if a player wants the new behavior on old maps.
Force-on toggle for testing [[radial fog]] on/off. This is not a cheat, and it designed for it the client wants the new behavior on old maps.
 
This command is introduced in {{hl2series|1}} since 20th Anniversary Update, and later available in {{portal|1}} since May 20, 2025. It is also available in all games on {{tf2branch|1}} since Feb 18, 2025.


;Values{{colon}}
;Values{{colon}}
Line 8: Line 10:
1: Force on
1: Force on
</nowiki>}}
</nowiki>}}
<div style="text-align:center;margin:auto;width:780px;background:F9F9F9;border:1px solid #CCCCCC;padding:.3em;">
<div>[[File:Radial_fog_-_Off.jpg|360px|Radial fog disabled (using planar-based fog).]] [[File:Radial_fog_-_On.jpg|360px|Radial fog enabled.]]</div>
<div style="font-size:.85em;">Comparison between planar-based fog and radial fog. Screenshot from {{css|1}} on {{tf2branch|1}}.</div>
</div>
[[Category:Fog]]

Latest revision as of 22:59, 7 June 2025

r_radialfog_force is a console variable available in Half-Life 2 series Half-Life 2 series, Portal Portal, and Team Fortress 2 branch Team Fortress 2 branch.

Force-on toggle for testing radial fog on/off. This is not a cheat, and it designed for it the client wants the new behavior on old maps.

This command is introduced in Half-Life 2 series since 20th Anniversary Update, and later available in Portal since May 20, 2025. It is also available in all games on Team Fortress 2 branch since Feb 18, 2025.

Values:
-1: Default 0: Force off 1: Force on
Radial fog disabled (using planar-based fog). Radial fog enabled.
Comparison between planar-based fog and radial fog. Screenshot from Counter-Strike: Source on Team Fortress 2 branch.