//Day of Defeat style MP40
WeaponData
{
	// Weapon data is loaded by both the Game and Client DLLs.
	"printname"			"#HL2_MP40"
	"viewmodel"			"models/weapons/v_mp40.mdl"
	"playermodel"			"models/weapons/w_mp40.mdl"	//FIXME: 
	"anim_prefix"			"smg1"
	"bucket"			"2"
	"bucket_position"		"2"

	"clip_size"			"32"
	"clip2_size"			"-1"

	"default_clip"			"32"
	"default_clip2"			"-1"

	"primary_ammo"			"SMG1"
	"secondary_ammo"		"None"

	"weight"			"2"
	"item_flags"			"0"

	Adjust
	{
		//"up"		"-1.5"
		"forward"	"-8"
	}

	IronSight
	{
		"right"		"-4.565"
		"up"		"1.75"
		"forward"	"-3"
		"fov"		"-15"
		"yaw"		"-0.1"
		"pitch"		"-0.5"	
		"AdjustAccuracy"	"0.5"					
	}

	// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
	SoundData
	{
		"reload"		"Weapon_SMG1.Reload"
		"reload_npc"		"Weapon_SMG1.NPC_Reload"
		"empty"			"Weapon_SMG1.Empty"
		"single_shot"		"Weapon_Mp40.Shoot"
		"single_shot_npc"	"Weapon_Mp40.Shoot"
		"double_shot"		"HL2Player.kick_fire"
		"melee_hit"		"HL2Player.kick_body"
		"melee_hit_world"	"HL2Player.kick_wall"		
	}

	// Weapon Sprite data is loaded by the Client DLL.
	TextureData
	{
		"weapon"
		{
			"file"		"sprites/hud_weapons_zerosix"
			"x"			"64"
			"y"			"160"
			"width"		"64"
			"height"	"32"
		}
		"weapon_s"
		{
			"file"		"sprites/hud_weapons_zerosix"
			"x"			"64"
			"y"			"160"
			"width"		"64"
			"height"	"32"
		}
		"ammo"
		{
			"font"		"WeaponIcons"
			"character"	"r"
		}
		"crosshair"
		{
				"font"		"Crosshairs"
				"character"	"Q"
		}
		"autoaim"
		{
				"file"		"sprites/crosshairs"
				"x"			"0"
				"y"			"48"
				"width"		"24"
				"height"	"24"
		}
	}
	
	"WeaponSpec"
	{
		//	0 : single
		//	1 : automatic
		//	2 : shotgun
		//	3 : autoshotgun
		"WeaponType"	"1"
		"FireRate"	"0.092"
		"UnderWater"	"0"

		"Melee" {
			"Secondary" {
				"Range"		"80"
				"Frame"		"10"
				"NextAttack"	"20"
				"Damage"	"25"
			}
			"Force"	"1"
			"ImpactEffect"	"2"	//	0:default 1:nodecal 2:nodecal,nosound 3:noeffect
		}

		"Options" {
			//"LastDryFireActivity"	"1"
		}
		
		"Recoil" {
			"PunchPitch"	"-0.0 -0.0"
			"PunchYaw"	"-0.0 0.0"
			"EnableSnap"	"1"
			"SnapPitch"	"-0.9 -1.15"
			"SnapYaw"	"-0.4 0.6"
			"Crouch"	"0.75"
			"Amp"		"1.05"
			"PunchLimit"	"3.0"
		}
		
		"Spread" {
			"Default"	"3"
			"MaxSpread"	"10.0"
			"Run"		"10.0"
			"RunSpeed"	"100"
			"Crouch"	"0.65"
			"Fire"		"1.05"
		}
		
		"Bullet" {
			"AmmoType"	"SMG1"
			"Damage"	"6"
			"ShotCount"	"1"
			"Tracer"	"2"
			"Force"		"1"
		}

		"Npc" {
			"RifleAnim"	"0"
			"BurstMax"	"5"
			"BurstMin"	"2"
			"FireRate"	"0.095"
			"Range"		"2048"
			"MuzzleFire"	"1"
		}
	}
	
}