Mostly Harmless
UE2:DamageType (UT2004)
Contents
- 1 Properties
- 1.1 Property group 'DamageType'
- 1.1.1 bAlwaysGibs
- 1.1.2 bAlwaysSevers
- 1.1.3 bArmorStops
- 1.1.4 bCauseConvulsions
- 1.1.5 bCausesBlood
- 1.1.6 bDetonatesGoop
- 1.1.7 bFastInstantHit
- 1.1.8 bInstantHit
- 1.1.9 bKUseOwnDeathVel
- 1.1.10 bKUseTearOffMomentum
- 1.1.11 bLocationalHit
- 1.1.12 bSkeletize
- 1.1.13 bSpecial
- 1.1.14 bSuperWeapon
- 1.1.15 DamageDesc
- 1.1.16 DamageEffect
- 1.1.17 DamageKick
- 1.1.18 DamageOverlayMaterial
- 1.1.19 DamageOverlayTime
- 1.1.20 DamageThreshold
- 1.1.21 DamageWeaponName
- 1.1.22 DeathOverlayMaterial
- 1.1.23 DeathOverlayTime
- 1.1.24 DeathString
- 1.1.25 FemaleSuicide
- 1.1.26 FlashFog
- 1.1.27 FlashScale
- 1.1.28 GibModifier
- 1.1.29 GibPerterbation
- 1.1.30 LowDetailEffect
- 1.1.31 LowDetailEmitter
- 1.1.32 LowGoreDamageEffect
- 1.1.33 LowGoreDamageEmitter
- 1.1.34 LowGoreDamageSounds
- 1.1.35 MaleSuicide
- 1.1.36 PawnDamageEffect
- 1.1.37 PawnDamageEmitter
- 1.1.38 PawnDamageSounds
- 1.1.39 ViewFlash
- 1.1.40 ViewFog
- 1.2 Property group 'Karma'
- 1.3 Internal variables
- 1.1 Property group 'DamageType'
- 2 Static functions
- Package:
- Engine
- Direct subclasses:
- DamTypeKrallBolt, Burned, Corroded, Crushed, DamRanOver, DamTypeBelch, DamTypeDestroyedVehicleRoadKill, DamTypeExploBarrel, DamTypeIonVolume, DamTypeMutant, DamTypeONSVehicleExplosion, DamTypeONSVehicle, DamTypeSkaarjProj, DamTypeTelefragged, Depressurized, Drowned, VehicleDamageType, MeleeDamage, Fell, Gibbed, Suicided, WeaponDamageType
- Known custom subclasses:
- Crusha/DynamicWeather, Crusha/DynamicWeather/NatureDamageTypes
- This class in other games:
- RTNP, U1, UT, U2XMP, U2, UE2Runtime, UT2003, UDK, UT3
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[edit]
Property group 'DamageType'[edit]
bAlwaysGibs[edit]
Type: bool
bAlwaysSevers[edit]
Type: bool
bArmorStops[edit]
Type: bool
does regular armor provide protection against this damage
Default value: True
bCauseConvulsions[edit]
Type: bool
bCausesBlood[edit]
Type: bool
Default value: True
bDetonatesGoop[edit]
Type: bool
bFastInstantHit[edit]
Type: bool
done by fast repeating trace hit weapon
bInstantHit[edit]
Type: bool
done by trace hit weapon
bKUseOwnDeathVel[edit]
Type: bool
For ragdoll death. Rather than using default - use death velocity specified in this damage type.
bKUseTearOffMomentum[edit]
Type: bool
For ragdoll death. Add entirety of killing hit's momentum to ragdoll's initial velocity.
bLocationalHit[edit]
Type: bool
Default value: True
bSkeletize[edit]
Type: bool
swap model to skeleton
bSpecial[edit]
Type: bool
bSuperWeapon[edit]
Type: bool
if true, also damages teammates even if no friendlyfire
DamageDesc[edit]
Type: int
Describes the damage
Default value: 1
DamageEffect[edit]
Special effect.
DamageKick[edit]
Type: Object.Vector
DamageOverlayMaterial[edit]
Type: Material
for changing player's shader when hit
DamageOverlayTime[edit]
Type: float
timing for this
DamageThreshold[edit]
Type: int
How much damage much occur before playing effects
DamageWeaponName[edit]
Type: string
weapon that caused this damage
DeathOverlayMaterial[edit]
Type: Material
for changing player's shader when hit
DeathOverlayTime[edit]
Type: float
timing for this
Default value: 6.0
DeathString[edit]
Type: string
Modifiers: localized
string to describe death by this type of damage
Default value: "%o was killed by %k."
FemaleSuicide[edit]
Type: string
Modifiers: localized
Default value: "%o killed herself."
FlashFog[edit]
Type: Object.Vector
Default value:
Member | Value |
---|---|
X | 900.0 |
Y | 0.0 |
Z | 0.0 |
FlashScale[edit]
Type: float
for flashing victim's screen
Default value: 0.3
GibModifier[edit]
Type: float
Default value: 1.0
GibPerterbation[edit]
Type: float
When gibbing, the chunks will fly off in random directions.
Default value: 0.06
LowDetailEffect[edit]
Low Detail effect
LowDetailEmitter[edit]
Low Detail emitter
LowGoreDamageEffect[edit]
effect to spawn when low gore
LowGoreDamageEmitter[edit]
Emitter to use when it's low gore
LowGoreDamageSounds[edit]
Sound Effects to play with Damage occurs with low gore
MaleSuicide[edit]
Type: string
Modifiers: localized
Default value: "%o killed himself."
PawnDamageEffect[edit]
effect to spawn when pawns are damaged by this damagetype
PawnDamageEmitter[edit]
effect to spawn when pawns are damaged by this damagetype
PawnDamageSounds[edit]
Sound Effect to Play when Damage occurs
ViewFlash[edit]
Type: float
View flash to play.
ViewFog[edit]
Type: Object.Vector
View fog to play.
Property group 'Karma'[edit]
KDamageImpulse[edit]
Type: float
magnitude of impulse applied to KActor due to this damage type.
Default value: 8000.0
KDeathUpKick[edit]
Type: float
Amount of upwards kick ragdolls get when they die
KDeathVel[edit]
Type: float
How fast ragdoll moves upon death
Internal variables[edit]
bBulletHit[edit]
Type: bool
bCausedByWorld[edit]
Type: bool
this damage was caused by the world (falling off level, into lava, etc)
bDelayedDamage[edit]
Type: bool
for delayed damage damagetypes that set Pawn's DelayedDamageInstigatorController
bDirectDamage[edit]
Type: bool
bExtraMomentumZ[edit]
Type: bool
Add extra Z to momentum on walking pawns
Default value: True
bFlaming[edit]
Type: bool
bLeaveBodyEffect[edit]
Type: bool
bNeverSevers[edit]
Type: bool
bRagdollBullet[edit]
Type: bool
bRubbery[edit]
Type: bool
bThrowRagdoll[edit]
Type: bool
bVehicleHit[edit]
Type: bool
caused by vehicle running over you
VehicleDamageScaling[edit]
Type: float
multiply damage by this for vehicles
Default value: 1.0
VehicleMomentumScaling[edit]
Type: float
Default value: 1.0