;RPG7 weapon spec v1.0
;Mesh, Textures by Oleg Sergev and Jake Cotton
;Animation by Jake Cotton aka EAI (Errant AI) (c)2009 - errant_ai@yahoo.com
;Enhanced for AirMod 0.6.  Includes optional 3D scope animations and basic melee animation. Defaults to weaponisammo use but can be easily changes to a reloading weapon although the warhead will still be visible when ammo gone.

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
;MOD USERS must uncomment the following setting for "simplezoom" to activate 3D simplezoom scope. The value may be any whole number from 0-8.  I reccomend 4 or 5.

;simplezoom	= 4

;MOD USERS use scope1.dds for default zooming and use scope2.dds for 3D simplezoom scope. 

zoomscope	= scope1.dds
;zoomscope	= scope2.dds

;MOD USERS should also change the flak to counter a graphical bug which causes the projectile model to rotate 180 degrees.

flak		= eai\rpg7
;flak		= eai\rpg7mod

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

;GUN Model File Requirements

;GUN Settings
MUZZLECOLORR	= 252
MUZZLECOLORG	= 150
MUZZLECOLORB	= 54
muzzleflash	= 4
muzzlesize	= 20
brass		= 4
smokedecal	= blackpuff
smokespeed	= 60
reloadqty		= 1
zoommode	= 1
zoomaccuracy	= 10
weaponisammo	= 1
;nohidewhenoutofammo = 1

;GUN Visuals
textured		= 
effect		= effectbank\BumpCubeReflectAlpha\BumpCubeReflectAlpha.fx
transparency	= 0
weapontype	= 5

;GUN Sounds
sound1		= fire.wav
sound2		= reload.wav
sound3		= dryfire.wav 
sound4		= putaway.wav
fireloop		= 3000

;HUD muzzleflash position
horiz		= 0
vert		= 0
forward		= 0
alignx		= 0.5
aligny		= 0
alignz		= 150
zoomalignx	= 0
zoomaligny	= -3
zoomalignz	= 100

;HUD animation frames list
keyframe ratio = 1
select		= 3,15
idle		= 18,58
move		= 59,83
start fire		= 87,90
end fire		= 91,174
;end fire		= 91,96
;reload        	= 97,174
discard		= 191,199
putaway		= 181,189

;HUD sound frames list
soundframes	= 5
sframe0		= 87,1
sframe1		= 4,4
sframe2		= 97,2
sframe3		= 87,1
sframe4		= 319,2

;AirMod Settings
forcezoomout	= 1
nofullreload	= 1
runy		= 1
gunlagspeed	= 14
gunlagxmax	= 14
gunlagymax	= 2
recoily		= 10
recoilyreturn	= 90
recoilx		= 5
recoilxreturn	= 90
zoomwalkspeed	= 0.25
zoomturnspeed	= 0.1
zoomgunlagspeed	= 7
zoomgunlagxmax	= 2
zoomgunlagymax	= 1
zoomrecoily	= 10
zoomrecoilyreturn   = 99
zoomrecoilx	= 5
zoomrecoilxreturn   = 90
simplezoommod	= 0
simplezoomx	= 0
simplezoomy	= 0
simplezoomspeed	= 7
simplezoomanim	= 1
simplezoomflash 	= 1

melee start	= 423,430
melee end	= 431,450

zoomto		= 207,213
zoomfrom		= 214,220
zoom select	= 224,237
zoom idle		= 240,240
zoom move	= 281,305
zoom start fire	= 309,312
zoom end fire	= 313,394
;zoom end fire	= 313,318
;zoom reload        	= 319,396
;zoom discard	= 413,421
zoom putaway	= 303,311