UE3:DamageType (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
UT3 Object >> DamageType
Package: 
Engine

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

Property group 'DamageType'

bAlwaysGibs

Type: bool


bArmorStops

Type: bool

does regular armor provide protection against this damage

Default value: True

bCausesBlood

Type: bool


Default value: True

bCausesBloodSplatterDecals

Type: bool

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

bKUseOwnDeathVel

Type: bool

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

bLocationalHit

Type: bool


Default value: True

bNeverGibs

Type: bool


DeathString

Type: string

Modifiers: localized

string to describe death by this type of damage

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

FemaleSuicide

Type: string

Modifiers: localized


Default value: "`o killed herself."

GibModifier

Type: float


Default value: 1.0

MaleSuicide

Type: string

Modifiers: localized

Strings to display when someone dies

Default value: "`o killed himself."

Property group 'RigidBody'

bKRadialImpulse

Type: bool

whether impulse applied to rigid bodies is radial

bRadialDamageVelChange

Type: bool

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

KDamageImpulse

Type: float

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

Default value: 800.0

KDeathUpKick

Type: float

Amount of upwards kick ragdolls get when they die

KDeathVel

Type: float

How fast ragdoll moves upon death

KImpulseRadius

Type: float

Radius of impulse, if bKRadialImpulse is true

Default value: 250.0

RadialDamageImpulse

Type: float

Size of impulse to apply when doing radial damage.

Internal variables

bCausedByWorld

Type: bool

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

bDontHurtInstigator

Type: bool

if true, this damage type should never harm its instigator

bExtraMomentumZ

Type: bool

Add extra Z to momentum on walking pawns

Default value: True

bIgnoreDriverDamageMult

Type: bool

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

DamagedFFWaveform

Type: ForceFeedbackWaveform

The forcefeedback waveform to play when you take damage

KilledFFWaveform

Type: ForceFeedbackWaveform

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

VehicleDamageScaling

Type: float

multiply damage by this for vehicles

Default value: 1.0

VehicleMomentumScaling

Type: float


Default value: 1.0

Static functions

DeathMessage

static function string DeathMessage (PlayerReplicationInfo Killer, PlayerReplicationInfo Victim)


SuicideMessage

static function string SuicideMessage (PlayerReplicationInfo Victim)


VehicleDamageScalingFor

static function float VehicleDamageScalingFor (Vehicle V)