;MP40 weapon spec

Weapon rerigged and animated by Joakim Olsson
Hands edited by Joakim after Sebastian Kim's basemesh

;GUN Model File Requirements

;GUN Settings

muzzleflash    = 1
muzzlesize     = 200
brass          = 1
smoke          = 1
second         = 0
damage         = 7
damagetype     = 1
scorchtype     = 1
reloadqty      = 32
iterate        = 1
accuracy       = 10
zoommode       = 0

;GUN Visuals

textured      = gun_D2.tga
effect        = effectbank\phong_bump_specular\phong_bump_specular.fx
transparency  = 2
weapontype    = 2

;GUN Sounds
sound1	       = fire.wav
sound2	       = reload.wav
sound3         = dryfire.wav
sound4         = zoom.wav
sound5         = cock.wav
fireloop       = 4000



;HUD muzzleflash position

horiz          = 0
vert           = 2
forward        = -2
alignx         = 18
aligny         = -6
alignz         = 140



;HUD animation frames list

keyframe ratio = 1
select         = 0,17
Idle           = 18,51
Move           = 55,70
Start fire     = 72,75
automatic fire = 76,82
end fire       = 83,86
reload         = 88,131
;reload		= 139,193

useempty = 1
empty reload = 139,193


putaway	       = 1025,1040

run		= 586,604


;HUD sound frames list

soundframes    = 4
sframe0        = 72,1
sframe1        = 145,2
sframe3		= 94,2
sframe2        = 170,5

;Airmod conditions graciously added by Shadowtroid

firerate = 6

zoomto =207,212
zoom idle =213,233
zoom move =236,259
zoom start fire =261,264
zoom automatic fire =265,271
zoom end fire = 272,276
zoomfrom =279,284

simplezoom = 1
simplezoomacc = 1
simplezoomy = 0.1
simplezoomx = -0.2
simplezoomanim = 1
simplezoomflash = 1

zoomalignx         = 0
zoomaligny         = -6
zoomalignz         = 140

melee start 	= 714,719
melee end	= 720,733

nofullreload = 1
chamberedround	= 1

simplezoomspeed=6
runy = -7
runaccuracy = 60
forcezoomout =1
recoily = 50
recoilyreturn = 85
recoilxreturn = 80

zoomrecoily = 10
zoomrecoilyreturn = 90
zoomrecoilx = 1.5
zoomrecoilxreturn = 95

gunlagspeed = 9
gunlagxmax =3
gunlagymax = 3
zoomgunlagspeed = 6
zoomgunlagxmax = 4
zoomgunlagymax = 6

zoomwalkspeed = 0.4
zoomturnspeed = 0.15

alternateisray = 1
altreloadqty = 35
altiterate = 1
altrange = 3000
altdamage = 7
altaccuracy = 6
altrecoily = 75
altrecoilx = 15
altrecoilyreturn = 70
altrecoilxreturn = 80

altto = 421,470
altfrom = 376,420
alt Start fire     = 72,75
alt automatic fire = 76,82
alt end fire       = 83,86
alt idle = 18,51
alt move = 54,70
alt reload = 139,198
alt putaway = 1026,1040
alt select         = 0,17
altfireloop = 2000
altmuzzleflash = 4
altsound1 = fire.wav

