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

[L4D] Glow (with pulse)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Pontifex
Member
Join Date: Feb 2009
Plugin ID:
1038
Plugin Version:
1.5
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Glow theme from community autoexec
    Old 07-25-2009 , 13:37   [L4D] Glow (with pulse)
    Reply With Quote #1

    L4D Glow with pulse



    DESCRIPTION:

    All of you know an excellent cfg L4D Community Autoexec, and everyone knows that this change glow color... with pulse!
    But the drawback L4D Community Autoexec is that it is visible only to the client. And you certainly want to put it on the server? I Do you stand out? What would people say -"Wow! Then the other colors!"

    Your dream came true! =) I present to you the plugin, which is forced to alter the glow color on the server, regardless of client settings.
    You can choose a ready to color (Q1, D1), or customize the color of their choice through in cfg.



    SCREENSHOTS:

    [img]http://img30.**************/img30/1668/59411979.gif[/img][img]http://img30.**************/img30/9691/78082100.gif[/img]
    [img]http://img30.**************/img30/8356/20018150.gif[/img][img]http://img30.**************/img30/4161/84916638.gif[/img]

    HOW TO ADJUST COLOR:
    Custom glow color only works if ml_glow_mode "3"

    R G B at the end of the cvars stands for Red, Green, Blue so by altering the values for them to anything other than 0 ranging from 0.1 to 1.0 will change the colours of the glows so if u changed ml_glow_survivor_g_one to 1 and keep ml_glow_survivor_r_one and ml_glow_survivor_b_one at 0 then whenever the survivors are out of your site you will see a green glow around them instead of blue.

    One & two at the end of the cvars indicates stage flashing. For example: the color of ml_glow_survivor_g_one will appear in the first second, and the color of ml_glow_survivor_g_two will appear in the second second. Thus survivor will glow pulse two different colors.

    PLEASE, IF THE DESCRIPTION OF WRITTEN BAD, SAID TO ME.
    HOW TELL TO CORRECTLY AND WRITE. I KNOW BAD ENGLISH LANGUAGE.




    CONFIG:
    Code:
    ml_version - Print version plugin
    ml_glow_mode - Change glow mode (0 - default, 1 - Q1 glow theme, 2 - D1 glow theme, 3 - Custom glow from config)
    ml_glow_colorblindset_ignoring - Colors are changing, even if the client is set to color blind? (0 - No, 1 - Yes)
    	
    Glow color: (only works if ml_glow_mode = 3!)
    ml_glow_item_far_r_one - Red color of items from a distance glow (First stage)
    ml_glow_item_far_g_one - Green color of items from a distance glow (First stage) 
    ml_glow_item_far_b_one - Blue color of items from a distance glow (First stage) 
    ml_glow_item_far_r_two - Red color of items from a distance glow (Second stage) 
    ml_glow_item_far_g_two - Green color of items from a distance glow (Second stage) 
    ml_glow_item_far_b_two - Blue color of items from a distance glow (Second stage) 
    
    ml_glow_ghost_infected_r_one - Red color of infected ghost glow (First stage) 
    ml_glow_ghost_infected_g_one - Green color of infected ghost glow (First stage) 
    ml_glow_ghost_infected_b_one - Blue color of infected ghost glow (First stage) 
    ml_glow_ghost_infected_r_two - Red color of infected ghost glow (Second stage) 
    ml_glow_ghost_infected_g_two - Green color of infected ghost glow (Second stage) 
    ml_glow_ghost_infected_b_two - Blue color of infected ghost glow (Second stage) 
    
    ml_glow_item_r_one - Red color of items up close (First stage) 
    ml_glow_item_g_one - Green color of items up close glow (First stage) 
    ml_glow_item_b_one - Blue color of items up close glow (First stage) 
    ml_glow_item_r_two - Red color of items up close glow (Second stage) 
    ml_glow_item_g_two - Green color of items up close glow (Second stage) 
    ml_glow_item_b_two - Blue color of items up close glow (Second stage) 
    
    ml_glow_survivor_hurt_r_one - Red color of survivor team mate glow when incapacitated (First stage) 
    ml_glow_survivor_hurt_g_one - Green color of survivor team mate glow when incapacitated (First stage) 
    ml_glow_survivor_hurt_b_one - Blue color of survivor team mate glow when incapacitated (First stage) 
    ml_glow_survivor_hurt_r_two - Red color of survivor team mate glow when incapacitated (Second stage) 
    ml_glow_survivor_hurt_g_two - Green color of survivor team mate glow when incapacitated (Second stage) 
    ml_glow_survivor_hurt_b_two - Blue color of survivor team mate glow when incapacitated (Second stage) 
    
    ml_glow_survivor_vomit_r_one - Red color the Survivors see the IT victim glow (First stage) 
    ml_glow_survivor_vomit_g_one - Green color the Survivors see the IT victim glow (First stage) 
    ml_glow_survivor_vomit_b_one - Blue color the Survivors see the IT victim glow (First stage) 
    ml_glow_survivor_vomit_r_two - Red color the Survivors see the IT victim glow (Second stage) 
    ml_glow_survivor_vomit_g_two - Green color the Survivors see the IT victim glow (Second stage) 
    ml_glow_survivor_vomit_b_two - Blue color the Survivors see the IT victim glow (Second stage) 
    
    ml_glow_infected_r_one - Red color of infected glow (First stage) 
    ml_glow_infected_g_one - Green color of infected glow (First stage) 
    ml_glow_infected_b_one - Blue color of infected glow (First stage) 
    ml_glow_infected_r_two - Red color of infected glow (Second stage) 
    ml_glow_infected_g_two - Green color of infected glow (Second stage) 
    ml_glow_infected_b_two - Blue color of infected glow (Second stage) 
    
    ml_glow_survivor_r_one - Red color of survivor team mate glow (First stage) 
    ml_glow_survivor_g_one - Green color of survivor team mate glow (First stage) 
    ml_glow_survivor_b_one - Blue color of survivor team mate glow (First stage) 
    ml_glow_survivor_r_two - Red color of survivor team mate glow (Second stage) 
    ml_glow_survivor_g_two - Green color of survivor team mate glow (Second stage) 
    ml_glow_survivor_b_two - Blue color of survivor team mate glow (Second stage) 
    
    ml_glow_ability_r_one - Red color of ability glow (First stage) 
    ml_glow_ability_g_one - Green color of ability glow (First stage) 
    ml_glow_ability_b_one - Blue color of ability glow (First stage) 
    ml_glow_ability_r_two - Red color of ability glow (Second stage) 
    ml_glow_ability_g_two - Green color of ability glow (Second stage) 
    ml_glow_ability_b_two - Blue color of ability glow (Second stage) 
    
    ml_glow_infected_vomit_r_one - Red the PZs see the IT victim glow (First stage) 
    ml_glow_infected_vomit_g_one - Green the PZs see the IT victim glow (First stage) 
    ml_glow_infected_vomit_b_one - Blue the PZs see the IT victim glow (First stage) 
    ml_glow_infected_vomit_r_two - Red the PZs see the IT victim glow (Second stage) 
    ml_glow_infected_vomit_g_two - Green the PZs see the IT victim glow (Second stage) 
    ml_glow_infected_vomit_b_two - Blue the PZs see the IT victim glow (Second stage) 
    
    ml_glow_survivor_health_high_r_one - Red color the Infected see Survivors when their health is high (First stage) 
    ml_glow_survivor_health_high_g_one - Green color the Infected see Survivors when their health is high (First stage) 
    ml_glow_survivor_health_high_b_one - Blue color the Infected see Survivors when their health is high (First stage) 
    ml_glow_survivor_health_high_r_two - Red color the Infected see Survivors when their health is high (Second stage) 
    ml_glow_survivor_health_high_g_two - Green color the Infected see Survivors when their health is high (Second stage) 
    ml_glow_survivor_health_high_b_two - Blue color the Infected see Survivors when their health is high (Second stage) 
    
    ml_glow_survivor_health_med_r_one - Red color the Infected see Survivors when their health is medium (First stage) 
    ml_glow_survivor_health_med_g_one - Green color the Infected see Survivors when their health is medium (First stage) 
    ml_glow_survivor_health_med_b_one - Blue color the Infected see Survivors when their health is medium (First stage) 
    ml_glow_survivor_health_med_r_two - Red color the Infected see Survivors when their health is medium (Second stage) 
    ml_glow_survivor_health_med_g_two - Green color the Infected see Survivors when their health is medium (Second stage) 
    ml_glow_survivor_health_med_b_two - Blue color the Infected see Survivors when their health is medium (Second stage) 
    
    ml_glow_survivor_health_low_r_one - Red color the Infected see Survivors when their health is low (First stage) 
    ml_glow_survivor_health_low_g_one - Green color the Infected see Survivors when their health is low (First stage) 
    ml_glow_survivor_health_low_b_one - Blue color the Infected see Survivors when their health is low (First stage) 
    ml_glow_survivor_health_low_r_two - Red color the Infected see Survivors when their health is low (Second stage) 
    ml_glow_survivor_health_low_g_two - Green color the Infected see Survivors when their health is low (Second stage) 
    ml_glow_survivor_health_low_b_two - Blue color the Infected see Survivors when their health is low (Second stage) 
    
    ml_glow_thirdstrike_item_r_one - Red color of survivor team mate glow (First stage) 
    ml_glow_thirdstrike_item_g_one - Green color of items in black and white mode (First stage) 
    ml_glow_thirdstrike_item_b_one - Blue color of items in black and white mode (First stage) 
    ml_glow_thirdstrike_item_r_two - Red color of survivor team mate glow (Second stage) 
    ml_glow_thirdstrike_item_g_two - Green color of items in black and white mode (Second stage) 
    ml_glow_thirdstrike_item_b_two - Blue color of items in black and white mode (Second stage)


    INSTALLATION:

    Copy mlglow.smx to addons/sourcemod/plugins/
    Copy mlglow_config.cfg in cfg/sourcemod/ (If the file does not exist it will be created when the plugin is first loaded)



    CREDITS:

    Pontifex - Author of plugin
    Dragonshadow - See of 1.3 changes, and various help
    bman87 - Help with optimization



    CHANGELOG:
    Quote:
    1.0 - 07/25/09 (3 views)
    -Release
    1.1 - 07/25/09 (14 views)
    -Add D1 theme, activated cvar ml_glow 2
    1.2 - 07/30/09 (24 views)
    -Cvar is 0 it changes everything back to normal
    -Optimization code
    1.3 - 07/30/09 (15 views)
    -Dragonshadow сhanges:
    -Hooked glow cvar to glowhook so it isn't calling GetConvarInt every time the timer runs (optimization)
    -Uses switches instead of constant if statements (optimization)
    -Changed OnClientPutInServer to OnClientPostAdminCheck (they should be ingame at this point so nothing can screw up)
    -If ml_glow = 0 when a client joins it doesn't start the timers on them.
    -If client isn't connected and ingame the timers stop.
    -If the convar is changed to default (0) it sets the cvars back to default and then kills the timer so it isn't running just running (optimization)
    -When the cvar is changed to something other than 0 the timers will start again.
    -Added min & max values for ml_glow
    -Added version cvar "ml_version" for use as public cvar
    -Added description
    -Tweaked cvar description
    1.4 - 07/31/09 (113 views)
    -Deleted clones ClientCommand from second stage Glow (optimization)
    -glowhook default is 1. I think a better way
    1.5 - 08/01/09
    -Added config with choice glows to your taste (thx Dragonshadow)
    -Changed cvar ml_glow to ml_glow_mode
    -Custom colors are changing only when ml_glow_mode 3
    -Colors are changing, even if the client is set to color blind (optional)
    -Added new color choices:
    -Color of ability glow
    -Color the PZs see the IT victim glow
    -Color the Infected see Survivors when their health is high, medium and low
    -Glow of items in "black and white" mode*/
    Attached Files
    File Type: sp Get Plugin or Get Source (mlglow.sp - 9143 views - 42.0 KB)
    __________________
    Sorry for my bad English

    Last edited by Pontifex; 08-13-2009 at 14:51.
    Pontifex is offline
    fpsbrian
    Senior Member
    Join Date: Feb 2008
    Old 07-26-2009 , 06:55   Re: [L4D] Glow
    Reply With Quote #2

    Very nice!
    __________________
    fpsbrian is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 07-27-2009 , 09:08   Re: [L4D] Glow (with pulse)
    Reply With Quote #3

    Working nice, thanx. I think its 51st plugin i use.
    __________________
    olj is offline
    m4ster
    Senior Member
    Join Date: Mar 2007
    Old 07-27-2009 , 18:46   Re: [L4D] Glow (with pulse)
    Reply With Quote #4

    Srsly i hate modded L4D servers.
    __________________
    m4ster is offline
    GM-Scorp
    Senior Member
    Join Date: Jun 2009
    Location: netherlands
    Old 07-27-2009 , 19:22   Re: [L4D] Glow (with pulse)
    Reply With Quote #5

    Then don't play on them !!!
    GM-Scorp is offline
    Send a message via MSN to GM-Scorp
    Pontifex
    Member
    Join Date: Feb 2009
    Old 07-27-2009 , 22:40   Re: [L4D] Glow (with pulse)
    Reply With Quote #6

    m4ster, to fire you, you have nothing to do here
    __________________
    Sorry for my bad English
    Pontifex is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 07-28-2009 , 02:39   Re: [L4D] Glow (with pulse)
    Reply With Quote #7

    Quote:
    Originally Posted by m4ster View Post
    Srsly i hate modded L4D servers.
    Play tetris then
    __________________
    olj is offline
    fpsbrian
    Senior Member
    Join Date: Feb 2008
    Old 07-28-2009 , 17:08   Re: [L4D] Glow (with pulse)
    Reply With Quote #8

    Quote:
    Originally Posted by olj View Post
    Play tetris then
    [req Tetris] All big lines!


    LOL
    __________________
    fpsbrian is offline
    Pontifex
    Member
    Join Date: Feb 2009
    Old 07-28-2009 , 22:50   Re: [L4D] Glow (with pulse)
    Reply With Quote #9

    stop offtop please
    __________________
    Sorry for my bad English
    Pontifex is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 07-29-2009 , 05:40   Re: [L4D] Glow (with pulse)
    Reply With Quote #10

    Well plugin works fine, so we can only offtop for now
    __________________
    olj 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 22:44.


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