The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:DamTypeSniperHeadShot (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> DamageType >> WeaponDamageType >> DamTypeSniperHeadShot
Package: 
XWeapons
This class in other games:
UT2003

Damage type for headshots with the Lightning Gun.

Properties[edit]

HeadHunter[edit]

Type: Sound

Obsolete. This property is only still here for compatibility with UT2003 mods.

KillerMessage[edit]

Type: class<LocalMessage>

The message class to send to the player who killed someone else with a headshot.

Default value: Class'XGame.SpecialKillMessage'

Default values[edit]

Property Value
bAlwaysSevers True
bCauseConvulsions True
bSpecial True
DamageOverlayMaterial Material'XGameShaders.PlayerShaders.LightningHit'
DamageOverlayTime 0.9
DeathString "%o's cranium was made extra crispy by %k's lightning gun."
FemaleSuicide "%o violated the laws of space-time and sniped herself."
MaleSuicide "%o violated the laws of space-time and sniped himself."
WeaponClass Class'XWeapons.SniperRifle'

Static functions[edit]

GetHitEffects[edit]

static function GetHitEffects (out class<xEmitterHitEffects[4], int VictemHealth)

Overrides: DamageType.GetHitEffects

Returns the flame and smoke effects that will be attached to the head bone of the victim.

IncrementKills[edit]

static function IncrementKills (Controller Killer)

Overrides: DamageType.IncrementKills

Increments the killer's headshot counter and announces "head hunter" for that player when the counter has reached 15.