class Clyzmweaps extends Object abstract;

//////////////////////////////////////////////////
// sounds and textures
/////////////////////////////////////////////////

#exec TEXTURE IMPORT NAME=MP5Tex1 FILE=textures\mp5.pcx GROUP=Skins
#exec TEXTURE IMPORT NAME=SawnOffTex1 FILE=textures\sawnoff.pcx GROUP=Skins
#exec TEXTURE IMPORT NAME=SawnOffTex2 FILE=textures\sawnoffbarrel.pcx GROUP=Skins
#exec TEXTURE IMPORT NAME=ShotgunTex1 FILE=textures\shotgun.pcx GROUP=Skins
#exec TEXTURE IMPORT NAME=ShotgunTex2 FILE=textures\shotgunbar.bmp GROUP=Skins
#exec TEXTURE IMPORT NAME=P90Tex1 FILE=textures\p901.bmp GROUP=Skins 
#exec TEXTURE IMPORT NAME=P90Tex2 FILE=textures\p902.bmp GROUP=Skins 
#exec TEXTURE IMPORT NAME=WaltherTex1 FILE=textures\walther1.bmp GROUP=Skins 
#exec TEXTURE IMPORT NAME=WaltherTex2 FILE=textures\walther2.bmp GROUP=Skins 
#exec TEXTURE IMPORT NAME=MP5Tex2 FILE=textures\mp1.bmp GROUP=Skins 
#exec TEXTURE IMPORT NAME=MP5Tex3 FILE=textures\mp2.bmp GROUP=Skins 
#exec TEXTURE IMPORT NAME=MP5Tex4 FILE=textures\mp3.bmp GROUP=Skins 

#exec AUDIO IMPORT FILE="Sounds\reload_mp5.wav" NAME="MP5Reload" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\reload_pumpshotgun01.wav" NAME="ShotgunReload" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\reload_sawedshotgun.wav" NAME="SawedOffReload" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\shoot_empty.wav" NAME="DryFireCustom" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\shoot_MP5.wav" NAME="MP5Fire" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\shoot_pumpshotgun.wav" NAME="ShotgunFire" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\shoot_pumpshotgun_cock.wav" NAME="ShotgunCock" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\shoot_sawedshotgun.wav" NAME="SawedOffFire" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\p90-1.wav" NAME="P90Fire" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\p90_reload1.wav" NAME="P90ReloadBegin" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\p90_reload2.wav" NAME="P90ReloadEnd" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\walther-1.wav" NAME="WaltherFire" Group="Weapons"
#exec AUDIO IMPORT FILE="Sounds\mp5-1.wav" NAME="MP5Fire2" Group="Weapons"




///////////////////////////////////////////////////
// mp51st.
///////////////////////////////////////////////////

#exec MESH IMPORT MESH=mp51st ANIVFILE=MODELS\mp51st_a.3d DATAFILE=MODELS\mp51st_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=mp51st X=15 Y=65 Z=39 // **X**(-)forward(+)back **Y**(-)right(+)left **Z**(-)up(+)down

#exec MESH SEQUENCE MESH=mp51st SEQ=All			STARTFRAME=0	NUMFRAMES=100
#exec MESH SEQUENCE MESH=mp51st SEQ=Still		STARTFRAME=0	NUMFRAMES=1
#exec MESH SEQUENCE MESH=mp51st SEQ=Select		STARTFRAME=2	NUMFRAMES=8	RATE=14
#exec MESH SEQUENCE MESH=mp51st SEQ=Shoot		STARTFRAME=11	NUMFRAMES=5		RATE=50
#exec MESH SEQUENCE MESH=mp51st SEQ=ReloadBegin	STARTFRAME=17	NUMFRAMES=4	RATE=9
#exec MESH SEQUENCE MESH=mp51st SEQ=Reload		STARTFRAME=22	NUMFRAMES=2		RATE=4
#exec MESH SEQUENCE MESH=mp51st SEQ=ReloadEnd	STARTFRAME=25	NUMFRAMES=3		RATE=9
#exec MESH SEQUENCE MESH=mp51st SEQ=Down			STARTFRAME=29	NUMFRAMES=2		RATE=8
#exec MESH SEQUENCE MESH=mp51st SEQ=Idle1			STARTFRAME=32	NUMFRAMES=2		RATE=1
#exec MESH SEQUENCE MESH=mp51st SEQ=Idle2			STARTFRAME=35	NUMFRAMES=2		RATE=2
#exec MESHMAP NEW MESHMAP=mp51st MESH=mp51st


