The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:WeaponFire property group WeaponFire (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> WeaponFire (property group WeaponFire)
WeaponFire property group WeaponFire in other games:
UT2003
Other member categories for this class:
instance functions

Property group 'WeaponFire'[edit]

AimError[edit]

Type: float

0=none 1000=quite a bit

Default value: 600.0

AmmoClass[edit]

Type: class<Ammunition>


AmmoClipSize[edit]

Type: int


AmmoPerFire[edit]

Type: int


bAttachFlashEmitter[edit]

Type: bool


bAttachSmokeEmitter[edit]

Type: bool


bFireOnRelease[edit]

Type: bool

if true, shot will be fired when button is released, HoldTime will be the time the button was held for

bInstantHit[edit]

Type: bool


Default value: True

bLeadTarget[edit]

Type: bool


bModeExclusive[edit]

Type: bool

if true, no other fire modes can be active at the same time as this one

Default value: True

BotRefireRate[edit]

Type: float


Default value: 0.95

bPawnRapidFireAnim[edit]

Type: bool

for determining what anim the firer should play

bRecommendSplashDamage[edit]

Type: bool


bReflective[edit]

Type: bool


bSplashDamage[edit]

Type: bool


bSplashJump[edit]

Type: bool


bTossed[edit]

Type: bool


bWaitForRelease[edit]

Type: bool

if true, fire button must be released between each shot

DamageAtten[edit]

Type: float

attenuate instant-hit/projectile damage by this multiplier

Default value: 1.0

FireAnim[edit]

Type: name


Default value: 'Fire'

FireAnimRate[edit]

Type: float


Default value: 1.0

FireEndAnim[edit]

Type: name


Default value: 'FireEnd'

FireEndAnimRate[edit]

Type: float


Default value: 1.0

FireForce[edit]

Type: string


FireLoopAnim[edit]

Type: name


Default value: 'FireLoop'

FireLoopAnimRate[edit]

Type: float


Default value: 1.0

FireRate[edit]

Type: float

seconds between shots

Default value: 0.5

FireSound[edit]

Type: Sound


FlashEmitter[edit]

Type: xEmitter


FlashEmitterClass[edit]

Type: class<xEmitter>


HoldTime[edit]

Type: float


Load[edit]

Type: float


MaxHoldTime[edit]

Type: float


NoAmmoForce[edit]

Type: string


NoAmmoSound[edit]

Type: Sound


PreFireAnim[edit]

Type: name


Default value: 'PreFire'

PreFireAnimRate[edit]

Type: float


Default value: 1.0

PreFireTime[edit]

Type: float

seconds before first shot

ProjectileClass[edit]

Type: class<Projectile>


ReloadAnim[edit]

Type: name


Default value: 'Reload'

ReloadAnimRate[edit]

Type: float


Default value: 1.0

ReloadForce[edit]

Type: string


ReloadSound[edit]

Type: Sound


ShakeOffsetMag[edit]

Type: Object.Vector

max view offset vertically

ShakeOffsetRate[edit]

Type: Object.Vector

how fast to offset view vertically

ShakeOffsetTime[edit]

Type: float


ShakeRotMag[edit]

Type: Object.Vector

how far to rot view

ShakeRotRate[edit]

Type: Object.Vector

how fast to rot view

ShakeRotTime[edit]

Type: float

how much time to rot the instigator's view

SmokeEmitter[edit]

Type: xEmitter


SmokeEmitterClass[edit]

Type: class<xEmitter>


Spread[edit]

Type: float

rotator units. no relation to AimError

SpreadStyle[edit]

Type: ESpreadStyle


ThisModeNum[edit]

Type: int


TweenTime[edit]

Type: float


Default value: 0.1

WarnTargetPct[edit]

Type: float


Weapon[edit]

Type: Weapon