There is no spoon

UE3:DamageType (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> DamageType
Package: 
Engine
Direct subclasses:
DemoDamageType, DmgType_Crushed, DmgType_Fell, DmgType_Telefragged, KillZDamageType, UTDamageType
This class in other games:
RTNP, U1, UT, U2, U2XMP, UE2Runtime, UT2003, UT2004, UDK

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

NOTE: we can not do: HideDropDown on this class as we need to be able to use it in SeqEvent_TakeDamage for objects taking damage from any DamageType!

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties[edit]

Property group 'DamageType'[edit]

bAlwaysGibs[edit]

Type: bool


bArmorStops[edit]

Type: bool

does regular armor provide protection against this damage

Default value: True

bCausesBlood[edit]

Type: bool


Default value: True

bCausesBloodSplatterDecals[edit]

Type: bool

Whether or not this damage type can cause a blood splatter *

bKUseOwnDeathVel[edit]

Type: bool

For ragdoll death. Rather than using default - use death velocity specified in this damage type.

bLocationalHit[edit]

Type: bool


Default value: True

bNeverGibs[edit]

Type: bool


DeathString[edit]

Type: string

Modifiers: localized

string to describe death by this type of damage

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

FemaleSuicide[edit]

Type: string

Modifiers: localized


Default value: "`o killed herself."

GibModifier[edit]

Type: float


Default value: 1.0

MaleSuicide[edit]

Type: string

Modifiers: localized

Strings to display when someone dies

Default value: "`o killed himself."

Property group 'RigidBody'[edit]

bKRadialImpulse[edit]

Type: bool

whether impulse applied to rigid bodies is radial

bRadialDamageVelChange[edit]

Type: bool

When applying radial impulses, whether to treat as impulse or velocity change.

KDamageImpulse[edit]

Type: float

magnitude of impulse applied to KActor due to this damage type.

Default value: 800.0

KDeathUpKick[edit]

Type: float

Amount of upwards kick ragdolls get when they die

KDeathVel[edit]

Type: float

How fast ragdoll moves upon death

KImpulseRadius[edit]

Type: float

Radius of impulse, if bKRadialImpulse is true

Default value: 250.0

RadialDamageImpulse[edit]

Type: float

Size of impulse to apply when doing radial damage.

Internal variables[edit]

bCausedByWorld[edit]

Type: bool

this damage was caused by the world (falling off level, into lava, etc)

bDontHurtInstigator[edit]

Type: bool

if true, this damage type should never harm its instigator

bExtraMomentumZ[edit]

Type: bool

Add extra Z to momentum on walking pawns

Default value: True

bIgnoreDriverDamageMult[edit]

Type: bool

if true, ignore vehicle DriverDamageMult when calculating damage caused to its driver

DamagedFFWaveform[edit]

Type: ForceFeedbackWaveform

The forcefeedback waveform to play when you take damage

KilledFFWaveform[edit]

Type: ForceFeedbackWaveform

The forcefeedback waveform to play when you are killed by this damage type

VehicleDamageScaling[edit]

Type: float

multiply damage by this for vehicles

Default value: 1.0

VehicleMomentumScaling[edit]

Type: float


Default value: 1.0

Static functions[edit]

DeathMessage[edit]

static function string DeathMessage (PlayerReplicationInfo Killer, PlayerReplicationInfo Victim)


SuicideMessage[edit]

static function string SuicideMessage (PlayerReplicationInfo Victim)


VehicleDamageScalingFor[edit]

static function float VehicleDamageScalingFor (Vehicle V)