// Copy what you want to modify to your server.cfg
// The path of the file you want the player to download in the fastdl server. Use "|" to separate.
// Up to 20 paths. The character length of a single path cannot exceed 512.
// Closed if empty.
// Example: "custom/Flamethrower_Particles_dir.vpk|custom/Flamethrower_Particles_000.vpk"
// Default: ""
sm_ft_fastdl_file_path ""
// The path of the particle file you want server to precache. Use "|" to separate.
// Up to 20 paths. The character length of a single path cannot exceed 512.
// Closed if empty.
// Default: "particles/ins_flamethrower.pcf"
sm_ft_particle_file_path "particles/ins_flamethrower.pcf"
// Flamethrower fire particle effect name.
// Don't change it if you didn't edit the particle file.
// Default: "flamethrower"
sm_ft_particle_effect_name "flamethrower"
// Flamethrower ammo entity class name.
// You must set this if you use a different ammo entity class name in your theater.
// NO THE AMMO TYPE NAME.
// Default: "flame_proj"
sm_ft_ammo_class_name "flame_proj"
// Burn duration
// Default: "2.0"
sm_ft_burn_time "2.0"
// Can player ignite himself by firing flamethrower?
// Default: "0"
sm_ft_self_ignite "0"
// Can player ignite enemy players by firing flamethrower?
// Default: "1"
sm_ft_ignite_enemy "1"
// Can player ignite friend players by firing flamethrower?
// Default: "1"
sm_ft_ignite_friend "1"
// Flamethrower self direct damage multiplier.
// Default: "0.2"
sm_ft_self_damage_mult "0.2"
// Flamethrower direct damage multiplier for enemies.
// Default: "5.0"
sm_ft_enemy_damage_mult "5.0"
// Flamethrower direct damage multiplier for friends.
// Default: "1.0"
sm_ft_friend_damage_mult "1.0"
// Flamethrower launch interval. Closed if less than 0.08.
// Default: "0.12"
sm_ft_fire_interval "0.12"
// Is all plugin flamethrower fire sound enable?
// Default: "1"
sm_ft_sound_enable "1
// Flamethrower fire START sound file path for team sec. Closed if empty.
// Default: "weapons/flamethrowerno2/flamethrower_start.wav"
sm_ft_start_sound_sec "weapons/flamethrowerno2/flamethrower_start.wav"
// Flamethrower fire LOOP sound file path for team sec. Closed if empty.
// Default: "weapons/flamethrowerno2/flamethrower_looping.wav"
sm_ft_loop_sound_sec "weapons/flamethrowerno2/flamethrower_looping.wav""
// Flamethrower fire END sound file path for team sec. Closed if empty.
// Default: "weapons/flamethrowerno2/flamethrower_end.wav"
sm_ft_end_sound_sec "weapons/flamethrowerno2/flamethrower_end.wav"
// Flamethrower fire EMPTY sound file path for team sec. Closed if empty.
// Default: ""
sm_ft_empty_sound_sec ""
// Flamethrower fire START sound file path for team ins. Closed if empty.
// Default: "weapons/flamethrowerno41/flamethrower_start.wav"
sm_ft_start_sound_ins "weapons/flamethrowerno41/flamethrower_start.wav"
// Flamethrower fire LOOP sound file path for team ins. Closed if empty.
// Default: "weapons/flamethrowerno41/flamethrower_looping.wav"
sm_ft_loop_sound_ins "weapons/flamethrowerno41/flamethrower_looping.wav"
// Flamethrower fire END sound file path for team ins. Closed if empty.
// Default: "weapons/flamethrowerno41/flamethrower_end.wav"
sm_ft_end_sound_ins "weapons/flamethrowerno41/flamethrower_end.wav"
// Flamethrower fire EMPTY sound file path for team ins. Closed if empty.
// Default: ""
sm_ft_empty_sound_ins ""
Installation Guide
Spoiler
To use this plugin you need to modify the original theater and create your own theater mod.
If you don't know how to do it, please check the theater modding guide.
Subscribe the required mod for your server OR download it and edit it into your own mod
Add "#base", "particles", "sounds" and "localize" to your mod's main theater file
Install Plugin
Remove other versions of flamethrower plugin.
Put FlameThrower_public.smx into "insurgency\addons\sourcemod\plugins\"
Custom Particles File
FlameThrower plugin is using a custom particle file. But this game will have some problems when loading any custom particles. Here are two solutions:
> Method 1 [Recommend]
Install the reconnect plugin. It will force players to reconnect to your server when they join your server. Reconnecting can solve the problem of loading custom particle effects.
> Method 2
If you have a fastdl server. Download version 2.5+ Flamethrower_Particles.zip or clone from github. You can edit it to you own vpk file if you want. Put them to your fastdl server "custom" folder, setting cvar "sm_ft_fastdl_file_path" and "sm_ft_particle_file_path" and make sure player is forced to download these two vpk files to them "insurgency/custom/" folder when they join your server.
Changelog
Code:
v2.6:
* Removed convar sm_ft_ignite.
* Added convar sm_ft_ignite_enemy.
* Added convar sm_ft_ignite_friend.
* Removed convar sm_ft_damage_mult.
* Added convar sm_ft_enemy_damage_mult.
* Added convar sm_ft_friend_damage_mult.
v2.5:
* Updated particles file.
* Added plugin Reconnect.
* Added convar sm_ft_ignite.
* Added convar sm_ft_damage_mult.
v2.4:
* Added convar sm_ft_self_ignite.
* Added convar sm_ft_fastdl_file_path.
* Added convar sm_ft_particle_file_path.
* Added convar sm_ft_particle_effect_name.
v2.3:
* Fixed flamethrower self damage multiplier.
v2.2:
* Fixed the misspelled particle effect name.
v2.1:
* Fixed missing particle effects in previous version.
* Fixed server crash when sound convar was set to null.
* Added flamethrower self damage multiplier convar.
* Added flamethrower launch interval convar.
* Added flamethrower ammo entity class name convar.
* Prevent flamethrowers from creating scorch decal.
v2.0:
* Add New player gerar - Fuel Tank
* The WeaponAttachmentAPI plugin is no longer needed.
* Fixed problems in the previous version models and particles files.
* Fixed the problem that the flame doesn't shoot from the muzzle in first person.
* Using theater scripts instead of plugin to create direct damage.
* Using theater scripts instead of plugin to create flamethrower effects.
* Using plugin instead of theater scripts to play the sound effect of flamethrower.
v1.0:
* Initial release.