tf_glow

From Valve Developer Community
Revision as of 09:13, 7 January 2024 by WisdomBot (talk | contribs) (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Jump to navigation Jump to search

tf_glow is an e0 available in Team Fortress 2 Team Fortress 2.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Team Fortress 2.
    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.

Adds a colored outline to a model, allowing it to become visible though world geometry, similar to the outline displayed on the payload or the intelligence.

Note.pngNote:Players will not see outlines if they have the console command glow_outline_effect_enable set to 0.
Icon-Bug.pngBug:Does not work on brush entities.  [todo tested in ?]

Keyvalues

Target ([todo internal name (i)]) <string>
The targetname of the entity to glow.
Note.pngNote:Only glows one entity at a time, multiple items glowing at once will require multiple tf_glow entities.
Icon-Bug.pngBug:Targets cannot be dynamically assigned using AddOutput.  [todo tested in ?]
Glow Color ([todo internal name (i)]) <color255>
Glow color, with alpha.
Format: <r> <g> <b> <a>
Visibility Mode ([todo internal name (i)]) <choices>
When the glow should be visible.
  • 0 : Always
  • 1 : Only when model is occluded
  • 2 : Only when model is visible
    Icon-Bug.pngBug:Options 1 and 2 do not function.  [todo tested in ?]
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

SetGlowColor <color255RedirectInput/color32>
Set glow color, with alpha.
Format: <r> <g> <b> <a>

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs