Tf glow: Difference between revisions
Jump to navigation
Jump to search
Note:Players will not see outlines if they have the console command
Bug:Does not work on brush entities. [todo tested in ?]
No edit summary |
|||
Line 3: | Line 3: | ||
{{bug|Does not work on brush entities.}} | {{bug|Does not work on brush entities.}} | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Target|string|The [[targetname]] of the entity to glow.}}{{Note|Only glows one entity at a time, multiple items glowing at once will require multiple <code>tf_glow</code> entities.}}{{bug|Targets cannot be dynamically assigned using [[AddOutput]]. {{Workaround| Use [[VScript]] to set the m_hTarget NetProp instead.}}}} | {{KV|Target|intn=target|string|The [[targetname]] of the entity to glow.}}{{Note|Only glows one entity at a time, multiple items glowing at once will require multiple <code>tf_glow</code> entities.}}{{bug|Targets cannot be dynamically assigned using [[AddOutput]]. {{Workaround| Use [[VScript]] to set the m_hTarget NetProp instead.}}}} | ||
{{KV|Glow Color|color255|Glow color, with alpha.<br/>Format: <code><nowiki><r> <g> <b> <a></nowiki></code>}} | {{KV|Glow Color|intn=GlowColor|color255|Glow color, with alpha.<br/>Format: <code><nowiki><r> <g> <b> <a></nowiki></code>}} | ||
{{KV|Visibility Mode|choices|When the glow should be visible.}} | {{KV|Visibility Mode|intn=Mode|choices|When the glow should be visible.}} | ||
:* 0 : Always | :* 0 : Always | ||
:* 1 : Only when model is occluded | :* 1 : Only when model is occluded |
Revision as of 03:20, 16 March 2025
tf_glow
is a point entity available in Team Fortress 2. 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.

glow_outline_effect_enable
set to 0.
Keyvalues
- Target (target) <string>
- The targetname of the entity to glow.
Note:Only glows one entity at a time, multiple items glowing at once will require multiple
tf_glow
entities.
- Glow Color (GlowColor) <color255>
- Glow color, with alpha.
Format:<r> <g> <b> <a>
- Visibility Mode (Mode) <choices>
- When the glow should be visible.
- 0 : Always
- 1 : Only when model is occluded
- 2 : Only when model is visible
Bug: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
ortarget
).
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 the
Enable
input).
Inputs
- SetGlowColor <color255 >
- 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.