Raised This Month: $51 Target: $400
 12% 

[L4D1 & L4D2] Ignite Canister


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Plugin ID:
7611
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Ignite canister during the throw by pressing R + Fire (throw)
    Old 04-23-2021 , 11:05   [L4D1 & L4D2] Ignite Canister
    Reply With Quote #1

    Author: Dragokas & Marttt (idea by AlexMy)

    Description:
    Allow you to ignite canister during the throw by pressing R (reload) + Fire (throw).

    Supported:
    - gascan
    - oxygentank
    - propanetank
    - firework crate (L4D2 only)
    Settings (ConVars):
    PHP Code:
    // Enable plugin (1 - Yes, 0 - No)
    l4d_ignitecan_enable "1"

    // Enable gascan to ignite (1 - Yes, 0 - No)
    l4d_ignitecan_gascan "1"

    // Enable oxygen to ignite (1 - Yes, 0 - No)
    l4d_ignitecan_oxygen "1"

    // Enable propane to ignite (1 - Yes, 0 - No)
    l4d_ignitecan_propane "1"

    // Enable fireworks to ignite (1 - Yes, 0 - No)
    l4d_ignitecan_fireworkscrate "1" 
    Commands:
    - Nothing.
    Compatiblity:
    - L4D1.
    - L4D2.
    Credits:
    - AlexMy - for the original idea and request.
    ChangeLog
    Spoiler


    Donate
    Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
    - Patreon (Paypal)
    - BitCoin
    - Ю.Money
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_IgniteCan.sp - 383 views - 7.7 KB)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

    Last edited by Dragokas; 11-04-2021 at 10:57.
    Dragokas is offline
    Marttt
    Veteran Member
    Join Date: Jan 2019
    Location: Brazil
    Old 04-23-2021 , 17:32   Re: [L4D1 & L4D2] Ignite Canister
    Reply With Quote #2

    Amazing plugin Dragokas.

    Only a note: gascans have different behaviours between L4D1 / L4D2.

    While in L4D1 dropping/throwing a gascan creates a new (physics_prop)
    In L4D2 the entity remains the same, so one option would be hooking "weapon_drop"
    (this event doesn't exist in L4D1 [reported here]).
    __________________

    Last edited by Marttt; 04-23-2021 at 18:38.
    Marttt is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 04-23-2021 , 17:54   Re: [L4D1 & L4D2] Ignite Canister
    Reply With Quote #3

    Hi, Marttt.

    Thanks for adding L4D2 support and explaining things!

    Updated.

    Quote:
    1.1 (24-Apr-2021) by Marttt
    - Fixed support for L4D2 to ignite gascan.
    - Added support for igniting: fireworks crate.
    - Added ConVar "l4d_ignitecan_enable" - Enable plugin (1 - Yes, 0 - No)
    - Added ConVar "l4d_ignitecan_gascan" - Enable gascan to ignite (1 - Yes, 0 - No)
    - Added ConVar "l4d_ignitecan_oxygen" - Enable oxygen to ignite (1 - Yes, 0 - No)
    - Added ConVar "l4d_ignitecan_propane" - Enable propane to ignite (1 - Yes, 0 - No)
    - Added ConVar "l4d_ignitecan_fireworkscrate" - Enable fireworks to ignite (1 - Yes, 0 - No)
    - Added other safe checks.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    manhkst
    Member
    Join Date: May 2015
    Location: Vietnammese
    Old 11-04-2021 , 00:40   Re: [L4D1 & L4D2] Ignite Canister
    Reply With Quote #4

    I enable ff but not working? How check and set h_lastattack entity drop gas to client no dmg in team
    __________________
    FD ʚïɞ Team
    Blog: http://fleeingdeath.blogspot.com/

    Last edited by manhkst; 11-04-2021 at 02:35.
    manhkst is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 11-04-2021 , 08:42   Re: [L4D1 & L4D2] Ignite Canister
    Reply With Quote #5

    Plugin doesn't have such feature. Where do you enable ff?
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    manhkst
    Member
    Join Date: May 2015
    Location: Vietnammese
    Old 11-04-2021 , 09:05   Re: [L4D1 & L4D2] Ignite Canister
    Reply With Quote #6

    Quote:
    Originally Posted by Dragokas View Post
    Plugin doesn't have such feature. Where do you enable ff?
    I need to determine who is burning gas so that fire damage from gas does not damage teammates when ff is on
    __________________
    FD ʚïɞ Team
    Blog: http://fleeingdeath.blogspot.com/
    manhkst is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 11-04-2021 , 10:51   Re: [L4D1 & L4D2] Ignite Canister
    Reply With Quote #7

    Is it your own ff plugin or you're using something else?
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 11-04-2021 , 10:58   Re: [L4D1 & L4D2] Ignite Canister
    Reply With Quote #8

    Try updated version.

    Updated.

    Quote:
    1.2 (04-Nov-2021)
    - Added igniter index to AcceptEntityInput to be able to track who ignited the canister.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    NoroHime
    Veteran Member
    Join Date: Aug 2016
    Location: bed
    Old 02-11-2022 , 16:06   Re: [L4D1 & L4D2] Ignite Canister
    Reply With Quote #9

    can we have way to let game really known who ignite gascan? like made player shooted gascan, AcceptEntityInput seem game dont known who kill the zombie or damage the survivor
    ---
    i found these code on Prototype Grenades by silvers
    PHP Code:
    // Set attacker
    SetEntPropEnt(entityProp_Data"m_hPhysicsAttacker"client);
    SetEntPropFloat(entityProp_Data"m_flLastPhysicsInfluenceTime"GetGameTime()); 
    __________________

    Last edited by NoroHime; 02-11-2022 at 16:10.
    NoroHime is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 02-11-2022 , 16:15   Re: [L4D1 & L4D2] Ignite Canister
    Reply With Quote #10

    Thanks for snippet. I'll give it a look when I become in good condition.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 07:58.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode