entityDef weapon_ar2
{
	"editor_color"		".3 .3 1"
	"editor_mins"		"-16 -16 -16"
	"editor_maxs"		"16 16 16"
	"editor_usage"		"#HL2_Pulse_Rifle"
	"editor_rotatable"	"1"

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

	// weapon specific
	"def_fireInfo"		"fireInfo_ar2"
	"def_altFireInfo"	"fireInfo_ar2Alt"
	"inv_name"			"OVERWATCH STANDARD ISSUE\n(PULSE-RIFLE)"
	"clipSize"			"30"
	"hl2hud_icon"		"l"
	"inv_ammo_ar2"		"30"
	"ammoRequired"		"1"
	"ammoPerShot"		"1"

	"act_holster"	"8"
	"act_reload"		"6"
	"act_draw"		"7"
	"act_idle"		"0"

	"snd_empty"		"Weapon_IRifle.Empty"

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

	// muzzle
	"barrel"				"ValveBiped.Muzzle" // optimised out by compiler, wait for attachments
	"smoke_muzzle"			"combinemuzzle.smoke"
	"def_ejectBrass"		"debris_pistolBrass"
	"muzzleRelativeOffset"	"16 4 -3"
}

entityDef projectile_ar2
{
	"inherit"	"projectile_bullet_base"
	"damage"	"skill:plr_dmg_ar2"
}

entityDef fireInfo_ar2
{
	"def_onFire"		"projectile_ar2"
	"ammoType"			"ammo_ar2"
	"fireRate"			"0.1"
	"punchSpring"		"-2 0 0"
	"act_fire"			"1,2,3,4"
	"snd_fire"			"Weapon_AR2.Single"
}

entityDef fireInfo_ar2Alt
{
	"def_onFire"		"prop_combine_ball"
	"ammoType"			"ammo_ar2_altfire"
	"fireRate"			"1"
	"punchSpring"		"-10 0 0"
	"act_fire"			"5"
	"act_delay"			"12"
	"snd_delay"			"Weapon_CombineGuard.Special1"
	"snd_fire"			"NPC_CombineBall.Launch"
	"chargeTime"		"1"
}
