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

UE3:UTWeap_RocketLauncher internal variables (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Actor >> Inventory >> Weapon >> GameWeapon >> UTWeapon >> UTWeap_RocketLauncher (internal variables)
UTWeap_RocketLauncher internal variables in other games:
UDK

Internal variables[edit]

AltFireEndTimes[edit]

Type: array<float>

How long does it takes after a shot is fired for the weapon to reset and return to active

Default value, index 0: 0.44

Default value, index 1: 0.44

Default value, index 2: 0.44

AltFireLaunchTimes[edit]

Type: array<float>

Holds how long it takes to fire a given shot

Default value, index 0: 0.51

Default value, index 1: 0.51

Default value, index 2: 0.51

AltFireModeChangeSound[edit]

Type: SoundCue

The sound to play when alt-fire mode is changed

Default value: SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_AltModeChange_Cue'

AltFireQueueTimes[edit]

Type: array<float>

Holds how long it takes to que a given shot

Default value, index 0: 0.4

Default value, index 1: 0.96

Default value, index 2: 0.96

AltFireSndQue[edit]

Type: array<SoundCue>

Holds a collection of sound cues that define what sound to play at each loaded level

Default value, index 0: SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_AltFireQueue1_Cue'

Default value, index 1: SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_AltFireQueue2_Cue'

Default value, index 2: SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_AltFireQueue3_Cue'

bIsAnyAmmoHidden[edit]

Type: bool

Have we hidden any of the ammo sockets from player's view

bLockedOnTarget[edit]

Type: bool

When true, this weapon is locked on target

bTargetLockingActive[edit]

Type: bool

If true, weapon will try to lock onto targets

ConsoleLockAim[edit]

Type: float

angle for locking for lock targets when on Console

Default value: 0.992

GracePeriod[edit]

Type: float

How much grace at the end of loading should be given before the weapon auto-fires

Default value: 0.96

GrenadeClass[edit]

Type: class<UTProjectile>

Class of the grenade

Default value: Class'UTGame.UTProj_Grenade'

GrenadeFireSound[edit]

Type: SoundCue

sound to play when firing grenades

Default value: SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_GrenadeFire_Cue'

GrenadeSpreadDist[edit]

Type: int

How much spread on Grenades

Default value: 300

GrenadeString[edit]

Type: string

Modifiers: localized


Default value: "[Grenades]"

LastLockedOnTime[edit]

Type: float

How long since the Lock Target has been valid

LastTargetLockCheckTime[edit]

Type: float

Last time target lock was checked

LastValidTargetTime[edit]

Type: float

When was the last time we had a valid target

LoadedFireMode[edit]

Type: ERocketFireMode


LoadedIconCoords[edit]

Type: UIRoot.TextureCoordinates

Array size: 3

Textures which show multiple loaded rockets

Default value, index 0:

Member Value
UL 63.0
V 384.0
VL 63.0

Default value, index 1:

Member Value
U 63.0
UL 63.0
V 384.0
VL 63.0

Default value, index 2:

Member Value
U 126.0
UL 63.0
V 384.0
VL 63.0

LoadedRocketClass[edit]

Type: class<UTProjectile>

Class of the rocket to use when multiple rockets loaded

Default value: Class'UTGame.UTProj_LoadedRocket'

LoadedShotCount[edit]

Type: int

This holds the current number of shots queued up

LoadUpAnimList[edit]

Type: name

Array size: 3

list of anims to play for loading the RL

Default value, index 0: 'WeaponAltFireQueue1'

Default value, index 1: 'WeaponAltFireQueue2'

Default value, index 2: 'WeaponAltFireQueue3'

LockAcquiredSound[edit]

Type: SoundCue

Sound Effects to play when Locking

Default value: SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_SeekLock_Cue'

LockAim[edit]

Type: float

angle for locking for lock targets

Default value: 0.997

LockedTarget[edit]

Type: Actor

What "target" is this weapon locked on to

LockedTargetPRI[edit]

Type: PlayerReplicationInfo


LockLostSound[edit]

Type: SoundCue


Default value: SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_SeekLost_Cue'

LockRange[edit]

Type: float

How far out should we be considering actors for a lock

Default value: 8000.0

MaxLoadCount[edit]

Type: int

This holds the maximum number of shots that can be queued

Default value: 3

MuzzleFlashPSCList[edit]

Type: array<UTParticleSystemComponent>

Holds a list of emitters that make up the muzzle flash

MuzzleFlashSocketList[edit]

Type: array<name>

Allow for multiple muzzle flash sockets **FIXME: will become offsets

Default value, index 0: 'MuzzleFlashSocketA'

Default value, index 1: 'MuzzleFlashSocketC'

Default value, index 2: 'MuzzleFlashSocketB'

PendingLockedTarget[edit]

Type: Actor

What "target" is current pending to be locked on to

PendingLockedTargetTime[edit]

Type: float

When did the pending Target become valid

RocketLoadedSound[edit]

Type: SoundCue

The sound to play when a rocket is loaded

Default value: SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_RocketLoaded_Cue'

SeekingRocketClass[edit]

Type: class<UTProjectile>

Class of the rocket to use when seeking

Default value: Class'UTGame.UTProj_SeekingRocket'

SkeletonFirstPersonMesh[edit]

Type: UTSkeletalMeshComponent

Skeletal mesh component for the 1st person view of the rocketlauncher

Default value: UTSkeletalMeshComponent'FirstPersonMesh'

SpiralString[edit]

Type: string

Modifiers: localized


Default value: "[Spiral]"

SpreadDist[edit]

Type: int

How much distance should be between each shot

Default value: 1000

WaitToFirePct[edit]

Type: float

How much of the load-up timer needs to pass before the weapon will wait to fire on release

Default value: 0.85

WeaponAltFireLaunch[edit]

Type: name

Array size: 3


Default value, index 0: 'WeaponAltFireLaunch1'

Default value, index 1: 'WeaponAltFireLaunch2'

Default value, index 2: 'WeaponAltFireLaunch3'

WeaponAltFireLaunchEnd[edit]

Type: name

Array size: 3


Default value, index 0: 'WeaponAltFireLaunch1End'

Default value, index 1: 'WeaponAltFireLaunch2End'

Default value, index 2: 'WeaponAltFireLaunch3End'

WeaponLoadedSnd[edit]

Type: SoundCue


Default value: SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_Load_Cue'