hi Silvers. i'm here to report a few bugs i've come across:
1. if "l4d_extinguisher_incap" = "0", you can still shoot extinguisher when downed.
2. if "l4d_extinguisher_incap" = "1", if extinguisher is equipped in primary slot when you go down, extinguisher moves to secondary slot for some reason. when revived, extinguisher is equipped back to primary again.
3. if "l4d_extinguisher_spray" = "7", extinguishing spitter acid doesn't always work. sometimes it does, sometimes it doesn't. can't pinpoint why. though, i've noticed that you cannot extinguish spitter acid if spitter is still alive - not sure if that's by design but maybe has something to do with that?
here's my cvars and plugin list, just in case:
PHP Code:
// This file was auto-generated by SourceMod (v1.10.0.6502)
// ConVars for plugin "l4d_extinguisher.smx"
// 0=Plugin off, 1=Plugin on.
// -
// Default: "1"
l4d_extinguisher_allow "1"
// 0=No break, 1=Valve default breaks when damaged, 2=Breaks and cannot be used, 3=Same as 2 but special infected can't break.
// -
// Default: "0"
l4d_extinguisher_break "0"
// Players must have the l4d_extinguisher_weapon to equip and use Extinguishers.
// -
// Default: "0"
l4d_extinguisher_check "0"
// 0=Off. Otherwise all Extinguisher functions in one. Sets the Extinguisher glow color. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
// -
// Default: "255 255 255"
l4d_extinguisher_combo "0"
// How much damage the Extinguisher does per touch when fired. Triggered according to frequency cvar.
// -
// Default: "1"
l4d_extinguisher_damage "1"
// Flamethrower particles and glow. 0=Flame type A, 1=Flame type B, 2=Type A + Light, 3=Type B + Light.
// -
// Default: "2"
l4d_extinguisher_flame "2"
// How often the damage trace fires, igniting entities etc.
// -
// Default: "0.1"
l4d_extinguisher_frequency "0.1"
// 0=Off, 1=Friendly fire, allow survivors to hurt each other, 2=Only hurt survivors from the Blast type.
// -
// Default: "1"
l4d_extinguisher_friendly "1"
// 0=Infinite, How much fuel each Extinguisher has. Consumption is based on how often the PreThink fires.
// -
// Default: "1000"
l4d_extinguisher_fuel "1500"
// 0=Glow Off. Any other value sets the range at which extinguishers glow.
// -
// Default: "150"
l4d_extinguisher_glow "69"
// 0=Valve default. Any other value sets glow color for blast pushback.
// -
// Default: "255 255 0"
l4d_extinguisher_glow_blast "255 255 0"
// 0=Valve default. Any other value sets glow color for extinguishers.
// -
// Default: "0 255 0"
l4d_extinguisher_glow_extin "0 255 0"
// 0=Valve default. Any other value sets glow color for flamethrowers.
// -
// Default: "255 0 0"
l4d_extinguisher_glow_flame "255 0 0"
// 0=Valve default. Any other value sets glow color for freezer sprays.
// -
// Default: "0 150 255"
l4d_extinguisher_glow_spray "0 150 255"
// 0=Off, How many pre-existing extinguishers on maps can this plugin cater for.
// -
// Default: "32"
l4d_extinguisher_grab "32"
// 0=Off, 1=Display hints from translation file, 2=Not when Broken, 3=Not when Refueled, 4=Not when Broken or Refueled.
// -
// Default: "1"
l4d_extinguisher_hint "3"
// 0=Off, 1=Allow the Extinguisher to be used when incapacitated.
// -
// Default: "1"
l4d_extinguisher_incap "0"
// Maximum number of players allowed to have the Extinguisher at once.
// -
// Default: "0"
l4d_extinguisher_max "0"
// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
// -
// Default: ""
l4d_extinguisher_modes ""
// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
// -
// Default: ""
l4d_extinguisher_modes_off ""
// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
// -
// Default: "0"
l4d_extinguisher_modes_tog "0"
// When hit by the blast type, push players/infected by this much force.
// -
// Default: "400"
l4d_extinguisher_push "500"
// 0=Infinite, How much fuel to take away when using the blast pushback type.
// -
// Default: "25"
l4d_extinguisher_push_fuel "25"
// How long after using the blast pushback type before it can be used again.
// -
// Default: "0.5"
l4d_extinguisher_push_time "0.5"
// 0=Off, -1=All, any other value sets how many randomly auto spawn from the config.
// -
// Default: "1"
l4d_extinguisher_random "-1"
// How far the Extinguisher can affect entities.
// -
// Default: "150"
l4d_extinguisher_range "150"
// 0=Off, 1=Remove extinguishers after being broken, 2=Remove when out of fuel, 3=Remove when broken or out of fuel.
// -
// Default: "0"
l4d_extinguisher_remove "0"
// What can be extinguished with the Extinguisher type? 1=Molotovs/Barrels, 2=Firework Explosions, 4=Spitter Acid, 7=All.
// -
// Default: "7"
l4d_extinguisher_spray "7"
// How long players have to shoot the Extinguisher type when standing in a fire before it can be removed.
// -
// Default: "8"
l4d_extinguisher_time "8"
// How long does it take to pick up extinguishers.
// -
// Default: "1.0"
l4d_extinguisher_timed "1"
// How long after using the Extinguisher till you can use it again.
// -
// Default: "0.2"
l4d_extinguisher_timeout "0.2"
// Which types are allowed: 1=Extinguisher, 2=Flamethrower, 4=Freezer spray, 8=Blast, 15=All.
// -
// Default: "15"
l4d_extinguisher_type "11"
// When clients hold the Extinguisher: 0=Show it, 1=Show it and hide their weapon, 2=Show their weapon and hide Extinguisher, 3=Same as 2 but others can see the Extinguisher.
// -
// Default: "1"
l4d_extinguisher_view "1"
// Remove the boomer vomit effect from players on the first spray. 0=Off, 1=Extinguisher, 2=Flamethrower, 4=Blast type, 7=All.
// -
// Default: "5"
l4d_extinguisher_vomit "1"
// ""=All (must set l4d_extinguisher_check to 0). Weapon entity name to replace and use for the Extinguisher.
// -
// Default: ""
l4d_extinguisher_weapon ""
PHP Code:
[SM] Listing 22 plugins:
01 "Admin File Reader" (1.10.0.6502) by AlliedModders LLC
02 "Admin Help" (1.10.0.6502) by AlliedModders LLC
03 "Admin Menu" (1.10.0.6502) by AlliedModders LLC
04 "Anti-Flood" (1.10.0.6502) by AlliedModders LLC
05 "Basic Ban Commands" (1.10.0.6502) by AlliedModders LLC
06 "Basic Chat" (1.10.0.6502) by AlliedModders LLC
07 "Basic Comm Control" (1.10.0.6502) by AlliedModders LLC
08 "Basic Commands" (1.10.0.6502) by AlliedModders LLC
09 "Basic Info Triggers" (1.10.0.6502) by AlliedModders LLC
10 "Basic Votes" (1.10.0.6502) by AlliedModders LLC
11 "Client Preferences" (1.10.0.6502) by AlliedModders LLC
12 "Fun Commands" (1.10.0.6502) by AlliedModders LLC
13 "Fun Votes" (1.10.0.6502) by AlliedModders LLC
14 "[L4D2] Scavenge Score Fix - Gascan Pouring" (2.5) by SilverShot
15 "[L4D & L4D2] Extinguisher and Flamethrower" (1.21) by SilverShot
16 "[L4D & L4D2] Incapped Weapons Patch" (1.28) by SilverShot
17 "[L4D & L4D2] Reload Fix - Max Clip Size" (1.3a) by SilverShot
18 "[L4D & L4D2] Use Priority Patch" (2.5) by SilverShot
19 "[L4D & L4D2] Left 4 DHooks Direct" (1.128) by SilverShot
20 "Player Commands" (1.10.0.6502) by AlliedModders LLC
21 "Reserved Slots" (1.10.0.6502) by AlliedModders LLC
22 "Sound Commands" (1.10.0.6502) by AlliedModders LLC
thank you.
EDIT: also found that you can't use extinguisher if someone is healing you with medkit. is it possible to correct this?