-
Notifications
You must be signed in to change notification settings - Fork 0
/
PatGunAltFire.uc
56 lines (50 loc) · 1.62 KB
/
PatGunAltFire.uc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//=============================================================================
// HuskGunFire
//=============================================================================
// Husk Gun primary fire class
//=============================================================================
// Killing Floor Source
// Copyright (C) 2011 Tripwire Interactive LLC
// - John "Ramm-Jaeger" Gibson
//=============================================================================
class PatGunAltFire extends KFShotgunFire;
simulated function bool AllowFire()
{
return (Weapon.AmmoAmount(ThisModeNum) >= AmmoPerFire);
}
function float MaxRange()
{
return 5000;
}
function DoFireEffect()
{
Super(KFShotgunFire).DoFireEffect();
}
defaultproperties
{
CrouchedAccuracyBonus=0.100000
KickMomentum=(X=-0.000000,Z=0.000000)
maxVerticalRecoilAngle=1000
maxHorizontalRecoilAngle=250
bRandomPitchFireSound=False
FireSoundRef="KF_LAWSnd.LAW_Fire"
StereoFireSoundRef="KF_LAWSnd.LAW_FireST"
NoAmmoSoundRef="KF_LAWSnd.LAW_DryFire"
ProjPerFire=1
ProjSpawnOffset=(X=50.000000,Z=0.000000)
bSplashDamage=True
bRecommendSplashDamage=True
TransientSoundVolume=1.800000
FireForce="redeemer_shoot"
FireRate=1.250000
AmmoClass=Class'ServerPerksDZ.PatrocketAmmo'
ShakeRotMag=(X=50.000000,Y=50.000000,Z=400.000000)
ShakeRotRate=(X=12500.000000,Y=12500.000000,Z=12500.000000)
ShakeRotTime=5.000000
ShakeOffsetMag=(X=6.000000,Y=2.000000,Z=10.000000)
ShakeOffsetRate=(X=1000.000000,Y=1000.000000,Z=1000.000000)
ShakeOffsetTime=3.000000
ProjectileClass=Class'PatGunProj'
BotRefireRate=2.250000
Spread=0.100000
}