entityDef weapon_smg1
{
	"editor_color"		".3 .3 1"
	"editor_mins"		"-16 -16 -16"
	"editor_maxs"		"16 16 16"
	"editor_usage"		"#HL2_SMG1"
	"editor_rotatable"	"1"

	"spawnclass"		"HLWeapon"
	"model"				"models/weapons/w_smg1.mdl"
	"model_view"		"models/weapons/v_smg1.mdl"
	"snd_acquire"		"weapon.pickup"
	"snd_respawn"		"item.respawn"

	// weapon specific
	"def_fireInfo"		"fireInfo_smg1"
	"def_altFireInfo"	"fireInfo_smg1Alt"
	"inv_name"			"#HL2_SMG1"
	"clipSize"			"45"

	"actReload"		"7"
	"actDraw"		"6"
	"actIdle"		"0"

	"snd_empty"		"Weapon_SMG1.Empty"

	// HLWeapon specific
	"hudSlot"		"2"
	"hudSlotPos"	"0"
	"weight"		"3"
}

entityDef projectile_ARgrenade
{
	"spawnclass"		"NSProjectile"
	"model"				"models/items/ar2_grenade.mdl"
	"offset"			"16 0 0"
	"velocity"			"800 0 0"
	"angular_velocity"	"-300 0 0"
	"gravity"			"0.5"
	"bounce"			"1"
	"mins"				"0 0 0"
	"maxs"				"0 0 0"
	"detonate_on_fuse"	"0"
	"detonate_on_death"	"1"
	"detonate_on_world"	"1"
	"detonate_on_actor"	"1"
	"snd_explode"		"BaseExplosionEffect.Sound"
	"model_detonate"	"fx_explosion.main"

	"def_damage"		"damage_ARgrneadeDirect"
	"def_splash_damage"	"damage_ARgrneadeSplash"
}


entityDef damage_ARgrneadeDirect
{
	"damage"	"50"
}

entityDef damage_ARgrneadeSplash
{
	"damage"	"skill:plr_smg1_grenade"
	"radius"	"160"
}

entityDef projectile_smg1
{
	"inherit"	"projectile_bullet_base"
	"damage"	"skill:plr_smg1_bullet"
}

entityDef fireInfo_smg1
{
	"def_onFire"		"projectile_smg1"
	"ammoType"			"ammo_smg1"
	"ammoRequired"		"1"
	"ammoPerShot"		"1"
	"fireRate"			"0.1"
	"punchAngle"		"-10 0 0"
	"model_flash"		"sprites/muzzleflash2.spr"
	"actFire"			"1,2,3,4"
	"snd_fire"			"Weapon_SMG1.Single"
}

entityDef fireInfo_smg1Alt
{
	"def_onFire"		"projectile_ARgrneade"
	"ammoType"			"ammo_smg1_grenade"
	"ammoRequired"		"1"
	"ammoPerShot"		"1"
	"fireRate"			"1.0"
	"punchAngle"		"-10 0 0"
	"model_flash"		"sprites/muzzleflash2.spr"
	"actFire"			"5"
	"snd_fire"			"Weapon_SMG1.Special1"
}

