//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"			"smg2"
	"bucket"			"2"
	"bucket_position"		"7"

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

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

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

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

	// SMOD Ironsight setting.
	IronSight
	{
		"right"		"-8.23"
		"up"		"3.7"
		"forward"	"-7.5"
		"fov"		"-10"
		"pitch"		"1"
	}

	Adjust
	{
		"forward"	"-3"
	}

	// 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.Single"
		"single_shot_npc"	"Weapon_MP40.NPC_Single"
		//"double_shot"		"Weapon_Knife.Slash"
		"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_redux"
			"x"		"12"
			"y"		"224"
			"width"		"64"
			"height"	"32"
		}
		"weapon_s"
		{
			"file"		"sprites/hud_weapons_redux"
			"x"		"12"
			"y"		"224"
			"width"		"64"
			"height"	"32"
		}
		"ammo"
		{
			"font"		"WeaponIcons"
			"character"	"p"
		}
		"ammo2"
		{
				"font"		"WeaponIcons"
				"character"	"t"
		}
		"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.1"
		"UnderWater"	"0"

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

		"Options" {
//			"ReloadSound"	"1"
			"LastFireSound"	"0"
			"TurnoffScope"	"0"
			"TurnoffIron"	"0"
		}
		
		"Recoil" {
			"PunchPitch"	"-0.15 -0.175"
			"PunchYaw"	"-0.15 0.15"
			"EnableSnap"	"1"
			"SnapPitch"	"-0.0 -0.0"
			"SnapYaw"	"-0.0 0.0"
			"Crouch"	"0.75"
			"Amp"		"1.2"
			"PunchLimit"	"2.0"
		}
		
		"Spread" {
			"Default"	"2"
			"MaxSpread"	"8.0"
			"Run"		"8.0"
			"RunSpeed"	"100"
			"Crouch"	"0.75"
			"Fire"		"1.0"
		}
		
		"Bullet" {
			"AmmoType"	"SMG1"
			"Damage"	"7"
			"ShotCount"	"1"
			"Tracer"	"3"
			"Force"		"1"
		}
		"Npc" {
			"RifleAnim"	"0"
			"BurstMax"	"6"
			"BurstMin"	"3"
			"FireRate"	"0.1"
			"Range"		"2048"
			"MuzzleFire"	"1"
			"FireRagdoll"		"0" //BUGFIX								
		}
	}
	
}