#exec MESHMAP SCALE MESHMAP=mp51st X=0.252833 Y=0.252833 Z=0.252833
#exec MESHMAP SETTEXTURE MESHMAP=mp51st NUM=0 TEXTURE=MP5Tex2
#exec MESHMAP SETTEXTURE MESHMAP=mp51st NUM=1 TEXTURE=MP5Tex3
#exec MESHMAP SETTEXTURE MESHMAP=mp51st NUM=2 TEXTURE=BlackMaskTex
#exec MESHMAP SETTEXTURE MESHMAP=mp51st NUM=3 TEXTURE=MP5Tex4
#exec MESHMAP SETTEXTURE MESHMAP=mp51st NUM=4 TEXTURE=WeaponHandsTex
#exec MESHMAP SETTEXTURE MESHMAP=mp51st NUM=5 TEXTURE=WeaponHandsTex

#exec MESH NOTIFY MESH=mp51st SEQ=Shoot	TIME=0.01	FUNCTION=SwapMuzzleFlashTexture

///////////////////////////////////////////////////
// mp53rd.
///////////////////////////////////////////////////

#exec MESH IMPORT MESH=mp53rd ANIVFILE=MODELS\mp53rd_a.3d DATAFILE=MODELS\mp53rd_d.3d X=0 Y=0 Z=0
//#exec MESH ORIGIN MESH=mp53rd X=0 Y=0 Z=0 YAW=-64
#exec MESH ORIGIN MESH=mp53rd X=0 Y=-40 Z=-30 YAW=-64


#exec MESH SEQUENCE MESH=mp53rd SEQ=All STARTFRAME=0 NUMFRAMES=100
#exec MESHMAP NEW MESHMAP=mp53rd MESH=mp53rd

#exec MESHMAP SCALE MESHMAP=mp53rd X=0.158781 Y=0.158781 Z=0.158781
#exec MESHMAP SETTEXTURE MESHMAP=mp53rd NUM=0 TEXTURE=MP5Tex2
#exec MESHMAP SETTEXTURE MESHMAP=mp53rd NUM=1 TEXTURE=MP5Tex3
#exec MESHMAP SETTEXTURE MESHMAP=mp53rd NUM=2 TEXTURE=BlackMaskTex
#exec MESHMAP SETTEXTURE MESHMAP=mp53rd NUM=3 TEXTURE=MP5Tex4

///////////////////////////////////////////////////
// mp5pickup.
///////////////////////////////////////////////////

#exec MESH IMPORT MESH=mp5pickup ANIVFILE=MODELS\mp5pickup_a.3d DATAFILE=MODELS\mp5pickup_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=mp5pickup X=0 Y=0 Z=0

#exec MESH SEQUENCE MESH=mp5pickup SEQ=All STARTFRAME=0 NUMFRAMES=100
#exec MESHMAP NEW MESHMAP=mp5pickup MESH=mp5pickup

#exec MESHMAP SCALE MESHMAP=mp5pickup X=0.122833 Y=0.122833 Z=0.122833
#exec MESHMAP SETTEXTURE MESHMAP=mp5pickup NUM=0 TEXTURE=MP5Tex2
#exec MESHMAP SETTEXTURE MESHMAP=mp5pickup NUM=1 TEXTURE=MP5Tex3
#exec MESHMAP SETTEXTURE MESHMAP=mp5pickup NUM=2 TEXTURE=MP5Tex4


///////////////////////////////////////////////////
// pump1st.
///////////////////////////////////////////////////

#exec MESH IMPORT MESH=pump1st ANIVFILE=MODELS\pump1st_a.3d DATAFILE=MODELS\pump1st_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=pump1st X=-40 Y=70 Z=12 // **X**(-)forward(+)back **Y**(-)right(+)left **Z**(-)up(+)down

