entityDef tf_weapon_ng
{
	"editor_color"		".3 .3 1"
	"editor_mins"		"-16 -16 -16"
	"editor_maxs"		"16 16 16"
	"editor_usage"		"Nail Gun"
	"editor_rotatable"	"1"

	"spawnclass"		"HLWeapon"
	"model"				"models/p_nailgun2.mdl"
	"model_view"		"models/v_tfc_nailgun.mdl"
	"snd_acquire"		"weapon.pickup"
	"snd_respawn"		"item.respawn"

	// weapon specific
	"def_fireInfo"		"fireInfo_tfNailGun"
	"inv_name"			"Nail Gun"
	"inv_ammo_nails"	"25"
	"ammoType"			"ammo_nails"
	"ammoRequired"		"1"
	"ammoPerShot"		"1"
	"act_idle"			"0,1"
	"act_draw"			"4"
	"act_fire"			"5,6,7"
	"snd_fire"			"Weapon_NailGun.Single"
	"snd_empty"			"Weapon_NailGun.ClipEmpty"

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

entityDef debris_tfNail
{
	"spawnclass"		"ncProjectile"
	"model"				"models/nail.mdl"
}

entityDef projectile_tfNail
{
	"spawnclass"		"ncProjectile"
	"model"				"models/nail.mdl"
	"velocity"			"1000 0 0"
	"angular_velocity"	"0 0 20"
	"mins"				"0 0 0"
	"maxs"				"0 0 0"
	"damage"			"skill:plr_nail"
	"snd_explode"		"impact.tfNail"
	"snd_hit"			"impact.tfNailHitFlesh"
	"detonate_on_fuse"	"0"
	"detonate_on_death"	"1"
	"detonate_on_world"	"1"
	"detonate_on_actor"	"1"
	"projectile_debris" "debris_tfNail"
	"model_detonate"	"impact_default.main"
	"decal_detonate"	"Impact.Shot"
	"debris_count"		"1"
	"debris_stick"		"1"
	"debris_offset"		"-2 0 0"
	"offset"			"0 3 -6"
}

entityDef fireInfo_tfNailGun
{
	"def_onFire"		"projectile_tfNail"
	"fireRate" 			"0.1"
	"punchAngle"		"-4 0 0"
	"model_flash"		"sprites/muzzleflash2.spr"
}
