entityDef tf_weapon_flamethrower
{
	"editor_color"		".3 .3 1"
	"editor_mins"		"-16 -16 -16"
	"editor_maxs"		"16 16 16"
	"editor_usage"		"Flamethrower"
	"editor_rotatable"	"1"

	"spawnclass"		"HLWeapon"
	"model"				"models/p_egon.mdl"
	"model_view"		"models/v_flame.mdl"
	"snd_acquire"		"weapon.pickup"
	"snd_respawn"		"item.respawn"

	// weapon specific
	"def_fireInfo"		"fireInfo_tfFlameThrower"
	"inv_name"			"Flamethrower"
	"ammoType"			"ammo_cells"
	"ammoRequired"		"1"

	"actFire"			"5,6,7,8"
	"actHolster"		"10"
	"actDraw"			"9"
	"actIdle"			"0,1"

	"snd_fire"		"Weapon_FlameThrower.Fire"
	"snd_empty"		"Weapon_Pistol.ClipEmpty"

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

entityDef fireInfo_tfFlameThrower
{
	"def_onFire"		"projectile_tfFire"
	"ammoPerShot" 		"2"
	"fireRate" 			".2"
	"punchAngle"		"-2 0 0"
	"actFire"			"5,6"
	"model_flash"		"sprites/muzzleflash2.spr"
}

entityDef projectile_tfFire
{
	"spawnclass"			"NSProjectile"
	"model"					"sprites/fthrow.spr"

	"def_damage"			"tfFireDirect"

	"health"				"0"
	"velocity"				"250"
	"angular_velocity"		"0 0 200"
	"fuse"					"10"
	"detonate_on_fuse"		"0"
	"detonate_on_death"		"1"
	"detonate_on_world"		"1"
	"detonate_on_actor"		"1"
	"impact_damage_effect"	"1"
	"impact_gib"			"1"

	"thrust"				"2000"
	"thrust_start"			"0.1"
	"thrust_end"			"2"

	"light_color"			"1 0.8 0.4"
	"light_radius"			"160"
	"light_offset"			"0 0 0"

}

entityDef damage_tfFireDirect
{
	"damage"	"skill:plr_flamethrower"
}

entityDef damage_tfFireAfterburn
{
	"damage"	"skill:plr_flamethrower_afterburn"
}

entityDef fireInfo_tfFlameThrower
{
	"def_onFire"	"projectile_tfFire"
	"punchAngle"	"-10 0 0"
	"reloadTime"	"0.6"
}
