UE2:ONSWeapon (UT2004)
- Package:
- Onslaught
- Direct subclasses:
- ONSRVWebLauncher, ONSArtilleryCannon, ONSArtillerySideGun, ONSAttackCraftGun, ONSBombDropper, ONSDualACGatlingGun, ONSHoverBikePlasmaGun, ONSHoverTankCannon, ONSLinkableWeapon, ONSMASCannon, ONSMASRocketPack, ONSMASSideGun, ONSManualGun, ONSPRVRearGun, ONSPRVSideGun, ONSShockTankCannon, ONSTankSecondaryTurret
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. |
Properties
Property group 'ONSWeapon'
See ONSWeapon property group ONSWeapon.
Internal variables
AIInfo
Type: ONSWeaponAIInfo
Array size: 2
Default value, index 0:
Member | Value |
---|---|
AimError | 600.0 |
RefireRate | 0.9 |
Default value, index 1:
Member | Value |
---|---|
AimError | 600.0 |
RefireRate | 0.9 |
AimLockReleaseTime
Type: float
when this time is reached gun can move again
AimTraceRange
Type: float
AmbientEffectEmitter
Type: ONSWeaponAmbientEmitter
bActive
Type: bool
bCallInstigatorPostRender
Type: bool
if Instigator exists, during this actor's native PostRender(), call Instigator->PostRender() (used when weapon is visible but owner is bHidden)
bCorrectAim
Type: bool
Modifiers: const
Default value: True
bDoOffsetTrace
Type: bool
trace from outside vehicle's collision back towards weapon to determine firing offset
bForceCenterAim
Type: bool
bInstantRotation
Type: bool
NOTE: Gradual rotation via RotationsPerSecond still used for non-owning net clients to smooth rotation changes
bIsAltFire
Type: bool
bIsRepeatingFF
Type: bool
bShowChargingBar
Type: bool
CurrentAim
Type: Object.Rotator
CurrentHitLocation
Type: Object.Vector
DamageMax
Type: int
Default value: 6
DamageMin
Type: int
Default value: 6
DamageType
Type: class<DamageType>
Default value: Class'XWeapons.DamTypeMinigunBullet'
DebugInfo
Type: string
EffectEmitter
Type: Emitter
FireCountdown
Type: float
FlashCount
Type: byte
Incremented each frame of firing
FlashEmitter
Type: Emitter
HitCount
Type: byte
Incremented each time a hit effect occurs
LastHitLocation
Type: Object.Vector
Location of the last hit effect
LastRotation
Type: Object.Rotator
Momentum
Type: float
Default value: 1.0
OldFlashCount
Type: byte
Stores the last FlashCount received
OldHitCount
Type: byte
Projectiles
Type: array<Projectile>
RotateSoundThreshold
Type: float
threshold in rotator units for RotateSound to play
Default value: 50.0
RotationsPerSecond
Type: float
Default value: 0.75
SavedFireProperties
Type: Actor.FireProperties
Array size: 2
Spread
Type: float
Team
Type: byte
TraceRange
Type: float
Default value: 10000.0
WeaponFireLocation
Type: Object.Vector
WeaponFireRotation
Type: Object.Rotator
WeaponOffset
Type: Object.Vector
YawConstraintDelta
Type: float
Default values
Property | Value |
---|---|
bBlockNonZeroExtentTraces | False |
bBlockZeroExtentTraces | False |
bIgnoreEncroachers | True |
bNoRepMesh | True |
bReplicateInstigator | True |
DrawType | DT_Mesh |
NetUpdateFrequency | 5.0 |
RemoteRole | ROLE_SimulatedProxy |
SoundRadius | 100.0 |
SoundVolume | 255 |
Structs
ONSWeaponAIInfo
Modifiers: native
- bool bTossed
- bool bTrySplash
- bool bLeadTarget
- bool bInstantHit
- bool bFireOnRelease
- float AimError
- float WarnTargetPct
- float RefireRate
Functions
Static functions
StaticPrecache
Native functions
LimitPitch
Events
AttemptFire
ClientSpawnHitEffects
Destroyed
Overrides: Actor.Destroyed
FlashMuzzleFlash
OwnerEffects
PostBeginPlay
Overrides: Actor.PostBeginPlay
PostNetBeginPlay
Overrides: Actor.PostNetBeginPlay
Other instance functions
AdjustAim
AltFire
BestMode
CalcWeaponFire
CanAttack
CeaseFire
ChargeBar
ClientPlayForceFeedback
ClientStartFire
ClientStopFire
DestroyEffects
DisplayDebug
Overrides: Actor.DisplayDebug
DoCombo
Fire
InitEffects
MaxRange
SetFireRateModifier
SetGRI
Overrides: Actor.SetGRI
SetTeam
ShakeView
SimulateTraceFire
SpawnBeamEffect
SpawnHitEffects
SpawnProjectile
StopForceFeedback
TraceFire
WeaponCeaseFire
States
InstantFireMode
InstantFireMode.ClientSpawnHitEffects
Overrides: ClientSpawnHitEffects (global)
InstantFireMode.AltFire
Overrides: AltFire (global)
InstantFireMode.Fire
Overrides: Fire (global)
InstantFireMode.SpawnHitEffects
Overrides: SpawnHitEffects (global)
ProjectileFireMode
ProjectileFireMode.AltFire
Overrides: AltFire (global)
ProjectileFireMode.Fire
Overrides: Fire (global)