Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

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

Property group 'DamageType'

ArmorHealthRatio

Type: float


Default value: 0.5

bArmorStops

Type: bool

does regular armor provide protection against this damage

Default value: True

bFastInstantHit

Type: bool

done by fast repeating trace hit weapon

bInstantHit

Type: bool

done by trace hit weapon

DamageEffect

Type: class<Effects>

Special effect.

DamageWeaponName

Type: string

weapon that caused this damage

DeathString

Type: string

Modifiers: localized

string to describe death by this type of damage

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

EffectDuration

Type: float


Default value: 3.0

EffectDurationCumulative

Type: bool


FemaleSuicide

Type: string

Modifiers: localized


Default value: "%o killed herself."

FlashFog

Type: Object.Vector


Default value:

Member Value
X 26.5
Y 4.5
Z 4.5

FlashScale

Type: float

for flashing victim's screen

Default value: -0.019

GibModifier

Type: float


Default value: 1.0

LowDetailEffect

Type: class<Effects>


LowGoreDamageEffect

Type: class<Effects>

effect to spawn when low gore

MaleSuicide

Type: string

Modifiers: localized


Default value: "%o killed himself."

PawnDamageEffect

Type: class<Effects>

effect to spawn when pawns are damaged by this damagetype

ViewFlash

Type: float

View flash to play.

ViewFog

Type: Object.Vector

View fog to play.

Static functions

DeathMessage

static function string DeathMessage (PlayerReplicationInfo Killer, PlayerReplicationInfo Victim)


SuicideMessage

static function string SuicideMessage (PlayerReplicationInfo Victim)