Trigger hurt ghost: Difference between revisions

From Valve Developer Community
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.)
(kinda duplicate)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{LanguageBar}}
{{CD|CTriggerHurtGhost}}
{{CD|CTriggerHurtGhost}}
{{this is a|brush entity|name=trigger_hurt_ghost|series=Left 4 Dead}}It is a [[trigger]] volume that damages [[entity|entities]] that touch it. It behaves exactly as [[trigger_hurt]] in addition to being able to hurt ghosts.
{{This is a|brush entity|name=trigger_hurt_ghost|series=Left 4 Dead|sprite=Toolstrigger.gif}} It is a [[triggers|trigger]] volume that damages [[entity|entities]] that touch it. It behaves exactly as {{ent|trigger_hurt}} with primary purpose being ability to kill ghost infected.


See [[damage types]] for a list on how different damage types will affect the [[player]].
{{Important|To kill infected ghosts, Damage Type 32 (DMG_FALL) '''must''' be chosen}}
{{Important|To hurt infected ghost Damage Type 32 (DMG_FALL) must be chosen}}
{{Note|Some damage types like '''Generic''' only deal 50% damage, others like '''Fall''' deal 100% damage. This might differ in various games.}}
{{Warning|In its enabled state the entity marks all [[Navigation Meshes|navigation mesh areas]] in its [[AABB]] or atmost 72 units below or atmost 16 units to the sides as damaging even if the <code>damage</code> is negative.<br>
Damaging areas are marked with a dark blue rectangle and survivor [[bot]]s will try to avoid them, whilst jockeys riding a survivor will actively steer towards it.}}
{{Note|<code>damageforce</code> and <code>thinkalways</code> keyvalues and FULLGIB Damage Type choice are missing from fgd}}


{{:trigger_hurt}}
 
==See also==
{{Note|Any other info that applies to {{ent|trigger_hurt}} also applies here}}
* [[trigger_hurt]]
 
== See also ==
* {{ent|trigger_hurt}}


{{sensor_brush}}
{{sensor_brush}}

Latest revision as of 18:19, 30 April 2025

English (en)Translate (Translate)
C++ Class hierarchy
CTriggerHurtGhost
CTriggerHurt
CBaseTrigger
CBaseToggle
CBaseEntity
Toolstrigger.gif

trigger_hurt_ghost is a brush entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series. It is a trigger volume that damages entities that touch it. It behaves exactly as trigger_hurt with primary purpose being ability to kill ghost infected.

Icon-Important.pngImportant:To kill infected ghosts, Damage Type 32 (DMG_FALL) must be chosen


Note.pngNote:Any other info that applies to trigger_hurt also applies here

See also