Always snap to grid

UE2:ONSArtilleryCannon (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> ONSWeapon >> ONSArtilleryCannon
Package: 
OnslaughtBP


Properties[edit]

Property group 'ONSArtilleryCannon'[edit]

TrajectoryErrorFactor[edit]

Type: float


Default value: 150.0

Internal variables[edit]

bCanHitTarget[edit]

Type: bool


bHoldingFire[edit]

Type: bool


CameraAttempts[edit]

Type: int


CameraLaunchWait[edit]

Type: float


Default value: 5.0

ChargedLoop[edit]

Type: Sound


ChargingSound[edit]

Type: Sound


LastAim[edit]

Type: Object.Rotator


LastBeepTime[edit]

Type: float


LastCameraLaunch[edit]

Type: float


LastMortarShell[edit]

Type: ONSMortarShell


LastWeaponCharge[edit]

Type: float


MaxHoldTime[edit]

Type: float

wait this long between shots for full damage

Default value: 1.5

MaxSpeed[edit]

Type: float


Default value: 4000.0

MinSpeed[edit]

Type: float


Default value: 2000.0

MortarCamera[edit]

Type: ONSMortarCamera


MortarShell[edit]

Type: ONSMortarShell


MortarSpeed[edit]

Type: float


PredicatedTimeToImpact[edit]

Type: float


PredictedTargetLocation[edit]

Type: Object.Vector


StartHoldTime[edit]

Type: float


TargetPredictionTimeStep[edit]

Type: float


Default value: 0.3

WeaponCharge[edit]

Type: float


Default value: 0.25

Default values[edit]

Property Value
AIInfo[0]
Member Value
bLeadTarget True
bTossed True
bTrySplash True
RefireRate 0.99
WarnTargetPct 1.0
AIInfo[1]
Member Value
bLeadTarget True
bTossed True
bTrySplash True
RefireRate 0.99
WarnTargetPct 1.0
AltFireInterval 4.0
AltFireProjectileClass Class'OnslaughtBP.ONSMortarCamera'
AltFireSoundClass Sound'ONSBPSounds.Artillery.ArtilleryFire'
BlueSkin Texture'ONSBPTextures.Skins.SPMAGreen'
bShowAimCrosshair False
bShowChargingBar True
EffectEmitterClass Class'OnslaughtBP.ONSArtilleryCannonMuzzleFlash'
FireForce "Explosion05"
FireInterval 4.0
FireSoundClass Sound'ONSBPSounds.Artillery.ArtilleryFire'
FireSoundVolume 512.0
Mesh Mesh'ONSBPAnimations.ArtilleryCannonMesh'
PitchBone 'Gun'
PitchDownLimit 65535
PitchUpLimit 12000
ProjectileClass Class'OnslaughtBP.ONSMortarShell'
RedSkin Texture'ONSBPTextures.Skins.SPMATan'
RotateSound Sound'ONSBPSounds.Artillery.CannonRotate'
RotationsPerSecond 0.18
ShakeOffsetMag
Member Value
Z 10.0
ShakeOffsetRate
Member Value
Z 200.0
ShakeOffsetTime 10.0
ShakeRotMag
Member Value
Z 250.0
ShakeRotRate
Member Value
Z 2500.0
ShakeRotTime 6.0
Spread 0.015
WeaponFireAttachmentBone 'CannonFirePoint'
WeaponFireOffset 200.0
YawBone 'BigGunbase'

Functions[edit]

Static functions[edit]

StaticPrecache[edit]

static function StaticPrecache (LevelInfo L)

Overrides: ONSWeapon.StaticPrecache


Events[edit]

AttemptFire[edit]

event bool AttemptFire (Controller C, bool bAltFire)

Overrides: ONSWeapon.AttemptFire


FlashMuzzleFlash[edit]

simulated event FlashMuzzleFlash ()

Overrides: ONSWeapon.FlashMuzzleFlash


OwnerEffects[edit]

simulated event OwnerEffects ()

Overrides: ONSWeapon.OwnerEffects


Other instance functions[edit]

AdjustAim[edit]

function Object.Rotator AdjustAim (bool bAltFire)

Overrides: ONSWeapon.AdjustAim


AllowCameraLaunch[edit]

function AllowCameraLaunch ()


BestMode[edit]

function byte BestMode ()

Overrides: ONSWeapon.BestMode


CalcZSpeed[edit]

function float CalcZSpeed (float XYSpeed, float FlightSize, float FlightZ)


CanAttack[edit]

function bool CanAttack (Actor Other)

Overrides: ONSWeapon.CanAttack


ChargeBar[edit]

simulated function float ChargeBar ()

Overrides: ONSWeapon.ChargeBar


NotifyDeployed[edit]

simulated function NotifyDeployed ()


PredictTarget[edit]

simulated function PredictTarget ()


ServerSetWeaponCharge[edit]

function ServerSetWeaponCharge (float Charge)


SetMuzzleVelocity[edit]

function Object.Vector SetMuzzleVelocity (Object.Vector Start, Object.Vector End, float StartXYPct)


SetWeaponCharge[edit]

simulated function SetWeaponCharge (float Charge)


SpawnProjectile[edit]

function Projectile SpawnProjectile (class<ProjectileProjClass, bool bAltFire)

Overrides: ONSWeapon.SpawnProjectile


UpdatePrecacheMaterials[edit]

simulated function UpdatePrecacheMaterials ()

Overrides: Actor.UpdatePrecacheMaterials


UpdatePrecacheStaticMeshes[edit]

simulated function UpdatePrecacheStaticMeshes ()

Overrides: Actor.UpdatePrecacheStaticMeshes