// Small Machine Gun 1

WeaponData
{
	// Weapon data is loaded by both the Game and Client DLLs.
	"printname"	"#HL2_OICW"
	"viewmodel"			"models/weapons/v_oicw.mdl"
	"playermodel"			"models/weapons/w_oicw.mdl"	//FIXME: 
	"anim_prefix"			"ar2"
	"bucket"			"2"
	"bucket_position"		"5"

	"clip_size"			"30"
	"clip2_size"			"-1"

	"default_clip"			"30"
	"default_clip2"			"-1"

	"primary_ammo"			"SMG1"
	"secondary_ammo"		"SMG1_Grenade"

	"weight"			"3"
	"item_flags"			"0"

	// SMOD Ironsight setting.
	IronSight
	{
		"right"		"-6.42"
		"up"		"2.55"
		"forward"	"-12"
		"fov"		"-14"
	}

	// 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_SMG1.Single"
		"single_shot_npc"	"Weapon_SMG1.NPC_Single"
		"special2"			"Weapon_SMG1.Double"
	}

	// Weapon Sprite data is loaded by the Client DLL.
	TextureData
	{
		"weapon"
		{
				"file"		"sprites/w_icons2b"
				"x"			"0"
				"y"			"64"
				"width"		"128"
				"height"	"64"
		}
		"weapon_s"
		{	
				"file"		"sprites/w_icons2b"
				"x"			"0"
				"y"			"64"
				"width"		"128"
				"height"	"64"
		}
		"ammo"
		{
				"file"		"sprites/a_icons1"
				"x"			"55"
				"y"			"60"
				"width"		"73"
				"height"	"15"
		}
		"ammo2"
		{
				"file"		"sprites/a_icons1"
				"x"			"55"
				"y"			"110"
				"width"		"73"
				"height"	"20"
		}
		"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.07"
		"UnderWater"	"0"
		"AttachedGL"	"1"
		

		"Options" {
			"LastDryFireActivity"	"0"
			"ReloadSound"		"1"
			"CrossHairMove"		"0.2"
			"CrossHairMinSize"	"20.0"
		}

		"Scope" {
			"Type"		"4"
			"Switch"	"1"
			"ZoomFact"	"4.0"
			"CrosshairOff"	"0"
			"AccBonus"	"0.5"
			"FireRate"	"0.2"
			"DrawViewmodel"	"1"
			"UseButton"	"1"
		}
		
		"Recoil" {
			"PunchPitch"	"0.1 -0.1"
			"PunchYaw"	"-0.1 0.1"
			"EnableSnap"	"0"
			"SnapPitch"	"-0.0 0.0"
			"SnapYaw"	"-0.0 0.0"
			"Crouch"	"0.8"
			"Amp"		"1.6"
			"PunchLimit"	"4.0"
		}
		
		"Spread" {
			"Default"	"1.5"
			"MaxSpread"	"5.0"
			"Run"		"10.0"
			"RunSpeed"	"100"
			"Crouch"	"1.0"
			"Fire"		"3.0"
		}
		
		"Bullet" {
			"AmmoType"	"AK47"
			"Damage"	"7"
			"ShotCount"	"1"
			"Tracer"	"0"
			"Force"		"0.5"
		}

		"BulletEntitySpawn" {
			"Class"		"custom_explosive"
			"Type"		"SMG1Grenade"
			"ZVector"	"40"	//	Correction throw vector
			"Power"		"1700"
			"NpcZVector"	"100"
			"AngVelocity"	"1000"
		}

		"Npc" {
			"UseGL"		"1"
			"RifleAnim"	"0"
			"BurstMax"	"10"
			"BurstMin"	"4"
			"FireRate"	"0.07"
			"Range"		"2048"
			"MuzzleFire"	"1"
		}
	}
	
}