// Pistol

WeaponData
{
	// Weapon data is loaded by both the Game and Client DLLs.
	"printname"	"#HL2_Pistol"
	"viewmodel"			"models/weapons/v_pistol.mdl"
	"playermodel"		"models/weapons/w_pistol.mdl"
	"anim_prefix"		"pistol"
	"bucket"			"1"
	"bucket_position"	"0"

	"clip_size"			"18"
	"primary_ammo"		"Pistol"
	"secondary_ammo"	"None"

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

	// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
	SoundData
	{

		"reload"		"Weapon_Pistol.Reload"
		"reload_npc"	"Weapon_Pistol.NPC_Reload"
		"empty"			"Weapon_Pistol.Empty"
		"single_shot"	"Weapon_Pistol.Single"
		"single_shot_npc"	"Weapon_Pistol.NPC_Single"
		"special1"		"Weapon_Pistol.Special1"
		"special2"		"Weapon_Pistol.Special2"
		"burst"			"Weapon_Pistol.Burst"
	}

	// Weapon Sprite data is loaded by the Client DLL.
	TextureData
	{
		"weapon"
		{
				"font"		"WeaponIcons"
				"character"	"d"
		}
		"weapon_s"
		{	
				"font"		"WeaponIconsSelected"
				"character"	"d"
		}
		"ammo"
		{
				"font"		"WeaponIcons"
				"character"	"p"
		}
		"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"	"0"
		"FireRate"	"0.05"
		"UnderWater"	"1"

		//	Fire Mode
		//	1 : single ,  2 : burst ,  4 : automatic
		"FireMode"	"7"

		"Burst" {
			"FireCount"	"3"
			"Delay"		"0.2"
			"AccBonus"	"2.0"
		}
		
		"Options" {
			"CrossHairMove"		"0.02"
			"CrossHairMinSize"	"20.0"
			"TimeScale"	"2.0"
		}
		
		"Spread" {
			"Default"	"3.0"
			"MaxSpread"	"5.0"
			"Run"		"1.0"
			"RunSpeed"	"100"
			"Crouch"	"0.8"
			"Fire"		"1.3"
		}
		
		"EnergyBullet_" {
			"DamageType"   "DMG_ENERGYBEAM"
			"Bounce"   "2"
			"Size"      "1"
			"LightRadius"   "8"
			"LightColor"   "255 180 90"
			"Speed"      "2000"
			"SpriteMaterial"   "effects/redflare"
			"Gravity"   "100"
			"TrailSize"   "2"
			"TrailTime"   ".2"
			"FlyTime"   "10"
		} 		
	      
		"Bullet" {
			"AmmoType"	"Pistol"
			"Damage"	"6"
			"ShotCount"	"1"
			"Tracer"	"3"
			"Force"		"0.5"
		}

		"Npc" {
			"RifleAnim"	"0"
			"BurstMax"	"2"
			"BurstMin"	"2"
			"FireRate"	"0.06"
			"Range"		"1500"
			"MuzzleFire"	"1"
		}
	}
	
}