Always snap to grid

UE2:WeaponInvGrenadeLauncher (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Inventory >> Weapon >> U2Weapon >> WeaponInvGrenadeLauncher
Package: 
U2Weapons
Direct subclasses:
WeaponInvGrenadeLauncherSmall, WeaponTutorialInvGrenadeLauncher

$Workfile: WeaponInvGrenadeLauncher.uc $ Created By: Jess Crable, Mark Poesch Created On: 5/2/00 $Author: Mfox $ $Date: 12/16/02 5:47p $ $Revision: 60 $

Properties[edit]

Property group 'WeaponInvGrenadeLauncher'[edit]

TimedGrenadeChargeThreshold[edit]

Type: float


Default value: 0.25

Internal variables[edit]

BeginChargeTime[edit]

Type: float


bLastGrenadeTimed[edit]

Type: bool


bOverridePressing[edit]

Type: bool


ChangeAmmoSound[edit]

Type: Sound


Default value: Sound'U2WeaponsA.GrenadeLauncher.GL_Reload'

GrenadeTypes[edit]

Type: ammoInvGrenade

Array size: 6


iGrenade[edit]

Type: int


NumTicks[edit]

Type: int


SpoolNode[edit]

Type: int


Default values[edit]

Property Value
AIRating 0.7
AIRatingAltFire -50.0
AIRatingFire 0.7
AltFireLastDownTime 0.0
AltFireLastReloadTime 0.0
AltFireLastRoundSound Sound'U2WeaponsA.GrenadeLauncher.GL_AltFireLastRound'
AltFireSound Sound'U2WeaponsA.GrenadeLauncher.GL_AltFire'
AltFireTime 0.0
AltRefireRate 1.0
AltShakeMag 0.0
AltShakeTime 0.0
AutoSwitchPriority 13
bAltSplashDamage True
bCrosshairGlows True
bRepeatAltFire False
bSplashDamage True
bWarnTarget True
CockingSound Sound'U2WeaponsA.GrenadeLauncher.GL_Reload'
CrosshairName "GL_Cross"
DownTime 0.539
FireLastDownTime 1.615
FireLastReloadTime 2.615
FireLastRoundSound Sound'U2WeaponsA.GrenadeLauncher.GL_FireLastRound'
FireOffset
Member Value
X 42.0
Y 11.0
Z -30.0
FireSound Sound'U2WeaponsA.GrenadeLauncher.GL_Fire'
FireTime 1.2
FirstPersonOffset
Member Value
X -10.0
Y 5.0
Z 15.0
GroupOffset 2
IconIndex 11
InventoryGroup 3
ItemID "GL"
ItemName "Grenade Launcher"
Mesh LegendMesh'GlmWeaponsG.GL_FP'
PickupClass Class'U2Weapons.weaponGrenadeLauncher'
PlayerViewOffset
Member Value
X 0.0
Z 0.0
ProjectileClass Class'U2Weapons.projectileGrenadeFragment'
RangeIdealFire 512.0
RangeLimitFire 2750.0
RangeMaxFire 2500.0
RangeMinFire 384.0
RatingInsideMinAltFire -1.0
RatingInsideMinFire -20.0
RatingRangeIdealFire 0.8
RatingRangeLimitFire 0.2
RatingRangeMaxFire 0.6
RatingRangeMinFire 0.5
RefireRate 1.0
ReloadTime 2.2
ReloadUnloadedSound Sound'U2WeaponsA.GrenadeLauncher.GL_ReloadUnloaded'
SelectSound Sound'U2WeaponsA.GrenadeLauncher.GL_Select'
ShakeMag 4.0
ShakeTime 0.1
ThirdPersonMesh LegendMesh'GlmWeaponsG.GL_TP'
WeaponAnimationType AT_Large

Functions[edit]

Events[edit]

PreBeginPlay[edit]

simulated event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Replication[edit]

event Replication ()

Overrides: Weapon.Replication


Other instance functions[edit]

AltFire[edit]

simulated function AltFire ()

Overrides: U2Weapon.AltFire


AuthorityFire[edit]

function AuthorityFire ()

Overrides: U2Weapon.AuthorityFire


ChangeAmmoType[edit]

simulated function ChangeAmmoType ()

Overrides: Weapon.ChangeAmmoType


EverywhereFire[edit]

simulated function EverywhereFire ()

Overrides: U2Weapon.EverywhereFire


GetAltFireAmmoUsed[edit]

simulated function int GetAltFireAmmoUsed ()

Overrides: U2Weapon.GetAltFireAmmoUsed


GetCogAngle[edit]

simulated function float GetCogAngle ()


GetGemAngleA[edit]

simulated function float GetGemAngleA ()


GetGemAngleB[edit]

simulated function float GetGemAngleB ()


GetGemAngleC[edit]

simulated function float GetGemAngleC ()


GetGemAngleD[edit]

simulated function float GetGemAngleD ()


GetGemAngleE[edit]

simulated function float GetGemAngleE ()


GetGemAngleF[edit]

simulated function float GetGemAngleF ()


GetGrenadeAngle[edit]

simulated function float GetGrenadeAngle ()


GetGrenadeTypeStr[edit]

simulated function string GetGrenadeTypeStr ()


GetNumAmmoTypes[edit]

function int GetNumAmmoTypes ()

Overrides: Weapon.GetNumAmmoTypes


GiveMoreAmmo[edit]

function GiveMoreAmmo (Pawn Other, class<AmmunitionMoreAmmo)


HasAmmo[edit]

simulated function bool HasAmmo ()

Overrides: Weapon.HasAmmo


HasAnyAmmo[edit]

simulated function bool HasAnyAmmo ()

Overrides: Weapon.HasAnyAmmo


NextGrenade[edit]

simulated function NextGrenade ()


NotifyAddInventory[edit]

function NotifyAddInventory (Pawn Other)

Overrides: Inventory.NotifyAddInventory


NotifyHideAmmo[edit]

simulated function NotifyHideAmmo (string GrenadeType)


NotifyPlaySoundSlot[edit]

simulated function NotifyPlaySoundSlot (string Slot)

Overrides: U2Weapon.NotifyPlaySoundSlot


NotifyShowAmmo[edit]

simulated function NotifyShowAmmo (string GrenadeType)


PostSetAimingParameters[edit]

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

Overrides: U2Weapon.PostSetAimingParameters


PreSetAimingParameters[edit]

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

Overrides: U2Weapon.PreSetAimingParameters


SetAmmoType[edit]

function bool SetAmmoType (int SelectionIndex)

Overrides: Weapon.SetAmmoType


SetAmmoTypeStr[edit]

function bool SetAmmoTypeStr (string AmmoString)

Overrides: Weapon.SetAmmoTypeStr


SetCrosshair[edit]

simulated function SetCrosshair ()

Overrides: U2Weapon.SetCrosshair


SetGrenade[edit]

simulated function SetGrenade (int i, ammoInvGrenade G, optional bool bNoReload, optional bool bNoMeshSet)


SetGrenadeType[edit]

function SetGrenadeType (int Index)


States[edit]

AltFiring[edit]

Inherits from: U2Weapon.AltFiring

Modifiers: simulated

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 (class<ProjectileProjClass)

Overrides: U2Weapon.ProjectileFire (global)