I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:WeaponTurretMounted (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
U2XMP Object >> Actor >> Inventory >> Weapon >> U2Weapon >> WeaponTurretMounted
Package: 
U2XMP

$Workfile: weaponTurretMounted.uc $ Created By: Sam Brown Created On: 1/14/00 $Author: Ascheidecker $ $Date: 11/28/02 10:11p $ $Revision: 24 $

Properties

Property group 'weaponTurretMounted'

DrawTracerFrequency

Type: int

Draw a tracer every this number of rounds, if 0 tracer will not be drawn.

FireTimeMax

Type: float


FireTimeMin

Type: float

Used for varying FireTime based on difficulty

Internal variables

bAmbientFireSound

Type: bool


bLeftBarrel

Type: bool


Default value: True

FireRotation

Type: Object.Rotator


FireStartLocation

Type: Object.Vector


LeftBarrel

Type: Object.Vector


LeftBarrelRot

Type: Object.Rotator


RightBarrel

Type: Object.Vector


RightBarrelRot

Type: Object.Rotator


TracerCount

Type: int


TryToHitInstantBaseDistance

Type: float


Default value: 1024.0

TryToHitInstantBaseOddsMax

Type: float


Default value: 0.625

TryToHitInstantBaseOddsMin

Type: float


Default value: 0.125

TryToHitInstantMaxHitDistance

Type: float


Default value: 9999999.0

TryToHitInstantMinMissDistance

Type: float


Default value: 256.0

TryToHitProjectileBaseOddsMax

Type: float


TryToHitProjectileBaseOddsMin

Type: float


Default values

Property Value
bDisableTick True

Instance functions

AuthorityFire

function AuthorityFire ()

Overrides: U2Weapon.AuthorityFire


ClearTracers

simulated function ClearTracers ()


ClientTraceImpact

simulated function ClientTraceImpact (Actor.CheckResult Hit)

Overrides: U2Weapon.ClientTraceImpact


EverywhereFire

simulated function EverywhereFire ()

Overrides: U2Weapon.EverywhereFire


Fire

simulated function Fire ()

Overrides: U2Weapon.Fire


GetAltFireAmmoUsed

simulated function int GetAltFireAmmoUsed ()

Overrides: U2Weapon.GetAltFireAmmoUsed


GetFireAmmoUsed

simulated function int GetFireAmmoUsed ()

Overrides: U2Weapon.GetFireAmmoUsed


GetFireOffset

function Object.Vector GetFireOffset ()


GetFireRotation

function Object.Rotator GetFireRotation ()


GetFireTime

function float GetFireTime ()


MaybeAdjustTargetLocation

function MaybeAdjustTargetLocation (Actor TargetActor, float TargetDistance, float SpreadDegrees, float TryToHitBaseOddsMin, float TryToHitBaseOddsMax, float TryToHitBaseDistance, float TryToHitMinMissDistance, float TryToHitMaxHitDistance, out Object.Vector TargetLocation)


PlayAnimEx

simulated function PlayAnimEx (name Sequence)

Overrides: U2Weapon.PlayAnimEx


PlayFiring

simulated function PlayFiring ()

Overrides: U2Weapon.PlayFiring


ProcessTraceHitEx

function ProcessTraceHitEx (Object.Vector HitDirection, Actor.CheckResult Hit, float EffectiveDamage)

Overrides: U2Weapon.ProcessTraceHitEx


ProjectileFire

function Projectile ProjectileFire (class<ProjectileProjClass)

Overrides: U2Weapon.ProjectileFire


SetFireStartLocations

function SetFireStartLocations ()

Overrides: U2Weapon.SetFireStartLocations


TraceFire

function TraceFire (float Accuracy)

Overrides: U2Weapon.TraceFire


UpdateTracer

simulated function UpdateTracer (Actor.CheckResult Hit)


States

Firing

Inherits from: U2Weapon.Firing

Modifiers: simulated

Ignores: AltFire, Fire

Firing.BeginState

simulated event BeginState ()

Overrides: U2Weapon.Firing.BeginState


Firing.EndState

simulated event EndState ()

Overrides: U2Weapon.Firing.EndState


Idle

Inherits from: U2Weapon.Idle

Modifiers: simulated