I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:RocketLauncher (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Inventory >> Weapon >> RocketLauncher
Package: 
XWeapons
Direct subclass:
ClassicRocketLauncher
This class in other games:
RTNP, U2, UT2004

RocketLaucher

Constants

NUM_BARRELS

Value: 3


BARREL_ROTATION_RATE

Value: 2.95


Properties

Property group 'RocketLauncher'

CrosshairColor

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 0
R 250

CrosshairX

Type: float


Default value: 16.0

CrosshairY

Type: float


Default value: 16.0

LockAim

Type: float


Default value: 0.996

LockRequiredTime

Type: float


Default value: 1.4

SeekCheckFreq

Type: float


Default value: 0.5

SeekRange

Type: float


Default value: 8000.0

UnLockRequiredTime

Type: float


Default value: 0.5

Internal variables

BarrelRotation

Type: float


bBreakLock

Type: bool


bLockedOn

Type: bool


bRotateBarrel

Type: bool


bTightSpread

Type: bool


FinalRotation

Type: float


LockTime

Type: float


SeekCheckTime

Type: float


SeekTarget

Type: Pawn


UnLockTime

Type: float


Default values

Property Value
AIRating 0.78
AttachmentClass Class'XWeapons.RocketAttachment'
BobDamping 1.5
CenteredOffsetY -5.0
CenteredYaw -500
CurrentRating 0.78
DefaultPriority 9
DisplayFOV 60.0
EffectOffset
Member Value
X 50.0
Y 1.0
Z 10.0
FireModeClass[0] XWeapons.RocketFire
FireModeClass[1] XWeapons.RocketMultiFire
HudColor
Member Value
A 255
B 0
G 0
R 255
IconCoords
Member Value
X1 745
X2 866
Y1 0
Y2 88
IconMaterial Material'InterfaceContent.Hud.SkinA'
IdleAnimRate 0.5
InventoryGroup 8
ItemName "Rocket Launcher"
Mesh Mesh'Weapons.RocketLauncher_1st'
PickupClass Class'XWeapons.RocketLauncherPickup'
PlayerViewOffset
Member Value
X 0.0
Y 8.0
Z 0.0
PlayerViewPivot
Member Value
Pitch 0
Roll 1000
Yaw 500
PutDownAnim 'PutDown'
SelectAnim 'Pickup'
SelectForce "SwitchToRocketLauncher"
SelectSound Sound'WeaponSounds.RocketLauncher.SwitchToRocketLauncher'
SmallViewOffset
Member Value
X 12.0
Y 14.0
Z -6.0
UV2Texture Material'XGameShaders.WeaponEnvShader'

Functions

Events

AnimEnd

simulated event AnimEnd (int Channel)

Overrides: Weapon.AnimEnd


ClientStartFire

simulated event ClientStartFire (int Mode)

Overrides: Weapon.ClientStartFire


RenderOverlays

simulated event RenderOverlays (Canvas Canvas)

Overrides: Weapon.RenderOverlays


Tick

event Tick (float dt)

Overrides: Actor.Tick


Other instance functions

BestMode

function byte BestMode ()

Overrides: Weapon.BestMode


BringUp

simulated function BringUp (optional Weapon PrevWeapon)

Overrides: Weapon.BringUp


CanLockOnTo

function bool CanLockOnTo (Actor Other)


GetAIRating

function float GetAIRating ()

Overrides: Weapon.GetAIRating


PlayFiring

simulated function PlayFiring (bool plunge)


PlayIdle

simulated function PlayIdle ()

Overrides: Weapon.PlayIdle


PlayLoad

simulated function PlayLoad (bool full)


Plunge

simulated function Plunge ()


RotateBarrel

simulated function RotateBarrel ()


ServerSetTightSpread

function ServerSetTightSpread ()


SpawnProjectile

function Projectile SpawnProjectile (Object.Vector Start, Object.Rotator Dir)


StartFire

simulated function bool StartFire (int Mode)

Overrides: Weapon.StartFire


SuggestAttackStyle

function float SuggestAttackStyle ()

Overrides: Weapon.SuggestAttackStyle


UpdateBarrel

simulated function UpdateBarrel (float dt)


States

AnimateLoad

Modifiers: simulated

AnimateLoad.Tick

simulated event Tick (float dt)

Overrides: Tick (global)