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

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[edit]

NUM_BARRELS[edit]

Value: 3


BARREL_ROTATION_RATE[edit]

Value: 2.95


Properties[edit]

Property group 'RocketLauncher'[edit]

CrosshairColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 0
R 250

CrosshairX[edit]

Type: float


Default value: 16.0

CrosshairY[edit]

Type: float


Default value: 16.0

LockAim[edit]

Type: float


Default value: 0.996

LockRequiredTime[edit]

Type: float


Default value: 1.25

SeekCheckFreq[edit]

Type: float


Default value: 0.5

SeekRange[edit]

Type: float


Default value: 8000.0

UnLockRequiredTime[edit]

Type: float


Default value: 0.5

Internal variables[edit]

BarrelRotation[edit]

Type: float


bBreakLock[edit]

Type: bool


bLockedOn[edit]

Type: bool


bRotateBarrel[edit]

Type: bool


bTightSpread[edit]

Type: bool


FinalRotation[edit]

Type: float


LockTime[edit]

Type: float


SeekCheckTime[edit]

Type: float


SeekTarget[edit]

Type: Pawn


UnLockTime[edit]

Type: float


Default values[edit]

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[edit]

Events[edit]

AnimEnd[edit]

simulated event AnimEnd (int Channel)

Overrides: Weapon.AnimEnd


ClientStartFire[edit]

simulated event ClientStartFire (int Mode)

Overrides: Weapon.ClientStartFire


RenderOverlays[edit]

simulated event RenderOverlays (Canvas Canvas)

Overrides: Weapon.RenderOverlays


Tick[edit]

event Tick (float dt)

Overrides: Actor.Tick


Other instance functions[edit]

BestMode[edit]

function byte BestMode ()

Overrides: Weapon.BestMode


BringUp[edit]

simulated function BringUp (optional Weapon PrevWeapon)

Overrides: Weapon.BringUp


CanLockOnTo[edit]

function bool CanLockOnTo (Actor Other)


GetAIRating[edit]

function float GetAIRating ()

Overrides: Weapon.GetAIRating


PlayFiring[edit]

simulated function PlayFiring (bool plunge)


PlayIdle[edit]

simulated function PlayIdle ()

Overrides: Weapon.PlayIdle


PlayLoad[edit]

simulated function PlayLoad (bool full)


Plunge[edit]

simulated function Plunge ()


RotateBarrel[edit]

simulated function RotateBarrel ()


ServerClearTightSpread[edit]

function ServerClearTightSpread ()


ServerSetTightSpread[edit]

function ServerSetTightSpread ()


SetTightSpread[edit]

simulated function SetTightSpread (bool bNew, optional bool bForce)


SpawnProjectile[edit]

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


StartFire[edit]

simulated function bool StartFire (int Mode)

Overrides: Weapon.StartFire


SuggestAttackStyle[edit]

function float SuggestAttackStyle ()

Overrides: Weapon.SuggestAttackStyle


UpdateBarrel[edit]

simulated function UpdateBarrel (float dt)


States[edit]

AnimateLoad[edit]

Modifiers: simulated

AnimateLoad.Tick[edit]

simulated event Tick (float dt)

Overrides: Tick (global)