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
Object >> WeaponFire >> InstantFire >> SniperFire |
Contents
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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]
Default value: Class'XWeapons.NewLightningBolt'
NumArcs[edit]
Type: int
Default value: 3
SecDamageMult[edit]
Type: float
Default value: 0.5
SecHitEmitterClass[edit]
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 |
|
||||||||
ShakeOffsetRate |
|
||||||||
ShakeOffsetTime | 1.6 | ||||||||
ShakeRotMag |
|
||||||||
ShakeRotRate |
|
||||||||
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