I'm a doctor, not a mechanic

UE2:DroppedEnergyPickup (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
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

DroppedEnergyDestroyedEvent

Value: 'DroppedEnergyDestroyed'


Properties

Property group 'DroppedEnergyPickup'

AmbientBuzzSound

Type: Sound


Default value: Sound'U2A.Powerups.EnergyAmbient'

DecayAmount

Type: float

Decay this many points DecayFrequency seconds

Default value: 1.0

DecayFrequency

Type: float

How often to activate the decay

Default value: 0.5

MaxEnergy

Type: int


Default value: 50

MinEnergy

Type: int


Default value: 15

Internal variables

DefaultVolume

Type: float


Effect

Type: ParticleRadiator


Default value: ParticleRadiator'energy_pickup_fx.ParticleRadiator0'

LastDecayTime

Type: float


P

Type: ParticleRadiator


ParentCarcass

Type: U2Pawn


Default values

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

Events

Destroyed

event Destroyed ()

Overrides: Pickup.Destroyed


PostBeginPlay

event PostBeginPlay ()

Overrides: Pickup.PostBeginPlay


Tick

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions

CalcRatio

function float CalcRatio (float CalcBy)


Initialize

function Initialize (U2Pawn Owner, int RemainingPowerSuitEnergy)


NotifyOwner

function NotifyOwner ()


States

Pickup

Inherits from: PowerUpPickup.Pickup

Modifiers: auto

Pickup.ValidTouch

function bool ValidTouch (Actor Other)

Overrides: PowerUpPickup.Pickup.ValidTouch