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

[L4D2] Vomitjar Glow (1.3) [10-Jan-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
8604
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Creates a dynamic light where Vomitjars explode.
    Old 12-03-2023 , 07:56   [L4D2] Vomitjar Glow (1.3) [10-Jan-2024]
    Reply With Quote #1

    Related Plugins:

    About:
    • Based on the [L4D & L4D2] Fire Glow plugin.
    • Creates a dynamic light where Vomitjars explode.
    • The light flickers and fades in and out.
    • Maximum of 8 lights simultaneously. Recompile changing "define MAX_LIGHTS" value if you want more.


    Thanks:

    Cvars:

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

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

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

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

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

    // The light color. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue
    l4d2_vomitjar_glow_color "255 0 100"

    // How far does the dynamic light illuminate the area.
    l4d2_vomitjar_glow_distance "250.0"

    // The light glow duration.
    l4d2_vomitjar_glow_time "20.0"

    // Vomitjar Glow plugin version.
    l4d2_vomitjar_glow_version 

    Changes:
    Code:
    1.3 (10-Jan-2024)
        - Changed the plugins on/off/mode cvars to use the "Left 4 DHooks" method instead of creating an entity.
    
    1.2 (08-Jan-2024)
        - Fixed the plugins on/off/mode cvars having no affect. Thanks to "S.A.S" for reporting.
    
    1.1 (04-Dec-2023)
        - Fixed the "l4d2_vomitjar_glow_time" cvar not working and glow time being stuck on 15 seconds. Thanks to "S.A.S" for reporting.
    
    1.0 (03-Dec-2023)
        - Initial release.

    Requirements:
    1. Left 4 DHooks Direct plugin version 1.115 or newer.


    Installation:
    DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires Left 4 DHooks Direct!
    1. Download the .smx file and put into your servers \addons\sourcemod\plugins folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_vomitjar_glow.sp - 81 views - 11.1 KB)
    File Type: smx l4d2_vomitjar_glow.smx (8.5 KB, 141 views)
    __________________

    Last edited by Silvers; 01-10-2024 at 12:21.
    Silvers is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 12-03-2023 , 09:03   Re: [L4D2] Vomitjar Glow (1.0) [03-Dec-2023]
    Reply With Quote #2

    Another dynamic light
    __________________
    HarryPotter is offline
    S.A.S
    Member
    Join Date: Jul 2023
    Old 12-04-2023 , 01:40   Re: [L4D2] Vomitjar Glow (1.0) [03-Dec-2023]
    Reply With Quote #3

    Wonderful.Great job.
    I tested , the cvar are installed by default,I check the time and the glow disappears after 15 seconds
    l4d2_vomitjar_glow_time", "20.0"

    Is it possible to change the color of Vomitjar?
    For example, when you throw a Vomitjar, a red glow and a Vomitjar of the same color
    Because by default it is green and the glow is red

    If possible, can you add such a light for the pipe bomb as well?
    S.A.S is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 12-04-2023 , 06:25   Re: [L4D2] Vomitjar Glow (1.0) [03-Dec-2023]
    Reply With Quote #4

    Can't change the particles color.

    I think Lux made a plugin for the Pipe bomb flash on the ground.

    Will fix the 15 second time, forgot to change after testing something.
    __________________
    Silvers is offline
    S.A.S
    Member
    Join Date: Jul 2023
    Old 12-04-2023 , 07:11   Re: [L4D2] Vomitjar Glow (1.0) [03-Dec-2023]
    Reply With Quote #5

    Is it possible to make it so that when you throw a Vomitjar there is light while it flies?
    As for example when you throw a molotov near a wall, there is dynamic light near it while it flies, is it possible to do the same for Vomitjar?
    S.A.S is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 12-04-2023 , 08:18   Re: [L4D2] Vomitjar Glow (1.0) [03-Dec-2023]
    Reply With Quote #6

    Quote:
    Originally Posted by S.A.S View Post
    Is it possible to make it so that when you throw a Vomitjar there is light while it flies?
    As for example when you throw a molotov near a wall, there is dynamic light near it while it flies, is it possible to do the same for Vomitjar?
    https://forums.alliedmods.net/showthread.php?t=281902
    https://forums.alliedmods.net/showthread.php?t=301388
    __________________

    Last edited by HarryPotter; 12-04-2023 at 08:19.
    HarryPotter is offline
    S.A.S
    Member
    Join Date: Jul 2023
    Old 01-07-2024 , 21:56   Re: [L4D2] Vomitjar Glow (1.1) [04-Dec-2023]
    Reply With Quote #7

    versus mode work
    Code:
    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    // -
    // Default: ""
    l4d2_vomitjar_glow_modes ""
    
    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    // -
    // Default: ""
    l4d2_vomitjar_glow_modes_off "Versus"
    
    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    // -
    // Default: "0"
    l4d2_vomitjar_glow_modes_tog "1"
    S.A.S is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 01-08-2024 , 00:36   Re: [L4D2] Vomitjar Glow (1.2) [08-Jan-2024]
    Reply With Quote #8

    Code:
    1.2 (08-Jan-2024)
        - Fixed the plugins on/off/mode cvars having no affect. Thanks to "S.A.S" for reporting.
    __________________
    Silvers is offline
    Shimo
    Junior Member
    Join Date: Dec 2023
    Old 01-15-2024 , 05:18   Re: [L4D2] Vomitjar Glow (1.3) [10-Jan-2024]
    Reply With Quote #9

    Is there a plugin that allows the player to glow?
    Shimo is offline
    S.A.S
    Member
    Join Date: Jul 2023
    Old 01-15-2024 , 05:47   Re: [L4D2] Vomitjar Glow (1.3) [10-Jan-2024]
    Reply With Quote #10

    There is such a thing.
    [L4D & L4D2] Flashlight (2.30) [21-Dec-2023]
    S.A.S 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 17:16.


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