Gah - a solution with more questions. – EntropicLqd
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
Property group 'SniperFire'
DamageTypeHeadShot
Type: class<DamageType>
Default value: Class'XWeapons.DamTypeSniperHeadShot'
HeadShotDamageMult
Type: float
Default value: 2.0
HitEmitterClass
Default value: Class'XWeapons.NewLightningBolt'
NumArcs
Type: int
Default value: 3
SecDamageMult
Type: float
Default value: 0.5
SecHitEmitterClass
Default value: Class'XEffects.ChildLightningBolt'
SecTraceDist
Type: float
Default value: 300.0
Property group 'tweak'
offsetadj
Type: float
Default values
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
DoTrace
function DoTrace (Object.Vector Start, Object.Rotator Dir)
Overrides: InstantFire.DoTrace
PlayFiring
function PlayFiring ()
Overrides: WeaponFire.PlayFiring