Mostly Harmless
UE2:WeaponInvSniperRifle (U2XMP)
- Package:
- U2Weapons
- Direct subclass:
- WeaponInvSniperRifleSmall
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. |
WeaponInvSniperRifle.uc $Author: Aleiby $ $Date: 12/02/02 5:28p $ $Revision: 47 $
Properties
Property group 'WeaponInvSniperRifle'
AdjustZoomSound
Type: Sound
Default value: Sound'U2WeaponsA.SniperRifle.SR_Zoom'
RingDelayFactor
Type: float
Default value: 0.05
ZoomInSound
Type: Sound
Default value: Sound'U2WeaponsA.SniperRifle.SR_ScopeOn'
ZoomOutSound
Type: Sound
Default value: Sound'U2WeaponsA.SniperRifle.SR_ScopeOff'
Internal variables
Angle
Type: float
bWasZoomed
Type: bool
bZoomed
Type: bool
PawnLocation
Type: Object.Vector
track Pawn location to compute "StillTime"
Radius
Type: float
RingLoc
Type: Object.Vector
RingLocation
Type: Object.Point
StillStart
Type: float
adjust WeaponAimSpread for Bots based on StillTime
StillTime
Type: float
ZoomFOV
Type: float
Default value: 30.0
Default values
Functions
Exec functions
ZoomIn
ZoomOut
Other instance functions
See WeaponInvSniperRifle instance functions.
States
DownWeapon
Inherits from: U2Weapon.DownWeapon
Modifiers: simulated
DownWeapon.BeginState
Overrides: U2Weapon.DownWeapon.BeginState
Firing
Inherits from: U2Weapon.Firing
Modifiers: simulated
Firing.AltFire
Overrides: AltFire (global)
Reloading
Inherits from: U2Weapon.Reloading
Modifiers: simulated
Reloading.BeginState
Overrides: U2Weapon.Reloading.BeginState
Reloading.EndState
Overrides: U2Weapon.Reloading.EndState
Unloading
Modifiers: simulated
Unloading.BeginState
Overrides: Object.BeginState (global)
Unloading.EndState
Overrides: Object.EndState (global)