Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] UnVomit - Remove Boomer Screen Effect (1.8) [14-Jul-2022]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6836
Plugin Version:
1.8
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Removes the visual vomit effect from a survivor.
    Old 12-01-2019 , 12:17   [L4D & L4D2] UnVomit - Remove Boomer Screen Effect (1.8) [14-Jul-2022]
    Reply With Quote #1

    About:
    • This completely unvomits someone with options of adding back the glow (L4D2 only) and chase goal to attract infected.
    • Player model doesn't retain the bile visual effects overlay. Is it possible? I'm guessing it's client side only.


    Admin Commands: (requires "z" flag)

    PHP Code:
    sm_vomit      // Cover in bile. Usage: sm_vomit [#userid|name]. No args = target self.
    sm_unvomit    // Remove effect. Usage: sm_unvomit [#userid|name]. No args = target self. 

    Cvars:

    Saved to l4d_unvomit.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    // 0=Plugin off, 1=Plugin on.
    l4d_unvomit_allow "1"

    // 0=Off. 1=Attach a info_goal_infected_chase to players for common infected to chase them.
    l4d_unvomit_chase "1"

    // Duration of the effect (game default: 20). How long to keep the chase and glow enabled.
    l4d_unvomit_duration "20"

    // Only users with these flags will be unvomited. Empty = allow  all players.
    l4d_unvomit_flags ""

    // 0=Off. L4D2 only: glow outline on players until vomit reset time. Three values between 0-255 separated by spaces. RGB: Red Green Blue.
    l4d_unvomit_glow_color "255 102 0"

    // 0=Off. L4D2 only: glow outline in Versus gamemode.
    l4d_unvomit_glow_versus "201 17 183"

    // 0.0=Instant. Duration of the particle effect (game default: 10.0). How long to keep the on-screen green effect enabled.
    l4d_unvomit_particle "0.0"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d_unvomit_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d_unvomit_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d_unvomit_modes_tog "0"

    // UnVomit plugin version.
    l4d_unvomit_version 


    Changes:
    Code:
    1.8 (14-Jul-2022)
        - Fixed not removing the effect on players when taking over a bot who has been covered in vomit. Thanks to "hefiwhfcds2" for reporting.
    
    1.7 (20-Jun-2022)
        - Fixed the glow not removing on player death. Thanks to "hefiwhfcds2" for reporting.
    
    1.6 (14-Nov-2021)
        - Changes to fix warnings when compiling on SourceMod 1.11.
        - Updated GameData signatures to avoid breaking when detoured by the "Left4DHooks" plugin.
    
    1.5 (12-Sep-2021)
        - Added cvar "l4d_unvomit_flags" to specify users with certain flags to allow unvomit.
    
    1.4 (28-Apr-2021) - Update by "Dragokas"
        - Added cvar "l4d_unvomit_particle" to delay removing the vomit particle effect.
        - Prevent glowing errors in L4D1.
    
    1.3 (15-Feb-2021)
        - Fixed the invalid entity error. Thanks to "Dragokas" for reporting.
    
    1.2 (01-Apr-2020)
        - Fixed incorrect L4D1 Linux signature. Thanks to "Dragokas" for reporting.
        - Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
    
    1.1 (01-Dec-2019)
        - Added new features and cvars, made into a full plugin for release.
    
    1.0 (20-May-2012)
        - Initial release.


    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    2. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.

    Updating from 1.4 or older:
    • New cvars have been added: use the Cvar Configs Updater, or delete the old cvars config or manually add them.
    Attached Files
    File Type: txt l4d_unvomit.txt (2.3 KB, 419 views)
    File Type: sp Get Plugin or Get Source (l4d_unvomit.sp - 510 views - 18.3 KB)
    __________________

    Last edited by Silvers; 07-14-2022 at 11:25.
    Silvers is offline
     



    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 15:57.


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