Raised This Month: $9 Target: $400
 2% 

[L4D & L4D2] Extinguisher & Flamethrower (1.18) [19-Oct-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Mi.Cura
Senior Member
Join Date: Dec 2016
Location: Brazil
Old 11-15-2020 , 15:23   Re: [L4D & L4D2] Extinguisher & Flamethrower (1.14) [30-Sep-2020]
Reply With Quote #61

I'm receive this

L 11/12/2020 - 21:46:18: [SM] Blaming: l4d_extinguisher.smx
L 11/12/2020 - 21:46:18: [SM] Call stack trace:
L 11/12/2020 - 21:46:18: [SM] [0] SetEntPropFloat
L 11/12/2020 - 21:46:18: [SM] [1] Line 2288, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_extinguisher.sp::TraceAttack
L 11/12/2020 - 21:46:18: [SM] [2] Line 2168, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_extinguisher.sp::TimerTrace
L 11/12/2020 - 21:46:18: [SM] Exception reported: Property "m_flFrozen" not found (entity 1810/func_breakable)
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie
Mi.Cura is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 11-15-2020 , 17:56   Re: [L4D & L4D2] Extinguisher & Flamethrower (1.14) [30-Sep-2020]
Reply With Quote #62

Probably this entity doesn't accept the frozen state (func_breakable)
__________________

Last edited by Marttt; 02-16-2021 at 08:44.
Marttt is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-16-2021 , 01:06   Re: [L4D & L4D2] Extinguisher & Flamethrower (1.15) [15-Feb-2021]
Reply With Quote #63

Thanks, updated.

Code:
1.15 (15-Feb-2021)
    - Fixed "Cannot create new entity when no map is running" error. Thanks to "Dragokas" for reporting.
    - Fixed "Property "m_flFrozen" not found" error. Thanks to "Mi.Cura" for reporting and "Marttt" for fixing.
__________________
Silvers is offline
mikaelangelis
Senior Member
Join Date: Oct 2017
Old 06-04-2021 , 20:45   Re: [L4D & L4D2] Extinguisher & Flamethrower (1.15) [15-Feb-2021]
Reply With Quote #64

Looks like the extinguisher cannot extinguish the fire :/

Last edited by mikaelangelis; 06-04-2021 at 20:53.
mikaelangelis is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-04-2021 , 21:10   Re: [L4D & L4D2] Extinguisher & Flamethrower (1.15) [15-Feb-2021]
Reply With Quote #65

Quote:
Originally Posted by mikaelangelis View Post
Looks like the extinguisher cannot extinguish the fire :/
Edit: To increase the range to extinguish in OnSpawnInferno change:

PHP Code:
        float vMins[3]; vMins view_as<float>({-150.0, -150.00.0});
        
float vMaxs[3]; vMaxs view_as<float>({150.0150.050.0}); 
to
PHP Code:
        float vMins[3]; vMins view_as<float>({-250.0, -250.00.0});
        
float vMaxs[3]; vMaxs view_as<float>({250.0250.050.0}); 
__________________

Last edited by Silvers; 06-06-2021 at 03:00.
Silvers is offline
mikaelangelis
Senior Member
Join Date: Oct 2017
Old 06-05-2021 , 02:47   Re: [L4D & L4D2] Extinguisher & Flamethrower (1.15) [15-Feb-2021]
Reply With Quote #66

Quote:
Originally Posted by Silvers View Post
Which fire? It was designed to do this, works when I tested.
I tried setting all, or just molotov/gascan fire. This is the result
https://www.youtube.com/watch?v=whV4hUqBjUc
Attached Thumbnails
Click image for larger version

Name:	extfire.gif
Views:	34
Size:	93.9 KB
ID:	189606  

Last edited by mikaelangelis; 06-05-2021 at 02:54.
mikaelangelis is offline
swiftswing1
Member
Join Date: Oct 2020
Old 10-11-2021 , 01:00   Re: [L4D & L4D2] Extinguisher & Flamethrower (1.17) [11-Jul-2021]
Reply With Quote #67

hi Silvers, a few things:

1. just a small bug: you can equip/hold extinguishers with chainsaw in hand - pretty sure this is unintentional? the extinguisher prop is facing backwards too. though the extinguisher doesn't auto equip/switch to chainsaw so not really a big deal.
2. using secondary attack [ZOOM] with snipers/sg552 will triggers their scope. is it possible to block?

as always, thanks for your very cool plugins.
swiftswing1 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-19-2021 , 06:02   Re: [L4D & L4D2] Extinguisher & Flamethrower (1.18) [19-Oct-2021]
Reply With Quote #68

Code:
1.18 (19-Oct-2021)
    - Fixed the extinguisher equipping over the Chainsaw. Thanks to "swiftswing1" for reporting.
    - Fixed zooming sniper scopes when using the zoom button with an extinguisher equipped. Thanks to "swiftswing1" for reporting.
    - Zooming still occurs for a split second. Would probably require detouring "CTerrorGun::CanZoom" or something similar to totally block.
    - Changed some code which only works in SM 1.10 or newer.
__________________
Silvers is offline
swiftswing1
Member
Join Date: Oct 2020
Old 10-21-2021 , 07:07   Re: [L4D & L4D2] Extinguisher & Flamethrower (1.18) [19-Oct-2021]
Reply With Quote #69

thanks Silvers.
haven't been playing much as of late, but highly appreciate the updates.
cheers!
swiftswing1 is offline
Reply


Thread Tools
Display Modes

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 19:51.


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