UE2:DamTypeSniperHeadShot (UT2004): Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
Auto-generated page
 
m added descriptions
 
Line 7: Line 7:
| abstract = yes
| abstract = yes
}}
}}
{{autogenerated}}
Damage type for headshots with the [[liandri:Lightning Gun|Lightning Gun]].
null


==Properties==
==Properties==
Line 14: Line 13:
'''Type:''' {{cl|Sound}}
'''Type:''' {{cl|Sound}}


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


====KillerMessage====
====KillerMessage====
'''Type:''' [[class]]<{{cl|LocalMessage}}>
'''Type:''' [[class]]<{{cl|LocalMessage}}>


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


'''Default value:''' [[Types#Class|Class]]'{{cl|SpecialKillMessage|XGame}}'
'''Default value:''' [[Types#Class|Class]]'{{cl|SpecialKillMessage|XGame}}'
Line 62: Line 61:
'''Overrides:''' {{tl|GetHitEffects|DamageType}}
'''Overrides:''' {{tl|GetHitEffects|DamageType}}


<!-- enter function description -->
Returns the flame and smoke effects that will be attached to the head bone of the victim.


====IncrementKills====
====IncrementKills====
Line 69: Line 68:
'''Overrides:''' {{tl|IncrementKills|DamageType}}
'''Overrides:''' {{tl|IncrementKills|DamageType}}


<!-- enter function description -->
Increments the killer's headshot counter and announces "head hunter" for that player when the counter has reached 15.

Latest revision as of 17:12, 27 December 2008

UT2004 Object >> Actor >> DamageType >> WeaponDamageType >> DamTypeSniperHeadShot
Package:
XWeapons
This class in other games:

Damage type for headshots with the Lightning Gun.

Properties

HeadHunter

Type: Sound

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

KillerMessage

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

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

GetHitEffects

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

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.