UE2:AssaultGrenade (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
UT2004 Object >> WeaponFire >> ProjectileFire >> AssaultGrenade
Package:
XWeapons
This class in other games:

null

Constants

mNumGrenades

Value: 8


Properties

Property group 'AssaultGrenade'

mHoldClampMax

Type: float


mHoldSpeedGainPerSec

Type: float


Default value: 750.0

mHoldSpeedMax

Type: float


Default value: 1600.0

mHoldSpeedMin

Type: float


Default value: 850.0

mScale

Type: float


Default value: 1.0

mScaleMultiplier

Type: float


Default value: 0.9

mSpeedMax

Type: float


Default value: 3000.0

mSpeedMin

Type: float


Default value: 250.0

mWaitTime

Type: float


Default value: 0.5

Internal variables

ClickTime

Type: float


mBlend

Type: float


Default value: 1.0

mCurrentRoll

Type: float


mCurrentSlot

Type: int


mDrumRotationsPerSec

Type: float


Default value: 0.4

mGun

Type: AssaultRifle


mNextEmptySlot

Type: int


mNextRoll

Type: float


mRollInc

Type: float


mRollPerSec

Type: float


Default values

Property Value
AmmoClass Class'XWeapons.GrenadeAmmo'
AmmoPerFire 1
bFireOnRelease True
BotRefireRate 0.25
bRecommendSplashDamage True
bSplashDamage True
bTossed True
FireAnimRate 0.5
FireEndAnim 'None'
FireForce "AssaultRifleAltFire"
FireLoopAnim 'None'
FireRate 1.0
FireSound Sound'NewWeaponSounds.NewGrenadeShoot'
FlashEmitterClass Class'XEffects.AssaultMuzFlash1st'
ProjectileClass Class'XWeapons.Grenade'
ProjSpawnOffset
Member Value
X 25.0
Y 10.0
Z -7.0
ReloadForce "BReload9"
ReloadSound Sound'WeaponSounds.BReload9'
ShakeOffsetMag
Member Value
X -20.0
Y 0.0
Z 0.0
ShakeOffsetRate
Member Value
X -1000.0
Y 0.0
Z 0.0
ShakeOffsetTime 2.0
ShakeRotMag
Member Value
X 0.0
Y 0.0
Z 0.0
ShakeRotRate
Member Value
X 0.0
Y 0.0
Z 0.0
ShakeRotTime 2.0

Instance functions

AllowFire

simulated function bool AllowFire ()

Overrides: WeaponFire.AllowFire


DoFireEffect

function DoFireEffect ()

Overrides: ProjectileFire.DoFireEffect


DrawMuzzleFlash

function DrawMuzzleFlash (Canvas Canvas)

Overrides: WeaponFire.DrawMuzzleFlash


InitEffects

function InitEffects ()

Overrides: WeaponFire.InitEffects


PlayFireEnd

function PlayFireEnd ()

Overrides: WeaponFire.PlayFireEnd


PlayFiring

function PlayFiring ()

Overrides: WeaponFire.PlayFiring


PlayPreFire

function PlayPreFire ()

Overrides: WeaponFire.PlayPreFire


PlayStartHold

function PlayStartHold ()

Overrides: WeaponFire.PlayStartHold


PostBeginPlay

function PostBeginPlay ()

Overrides: WeaponFire.PostBeginPlay


ReturnToIdle

simulated function ReturnToIdle ()


SpawnProjectile

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

Overrides: ProjectileFire.SpawnProjectile


StartBerserk

function StartBerserk ()

Overrides: WeaponFire.StartBerserk


StartSuperBerserk

function StartSuperBerserk ()

Overrides: WeaponFire.StartSuperBerserk


StopBerserk

function StopBerserk ()

Overrides: WeaponFire.StopBerserk


UpdateRoll

simulated function bool UpdateRoll (float dt)


WrapPostIncr

simulated function int WrapPostIncr (out int count)


States

Idle

Modifiers: auto

Idle.StopFiring

function StopFiring ()

Overrides: WeaponFire.StopFiring (global)


LoadNext

LoadNext.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


LoadNext.ModeTick

event ModeTick (float dt)

Overrides: WeaponFire.ModeTick (global)


Wait

Wait.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


Wait.Timer

event Timer ()

Overrides: WeaponFire.Timer (global)