UE2:DamageType (U2)
- Package:
- Engine
- Direct subclasses:
- AssaultDamage, Burned, CarnivalMGDamage, Corroded, Crushed, DamTypeTelefragged, DamageTypeBiological, DamageTypeDeployableBase, DamageTypeEMP, DamageTypeElectrical, DamageTypeImpact, DamageTypePhysical, DamageTypeThermal, Depressurized, Drowned, Fell, FlamethrowerDamage, GardenMGDamage, Gibbed, Impact, JuggernautCannonDamage, MortarDamage, PistolDamage, RaptorMGDamage, RocketDamage, RoundHouseMGDamage, ShotgunDamage, SniperDamage, Suicided, VehicularManslaughterDamage, WingedCannonDamage, Zapped
- This class in other games:
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
DamageType, the base class of all damagetypes. this and its subclasses are never spawned, just used as information holders
Properties
Property group 'DamageType'
ArmorHealthRatio
Type: float
0 is all health and 1 is all armor, 0.5 is fifty-fifty
Default value: 0.5
bAlwaysGibs
Type: bool
bArmorStops
Type: bool
does regular armor provide protection against this damage
Default value: True
bCausesBlood
Type: bool
Default value: True
bFastInstantHit
Type: bool
done by fast repeating trace hit weapon
bInstantHit
Type: bool
done by trace hit weapon
bKUseOwnDeathVel
Type: bool
For ragdoll death. Rather than using default - use death velocity specified in this damage type.
bNoSpecificLocation
Type: bool
bSkeletize
Type: bool
swap model to skeleton
DamageDesc
Type: int
Describes the damage
Default value: 1
DamageEffect
Special effect.
DamageKick
Type: Object.Vector
DamageThreshold
Type: int
How much damage much occur before playing effects
DamageWeaponName
Type: string
weapon that caused this damage
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."
FlashFog
Type: Object.Vector
Default value:
Member | Value |
---|---|
X | 900.0 |
FlashScale
Type: float
for flashing victim's screen
Default value: 0.3
GibModifier
Type: float
Default value: 1.0
LowDetailEffect
Low Detail effect
LowGoreDamageEffect
effect to spawn when low gore
LowGoreDamageSounds
Sound Effects to play with Damage occurs with low gore
MaleSuicide
Type: string
Modifiers: localized
Default value: "%o killed himself."
MercyKilled
Type: string
Modifiers: localized
Default value: "%o was KO-wned by %k"
PawnDamageEffect
effect to spawn when pawns are damaged by this damagetype
PawnDamageSounds
Sound Effect to Play when Damage occurs
Property group 'Karma'
KDamageImpulse
Type: float
magnitude of impulse applied to KActor due to this damage type.
Default value: 8000.0
KDeathUpKick
Type: float
Amount of upwards kick ragdolls get when they die
KDeathVel
Type: float
How fast ragdoll moves upon death
Static functions
DeathMessage
GetPawnDamageEffect
GetPawnDamageSound
GetWeaponClass
IncrementKills
IsOfType
MercyKillMessage
SuicideMessage