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

UE3:DamageType (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site

Revision as of 14:40, 23 May 2008 by (Talk)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> DamageType

Contents

Package: 
Engine
Direct subclasses:
DemoDamageType, DmgType_Crushed, DmgType_Fell, DmgType_Telefragged, KillZDamageType, UTDamageType
This class in other games:
RTNP, U1, U2, U2XMP, UDK, UE2Runtime, UT, UT2003, UT2004

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.

[edit] Properties

[edit] Property group 'DamageType'

[edit] bAlwaysGibs

Type: bool


[edit] bArmorStops

Type: bool

does regular armor provide protection against this damage

Default value: True

[edit] bCausesBlood

Type: bool


Default value: True

[edit] bCausesBloodSplatterDecals

Type: bool

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

[edit] bKUseOwnDeathVel

Type: bool

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

[edit] bLocationalHit

Type: bool


Default value: True

[edit] bNeverGibs

Type: bool


[edit] DeathString

Type: string

Modifiers: localized

string to describe death by this type of damage

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

[edit] FemaleSuicide

Type: string

Modifiers: localized


Default value: "`o killed herself."

[edit] GibModifier

Type: float


Default value: 1.0

[edit] MaleSuicide

Type: string

Modifiers: localized

Strings to display when someone dies

Default value: "`o killed himself."

[edit] Property group 'RigidBody'

[edit] bKRadialImpulse

Type: bool

whether impulse applied to rigid bodies is radial

[edit] bRadialDamageVelChange

Type: bool

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

[edit] KDamageImpulse

Type: float

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

Default value: 800.0

[edit] KDeathUpKick

Type: float

Amount of upwards kick ragdolls get when they die

[edit] KDeathVel

Type: float

How fast ragdoll moves upon death

[edit] KImpulseRadius

Type: float

Radius of impulse, if bKRadialImpulse is true

Default value: 250.0

[edit] RadialDamageImpulse

Type: float

Size of impulse to apply when doing radial damage.

[edit] Internal variables

[edit] bCausedByWorld

Type: bool

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

[edit] bDontHurtInstigator

Type: bool

if true, this damage type should never harm its instigator

[edit] bExtraMomentumZ

Type: bool

Add extra Z to momentum on walking pawns

Default value: True

[edit] bIgnoreDriverDamageMult

Type: bool

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

[edit] DamagedFFWaveform

Type: ForceFeedbackWaveform

The forcefeedback waveform to play when you take damage

[edit] KilledFFWaveform

Type: ForceFeedbackWaveform

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

[edit] VehicleDamageScaling

Type: float

multiply damage by this for vehicles

Default value: 1.0

[edit] VehicleMomentumScaling

Type: float


Default value: 1.0

[edit] Static functions

[edit] DeathMessage

static function string DeathMessage (PlayerReplicationInfo Killer, PlayerReplicationInfo Victim)


[edit] SuicideMessage

static function string SuicideMessage (PlayerReplicationInfo Victim)


[edit] VehicleDamageScalingFor

static function float VehicleDamageScalingFor (Vehicle V)


Personal tools