Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
Difference between revisions of "UE3:UTWeaponPickupFactory (UT3)"
(Talk) |
m (added missing members) |
||
Line 8: | Line 8: | ||
}} | }} | ||
{{autogenerated}} | {{autogenerated}} | ||
− | Copyright 1998- | + | Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. |
==Properties== | ==Properties== | ||
Line 24: | Line 24: | ||
'''Default value:''' {{cl|ParticleSystemComponent}}'{{tl|GlowEffect}}' | '''Default value:''' {{cl|ParticleSystemComponent}}'{{tl|GlowEffect}}' | ||
+ | |||
+ | ====bIsActive==== | ||
+ | '''Type:''' [[bool]] | ||
+ | |||
+ | clientside flag - whether the locker should be displayed as active and having weapons available | ||
+ | |||
+ | ====bVerifiedWeaponStay==== | ||
+ | '''Type:''' [[bool]] | ||
+ | |||
+ | <!-- enter variable description --> | ||
====bWeaponStay==== | ====bWeaponStay==== | ||
Line 31: | Line 41: | ||
'''Default value:''' True | '''Default value:''' True | ||
+ | |||
+ | ====Customers==== | ||
+ | '''Type:''' [[array]]<{{tl|PawnToucher|UTWeaponLocker}}> | ||
+ | |||
+ | <!-- enter variable description --> | ||
====WeaponPickupScaling==== | ====WeaponPickupScaling==== | ||
Line 160: | Line 175: | ||
===Other instance functions=== | ===Other instance functions=== | ||
+ | ====AddCustomer==== | ||
+ | {{code|function [[bool]] '''AddCustomer''' ({{cl|Pawn}} '''P''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====AllowPickup==== | ||
+ | {{code|function [[bool]] '''AllowPickup''' ({{cl|UTBot}} '''Bot''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
====AllowRepeatPickup==== | ====AllowRepeatPickup==== | ||
{{code|function [[bool]] '''AllowRepeatPickup''' ()}} | {{code|function [[bool]] '''AllowRepeatPickup''' ()}} | ||
Line 169: | Line 194: | ||
'''Overrides:''' {{tl|CheckForErrors|PickupFactory}} | '''Overrides:''' {{tl|CheckForErrors|PickupFactory}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====CheckWeaponStay==== | ||
+ | {{code|simulated function '''CheckWeaponStay''' ()}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====HasCustomer==== | ||
+ | {{code|function [[bool]] '''HasCustomer''' ({{cl|Pawn}} '''P''')}} | ||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 176: | Line 211: | ||
'''Overrides:''' {{tl|InitializePickup|PickupFactory}} | '''Overrides:''' {{tl|InitializePickup|PickupFactory}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====NotifyLocalPlayerDead==== | ||
+ | {{code|simulated function '''NotifyLocalPlayerDead''' ({{cl|PlayerController}} '''PC''')}} | ||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 217: | Line 257: | ||
If our charge is not a super weapon and weaponstay is on, set weapon stay | If our charge is not a super weapon and weaponstay is on, set weapon stay | ||
+ | |||
+ | ====ShowActive==== | ||
+ | {{code|simulated function '''ShowActive''' ()}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====ShowHidden==== | ||
+ | {{code|simulated function '''ShowHidden''' ()}} | ||
+ | |||
+ | <!-- enter function description --> | ||
====SpawnCopyFor==== | ====SpawnCopyFor==== | ||
Line 229: | Line 279: | ||
'''Overrides:''' {{tl|StartSleeping|PickupFactory}} | '''Overrides:''' {{tl|StartSleeping|PickupFactory}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ==States== | ||
+ | ===Pickup=== | ||
+ | <!-- enter state description --> | ||
+ | |||
+ | '''Inherits from:''' {{tl|Pickup|UTPickupFactory}} | ||
+ | |||
+ | '''[[States#Modifiers|Modifiers]]:''' auto | ||
+ | |||
+ | ====Pickup.BeginState==== | ||
+ | {{code|simulated event '''BeginState''' ([[name]] '''PreviousStateName''')}} | ||
+ | |||
+ | '''Overrides:''' {{tl|Pickup.BeginState|UTPickupFactory}} | ||
+ | |||
+ | Called immediately when entering a state, while within the | ||
+ | GotoState() call that caused the state change (before any | ||
+ | state code is executed). | ||
+ | |||
+ | ====Pickup.Touch==== | ||
+ | {{code|simulated event '''Touch''' ({{cl|Actor}} '''Other''', {{cl|PrimitiveComponent}} '''OtherComp''', {{tl|Vector|Object|structs}} '''HitLocation''', {{tl|Vector|Object|structs}} '''HitNormal''')}} | ||
+ | |||
+ | '''Overrides:''' {{tl|Pickup.Touch|PickupFactory}} | ||
+ | |||
+ | <!-- enter event description --> | ||
+ | |||
+ | ====Pickup.AllowPickup==== | ||
+ | {{code|function [[bool]] '''AllowPickup''' ({{cl|UTBot}} '''Bot''')}} | ||
+ | |||
+ | '''Overrides:''' {{tl|AllowPickup}} ''(global)'' | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====Pickup.NotifyLocalPlayerDead==== | ||
+ | {{code|simulated function '''NotifyLocalPlayerDead''' ({{cl|PlayerController}} '''PC''')}} | ||
+ | |||
+ | '''Overrides:''' {{tl|NotifyLocalPlayerDead}} ''(global)'' | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====Pickup.ShowActive==== | ||
+ | {{code|simulated function '''ShowActive''' ()}} | ||
+ | |||
+ | '''Overrides:''' {{tl|ShowActive}} ''(global)'' | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====Pickup.ValidTouch==== | ||
+ | {{code|simulated function [[bool]] '''ValidTouch''' ({{cl|Pawn}} '''Other''')}} | ||
+ | |||
+ | '''Overrides:''' {{tl|Pickup.ValidTouch|PickupFactory}} | ||
<!-- enter function description --> | <!-- enter function description --> |
Latest revision as of 07:32, 16 August 2009
Object >> Actor >> NavigationPoint >> PickupFactory >> UTPickupFactory >> UTWeaponPickupFactory |
Contents
- 1 Properties
- 2 Functions
- 2.1 Events
- 2.2 Other instance functions
- 2.2.1 AddCustomer
- 2.2.2 AllowPickup
- 2.2.3 AllowRepeatPickup
- 2.2.4 CheckForErrors
- 2.2.5 CheckWeaponStay
- 2.2.6 HasCustomer
- 2.2.7 InitializePickup
- 2.2.8 NotifyLocalPlayerDead
- 2.2.9 PickedUpBy
- 2.2.10 SetPickupHidden
- 2.2.11 SetPickupMesh
- 2.2.12 SetPickupVisible
- 2.2.13 SetWeaponStay
- 2.2.14 ShowActive
- 2.2.15 ShowHidden
- 2.2.16 SpawnCopyFor
- 2.2.17 StartSleeping
- 3 States
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
Properties[edit]
Property group 'UTWeaponPickupFactory'[edit]
WeaponPickupClass[edit]
Internal variables[edit]
BaseGlow[edit]
Type: ParticleSystemComponent
The glow that emits from the base while the weapon is available
Default value: ParticleSystemComponent'GlowEffect'
bIsActive[edit]
Type: bool
clientside flag - whether the locker should be displayed as active and having weapons available
bVerifiedWeaponStay[edit]
Type: bool
bWeaponStay[edit]
Type: bool
Default value: True
Customers[edit]
Type: array<UTWeaponLocker.PawnToucher>
WeaponPickupScaling[edit]
Type: float
Used to scale weapon pickup drawscale
Default value: 1.2
Default values[edit]
Property | Value |
---|---|
bBlockActors | True |
bDoVisibilityFadeIn | False |
bRotatingPickup | True |
CollisionType | COLLIDE_CustomDefault |
Components[4] | ParticleSystemComponent'GlowEffect' |
RespawnSound | SoundCue'A_Pickups.Weapons.Cue.A_Pickup_Weapons_Respawn_Cue' |
Subobjects[edit]
BaseMeshComp[edit]
Class: Engine.StaticMeshComponent
Inherits from: UTPickupFactory.BaseMeshComp
Property | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
StaticMesh | StaticMesh'PICKUPS.WeaponBase.S_Pickups_WeaponBase' | ||||||||
Translation |
|
CollisionCylinder[edit]
Class: Engine.CylinderComponent
Inherits from: UTPickupFactory.CollisionCylinder
Property | Value |
---|---|
BlockZeroExtent | False |
GlowEffect[edit]
Class: Engine.ParticleSystemComponent
Property | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
SecondsBeforeInactive | 1.0 | ||||||||
Template | ParticleSystem'PICKUPS.WeaponBase.Effects.P_Pickups_WeaponBase_Glow' | ||||||||
Translation |
|
PathRenderer[edit]
Class: Engine.PathRenderingComponent
Inherits from: UTPickupFactory.PathRenderer
No new values.
PickupLightEnvironment[edit]
Class: Engine.DynamicLightEnvironmentComponent
Inherits from: UTPickupFactory.PickupLightEnvironment
No new values.
Functions[edit]
Events[edit]
ReplicatedEvent[edit]
Overrides: UTPickupFactory.ReplicatedEvent
Look for changes in bPulseBase or bPickupHidden and set the TargetEmissive accordingly
Other instance functions[edit]
AddCustomer[edit]
AllowPickup[edit]
AllowRepeatPickup[edit]
CheckForErrors[edit]
Overrides: PickupFactory.CheckForErrors
CheckWeaponStay[edit]
HasCustomer[edit]
InitializePickup[edit]
Overrides: PickupFactory.InitializePickup
NotifyLocalPlayerDead[edit]
PickedUpBy[edit]
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[edit]
Overrides: UTPickupFactory.SetPickupHidden
SetPickupMesh[edit]
Overrides: UTPickupFactory.SetPickupMesh
SetPickupVisible[edit]
Overrides: UTPickupFactory.SetPickupVisible
SetWeaponStay[edit]
If our charge is not a super weapon and weaponstay is on, set weapon stay
ShowActive[edit]
ShowHidden[edit]
SpawnCopyFor[edit]
Overrides: PickupFactory.SpawnCopyFor
StartSleeping[edit]
Overrides: PickupFactory.StartSleeping
States[edit]
Pickup[edit]
Inherits from: UTPickupFactory.Pickup
Modifiers: auto
Pickup.BeginState[edit]
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[edit]
Overrides: PickupFactory.Pickup.Touch
Pickup.AllowPickup[edit]
Overrides: AllowPickup (global)
Pickup.NotifyLocalPlayerDead[edit]
Overrides: NotifyLocalPlayerDead (global)
Pickup.ShowActive[edit]
Overrides: ShowActive (global)
Pickup.ValidTouch[edit]
Overrides: PickupFactory.Pickup.ValidTouch