Raised This Month: $252 Target: $400
 63% 

[L4D & L4D2] Infected Glow (1.9) [03-Aug-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
3027
Plugin Version:
1.9
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    22 
    Plugin Description:
    Creates a dynamic light on common/special infected who are burning.
    Old 06-19-2012 , 23:08   [L4D & L4D2] Infected Glow (1.9) [03-Aug-2020]
    Reply With Quote #1

    Related Plugins:

    About:
    • Creates a dynamic light on Common Infected, Special Infected and Witch when they are on fire.
    • The light flickers and fades in.
    • Maximum of 8 lights simultaneously. Recompile changing "define MAX_LIGHTS" value if you want more.


    Thanks:

    Cvars:

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

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

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

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

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

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

    // 1=Common, 2=Witch, 4=Smoker, 8=Boomer, 16=Hunter, 32=Spitter, 64=Jockey, 128=Charger, 256=Tank, 511=All.
    l4d_infected_glow_infected "511"

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

    // Infected Glow plugin version.
    l4d_infected_glow_version 

    Changes:
    Code:
    1.9 (03-Aug-2020)
        - Added light fading out instead of abruptly disappearing.
        - Added smoother fading of the light, thanks to "Lux" for original coding from "Fire Glow" plugin.
    
    1.8 (10-May-2020)
        - Extra checks to prevent "IsAllowedGameMode" throwing errors.
        - Fixed cvar "l4d_infected_glow_infected" not working for the Tank in L4D1.
    
    1.7 (01-Apr-2020)
        - Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
    
    1.6 (03-Feb-2020)
        - Fixed errors "Invalid edict" by adding "IsValidEdict" - Thanks to "TiTz" for reporting.
    
    1.5 (05-May-2018)
        - Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.
    
    1.4 (30-Jun-2012)
        - Fixed the plugin not working in L4D1.
    
    1.3 (22-Jun-2012)
        - Fixed water not removing the glow - Thanks to "id5473" for reporting.
    
    1.2 (20-Jun-2012)
        - Added some checks to prevent errors being logged - Thanks to "doritos250" for reporting.
    
    1.1 (20-Jun-2012)
        - Fixed not removing the light from Special Infected ignited by incendiary ammo.
    
    1.0 (20-Jun-2012)
        - Initial release.

    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_infected_glow.sp - 165 views - 15.1 KB)
    __________________

    Last edited by Silvers; 08-03-2020 at 17:57.
    Silvers is offline
    pyrO 10
    Junior Member
    Join Date: Mar 2012
    Old 06-20-2012 , 03:10   Re: [L4D & L4D2] Infected Glow (1.0) [20-Jun-2012]
    Reply With Quote #2

    Does not work on Left2 card c5m1
    pyrO 10 is offline
    SyluxLockjaw100
    Senior Member
    Join Date: Jul 2010
    Location: Novaya Russia
    Old 06-20-2012 , 03:20   Re: [L4D & L4D2] Infected Glow (1.0) [20-Jun-2012]
    Reply With Quote #3

    Is it just me or the glow will never wear off when the infected got burned from incendiary ammo?
    SyluxLockjaw100 is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-20-2012 , 03:23   Re: [L4D & L4D2] Infected Glow (1.0) [20-Jun-2012]
    Reply With Quote #4

    Quote:
    Originally Posted by pyrO 10 View Post
    Does not work on Left2 card c5m1
    Very helpful thanks... What the .... are you talking about? Go away.

    Quote:
    Originally Posted by SyluxLockjaw100 View Post
    Is it just me or the glow will never wear off when the infected got burned from incendiary ammo?
    Yeah I forgot about incendiary, will block incendiary creating the light.
    __________________
    Silvers is offline
    pyrO 10
    Junior Member
    Join Date: Mar 2012
    Old 06-20-2012 , 03:30   Re: [L4D & L4D2] Infected Glow (1.0) [20-Jun-2012]
    Reply With Quote #5

    sorry not work, and I can not help you no error log

    Last edited by pyrO 10; 06-20-2012 at 03:32.
    pyrO 10 is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-20-2012 , 03:34   Re: [L4D & L4D2] Infected Glow (1.0) [20-Jun-2012]
    Reply With Quote #6

    Quote:
    Originally Posted by pyrO 10 View Post
    sorry not work, and I can not help you no error log
    Great. People like you might as well not post because what you said is useless. It works for me, so there. Have fun.

    Edit: I bet you don't even know what this plugin does. Go figure.
    __________________

    Last edited by Silvers; 06-20-2012 at 03:35.
    Silvers is offline
    doritos250
    Junior Member
    Join Date: May 2012
    Old 06-21-2012 , 04:20   Re: [L4D & L4D2] Infected Glow (1.1) [20-Jun-2012]
    Reply With Quote #7

    i got much error with it

    http://pastebin.com/bM5xDDuj

    Last edited by doritos250; 06-21-2012 at 14:03.
    doritos250 is offline
    id5473
    Member
    Join Date: Mar 2012
    Old 06-21-2012 , 12:04   Re: [L4D & L4D2] Infected Glow (1.1) [20-Jun-2012]
    Reply With Quote #8

    another nice plugin. Thanks Silvers.

    At present there isn't a way to to lengthen the the glow effect/make it fade away slower is there? Because the glow always fades to early when the flames are still going on.

    id

    Last edited by id5473; 06-21-2012 at 18:06. Reason: typo
    id5473 is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-21-2012 , 12:31   Re: [L4D & L4D2] Infected Glow (1.1) [20-Jun-2012]
    Reply With Quote #9

    Quote:
    Originally Posted by doritos250 View Post
    i got much error with it

    http://pastebin.com/bM5xDDuj


    Forget to put the include file solved
    Fixed in the latest version.


    Quote:
    Originally Posted by id5473 View Post
    another nice plugin. Thanks Silvers.

    At present there isn't a way to to lengthen the the glow effect/make if fade away slower is there? Because the glow always fades to early when the flames are still going on.

    id
    Without some extra long methods, it's not possible to have the light fade out.
    __________________
    Silvers is offline
    id5473
    Member
    Join Date: Mar 2012
    Old 06-22-2012 , 15:18   Re: [L4D & L4D2] Infected Glow (1.2) [21-Jun-2012]
    Reply With Quote #10

    yo silvers.. another thing I've noticed: if special infected (tank for example) walks through water.. the fire is extinguished but the glow continues.
    id5473 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 06:41.


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