Cogito, ergo sum

UE2:DamageType (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
U2XMP Object >> Actor >> DamageType

Contents

Package: 
Engine
Direct subclasses:
Crushed, DamageTypeImpact, DamageTypeImpl, DamageTypeParticle, Fell, Gibbed, Suicided
This class in other games:
RTNP, U1, U2, UDK, UE2Runtime, UT, UT2003, UT2004, UT3

DamageType, the base class of all damagetypes. this and its subclasses are never spawned, just used as information holders

[edit] Properties

[edit] Property group 'DamageType'

[edit] ArmorHealthRatio

Type: float


Default value: 0.5

[edit] bArmorStops

Type: bool

does regular armor provide protection against this damage

Default value: True

[edit] bFastInstantHit

Type: bool

done by fast repeating trace hit weapon

[edit] bInstantHit

Type: bool

done by trace hit weapon

[edit] DamageEffect

Type: class<Effects>

Special effect.

[edit] DamageWeaponName

Type: string

weapon that caused this damage

[edit] DeathString

Type: string

Modifiers: localized

string to describe death by this type of damage

Default value: "%o was killed by %k."

[edit] EffectDuration

Type: float


Default value: 3.0

[edit] EffectDurationCumulative

Type: bool


[edit] FemaleSuicide

Type: string

Modifiers: localized


Default value: "%o killed herself."

[edit] FlashFog

Type: Object.Vector


Default value:

Member Value
X 26.5
Y 4.5
Z 4.5

[edit] FlashScale

Type: float

for flashing victim's screen

Default value: -0.019

[edit] GibModifier

Type: float


Default value: 1.0

[edit] LowDetailEffect

Type: class<Effects>


[edit] LowGoreDamageEffect

Type: class<Effects>

effect to spawn when low gore

[edit] MaleSuicide

Type: string

Modifiers: localized


Default value: "%o killed himself."

[edit] PawnDamageEffect

Type: class<Effects>

effect to spawn when pawns are damaged by this damagetype

[edit] ViewFlash

Type: float

View flash to play.

[edit] ViewFog

Type: Object.Vector

View fog to play.

[edit] Static functions

[edit] DeathMessage

static function string DeathMessage (PlayerReplicationInfo Killer, PlayerReplicationInfo Victim)


[edit] SuicideMessage

static function string SuicideMessage (PlayerReplicationInfo Victim)


Personal tools