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

[L4D/2] Black and White Notifier


Post New Thread Reply   
 
Thread Tools Display Modes
krokroJoujou
Member
Join Date: Mar 2017
Old 01-27-2018 , 11:56   Re: [L4D/2] Black and White Notifier
Reply With Quote #101

Quote:
Originally Posted by cravenge View Post
Update (2.5): Fixed survivor going invi after healing successfully and during b/w mode flashing.
Now the survivor stay glowing even after healed.
krokroJoujou is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 01-28-2018 , 07:33   Re: [L4D/2] Black and White Notifier
Reply With Quote #102

Retested this. Bots don't go invisible anymore. I'm assuming the bots are meant to flash on/off in a reddish colour, and not something more pertinent like black and white?
Sunyata is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 01-28-2018 , 12:58   Re: [L4D/2] Black and White Notifier
Reply With Quote #103

Quote:
Originally Posted by cravenge View Post
Update (2.6): Fixed permanent glow of survivors after being healed successfully. As a bonus, I added Ada Wong's (made originally by Lux, formerly known as Ludastar) name and model for the checks.
You want to cache the handle of the cvar FindConVar("survivor_max_incapacitated_count" )
In the checkplayers function, instead of finding it again.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 01-29-2018 , 04:37   Re: [L4D/2] Black and White Notifier
Reply With Quote #104

Quote:
Originally Posted by cravenge View Post
If you want, I can change the flashing colors from red and normal to black and normal (white is already normal).
My bots don't flash white at all, they flash "on" only in red. There is no "off" colour. When you say "normal," do you mean they should be flashing red then white?

Last edited by Sunyata; 01-29-2018 at 04:38.
Sunyata is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 01-29-2018 , 09:04   Re: [L4D/2] Black and White Notifier
Reply With Quote #105

Quote:
Originally Posted by Sunyata View Post
[...]
O_o? I'm confused...

Hold on. Let me clarify something: The "on" flash color is red and the "off" flash color is the original color of the survivor, even if I find many (useless) attempts to make them be white.

I meant, on my last post, that if you want it to be in your liking, I can change the "on" flash color from red to black so other survivors can notice more when someone on the team is about to meet Death.
cravenge is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 01-29-2018 , 12:07   Re: [L4D/2] Black and White Notifier
Reply With Quote #106

Quote:
Originally Posted by cravenge View Post
O_o? I'm confused...

Hold on. Let me clarify something: The "on" flash color is red and the "off" flash color is the original color of the survivor, even if I find many (useless) attempts to make them be white.

I meant, on my last post, that if you want it to be in your liking, I can change the "on" flash color from red to black so other survivors can notice more when someone on the team is about to meet Death.
You are correct: The "on" flash colour is red and the "off" flash colour is the default colours of the bot.

And yes, it would be nice if the survivors could flash on/off in black and white as well.
Maybe have it as an option in the cfg file, so that other players can choose what colours they want?
Sunyata is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 01-31-2018 , 19:03   Re: [L4D/2] Black and White Notifier
Reply With Quote #107

Quote:
Originally Posted by Sunyata View Post
You are correct: The "on" flash colour is red and the "off" flash colour is the default colours of the bot.

And yes, it would be nice if the survivors could flash on/off in black and white as well.
Maybe have it as an option in the cfg file, so that other players can choose what colours they want?
You can change colours on my version of B&W

https://forums.alliedmods.net/attach...1&d=1501956531
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 02-01-2018 , 08:28   Re: [L4D/2] Black and White Notifier
Reply With Quote #108

Quote:
Originally Posted by Lux View Post
You can change colours on my version of B&W

https://forums.alliedmods.net/attach...1&d=1501956531
Hi Lux,

Your plugin is not working for me either. There was not hint or chat messages displayed, and the bots are not glowing/flashing. Also the "*.cfg" file was not generated. Also shouldn't there be your version of "*.inc" file included with this too? :S
Sunyata is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 02-01-2018 , 12:44   Re: [L4D/2] Black and White Notifier
Reply With Quote #109

If the config don't generate you maybe got on issue with sourcemod.
LMC_Black_and_White_Notifier.cfg

This is what the config looks like.
PHP Code:
// This file was auto-generated by SourceMod (v1.8.0.6036)
// ConVars for plugin "LMC_Black_and_White_Notifier.smx"


// Enable black and white notification plugin?(1/0 = yes/no)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
lmc_blackandwhite "1"

// Enable making black white players glow?(1/0 = yes/no)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
lmc_glow "1"

// Glow(255 255 255)
// -
// Default: "255 255 255"
lmc_glowcolour "255 255 255"

// while black and white if below 20(Def) start pulsing (0 = disable)
// -
// Default: "20"
// Minimum: "0.000000"
lmc_glowflash "20"

// Glow range before you don't see the glow max distance
// -
// Default: "800.0"
// Minimum: "1.000000"
lmc_glowrange "800.0"

// Director hint colour Layout(255 255 255)
// -
// Default: "255 0 0"
lmc_hintcolour "255 0 0"

// Director hint On Black and white
// -
// Default: "600"
// Minimum: "1.000000"
// Maximum: "9999.000000"
lmc_hintrange "600"

// Director hint Timeout (in seconds)
// -
// Default: "5.0"
// Minimum: "1.000000"
// Maximum: "20.000000"
lmc_hinttime "5.0"

// Type to use for notification. (0= off, 1=chat, 2=hint text, 3=director hint)
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
lmc_noticetype "3"

// Method of notification. (0=survivors only, 1=infected only, 2=all players)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
lmc_teamnoticetype "0" 
My version don't need an include file.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 02-01-2018 , 14:41   Re: [L4D/2] Black and White Notifier
Reply With Quote #110

Quote:
Originally Posted by Lux View Post
If the config don't generate you maybe got on issue with sourcemod.

LMC_Black_and_White_Notifier.cfg

<snip>

My version don't need an include file.
Still not working, even with this cfg file of yours. Cravenge's plugin above created the cfg file without issue, so I can't understand why yours won't write one for me. Btw: I'm currently using sourcemod version v1.8.0.5912 under Windows 7.
Sunyata 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 02:07.


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