Update version 1.1
-Fixed bug where helibombs would fly out of the weapon on certain servers (thanks Lyoko774!)
-Weapon can no longer shoot through entities
-Weapon can no longer damage entities under water
-Added random spread to flame projectile trajectory
-Added options for minimum and maximum damage
-Improved the way certain sounds are handled
A port of the pyro’s flamethrower from Team Fortress 2. Like it says in the readme, it works pretty much like the real deal:
-Ignites on contact
-Does more damage the closer you are
-Shoots ‘physically simulated’ particle projectiles (i.e. floating invisible helibombs)
-All the same models, sounds, effects, etc.
The ‘trick’ to it is that it parents an info_particle_system to the viewmodel and uses the muzzle for a parent attachment. Besides that, it’s basically the same as any other flamethrower SWEP.
Here’s a video:
No models, sounds, or textures are included in this download, so of course you’ll need to have TF2 installed to use it.
As always, I don’t care if devs use any of the code as long as they give credit where it’s due.