#exec MESH SEQUENCE MESH=pump1st SEQ=All			STARTFRAME=0	NUMFRAMES=100
#exec MESH SEQUENCE MESH=pump1st SEQ=Still		STARTFRAME=0	NUMFRAMES=1
#exec MESH SEQUENCE MESH=pump1st SEQ=Select		STARTFRAME=2	NUMFRAMES=8	RATE=11
#exec MESH SEQUENCE MESH=pump1st SEQ=Shoot		STARTFRAME=11	NUMFRAMES=9		RATE=9
#exec MESH SEQUENCE MESH=pump1st SEQ=ReloadBegin	STARTFRAME=21	NUMFRAMES=4	RATE=8
#exec MESH SEQUENCE MESH=pump1st SEQ=Reload		STARTFRAME=26	NUMFRAMES=2		RATE=4
#exec MESH SEQUENCE MESH=pump1st SEQ=ReloadEnd	STARTFRAME=29	NUMFRAMES=4		RATE=10
#exec MESH SEQUENCE MESH=pump1st SEQ=Down			STARTFRAME=34	NUMFRAMES=2		RATE=8
#exec MESH SEQUENCE MESH=pump1st SEQ=Idle1			STARTFRAME=37	NUMFRAMES=2		RATE=1
#exec MESH SEQUENCE MESH=pump1st SEQ=Idle2	                            STARTFRAME=40	NUMFRAMES=2		RATE=1
#exec MESHMAP NEW MESHMAP=pump1st MESH=pump1st

#exec MESHMAP SCALE MESHMAP=pump1st X=0.242833 Y=0.242833 Z=0.242833
#exec MESHMAP SETTEXTURE MESHMAP=pump1st NUM=0 TEXTURE=ShotgunTex2
#exec MESHMAP SETTEXTURE MESHMAP=pump1st NUM=1 TEXTURE=ShotgunTex2
#exec MESHMAP SETTEXTURE MESHMAP=pump1st NUM=2 TEXTURE=BlackMaskTex
#exec MESHMAP SETTEXTURE MESHMAP=pump1st NUM=3 TEXTURE=WeaponHandsTex
#exec MESHMAP SETTEXTURE MESHMAP=pump1st NUM=4 TEXTURE=WeaponHandsTex

#exec MESH NOTIFY MESH=pump1st SEQ=Shoot	TIME=0.05	FUNCTION=SwapMuzzleFlashTexture
#exec MESH NOTIFY MESH=pump1st SEQ=Shoot	TIME=0.4	FUNCTION=SawedOffCockSound
///////////////////////////////////////////////////
// pump3rd.
///////////////////////////////////////////////////

#exec MESH IMPORT MESH=pump3rd ANIVFILE=MODELS\pump3rd_a.3d DATAFILE=MODELS\pump3rd_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=pump3rd X=0 Y=0 Z=0 YAW=-64

#exec MESH SEQUENCE MESH=pump3rd SEQ=All STARTFRAME=0 NUMFRAMES=6
#exec MESH SEQUENCE MESH=pump3rd SEQ=Shoot		STARTFRAME=0	NUMFRAMES=2		RATE=2
#exec MESHMAP NEW MESHMAP=pump3rd MESH=pump3rd

#exec MESHMAP SCALE MESHMAP=pump3rd X=0.158781 Y=0.158781 Z=0.158781
#exec MESHMAP SETTEXTURE MESHMAP=pump3rd NUM=0 TEXTURE=ShotgunTex2
#exec MESHMAP SETTEXTURE MESHMAP=pump3rd NUM=1 TEXTURE=ShotgunTex2
#exec MESHMAP SETTEXTURE MESHMAP=pump3rd NUM=2 TEXTURE=BlackMaskTex

///////////////////////////////////////////////////
// pumppickup.
///////////////////////////////////////////////////

#exec MESH IMPORT MESH=pumppickup ANIVFILE=MODELS\pumppickup_a.3d DATAFILE=MODELS\pumppickup_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=pumppickup X=0 Y=0 Z=0

#exec MESH SEQUENCE MESH=pumppickup SEQ=All STARTFRAME=0 NUMFRAMES=6
#exec MESHMAP NEW MESHMAP=pumppickup MESH=pumppickup

#exec MESHMAP SCALE MESHMAP=pumppickup X=0.142833 Y=0.142833 Z=0.142833
#exec MESHMAP SETTEXTURE MESHMAP=pumppickup NUM=0 TEXTURE=ShotgunTex2
#exec MESHMAP SETTEXTURE MESHMAP=pumppickup NUM=1 TEXTURE=ShotgunTex2

///////////////////////////////////////////////////
// walther1st.
///////////////////////////////////////////////////

