Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:DamageType (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> Actor >> DamageType

Contents

Package: 
Engine
Direct subclasses:
Burned, Corroded, Crushed, DamRanOver, DamTypeBelch, DamTypeDestroyedVehicleRoadKill, DamTypeExploBarrel, DamTypeIonVolume, DamTypeKrallBolt, DamTypeMutant, DamTypeONSVehicleExplosion, DamTypeONSVehicle, DamTypeSkaarjProj, DamTypeTelefragged, Depressurized, Drowned, Fell, Gibbed, MeleeDamage, Suicided, VehicleDamageType, WeaponDamageType
Known custom subclasses:
Crusha/DynamicWeather, Crusha/DynamicWeather/NatureDamageTypes
This class in other games:
RTNP, U1, U2, U2XMP, UDK, UE2Runtime, UT, UT2003, UT3

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

[edit] Properties

[edit] Property group 'DamageType'

[edit] bAlwaysGibs

Type: bool


[edit] bAlwaysSevers

Type: bool


[edit] bArmorStops

Type: bool

does regular armor provide protection against this damage

Default value: True

[edit] bCauseConvulsions

Type: bool


[edit] bCausesBlood

Type: bool


Default value: True

[edit] bDetonatesGoop

Type: bool


[edit] bFastInstantHit

Type: bool

done by fast repeating trace hit weapon

[edit] bInstantHit

Type: bool

done by trace hit weapon

[edit] bKUseOwnDeathVel

Type: bool

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

[edit] bKUseTearOffMomentum

Type: bool

For ragdoll death. Add entirety of killing hit's momentum to ragdoll's initial velocity.

[edit] bLocationalHit

Type: bool


Default value: True

[edit] bSkeletize

Type: bool

swap model to skeleton

[edit] bSpecial

Type: bool


[edit] bSuperWeapon

Type: bool

if true, also damages teammates even if no friendlyfire

[edit] DamageDesc

Type: int

Describes the damage

Default value: 1

[edit] DamageEffect

Type: class<Effects>

Special effect.

[edit] DamageKick

Type: Object.Vector


[edit] DamageOverlayMaterial

Type: Material

for changing player's shader when hit

[edit] DamageOverlayTime

Type: float

timing for this

[edit] DamageThreshold

Type: int

How much damage much occur before playing effects

[edit] DamageWeaponName

Type: string

weapon that caused this damage

[edit] DeathOverlayMaterial

Type: Material

for changing player's shader when hit

[edit] DeathOverlayTime

Type: float

timing for this

Default value: 6.0

[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] FlashFog

Type: Object.Vector


Default value:

Member Value
X 900.0
Y 0.0
Z 0.0

[edit] FlashScale

Type: float

for flashing victim's screen

Default value: 0.3

[edit] GibModifier

Type: float


Default value: 1.0

[edit] GibPerterbation

Type: float

When gibbing, the chunks will fly off in random directions.

Default value: 0.06

[edit] LowDetailEffect

Type: class<Effects>

Low Detail effect

[edit] LowDetailEmitter

Type: class<Emitter>

Low Detail emitter

[edit] LowGoreDamageEffect

Type: class<Effects>

effect to spawn when low gore

[edit] LowGoreDamageEmitter

Type: class<Emitter>

Emitter to use when it's low gore

[edit] LowGoreDamageSounds

Type: array<Sound>

Sound Effects to play with Damage occurs with low gore

[edit] MaleSuicide

Type: string

Modifiers: localized


Default value: "%o killed himself."

[edit] PawnDamageEffect

Type: class<Effects>

effect to spawn when pawns are damaged by this damagetype

[edit] PawnDamageEmitter

Type: class<Emitter>

effect to spawn when pawns are damaged by this damagetype

[edit] PawnDamageSounds

Type: array<Sound>

Sound Effect to Play when Damage occurs

[edit] ViewFlash

Type: float

View flash to play.

[edit] ViewFog

Type: Object.Vector

View fog to play.

[edit] Property group 'Karma'

[edit] KDamageImpulse

Type: float

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

Default value: 8000.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] Internal variables

[edit] bBulletHit

Type: bool


[edit] bCausedByWorld

Type: bool

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

[edit] bDelayedDamage

Type: bool

for delayed damage damagetypes that set Pawn's DelayedDamageInstigatorController

[edit] bDirectDamage

Type: bool


[edit] bExtraMomentumZ

Type: bool

Add extra Z to momentum on walking pawns

Default value: True

[edit] bFlaming

Type: bool


[edit] bLeaveBodyEffect

Type: bool


[edit] bNeverSevers

Type: bool


[edit] bRagdollBullet

Type: bool


[edit] bRubbery

Type: bool


[edit] bThrowRagdoll

Type: bool


[edit] bVehicleHit

Type: bool

caused by vehicle running over you

[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] GetHitEffects

static function GetHitEffects (out class<xEmitterHitEffects[4], int VictemHealth)


[edit] GetPawnDamageEffect

static function class<EffectsGetPawnDamageEffect (Object.Vector HitLocation, float Damage, Object.Vector Momentum, Pawn Victim, bool bLowDetail)


[edit] GetPawnDamageEmitter

static function class<EmitterGetPawnDamageEmitter (Object.Vector HitLocation, float Damage, Object.Vector Momentum, Pawn Victim, bool bLowDetail)


[edit] GetPawnDamageSound

static function Sound GetPawnDamageSound ()


[edit] GetWeaponClass

static function string GetWeaponClass ()


[edit] IncrementKills

static function IncrementKills (Controller Killer)


[edit] IsOfType

static function bool IsOfType (int Description)


[edit] ScoreKill

static function ScoreKill (Controller Killer, Controller Killed)


[edit] SuicideMessage

static function string SuicideMessage (PlayerReplicationInfo Victim)


Personal tools