The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:UDamagePack (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Pickup >> TournamentPickup >> UDamagePack
Package: 
XPickups
Direct subclass:
UDamageReward
Known custom subclass:
Crusha/UltimateMappingTools
This class in other games:
UT2003

Pickup class for the Double Damage power-up.

The Double Damage does not have its own Inventory class. The entire functionality is handled by the various UDamage-related functions in xPawn and the UDamageTimer class.

Default values[edit]

Property Value
AmbientGlow 254
bPredictRespawns True
CollisionHeight 23.0
CollisionRadius 32.0
DrawScale 0.9
DrawType DT_StaticMesh
Mass 10.0
MaxDesireability 2.0
Physics PHYS_Rotating
PickupForce "UDamagePickup"
PickupMessage "DOUBLE DAMAGE!"
PickupSound Sound'PickupSounds.UDamagePickUp'
RespawnTime 90.0
RotationRate
Member Value
Yaw 24000
ScaleGlow 0.6
StaticMesh StaticMesh'E_Pickups.Udamage'
Style STY_AlphaZ
TransientSoundRadius 600.0

Functions[edit]

Static functions[edit]

StaticPrecache[edit]

static function StaticPrecache (LevelInfo L)

Overrides: Pickup.StaticPrecache

Precaches the pickup mesh and material.

Instance functions[edit]

UpdatePrecacheMaterials[edit]

simulated function UpdatePrecacheMaterials ()

Overrides: Actor.UpdatePrecacheMaterials

Precaches the pickup material.

UpdatePrecacheStaticMeshes[edit]

simulated function UpdatePrecacheStaticMeshes ()

Overrides: Actor.UpdatePrecacheStaticMeshes

Precaches the pickup mesh.

States[edit]

Pickup[edit]

Inherits from: Pickup.Pickup

Modifiers: auto

Pickup.Touch[edit]

event Touch (Actor Other)

Overrides: Pickup.Pickup.Touch

Activates Double Damage for the player who picked it up by calling xPawn.EnableUDamage().