There is no spoon

UE3:UTDroppedPickup (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 11:47, 6 November 2009 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> Actor >> DroppedPickup >> UTDroppedPickup
Package: 
UTGame
Direct subclasses:
UTDroppedItemPickup, UTRotatingDroppedPickup
This class in other games:
UT3

UT specific modifications to Pickup items.

PickupFactory should be used to place items in the level. This class is for dropped inventory, which should attach itself to this pickup, and set the appropriate mesh

Properties

Property group 'UTDroppedPickup'

YawRotationRate

Type: float


Default value: 32768.0

Internal variables

bPickupable

Type: bool

EMP forces a pickup to be unusable until it lands

Default value: True

bRotatingPickup

Type: bool


MyLightEnvironment

Type: LightEnvironmentComponent


Default value: DynamicLightEnvironmentComponent'DroppedPickupLightEnvironment'

PickupMesh

Type: PrimitiveComponent


PickupParticles

Type: ParticleSystemComponent


StartScale

Type: float


Default values

Property Value
bDestroyedByInterpActor True
Components[2] DynamicLightEnvironmentComponent'DroppedPickupLightEnvironment'

Subobjects

CollisionCylinder

Class: Engine.CylinderComponent

Inherits from: DroppedPickup.CollisionCylinder

Property Value
ReplacementPrimitive None

DroppedPickupLightEnvironment

Class: Engine.DynamicLightEnvironmentComponent

Property Value
AmbientGlow
Member Value
A 1.0
B 0.2
G 0.2
R 0.2
bCastShadows False
bDynamic False

Sprite

Class: Engine.SpriteComponent

Inherits from: DroppedPickup.Sprite

Property Value
ReplacementPrimitive None

Events

Landed

simulated event Landed (Object.Vector HitNormal, Actor FloorActor)

Overrides: DroppedPickup.Landed


PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


SetPickupMesh

simulated event SetPickupMesh (PrimitiveComponent NewPickupMesh)

Overrides: DroppedPickup.SetPickupMesh

Set Pickup mesh to use. Replicated through InventoryClass to remote clients using Inventory.DroppedPickup component as default mesh.

SetPickupParticles

simulated event SetPickupParticles (ParticleSystemComponent NewPickupParticles)

Overrides: DroppedPickup.SetPickupParticles

Set Pickup particles to use. Replicated through InventoryClass to remote clients using Inventory.DroppedPickup component as default mesh.

States

FadeOut

FadeOut.BeginState

simulated event BeginState (name PreviousStateName)

Overrides: DroppedPickup.FadeOut.BeginState

Called immediately when entering a state, while within the GotoState() call that caused the state change (before any state code is executed).

Pickup

Inherits from: DroppedPickup.Pickup

Modifiers: auto

Pickup.Landed

simulated event Landed (Object.Vector HitNormal, Actor FloorActor)

Overrides: Landed (global)


Pickup.ValidTouch

function bool ValidTouch (Pawn Other)

Overrides: DroppedPickup.Pickup.ValidTouch