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

UE2:PowerSuit (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Inventory >> Powerups >> Armor >> PowerSuit
Package: 
U2
Direct subclasses:
PowerSuitFemHeavy, PowerSuitFemLight, PowerSuitFemMedium, PowerSuitHeavy, PowerSuitJapHeavy, PowerSuitJapLight, PowerSuitJapMedium, PowerSuitLight, PowerSuitMarineHeavy, PowerSuitMarineLight, PowerSuitMarineMedium, PowerSuitMedium, PowerSuitSkaarjHeavy, PowerSuitSkaarjLight, PowerSuitSkaarjMedium, U2JumpPack
This class in other games:
U2

PowerSuit.uc

Properties[edit]

Property group 'PowerSuit'[edit]

DamageFilterClass[edit]

Type: class<DamageFilter>


Default value: Class'U2.DamageFilterPowerSuit'

MaxPower[edit]

Type: float

The Maximum level of the PowerSuit energy holding capacity

ParticleEffect[edit]

Type: ParticleGenerator

The effect to spawn when an impact happens

Default value: ParticleSalamander'Impact_Metal_AR.ParticleSalamander0'

Power[edit]

Type: float

Modifiers: travel

The current energy level of the PowerSuit

PowerSuitHitSound[edit]

Type: Sound


Default value: Sound'U2A.Suits.PowerSuitHit'

Internal variables[edit]

bProhibitPickups[edit]

Type: bool

if true powersuit can't be replaced by another one (pickup)

DamageResidue[edit]

Type: float

Modifiers: travel

Holds the fractional damage not dealt to the player immediately

PowerSuitHitVolume[edit]

Type: float


Default value: 0.25

Default values[edit]

Property Value
ItemName "Power Suit"

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Inventory.Destroyed


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Replication[edit]

event Replication ()

Overrides: Powerups.Replication


Other instance functions[edit]

ArmorAbsorbDamage[edit]

function int ArmorAbsorbDamage (int DamageInt, class<DamageTypeDamageType, Object.Vector HitLocation)

Overrides: Armor.ArmorAbsorbDamage


DisplayDamageTaken[edit]

function DisplayDamageTaken (int PSDamage, int HealthDamage, Object.Vector Location)


HandlePickupQuery[edit]

function bool HandlePickupQuery (Pickup item)

Overrides: Powerups.HandlePickupQuery


PreventDeath[edit]

function bool PreventDeath (int Damage, Pawn Instigator, class<DamageTypeDamageType, Object.Vector HitLocation)


PrioritizeArmor[edit]

function Armor PrioritizeArmor (int Damage, class<DamageTypeDamageType, Object.Vector HitLocation)

Overrides: Armor.PrioritizeArmor


TransferProperties[edit]

function TransferProperties (Pickup PickedUpItem)

Overrides: Inventory.TransferProperties


TransferPropertiesTo[edit]

function TransferPropertiesTo (Pickup PickedUpItem)

Overrides: Inventory.TransferPropertiesTo