There is no spoon

UE3:UTWeaponPickupFactory (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Actor >> NavigationPoint >> PickupFactory >> UTPickupFactory >> UTWeaponPickupFactory
Package: 
UTGame
This class in other games:
UT3


Properties

Property group 'UTWeaponPickupFactory'

WeaponPickupClass

Type: class<UTWeapon>


Internal variables

BaseGlow

Type: ParticleSystemComponent

The glow that emits from the base while the weapon is available

Default value: ParticleSystemComponent'GlowEffect'

bIsActive

Type: bool

clientside flag - whether the locker should be displayed as active and having weapons available

bWeaponStay

Type: bool


Default value: True

Customers

Type: array<UTWeaponLocker.PawnToucher>


WeaponPickupScaling

Type: float

Used to scale weapon pickup drawscale

Default value: 1.2

Default values

Property Value
bBlockActors True
bDoVisibilityFadeIn False
bRotatingPickup True
Components[4] ParticleSystemComponent'GlowEffect'
PickUpWaveForm ForceFeedbackWaveform'UTGame.Default__UTWeaponPickupFactory:ForceFeedbackWaveformPickUp'
RespawnSound SoundCue'A_Pickups.Weapons.Cue.A_Pickup_Weapons_Respawn_Cue'

Subobjects

BaseMeshComp

Class: Engine.StaticMeshComponent

Inherits from: UTPickupFactory.BaseMeshComp

Property Value
ReplacementPrimitive None
StaticMesh StaticMesh'Pickups.WeaponBase.S_Pickups_WeaponBase'
Translation
Member Value
X 0.0
Y 0.0
Z -44.0

CollisionCylinder

Class: Engine.CylinderComponent

Inherits from: UTPickupFactory.CollisionCylinder

Property Value
BlockZeroExtent False
ReplacementPrimitive None

GlowEffect

Class: Engine.ParticleSystemComponent

Property Value
ReplacementPrimitive None
Template ParticleSystem'Pickups.WeaponBase.Effects.P_Pickups_WeaponBase_Glow'
Translation
Member Value
X 0.0
Y 0.0
Z -44.0

PathRenderer

Class: Engine.PathRenderingComponent

Inherits from: UTPickupFactory.PathRenderer

Property Value
ReplacementPrimitive None

PickupLightEnvironment

Class: Engine.DynamicLightEnvironmentComponent

Inherits from: UTPickupFactory.PickupLightEnvironment

No new values.

Functions

Events

ReplicatedEvent

simulated event ReplicatedEvent (name VarName)

Overrides: UTPickupFactory.ReplicatedEvent

Look for changes in bPulseBase or bPickupHidden and set the TargetEmissive accordingly

Other instance functions

AddCustomer

function bool AddCustomer (Pawn P)


AllowPickup

function bool AllowPickup (UTBot Bot)


CheckForErrors

function bool CheckForErrors ()

Overrides: PickupFactory.CheckForErrors


HasCustomer

function bool HasCustomer (Pawn P)


InitializePickup

simulated function InitializePickup ()

Overrides: PickupFactory.InitializePickup


NotifyLocalPlayerDead

simulated function NotifyLocalPlayerDead (PlayerController PC)


PickedUpBy

function PickedUpBy (Pawn P)

Overrides: UTPickupFactory.PickedUpBy

(Description copied from Actor.PickedUpBy)
implemented by pickup type Actors to do things following a successful pickup

Parameters:

  • P - the Pawn that picked us up

Todo: remove this and fix up the DenyPickupQuery() calls that use this

SetPickupHidden

simulated function SetPickupHidden ()

Overrides: UTPickupFactory.SetPickupHidden


SetPickupMesh

simulated function SetPickupMesh ()

Overrides: UTPickupFactory.SetPickupMesh


SetPickupVisible

simulated function SetPickupVisible ()

Overrides: UTPickupFactory.SetPickupVisible


SetWeaponStay

function SetWeaponStay ()

If our charge is not a super weapon and weaponstay is on, set weapon stay

ShowActive

simulated function ShowActive ()


ShowHidden

simulated function ShowHidden ()


SpawnCopyFor

function SpawnCopyFor (Pawn Recipient)

Overrides: PickupFactory.SpawnCopyFor


StartSleeping

function StartSleeping ()

Overrides: PickupFactory.StartSleeping


States

Pickup

Inherits from: UTPickupFactory.Pickup

Modifiers: auto

Pickup.BeginState

simulated event BeginState (name PreviousStateName)

Overrides: UTPickupFactory.Pickup.BeginState

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

Pickup.Touch

simulated event Touch (Actor Other, PrimitiveComponent OtherComp, Object.Vector HitLocation, Object.Vector HitNormal)

Overrides: PickupFactory.Pickup.Touch


Pickup.NotifyLocalPlayerDead

simulated function NotifyLocalPlayerDead (PlayerController PC)

Overrides: NotifyLocalPlayerDead (global)


Pickup.ShowActive

simulated function ShowActive ()

Overrides: ShowActive (global)


Pickup.ValidTouch

simulated function bool ValidTouch (Pawn Other)

Overrides: PickupFactory.Pickup.ValidTouch