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:NPCs and physics props can't break this prop by touching it.
 Note:Other
Note:Other 
		
	
| MyGamepedia (talk | contribs)  (Created page with "frame|right|One of shields in [[Interloper chapter.]] {{this is a|e0|name=prop_dynamic_playertouch|game=bms}} This...") | No edit summary | ||
| (8 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| {{CDA|CDynamicProp_PlayerTouch|CDynamicProp|CBreakableProp|CBaseProp|CBaseAnimating|CBaseEntity|}}  | |||
| [[File:Black Mesa Screenshot 2024.04.08 - 20.29.42.00.jpg|frame|right|One of shields in [[Interloper]] chapter.]] | [[File:Black Mesa Screenshot 2024.04.08 - 20.29.42.00.jpg|frame|right|One of shields in [[Interloper]] chapter.]] | ||
| {{this is a| | {{this is a|model entity|name=prop_dynamic_playertouch|game=Black Mesa}} This is a copy of {{ent|prop_dynamic_override}} that breaks when touched by player. It is also have some additional options. Used as flying shields in the campaign. | ||
| {{note|[[NPC|NPCs]] and physics props can't break this prop by touching it.}} | {{note|[[NPC|NPCs]] and physics props can't break this prop by touching it.}} | ||
| ==Keyvalues== | ==Keyvalues== | ||
| Line 10: | Line 10: | ||
| {{KV|DamageToPlayerOnTouch|intn=m_FDamageToPlayerOnTouch|float|Amount of damage that player will take when this entity breaks on player touch.}} | {{KV|DamageToPlayerOnTouch|intn=m_FDamageToPlayerOnTouch|float|Amount of damage that player will take when this entity breaks on player touch.}} | ||
| {{KV|fGluonDmgMultiplier|intn=fGluonDmgMultiplier|float|Determines how much damage this prop will take from the [[weapon_gluon|gluon gun]]. 1.0 is value from the [[cvar]].}} | {{KV|fGluonDmgMultiplier|intn=fGluonDmgMultiplier|float|Determines how much damage this prop will take from the [[weapon_gluon|gluon gun]]. 1.0 is value from the [[cvar]].}} | ||
| ==Inputs== | ==Inputs== | ||
| {{ | {{I|InputChangePlayerTouchDamge|param=float|Changes <code>DamageToPlayerOnTouch</code> value.}} | ||
| {{OtherKIO|prop_dynamic}} | |||
| {{ | |||
| ==See also== | ==See also== | ||
| *[[Prop Types Overview]] | *[[Prop Types Overview]] | ||
Latest revision as of 07:28, 27 May 2025
|  Class hierarchy | 
|---|
| CDynamicProp_PlayerTouch | 
 
  One of shields in Interloper chapter.
prop_dynamic_playertouch  is a   model 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.
 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.
 Note:NPCs and physics props can't break this prop by touching it.
Note:NPCs and physics props can't break this prop by touching it.Keyvalues
- 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 DamageToPlayerOnTouchvalue.
 Note:Other
Note:Other Keyvalues / Inputs / Outputs are same as prop_dynamic.