entityDef tf_weapon_gl
{
	"editor_color"		".3 .3 1"
	"editor_mins"		"-16 -16 -16"
	"editor_maxs"		"16 16 16"
	"editor_usage"		"Grenade Launcher"
	"editor_rotatable"	"1"

	"spawnclass"		"HLWeapon"
	"model"				"models/p_glauncher.mdl"
	"model_view"		"models/v_tfgl.mdl"
	"snd_acquire"		"weapon.pickup"
	"snd_respawn"		"item.respawn"

	// weapon specific
	"def_fireInfo"		"fireInfo_tfGrenadeLauncher"
	"inv_name"			"Grenade Launcher"
	"clipSize"			"6"
	"ammoType" 			"ammo_rockets"
	"ammoRequired" 		"1"
	"ammoPerShot"		"1"
	"punchAngle"		"-2 0 0"

	"actFire"			"2"
	"actHolster"		"10"
	"actReloadStart"	"4"
	"actReload"			"4"
	"actReloadEnd"		"5"
	"actDraw"			"8"
	"actIdle"			"0"

	"snd_fire"		"Weapon_GrenadeLauncher.Single"
	"snd_empty"		"Weapon_Pistol.ClipEmpty"

	// HLWeapon specific
	"hudSlot"		"1"
	"hudSlotPos"	"0"
	"weight"		"10"
}

entityDef fireInfo_tfGrenadeLauncher
{
	"def_onFire"		"projectile_tfPipebomb"
	"fireRate" 			"0.8"
	"punchAngle"		"-4 0 0"
}

entityDef projectile_tfPipebomb
{
	"spawnclass"		"NSProjectile"
	"model"				"models/pipebomb.mdl"
	"skin"				"1"
	"frame"				"1"
	"fuse"				"4"
	"detonate_on_fuse"	"1"
	"bounce"			"1"
	"angular_velocity"	"-350 0 0"
	"velocity"			"300 0 40"
	"model_detonate"	"fx_explosion.main"
	"snd_explode"		"Weapon_Grenade_Pipebomb.Explode"
	"snd_bounce"		"Weapon_Grenade_Pipebomb.Bounce"
	"decal_detonate"	"ExplosionScorch"
	"smoke_fly"			"weapon_rpg.trail"

	"def_damage"		"damage_tfPipebombDirect"
	"def_splash_damage"	"damage_tfPipebombSplash"
}

entityDef damage_tfPipebombDirect
{
	"damage"	"skill:plr_pipebomb"
}

entityDef damage_tfPipebombSplash
{
	"damage"	"skill:plr_pipebomb_splash"
	"radius"	"250"
}