Always snap to grid

UE2:ONSGrenadeLauncher (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Inventory >> Weapon >> ONSGrenadeLauncher
Package: 
Onslaught


Properties[edit]

CurrentGrenades[edit]

Type: int

should be sync'ed with Grenades.length

FadedColor[edit]

Type: Object.Color


Default value:

Member Value
A 128
B 128
G 128
R 128

Grenades[edit]

Type: array<ONSGrenadeProjectile>


MaxGrenades[edit]

Type: int


Default value: 8

Default values[edit]

Property Value
AIRating 0.55
AmbientGlow 64
AttachmentClass Class'Onslaught.ONSGrenadeAttachment'
BobDamping 2.2
CurrentRating 0.55
CustomCrosshair 15
CustomCrossHairTextureName "ONSInterface-TX.grenadeLauncherReticle"
Description "The MGG Grenade Launcher fires magnetic sticky grenades, which will attach to enemy players and vehicles."
DisplayFOV 45.0
EffectOffset
Member Value
X 100.0
Y 32.0
Z -20.0
FireModeClass[0] Onslaught.ONSGrenadeFire
FireModeClass[1] Onslaught.ONSGrenadeAltFire
GroupOffset 1
HudColor
Member Value
A 255
B 255
G 0
R 0
IconCoords
Member Value
X1 434
X2 506
Y1 253
Y2 292
IconMaterial Material'HudContent.Generic.HUD'
InventoryGroup 7
ItemName "Grenade Launcher"
Mesh Mesh'ONSWeapons-A.GrenadeLauncher_1st'
PickupClass Class'Onslaught.ONSGrenadePickup'
PlayerViewOffset
Member Value
X 150.0
Y 40.0
Z -46.0
PlayerViewPivot
Member Value
Pitch 0
Roll 0
Yaw 0
Priority 10
PutDownAnim 'PutDown'
PutDownAnimRate 2.8
SelectAnimRate 3.1
SelectForce "SwitchToFlakCannon"
SelectSound Sound'WeaponSounds.FlakCannon.SwitchToFlakCannon'
SmallViewOffset
Member Value
X 166.0
Y 48.0
Z -54.0

Functions[edit]

Events[edit]

AnimEnd[edit]

simulated event AnimEnd (int Channel)

Overrides: Weapon.AnimEnd


ClientStopFire[edit]

simulated singular event ClientStopFire (int Mode)

Overrides: Weapon.ClientStopFire


Destroyed[edit]

simulated event Destroyed ()

Overrides: Weapon.Destroyed


Other instance functions[edit]

BestMode[edit]

function byte BestMode ()

Overrides: Weapon.BestMode


CanThrow[edit]

simulated function bool CanThrow ()

Overrides: Weapon.CanThrow


DrawWeaponInfo[edit]

simulated function DrawWeaponInfo (Canvas Canvas)

Overrides: Weapon.DrawWeaponInfo


GetAIRating[edit]

function float GetAIRating ()

Overrides: Weapon.GetAIRating


HasAmmo[edit]

simulated function bool HasAmmo ()

Overrides: Weapon.HasAmmo


NewDrawWeaponInfo[edit]

simulated function NewDrawWeaponInfo (Canvas Canvas, float YPos)

Overrides: Weapon.NewDrawWeaponInfo


OutOfAmmo[edit]

simulated function OutOfAmmo ()

Overrides: Weapon.OutOfAmmo


SuggestAttackStyle[edit]

function float SuggestAttackStyle ()

Overrides: Weapon.SuggestAttackStyle


SuggestDefenseStyle[edit]

function float SuggestDefenseStyle ()

Overrides: Weapon.SuggestDefenseStyle