Template:FogSettingsTableCaption/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
 
Line 6: Line 6:
** Use this parameter only for {{tf2branch|1}} games/mod, or {{hl2|1}} (20th Anniversary Update). {{l4dbranch|1}} (and later L4D-derived branch) always use radial fog.
** Use this parameter only for {{tf2branch|1}} games/mod, or {{hl2|1}} (20th Anniversary Update). {{l4dbranch|1}} (and later L4D-derived branch) always use radial fog.
** '''Value:''' {{code|1}} = Show "Radial fog enabled?" caption. {{code|0}} = Hide.
** '''Value:''' {{code|1}} = Show "Radial fog enabled?" caption. {{code|0}} = Hide.
*{{Param|hdroverride|[[boolean]]}}
** Use this parameter only for {{hl2series|1}} games (since 20th Anniversary Update). Show fog color value which are only used when [[HDR]] is enabled.
** '''Value:''' {{code|1}} = Show "Primary/Secondard Fog Color (HDR)" caption. {{code|0}} = Hide.


== Preview ==
== Preview ==

Latest revision as of 03:11, 7 April 2025

Edit-copy.png
This is a documentation subpage for Template:FogSettingsTableCaption.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

This template is used on List of <name> Fog Settings.

Parameters

  • {{{fogradial|boolean}}}
  • {{{hdroverride|boolean}}}
    • Use this parameter only for Half-Life 2 series games (since 20th Anniversary Update). Show fog color value which are only used when HDR is enabled.
    • Value: 1 = Show "Primary/Secondard Fog Color (HDR)" caption. 0 = Hide.

Preview

{|class="standard-table" style="width: 100%; text-align: center;"
{{FogSettingsTableCaption|fogradial=<boolean>}}
...
...
Name Fog Start Fog End Max Density Far Z Primary Fog Color Secondary Fog Color Fog Direction Interpolate Time Radial fog enabled?
(applies to Team Fortress 2 branch & Half-Life 2 only)
Map Name
Entity name 64 128 1 1048 0 0 0 Default Default 256 Yes
Entity name 64 128 1 1048 0 0 0 Default Default 256 No