Cogito, ergo sum

UE2:ONSDualACSideGun (UT2004)

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

ONSDaulACSideGun - (C) 2004, Epic Games Joe Wilcox

This is the primary weapon the Cicada.

Properties

bDumpingLoad

Type: bool

Are we dumping our load of rockets?

bFiresRight

Type: bool

If true, this weapon will eject shells to the right instead of the left

bLocked

Type: bool

If true all shots are locked to the vector below

bSkipFire

Type: bool

If true, it ignore this shot and pass it to it's linked weapon

FireControl

Type: Controller

Temp. Storage of who is doing the firing.

LoadedShotCount

Type: int


LockedTarget

Type: Object.Vector

If bLocked, all missiles will home to this location

LockPosition

Type: Object.Vector

position when locked on

MaxShotCount

Type: int

LoadedShotCount = # of shots loaded, MaxShotCount = Max # to load

Default value: 16

ReloadSound

Type: Sound

Sound to play when loading a rocket

RelockTime

Type: float

Time before we can reacquire a lock

Default values

Property Value
AIInfo[0]
Member Value
bLeadTarget True
bTrySplash True
RefireRate 0.99
WarnTargetPct 0.5
AIInfo[1]
Member Value
bLeadTarget False
bTrySplash True
RefireRate 0.99
WarnTargetPct 0.2
AltFireInterval 0.33
AltFireProjectileClass Class'OnslaughtBP.ONSDualACRocket'
AltFireSoundClass Sound'CicadaSnds.Missile.MissileEject'
AltFireSoundVolume 70.0
bInstantRotation True
CullDistance 7000.0
FireSoundClass Sound'CicadaSnds.Missile.MissileEject'
FireSoundVolume 70.0
Mesh Mesh'ONSBPAnimations.DualAttackCraftSideGunMesh'
PitchBone 'RL_Right'
PitchDownLimit 50000
PitchUpLimit 18000
ProjectileClass Class'OnslaughtBP.ONSDualACRocket'
RotationsPerSecond 0.09
WeaponFireAttachmentBone 'FirePoint'
YawBone 'RL_Right'
YawEndConstraint 5000.0
YawStartConstraint -5000.0

Functions

Events

AttemptFire

event bool AttemptFire (Controller C, bool bAltFire)

Overrides: ONSLinkableWeapon.AttemptFire


OwnerEffects

simulated event OwnerEffects ()

Overrides: ONSWeapon.OwnerEffects


Timer

event Timer ()

Overrides: Actor.Timer


Other instance functions

BestMode

function byte BestMode ()

Overrides: ONSWeapon.BestMode


CanAttack

function bool CanAttack (Actor Other)

Overrides: ONSWeapon.CanAttack


ChangeTargetLock

function ChangeTargetLock ()


ClientStopFire

simulated function ClientStopFire (Controller C, bool bWasAltFire)

Overrides: ONSWeapon.ClientStopFire


FindInitialTarget

function Object.Vector FindInitialTarget (Object.Vector Start, Object.Rotator Dir)


FireSingle

function FireSingle (Controller C, bool bAltFire, optional bool bDontSkip)


RemoveLock

function RemoveLock ()


SpawnProjectile

function Projectile SpawnProjectile (class<ProjectileProjClass, bool bAltFire)

Overrides: ONSWeapon.SpawnProjectile


SpawnTargetBeam

function SpawnTargetBeam ()


WeaponCeaseFire

function WeaponCeaseFire (Controller C, bool bWasAltFire)

Overrides: ONSWeapon.WeaponCeaseFire