Prop dynamic playertouch: Difference between revisions
Jump to navigation
Jump to search
Note:NPCs and physics props can't break this prop by touching it.
Note:Other
MyGamepedia (talk | contribs) No edit summary |
m (→Inputs: Substituted IO templates) |
||
Line 14: | Line 14: | ||
==Inputs== | ==Inputs== | ||
{{ | {{I|InputChangePlayerTouchDamge|param=float|Changes <code>DamageToPlayerOnTouch</code> value.}} | ||
Revision as of 11:14, 21 April 2025

One of shields in Interloper chapter.
prop_dynamic_playertouch
is a point entity available in Black Mesa. This is a copy of prop_dynamic_override that breaks when touched by player. It is also have some additional options. Used as flying shields in the campaign.
Represented by class CDynamicProp_PlayerTouch
.

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
- ParticlesOnBreak (m_szParticlesOnBreak) <string>
- When this entity breaks it will create the specified particle system.
- SoundOnBreak (m_szSoundOnBreak) <sound>
- When this entity breaks it will play the specified sound. Support sound name and direct file names.
- DamageToPlayerOnTouch (m_FDamageToPlayerOnTouch) <float>
- Amount of damage that player will take when this entity breaks on player touch.
- fGluonDmgMultiplier (fGluonDmgMultiplier) <float>
- Determines how much damage this prop will take from the gluon gun. 1.0 is value from the cvar.
Inputs
- InputChangePlayerTouchDamge <float >
- Changes
DamageToPlayerOnTouch
value.

Keyvalues / Inputs / Outputs
are same as prop_dynamic.