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

UE2:SniperFire (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> WeaponFire >> InstantFire >> SniperFire
Package: 
XWeapons
This class in other games:
UT2003

null

Properties[edit]

Property group 'SniperFire'[edit]

DamageTypeHeadShot[edit]

Type: class<DamageType>


Default value: Class'XWeapons.DamTypeSniperHeadShot'

HeadShotDamageMult[edit]

Type: float


Default value: 2.0

HitEmitterClass[edit]

Type: class<xEmitter>


Default value: Class'XWeapons.NewLightningBolt'

NumArcs[edit]

Type: int


Default value: 3

SecDamageMult[edit]

Type: float


Default value: 0.5

SecHitEmitterClass[edit]

Type: class<xEmitter>


Default value: Class'XEffects.ChildLightningBolt'

SecTraceDist[edit]

Type: float


Default value: 300.0

Property group 'tweak'[edit]

offsetadj[edit]

Type: float


Default values[edit]

Property Value
AimError 850.0
AmmoClass Class'XWeapons.SniperAmmo'
AmmoPerFire 1
BotRefireRate 0.4
DamageMax 70
DamageMin 70
DamageType Class'XWeapons.DamTypeSniperShot'
FireAnimRate 1.25
FireForce "LightningGunFire"
FireRate 1.6
FireSound Sound'WeaponSounds.BLightningGunFire'
ShakeOffsetMag
Member Value
X -15.0
Y 0.0
Z 10.0
ShakeOffsetRate
Member Value
X -4000.0
Y 0.0
Z 4000.0
ShakeOffsetTime 1.6
ShakeRotMag
Member Value
X 0.0
Y 0.0
Z 0.0
ShakeRotRate
Member Value
X 0.0
Y 0.0
Z 0.0
ShakeRotTime 2.0
TraceRange 17000.0
WarnTargetPct 0.5

Instance functions[edit]

DoTrace[edit]

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

Overrides: InstantFire.DoTrace


PlayFiring[edit]

function PlayFiring ()

Overrides: WeaponFire.PlayFiring