I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:DamageTypeImpl (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
U2XMP Object >> Actor >> DamageType >> DamageTypeImpl
Package: 
U2
Direct subclasses:
DamageTypeElectrical, DamageTypeBiological, DamageTypeDrowned, DamageTypeEMP, DamageTypePhysical, DamageTypePsionic, DamageTypeStomped, DamageTypeThermal

DamageTypeImpl.uc Created on: 2/18/2002 Created by: Mark Poesch $Author: Mfox $ $Date: 1/29/03 1:50p $ $Revision: 4 $ Replaces DamageHelperGeneric.uc. The HandleDamage() call is invoked directly from the U2Pawn eventTakeDamage(). Whereas the DamageHelperGeneric was pawn-centric (i.e., oriented toward creature-specific damage effects), the U2DamageType is damage-centric (i.e., oriented toward damage type effects).

Specific damage effects may be specified within U2DamageType sub-classes.

Properties[edit]

Property group 'DamageTypeImpl'[edit]

BaseDamageLevel[edit]

Type: float

blood volume is scaled around this amount of damage

Default value: 25.0

DamageClampMax[edit]

Type: float

clamp max damage for scaling blood volume

Default value: 500.0

DamageClampMin[edit]

Type: float

clamp min damage for scaling blood volume

Default value: 2.0

DamageEffectOffsetMult[edit]

Type: float

multiplier for offset of damage location along vector from actor location to hit location

Default value: 0.5

ParticleEffect[edit]

Type: ParticleGenerator


Default value: ParticleSalamander'Blood.ParticleSalamander2'

Static functions[edit]

HandleDamageEffect[edit]

static function HandleDamageEffect (Actor Victim, float Damage, Object.Vector HitLocation)