entityDef weapon_pistol
{
	"editor_color"		".3 .3 1"
	"editor_mins"		"-16 -16 -16"
	"editor_maxs"		"16 16 16"
	"editor_usage"		"#HL2_Pistol"
	"editor_rotatable"	"1"

	"spawnclass"		"HLWeapon"
	"model"				"models/weapons/w_pistol.mdl"
	"model_view"		"models/weapons/v_pistol.mdl"
	"snd_acquire"		"HL2Player.PickupWeapon"
	"snd_respawn"		"Item.Materialize"

	// weapon specific
	"def_fireInfo"	"fireInfo_pistol"
	"inv_name"		"9MM PISTOL"
	"clipSize"		"18"
	"hl2hud_icon"		"d"

	"act_fire"			"2,3,4,5"
	"act_fireEmpty"		"6"
	"act_holster"		"10"
	"act_holsterEmpty"	"11"
	"act_reload"			"9"
	"act_draw"			"7"
	"act_drawEmpty"		"8"
	"act_idle"			"0"
	"act_idleEmpty"		"1"

	"snd_fire"		"Weapon_Pistol.Single"
	"snd_empty"		"Weapon_Pistol.Empty"
	"snd_reload"	"Weapon_Pistol.Reload"

	// HLWeapon specific
	"hudSlot"			"1"
	"hudSlotPos"		"0"
	"weight"			"2"
	"physics"			"1"
	"buggyIdleAnim"		"1"

	// muzzle
	"barrel"			"ValveBiped.muzzle"
	"def_ejectBrass"	"debris_pistolBrass"
	"smoke_muzzle"		"muzzle.smoke"
	"muzzleOffset"		"0 3 -2"
}

entityDef projectile_pistol
{
	"inherit"	"projectile_bullet_base"
	"damage"	"skill:plr_dmg_pistol"
}

entityDef fireInfo_pistol
{
	"def_onFire"		"projectile_pistol"
	"ammoType"			"ammo_pistol"
	"ammoRequired"		"1"
	"ammoPerShot"		"1"
	"fireRate"			"0.1"
	"semiAuto"			"1"
	"punchSpring"		"-2 0.5 0"
}
