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 | ||
}} | }} | ||
Damage type for headshots with the [[liandri:Lightning Gun|Lightning Gun]]. | |||
==Properties== | ==Properties== | ||
Line 14: | Line 13: | ||
'''Type:''' {{cl|Sound}} | '''Type:''' {{cl|Sound}} | ||
Obsolete. This property is only still here for compatibility with [[UT2003]] mods. | |||
====KillerMessage==== | ====KillerMessage==== | ||
'''Type:''' [[class]]<{{cl|LocalMessage}}> | '''Type:''' [[class]]<{{cl|LocalMessage}}> | ||
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}} | ||
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}} | ||
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
![]() |
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
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.