Prop dynamic glow: Difference between revisions
Jump to navigation
Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
(-added class hierarchy, concise) |
||
Line 1: | Line 1: | ||
{{CD|???|base=CDynamicProp}} | |||
{{this is a|point entity|name=prop_dynamic_glow|game=Counter-Strike: Global Offensive}} | {{this is a|point entity|name=prop_dynamic_glow|game=Counter-Strike: Global Offensive}} | ||
A prop that can be placed in hierarchy and can play animations. It can also be configured to break when it takes enough damage. | A prop that can be placed in hierarchy and can play animations. It can also be configured to break when it takes enough damage. | ||
Works exactly like a [[prop_dynamic]], but it can optionally have a custom glow around it. | Works exactly like a [[prop_dynamic]], but it can optionally have a custom glow around it. | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Does the prop glow by default?|bool|Defines if the prop should glow by default.}} | {{KV Targetname}} | ||
{{KV|Glow Color (R G B)|color255|The color of the glow (if enabled).}} | {{KV|Glow Distance|intn=glowdist|integer}} | ||
{{KV | {{KV|Does the prop glow by default?|intn=glowenabled|bool|Defines if the prop should glow by default.}} | ||
{{KV|Glow Color (R G B)|intn=glowcolor|color255|The color of the glow (if enabled).}} | |||
{{KV|Glow Style|intn=glowstyle|choices|What style of glow should be used. | |||
:*0 : Default (through walls) | |||
:*1 : Shimmer (doesn't glow through walls) | |||
:*2 : Outline (doesn't glow through walls) | |||
:*3 : Outline Pulse (doesn't glow through walls) | |||
}} | |||
==Inputs== | ==Inputs== | ||
{{IO|SetGlowEnabled|Starts the glow.}} | {{IO|SetGlowEnabled|Starts the glow.}} | ||
Line 23: | Line 23: | ||
{{IO|GlowColorGreenValue|Sets the glow green color channel's value (0 - 255).|param=float}} | {{IO|GlowColorGreenValue|Sets the glow green color channel's value (0 - 255).|param=float}} | ||
{{IO|GlowColorBlueValue|Sets the glow blue color channel's value (0 - 255).|param=float}} | {{IO|GlowColorBlueValue|Sets the glow blue color channel's value (0 - 255).|param=float}} | ||
== | == See Also == | ||
{{ | * {{ent|prop_dynamic}} | ||
Revision as of 11:52, 30 June 2024
![]() |
---|
??? |
prop_dynamic_glow
is a point entity available in Counter-Strike: Global Offensive.
A prop that can be placed in hierarchy and can play animations. It can also be configured to break when it takes enough damage. Works exactly like a prop_dynamic, but it can optionally have a custom glow around it.
Keyvalues
- 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
- Glow Distance (glowdist) <integer>
- Does the prop glow by default? (glowenabled) <boolean>
- Defines if the prop should glow by default.
- Glow Color (R G B) (glowcolor) <color255>
- The color of the glow (if enabled).
- Glow Style (glowstyle) <choices>
- What style of glow should be used.
- 0 : Default (through walls)
- 1 : Shimmer (doesn't glow through walls)
- 2 : Outline (doesn't glow through walls)
- 3 : Outline Pulse (doesn't glow through walls)
Inputs
- SetGlowEnabled
- Starts the glow.
- SetGlowDisabled
- Stops the glow.
- SetGlowColor <color255 >
- Change the glow's color. Format: <Red 0-255> <Green 0-255> <Blue 0-255>
- GlowColorRedValue <float >
- Sets the glow red color channel's value (0 - 255).
- GlowColorGreenValue <float >
- Sets the glow green color channel's value (0 - 255).
- GlowColorBlueValue <float >
- Sets the glow blue color channel's value (0 - 255).