Trigger hurt ghost: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(rewrote introduction)
(kinda duplicate)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{LanguageBar}}
{{CD|CTriggerHurtGhost}}
{{CD|CTriggerHurtGhost}}
{{entity|type=e2|series=Left 4 Dead|trigger_hurt_ghost}}It is a [[trigger]] volume that damages [[entity|entities]] that touch it. It behaves exactly as [[trigger_hurt]], except with less functions because the [[FGD]] entry is done wrong.<br>
{{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}}
{{ModernNote|Some damage types like '''Generic''' only deal 50% damage, others like '''Fall''' deal 100% damage. This might differ in various games.}}
{{ModernWarning|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. Damaging areas are marked with a dark blue rectangle and [[bot]]s (in {{l4ds}} only survivor bots) will try to avoid them.}}


{{ModernBug|<br>
*Does not actually hurt Special Infected ghosts.
*Is missing <code>FULLGIB</code> Spawnflag, <code>damageforce</code> and <code>thinkalways</code> keyvalues}}


{{Note|Any other info that applies to {{ent|trigger_hurt}} also applies here}}


{{:trigger_hurt}}
== See also ==
==See also==
* {{ent|trigger_hurt}}
* [[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