Template:FogSettingsTableCaption/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "This template is used on List of <nowiki><name></nowiki> Fog Settings. == Preview == <pre> {|class="standard-table" style="width: 100%; text-align: center;" {{FogSettingsTabl...")
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Doc/subpage}}
This template is used on List of <nowiki><name></nowiki> Fog Settings.
This template is used on List of <nowiki><name></nowiki> Fog Settings.
== Parameters ==
*{{Param|fogradial|[[boolean]]}}
** 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.
*{{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 ==
<pre>
<pre>
{|class="standard-table" style="width: 100%; text-align: center;"
{|class="standard-table" style="width: 100%; text-align: center;"
{{FogSettingsTableCaption}}
{{FogSettingsTableCaption|fogradial=<boolean>}}
...
...
...
...
Line 12: Line 21:
{{FogSettingsTableCaption}}
{{FogSettingsTableCaption}}
|-
|-
! colspan="9" | Map Name
! colspan="10" | Map Name
|-
| Entity name
| 64
| 128
| 1
| 1048
| style="background: #000000; color: white" | {{Vec3|0|0|0}}
| style="background: #ffffff; color: black" | ''Default''
| ''Default''
| 256
| {{Yes}}
|-
|-
| Entity name
| Entity name
Line 23: Line 43:
| ''Default''
| ''Default''
| 256
| 256
| {{No}}
|}
|}

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