#exec MESH IMPORT MESH=walther1st ANIVFILE=MODELS\walther1st_a.3d DATAFILE=MODELS\walther1st_d.3d X=0 Y=0 Z=0 unmirror=1
#exec MESH ORIGIN MESH=walther1st X=2000 Y=-3500 Z=-800 YAW=-64  // **X**(-)forward(+)back **Y**(-)right(+)left **Z**(-)up(+)down 

#exec MESH SEQUENCE MESH=walther1st SEQ=All			STARTFRAME=0	NUMFRAMES=69
#exec MESH SEQUENCE MESH=walther1st SEQ=Still		STARTFRAME=0	NUMFRAMES=1
#exec MESH SEQUENCE MESH=walther1st SEQ=Select		STARTFRAME=1	NUMFRAMES=10	RATE=25
#exec MESH SEQUENCE MESH=walther1st SEQ=Shoot		STARTFRAME=11	NUMFRAMES=10		RATE=35
#exec MESH SEQUENCE MESH=walther1st SEQ=ReloadBegin	STARTFRAME=65	NUMFRAMES=4	RATE=16
#exec MESH SEQUENCE MESH=walther1st SEQ=Reload		STARTFRAME=29	NUMFRAMES=6		RATE=5
#exec MESH SEQUENCE MESH=walther1st SEQ=ReloadEnd 	STARTFRAME=35	NUMFRAMES=12		RATE=26
#exec MESH SEQUENCE MESH=walther1st SEQ=Down			STARTFRAME=49	NUMFRAMES=3		RATE=18
#exec MESHMAP NEW MESHMAP=walther1st MESH=walther1st

#exec MESH LODPARAMS MESH=walther1st STRENGTH=0

#exec MESHMAP SCALE MESHMAP=walther1st X=0.00390625 Y=0.00390625 Z=0.00390625
#exec MESHMAP SETTEXTURE MESHMAP=walther1st NUM=1 TEXTURE=WeaponHandsTex
#exec MESHMAP SETTEXTURE MESHMAP=walther1st NUM=2 TEXTURE=BlackMaskTex
#exec MESHMAP SETTEXTURE MESHMAP=walther1st NUM=3 TEXTURE=WaltherTex1
#exec MESHMAP SETTEXTURE MESHMAP=walther1st NUM=4 TEXTURE=WaltherTex2

#exec MESH NOTIFY MESH=walther1st SEQ=Shoot 	TIME=0.01	FUNCTION=SwapMuzzleFlashTexture

///////////////////////////////////////////////////
// walther3rd.
///////////////////////////////////////////////////

#exec MESH IMPORT MESH=walther3rd ANIVFILE=MODELS\walther3rd_a.3d DATAFILE=MODELS\walther3rd_d.3d X=0 Y=0 Z=0 
#exec MESH ORIGIN MESH=walther3rd X=0 Y=0 Z=0 YAW=-64

#exec MESH SEQUENCE MESH=walther3rd SEQ=All STARTFRAME=0 NUMFRAMES=100
#exec MESHMAP NEW MESHMAP=walther3rd MESH=walther3rd

#exec MESHMAP SCALE MESHMAP=walther3rd X=0.073023 Y=0.073023 Z=0.073023
#exec MESHMAP SETTEXTURE MESHMAP=walther3rd NUM=0 TEXTURE=WaltherTex2
#exec MESHMAP SETTEXTURE MESHMAP=walther3rd NUM=1 TEXTURE=WaltherTex1
#exec MESHMAP SETTEXTURE MESHMAP=walther3rd NUM=2 TEXTURE=BlackMaskTex

///////////////////////////////////////////////////
// waltherpickup.
///////////////////////////////////////////////////

#exec MESH IMPORT MESH=waltherpickup ANIVFILE=MODELS\waltherpickup_a.3d DATAFILE=MODELS\waltherpickup_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=waltherpickup X=0 Y=0 Z=0

#exec MESH SEQUENCE MESH=waltherpickup SEQ=All STARTFRAME=0 NUMFRAMES=100
#exec MESHMAP NEW MESHMAP=waltherpickup MESH=waltherpickup

#exec MESH LODPARAMS MESH=waltherpickup STRENGTH=0

#exec MESHMAP SCALE MESHMAP=waltherpickup X=0.058833 Y=0.058833 Z=0.058833
#exec MESHMAP SETTEXTURE MESHMAP=waltherpickup NUM=0 TEXTURE=WaltherTex2
#exec MESHMAP SETTEXTURE MESHMAP=waltherpickup NUM=1 TEXTURE=WaltherTex1

