Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:GrenadeLauncher (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Inventory >> Weapon >> GrenadeLauncher
Package: 
Weapons
Direct subclasses:
GrenadeLauncherMedium, GrenadeLauncherHeavy, GrenadeLauncherLight
This class in other games:
RTNP

null

Properties[edit]

Property group 'GrenadeLauncher'[edit]

TimedGrenadeChargeThreshold[edit]

Type: float


Default value: 0.5

Internal variables[edit]

bCharging[edit]

Type: bool


BeginChargeTime[edit]

Type: float


bLastGrenadeTimed[edit]

Type: bool


NumTicks[edit]

Type: int


Default values[edit]

Property Value
AmmoAmount[0] 1
AmmoAmount[1] 1
AmmoFlags[0]
Member Value
bRecommendSplashDamage True
bSplashDamage True
AmmoFlags[1]
Member Value
bRecommendSplashDamage True
bSplashDamage True
AnimFire[1] 'Fire'
AnimFireLastDown[1] 'FireLastDown'
AnimFireLastReload[1] 'FireLastReload'
AnimFireLastRound[1] 'FireLastRound'
AttachmentClass Class'Weapons.GrenadeLauncherAttachment'
AutoSwitchPriority 13
Crosshair "Crosshair_GL"
FireLastDownTime[0] 1.92
FireLastDownTime[1] 1.92
FireLastReloadTime[0] 1.38
FireLastReloadTime[1] 1.38
FireLastRoundSound[0] Sound'WeaponsA.GrenadeLauncher.GL_FireLastRound'
FireLastRoundSound[1] Sound'WeaponsA.GrenadeLauncher.GL_FireLastRound'
FireLastRoundTime[0] 1.38
FireLastRoundTime[1] 1.38
FireSound[0] Sound'WeaponsA.Flamethrower.FT_Fire'
FireSound[1] Sound'WeaponsA.Flamethrower.FT_Fire'
FireTime[0] 1.33
FireTime[1] 1.33
GroupOffset 1
IconIndex 11
InventoryGroup 3
ItemID "GL"
ItemName "Grenade Launcher"
MaxAmmo[0] 5
MaxAmmo[1] 5
Mesh SkeletalMesh'WeaponsK.GL_FP'
PickupAmmoCount 6
PlayerViewOffset
Member Value
X 20.0
Y 6.0
Z -30.0
ProjectileClass[0] Class'Weapons.GrenadeProjectile'
ProjectileClass[1] Class'Weapons.GrenadeProjectile'
ReloadSound Sound'WeaponsA.GrenadeLauncher.GL_Reload'
ReloadTime 1.38
ReloadUnloadedSound Sound'WeaponsA.GrenadeLauncher.GL_ReloadUnloaded'
ReloadUnloadedTime 1.38
SelectSound Sound'WeaponsA.GrenadeLauncher.GL_Select'
ShakeMag[0] 4.0
ShakeMag[1] 4.0
ShakeTime[0] 0.1
ShakeTime[1] 0.1

Instance functions[edit]

AuthorityFire[edit]

function AuthorityFire ()

Overrides: Weapon.AuthorityFire


EverywhereFire[edit]

simulated function EverywhereFire ()

Overrides: Weapon.EverywhereFire


PostSetAimingParameters[edit]

function PostSetAimingParameters (bool bAltFire, bool bInstant, float FireSpread, class<ProjectileProjClass, bool bWarnTarget, bool bTrySplash)

Overrides: Weapon.PostSetAimingParameters


PreSetAimingParameters[edit]

function bool PreSetAimingParameters (bool bAltFire, bool bInstant, float FireSpread, class<ProjectileProjClass, bool bWarnTarget, bool bTrySplash)

Overrides: Weapon.PreSetAimingParameters


ServerFire[edit]

function ServerFire (optional bool bAltFire)

Overrides: Weapon.ServerFire


StopCharging[edit]

function StopCharging ()


States[edit]

Charging[edit]

Modifiers: simulated

Ignores: AltFire, Fire

Charging.BeginState[edit]

simulated event BeginState ()

Overrides: Object.BeginState (global)


Charging.EndState[edit]

simulated event EndState ()

Overrides: Object.EndState (global)


Charging.Tick[edit]

simulated event Tick (float DeltaSeconds)

Overrides: Actor.Tick (global)


Charging.ProjectileFire[edit]

function Projectile ProjectileFire ()

Overrides: Weapon.ProjectileFire (global)


Charging.PutDown[edit]

simulated function bool PutDown ()

Overrides: Weapon.PutDown (global)