My program doesn't have bugs. It just develops random features.

UE2:XMPVehicleBarrel internal variables (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Pawn >> XMPVehicleBarrel (internal variables)

;Other member categories for this class::instance functions

Internal variables[edit]

AdjustedAim[edit]

Type: Object.Rotator


bAmbientFireSound[edit]

Type: bool


BarrelNumber[edit]

Type: int


BarrelOffset[edit]

Type: Object.Vector


BaseMesh[edit]

Type: StaticMesh


bAutoFire[edit]

Type: bool

When set to true.. begin auto fire sequence (used to play looping anims)

bForceAltFire[edit]

Type: bool


bForceFire[edit]

Type: bool


bGlowing[edit]

Type: bool

Whether the crosshair is currently glowing.

bInstantHit[edit]

Type: bool


bPendingAltFire[edit]

Type: bool


bPendingFire[edit]

Type: bool


bRapidFire[edit]

Type: bool

used by pawn animations in determining firing animation, and for net replication (set for high rate of fire weapons)

bRepeatFire[edit]

Type: bool

automatic refire support

Default value: True

bSteadyToggle[edit]

Type: bool


bUseMe[edit]

Type: bool


Default value: True

Crosshair[edit]

Type: string

UI event to send when switching to the weapon to show the crosshair.

Damage[edit]

Type: int


DisplayFOV[edit]

Type: float

FOV for drawing the weapon in first person view

DriverViewMesh[edit]

Type: StaticMesh


EnergyCost[edit]

Type: float


Default value: 5.0E-4

FireOffset[edit]

Type: Object.Vector


FirePitch[edit]

Type: Object.Range


FireSound[edit]

Type: Sound


FireTime[edit]

Type: float


FireTimer[edit]

Type: float


FiringOffset[edit]

Type: Object.Vector


FiringSpeed[edit]

Type: float

used by human animations to determine the appropriate speed to play firing animations

Instigator[edit]

Type: Pawn


LastTargetName[edit]

Type: string

Last viewed target name (for TargetID).

MaxRange[edit]

Type: float

max range of weapon for non-trace hit attacks

MomentumTransfer[edit]

Type: float


MyCabViewModel[edit]

Type: XMPVehicleCabViewModel


MyDamageType[edit]

Type: class<DamageType>


MyFlashCount[edit]

Type: byte


MyTurret[edit]

Type: XMPVehicleTurret


NameColor[edit]

Type: Object.Color

used when drawing name on HUD

OfflineSound[edit]

Type: Sound


OldWeaponStateFiring[edit]

Type: bool


OldWeaponStateIdle[edit]

Type: bool


OwnedBySVehicle[edit]

Type: bool


ProjectileClass[edit]

Type: class<Projectile>


ProjectileFireStartLocation[edit]

Type: Object.Vector


RefireRate[edit]

Type: float


ShakeMag[edit]

Type: float


ShakeTime[edit]

Type: float


StopFiringTime[edit]

Type: float

repeater weapons use this

TempTimer[edit]

Type: float

!!tbd

TraceAccuracy[edit]

Type: float


TraceDist[edit]

Type: float

how far instant hit trace fires go

TraceFireStartLocation[edit]

Type: Object.Vector


TraceSpread[edit]

Type: float


WarnTargetPct[edit]

Type: float


WeaponStateFiring[edit]

Type: bool


WeaponStateIdle[edit]

Type: bool