//Day of Defeat style MP40
WeaponData
{
	// Weapon data is loaded by both the Game and Client DLLs.
	"printname"			"#HL2_M1GARAND"
	"viewmodel"			"models/weapons/v_m1garand.mdl"
	"playermodel"			"models/weapons/w_m1garand.mdl"	//FIXME: 
	"anim_prefix"			"shotgun"
	"bucket"			"3"
	"bucket_position"		"3"

	"clip_size"			"8"
	"clip2_size"			"-1"

	"default_clip"			"8"
	"default_clip2"			"-1"

	"primary_ammo"			"CustomAmmo2"
	"secondary_ammo"		"None"

	"weight"			"4"
	"item_flags"			"0"

	"Adjust" {
		"Forward"		"4"
		"Right"			"3"
	}

	"LagScale"			"0.4"

	// SMOD Ironsight setting.
	IronSight
	{
		"right"		"-7.995"
		"up"		"2.60"
		"forward"	"-8"
		"fov"		"-30"
		"pitch"		"0.05"		
	}


	// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
	SoundData
	{
		"reload_npc"		"Weapon_Pistol.NPC_Reload"
		"empty"			"Default.ClipEmpty_Rifle"
		"single_shot"		"Weapon_Garand.Fire"
		"single_shot_npc"	"Weapon_Garand.NPC_Fire"
		"double_shot"		"Weapon_Knife.Slash"
		"melee_hit"		"HL2Player.kick_body"
		"melee_hit_world"	"HL2Player.kick_wall"
		"special3"		"Weapon_Garand.ClipDing"		
	}

	// Weapon Sprite data is loaded by the Client DLL.
	TextureData
	{
		"weapon"
		{
			"file"		"sprites/hud_weapons_redux"
			"x"			"72"
			"y"			"32"
			"width"		"64"
			"height"	"32"
		}
		"weapon_s"
		{
			"file"		"sprites/hud_weapons_redux"
			"x"			"72"
			"y"			"32"
			"width"		"64"
			"height"	"32"
		}
		"ammo"
		{
				"font"		"WeaponIcons"
				"character"	"r"
		}
		"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.15"
		"FireMode" "1"		
		"UnderWater"	"0"

		"Melee" {
			"Secondary" {
				"Range"		"80"
				"Frame"		"3"
				"Damage"	"40"
				"NextAttack"	"40"
				"DamageType"	"DMG_CLUB"
//				"DamageType"	"DMG_SLASH"
			}
			"Force"	"0.25"
			"ImpactEffect"	"1"	//	0:default 1:nodecal 2:nodecal,nosound 3:noeffect
//			"Decal"	"ManhackCut"
		}

		"Options" {
//			"ReloadSound"	"1"
			"LastFireSound"	"1"
			"TurnoffScope"	"0"
			"TurnoffIron"	"0"
			"en bloc Clip"	"1"
			"LastDryFireActivity"	"1"					
		}
		
		"Recoil" {
			"PunchPitch"	"-0.7 -0.85"
			"PunchYaw"	"-0.6 0.6"
			"EnableSnap"	"1"
			"SnapPitch"	"-2.85 -2.95"
			"SnapYaw"	"-1.45 1.45"
			"Crouch"	"0.75"
			"Amp"		"1.5"
			"PunchLimit"	"2.5"
		}
		
		"Spread" {
			"Default"	"1"
			"MaxSpread"	"15.0"
			"Run"		"15.0"
			"RunSpeed"	"100"
			"Crouch"	"0.75"
			"Fire"		"1.125"
		}
		
		"Bullet" {
			"AmmoType"	"Ak47"
			"Damage"	"50"
			"ShotCount"	"1"
			"Tracer"	"2"
			"Force"		"1"
			"Penetrate"	"5"			
		}
		
		"Npc" {
			"AnimType"	"AR2"
			"AdjustSpread"	"0.5"					
			"BurstMax"	"2"
			"BurstMin"	"0"
			"FireRate"	"0.5"
			"Range"		"3700"
			"MuzzleFire"	"1"
			"FireRagdoll"		"0"					
		}
	}
	
}


