I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:RocketLauncher (UT2004)

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

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.25

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
CustomCrosshair 8
CustomCrossHairColor
Member Value
A 255
B 0
G 0
R 255
CustomCrossHairTextureName "Crosshairs.Hud.Crosshair_Triad2"
Description The rotating rear loading barrel design allows for both single- and multi-warhead launches, letting you place up to three dumb fire rockets on target.|The warheads are designed to deliver maximum concussive force to the target and surrounding area upon detonation."
DisplayFOV 60.0
EffectOffset
Member Value
X 50.0
Y 1.0
Z 10.0
FireModeClass[0] XWeapons.RocketFire
FireModeClass[1] XWeapons.RocketMultiFire
HighDetailOverlay Material'UT2004Weapons.WeaponSpecMap2'
HudColor
Member Value
A 255
B 0
G 0
R 255
IconCoords
Member Value
X1 253
X2 333
Y1 146
Y2 181
IconMaterial Material'HudContent.Generic.HUD'
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
Priority 14
PutDownAnim 'PutDown'
SelectAnim 'Pickup'
SelectForce "SwitchToRocketLauncher"
SelectSound Sound'WeaponSounds.RocketLauncher.SwitchToRocketLauncher'
SmallViewOffset
Member Value
X 12.0
Y 14.0
Z -6.0

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 ()


ServerClearTightSpread

function ServerClearTightSpread ()


ServerSetTightSpread

function ServerSetTightSpread ()


SetTightSpread

simulated function SetTightSpread (bool bNew, optional bool bForce)


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)