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

[L4D2]Vomitjar close swarm and inferno


Post New Thread Reply   
 
Thread Tools Display Modes
Author
LinLinLin
Senior Member
Join Date: Sep 2021
Plugin ID:
8182
Plugin Version:
2022-9-12
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Vomitjar close swarm and inferno
    Old 09-11-2022 , 17:43   [L4D2]Vomitjar close swarm and inferno
    Reply With Quote #1

    Description:
    • Smoke in csgo can extinguish the fire , now in l4d2 survivor can use vomitjar to do the same . Especially extinguish the spitter swarm .

    Cvar:
    • Miuwiki_Vomitjar_Start - Toggle on or off the plugin . 0 = off 1 = on
    • Miuwiki_Vomitjar_Range - How far vomitjar can extinguish . [20.0 , 5000.0]
    • Miuwiki_Vomitjar_Time - How long vomitjar can extinguish . [1.0 , 20.0]

    Thanks:
    • sorallll - Fixed array.Erase() mistake.

    Note:
    • Uncomment AutoExecConfig() to enable .cfg file .
    Attached Thumbnails
    Click image for larger version

Name:	Y)7[R`7Z~~U@M~N`82`9Q~C.jpg
Views:	303
Size:	28.8 KB
ID:	196796   Click image for larger version

Name:	VQZ@KGBLHJVV}DTJ5}}HI0M.jpg
Views:	266
Size:	68.4 KB
ID:	196797  
    Attached Files
    File Type: smx Miuwiki_Vomitjar_Effect.smx (5.7 KB, 74 views)
    File Type: sp Get Plugin or Get Source (Miuwiki_Vomitjar_Effect.sp - 172 views - 5.5 KB)

    Last edited by LinLinLin; 09-11-2022 at 18:02.
    LinLinLin is online now
    Omixsat
    Member
    Join Date: Jul 2022
    Old 09-17-2022 , 04:41   Re: [L4D2]Vomitjar close swarm and inferno
    Reply With Quote #2

    Good plugin, LinLinLin

    This adds some realism since boomer bile isn't flammable anyway.

    I think you should rename the plugin title to "Bile jar hazard extinguisher".

    insect_swarm and inferno are misleading class names for spit puddles and flame trails.
    __________________
    My Plug-Ins
    Plug-in lookup
    My Forks
    [1] [2]
    Omixsat is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 09-17-2022 , 04:54   Re: [L4D2]Vomitjar close swarm and inferno
    Reply With Quote #3

    - The ".smx" can be removed since the plugin compiles fine on the forum.

    - I would change "char classname[64];" to "static char classname[64];" so the array is not constantly created and zeroed for every entity being destroyed.

    - In "RemoveinsectAndinferno" you should delete the "pack" when you do "return Plugin_Stop;" otherwise you're leaking handles.
    __________________
    Silvers 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 12:28.


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