Gah - a solution with more questions. – EntropicLqd

UE2:DroppedEnergyPickup (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09: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 >> Pickup >> PowerUpPickup >> DroppedEnergyPickup
Package: 
U2

DroppedEnergyPickup.uc $Author: Mfox $ $Date: 2/03/03 3:59p $ $Revision: 15 $ Comment: Still needs some work to nail down the effect. This is merely to establish that there is an effect related to EnergyUnit decay.

Constants[edit]

DroppedEnergyDestroyedEvent[edit]

Value: 'DroppedEnergyDestroyed'


Properties[edit]

Property group 'DroppedEnergyPickup'[edit]

AmbientBuzzSound[edit]

Type: Sound


Default value: Sound'U2A.Powerups.EnergyAmbient'

DecayAmount[edit]

Type: float

Decay this many points DecayFrequency seconds

Default value: 1.0

DecayFrequency[edit]

Type: float

How often to activate the decay

Default value: 0.5

MaxEnergy[edit]

Type: int


Default value: 50

MinEnergy[edit]

Type: int


Default value: 15

Internal variables[edit]

DefaultVolume[edit]

Type: float


Effect[edit]

Type: ParticleRadiator


Default value: ParticleRadiator'energy_pickup_fx.ParticleRadiator0'

LastDecayTime[edit]

Type: float


P[edit]

Type: ParticleRadiator


ParentCarcass[edit]

Type: U2Pawn


Default values[edit]

Property Value
bCollideWorld False
bHidden True
bNoStaticMeshCollide True
CollisionHeight 8.0
Description "Energy Pickup"
DrawType DT_StaticMesh
InventoryType Class'U2.EnergyPowerUp'
PickupMessage "You got an Energy Pickup."
PickupSound Sound'U2A.Powerups.EnergyPowerUp'
SoundRadius 100.0
StaticMesh StaticMesh'VertexM.Decorations.Xmesh'
TransferRate 25

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Pickup.Destroyed


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Pickup.PostBeginPlay


Tick[edit]

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions[edit]

CalcRatio[edit]

function float CalcRatio (float CalcBy)


Initialize[edit]

function Initialize (U2Pawn Owner, int RemainingPowerSuitEnergy)


NotifyOwner[edit]

function NotifyOwner ()


States[edit]

Pickup[edit]

Inherits from: PowerUpPickup.Pickup

Modifiers: auto

Pickup.ValidTouch[edit]

function bool ValidTouch (Actor Other)

Overrides: PowerUpPickup.Pickup.ValidTouch