My program doesn't have bugs. It just develops random features.

UE2:DamageType (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> DamageType
Package: 
Engine
Direct subclasses:
Suicided, Crushed, DamageTypeImpact, DamageTypeImpl, DamageTypeParticle, Fell, Gibbed
This class in other games:
RTNP, U1, UT, U2, UE2Runtime, UT2003, UT2004, UDK, UT3

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

Properties[edit]

Property group 'DamageType'[edit]

ArmorHealthRatio[edit]

Type: float


Default value: 0.5

bArmorStops[edit]

Type: bool

does regular armor provide protection against this damage

Default value: True

bFastInstantHit[edit]

Type: bool

done by fast repeating trace hit weapon

bInstantHit[edit]

Type: bool

done by trace hit weapon

DamageEffect[edit]

Type: class<Effects>

Special effect.

DamageWeaponName[edit]

Type: string

weapon that caused this damage

DeathString[edit]

Type: string

Modifiers: localized

string to describe death by this type of damage

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

EffectDuration[edit]

Type: float


Default value: 3.0

EffectDurationCumulative[edit]

Type: bool


FemaleSuicide[edit]

Type: string

Modifiers: localized


Default value: "%o killed herself."

FlashFog[edit]

Type: Object.Vector


Default value:

Member Value
X 26.5
Y 4.5
Z 4.5

FlashScale[edit]

Type: float

for flashing victim's screen

Default value: -0.019

GibModifier[edit]

Type: float


Default value: 1.0

LowDetailEffect[edit]

Type: class<Effects>


LowGoreDamageEffect[edit]

Type: class<Effects>

effect to spawn when low gore

MaleSuicide[edit]

Type: string

Modifiers: localized


Default value: "%o killed himself."

PawnDamageEffect[edit]

Type: class<Effects>

effect to spawn when pawns are damaged by this damagetype

ViewFlash[edit]

Type: float

View flash to play.

ViewFog[edit]

Type: Object.Vector

View fog to play.

Static functions[edit]

DeathMessage[edit]

static function string DeathMessage (PlayerReplicationInfo Killer, PlayerReplicationInfo Victim)


SuicideMessage[edit]

static function string SuicideMessage (PlayerReplicationInfo Victim)