Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE1:Cloak (RTNP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
RTNP Object >> Actor >> Inventory >> Pickup >> Cloak
Package: 
UPak

Cloak.uc $Author: Deb $ $Date: 4/23/99 12:13p $ $Revision: 1 $

Properties

Property group 'Cloak'

JumpZAdjustment

Type: float


Default value: 3.0

Internal variables

ArrayCounter

Type: int

Counter for array

bEngaging

Type: bool

Used in going invis routines (tick)

bExpanding

Type: bool


CountDown

Type: int

Used in timing the "back to visible" routine

InvisWeaponList

Type: Weapon

Array size: 25

Array holding all affected weapons

LastOwnerRotation

Type: Object.Rotator

Used in checking owner's rotation vs last rotation

LastWeapon

Type: Weapon

Last Weapon wielded by owner

Default values

Property Value
bActivatable True
bAmbientGlow False
bCanActivate True
bDisplayableInv True
Charge 100
CollisionHeight 13.7
CollisionRadius 19.8
ExpireMessage "disengaged."
Icon Texture'UPak.Icons.Texture0'
ItemName "Cloaking Device"
LightCone 8
LightPeriod 5
LightPhase 5
LightRadius 4
M_Activated " engaged"
M_Deactivated " disengaged"
Mesh LodMesh'UPak.pyramid'
PickupMessage "You got the Cloaking Device."
PickupSound Sound'UnrealShare.Pickups.GenPickSnd'
PickupViewMesh LodMesh'UPak.pyramid'
RespawnTime 30.0
SoundRadius 64
SoundVolume 96

Functions

Events

BotDesireability

event float BotDesireability (Pawn Bot)

Overrides: Inventory.BotDesireability


Destroyed

event Destroyed ()

Overrides: Inventory.Destroyed


PostBeginPlay

event PostBeginPlay ()

Overrides: Inventory.PostBeginPlay


Other instance functions

PickupFunction

function PickupFunction (Pawn Other)

Overrides: Pickup.PickupFunction


RestoreVis

function RestoreVis ()


WeaponRestore

function WeaponRestore ()


States

Activated

Activated.BeginState

event BeginState ()

Overrides: Inventory.Activated.BeginState


Activated.Tick

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


Activated.Timer

event Timer ()

Overrides: Actor.Timer (global)


Activated.Activate

function Activate ()

Overrides: Pickup.Activated.Activate


Activated.AddWeaponToList

function AddWeaponToList (Weapon AddWeapon)


Activated.InvisWeapons

function InvisWeapons (Weapon ChangeWeapon)


Deactivated

Deactivated.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


Deactivated.Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


Deactivated.Timer

event Timer ()

Overrides: Actor.Timer (global)


Idle2

Idle2.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


Idle2.Timer

event Timer ()

Overrides: Actor.Timer (global)


Sleeping

Inherits from: Inventory.Sleeping

Ignores: Touch

Sleeping.BeginState

event BeginState ()

Overrides: Inventory.Sleeping.BeginState


Sleeping.EndState

event EndState ()

Overrides: Inventory.Sleeping.EndState