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

UE2:ONSWeapon property group ONSWeapon (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> ONSWeapon (property group ONSWeapon)

Property group 'ONSWeapon'[edit]

AltFireForce[edit]

Type: string


AltFireInterval[edit]

Type: float


AltFireProjectileClass[edit]

Type: class<Projectile>


AltFireSoundClass[edit]

Type: Sound


AltFireSoundRadius[edit]

Type: float


Default value: 300.0

AltFireSoundVolume[edit]

Type: float


Default value: 160.0

AmbientEffectEmitterClass[edit]

Type: class<ONSWeaponAmbientEmitter>


AmbientSoundScaling[edit]

Type: float


Default value: 1.0

bAimable[edit]

Type: bool


Default value: True

bAmbientAltFireSound[edit]

Type: bool


bAmbientFireSound[edit]

Type: bool


bDualIndependantTargeting[edit]

Type: bool

When using a DualFireOffset each shot will be independantly targeted at the crosshair

bInheritVelocity[edit]

Type: bool


bInstantFire[edit]

Type: bool


BlueSkin[edit]

Type: Material


bReflective[edit]

Type: bool


bShowAimCrosshair[edit]

Type: bool

Show the crosshair that indicates whether aim is good or not

Default value: True

DualFireOffset[edit]

Type: float


EffectEmitterClass[edit]

Type: class<Emitter>


FireForce[edit]

Type: string


FireInterval[edit]

Type: float


Default value: 0.5

FireIntervalAimLock[edit]

Type: float

fraction of FireInterval/AltFireInterval during which you can't move the gun

FireSoundClass[edit]

Type: Sound


FireSoundPitch[edit]

Type: float


Default value: 1.0

FireSoundRadius[edit]

Type: float


Default value: 300.0

FireSoundVolume[edit]

Type: float


Default value: 160.0

FlashEmitterClass[edit]

Type: class<Emitter>


GunnerAttachmentBone[edit]

Type: name


PitchBone[edit]

Type: name


PitchDownLimit[edit]

Type: int


Default value: 60000

PitchUpLimit[edit]

Type: int


Default value: 5000

ProjectileClass[edit]

Type: class<Projectile>


RedSkin[edit]

Type: Material


RotateSound[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

WeaponFireAttachmentBone[edit]

Type: name


WeaponFireOffset[edit]

Type: float


YawBone[edit]

Type: name


YawEndConstraint[edit]

Type: float


Default value: 65535.0

YawStartConstraint[edit]

Type: float