The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:GrenadeLauncher (U2)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents
- Package:
- Weapons
- Direct subclasses:
- GrenadeLauncherMedium, GrenadeLauncherHeavy, GrenadeLauncherLight
- This class in other games:
- RTNP
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
null
Properties
Property group 'GrenadeLauncher'
TimedGrenadeChargeThreshold
Type: float
Default value: 0.5
Internal variables
bCharging
Type: bool
BeginChargeTime
Type: float
bLastGrenadeTimed
Type: bool
NumTicks
Type: int
Default values
Property | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
AmmoAmount[0] | 1 | ||||||||
AmmoAmount[1] | 1 | ||||||||
AmmoFlags[0] |
|
||||||||
AmmoFlags[1] |
|
||||||||
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 |
|
||||||||
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
AuthorityFire
function AuthorityFire ()
Overrides: Weapon.AuthorityFire
EverywhereFire
simulated function EverywhereFire ()
Overrides: Weapon.EverywhereFire
PostSetAimingParameters
function PostSetAimingParameters (bool bAltFire, bool bInstant, float FireSpread, class<Projectile> ProjClass, bool bWarnTarget, bool bTrySplash)
Overrides: Weapon.PostSetAimingParameters
PreSetAimingParameters
function bool PreSetAimingParameters (bool bAltFire, bool bInstant, float FireSpread, class<Projectile> ProjClass, bool bWarnTarget, bool bTrySplash)
Overrides: Weapon.PreSetAimingParameters
ServerFire
function ServerFire (optional bool bAltFire)
Overrides: Weapon.ServerFire
StopCharging
function StopCharging ()
States
Charging
Modifiers: simulated
Charging.BeginState
simulated event BeginState ()
Overrides: Object.BeginState (global)
Charging.EndState
simulated event EndState ()
Overrides: Object.EndState (global)
Charging.Tick
simulated event Tick (float DeltaSeconds)
Overrides: Actor.Tick (global)
Charging.ProjectileFire
function Projectile ProjectileFire ()
Overrides: Weapon.ProjectileFire (global)
Charging.PutDown
simulated function bool PutDown ()
Overrides: Weapon.PutDown (global)