Prop dynamic glow: Difference between revisions
Jump to navigation
Jump to search
AltNames: This entity is also tied to
Note:Any other Keyvalues / Inputs / Outputs are same as prop_dynamic
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
m (Classifying as model entity) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{this is a| | {{CD|CDynamicProp|file1=props.cpp|nolink=1}} | ||
{{this is a|model 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. | ||
{{AltNames|name1=prop_dynamic}} | |||
{{ | |||
==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== | |||
{{I|SetGlowEnabled|Starts the glow.}} | |||
{{I|SetGlowDisabled|Stops the glow.}} | |||
{{I|SetGlowColor|Change the glow's color. Format: <Red 0-255> <Green 0-255> <Blue 0-255>|param=color255}} | |||
{{I|GlowColorRedValue|Sets the glow red color channel's value (0 - 255).|param=float}} | |||
{{I|GlowColorGreenValue|Sets the glow green color channel's value (0 - 255).|param=float}} | |||
{{I|GlowColorBlueValue|Sets the glow blue color channel's value (0 - 255).|param=float}} | |||
{{note|Any other Keyvalues / Inputs / Outputs are same as {{ent|prop_dynamic}}}} | |||
{{ | |||
{{ | |||
== | == See Also == | ||
{{ | * {{ent|prop_dynamic}} | ||
Latest revision as of 04:33, 19 May 2025
![]() |
---|
CDynamicProp |
![]() |
prop_dynamic_glow
is a model 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.

prop_dynamic
. 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).
