Raised This Month: $ Target: $400
 0% 

[L4D/2] Black and White Notifier


Post New Thread Reply   
 
Thread Tools Display Modes
matrixmark
Senior Member
Join Date: Jun 2010
Old 03-25-2011 , 03:39   Re: [L4D/2] Black and White Notifier
Reply With Quote #71

Ya the original one still works just with all the uneeded stuff you removed in your version. And of course the broken glow feature.
matrixmark is offline
carlos moschen
Member
Join Date: Jan 2011
Old 08-20-2011 , 16:31   Re: [L4D/2] Black and White Notifier
Reply With Quote #72

Great plugin Friend, So you have a problem, the plugin is not generating cfg, only the setting. "SP even" thank you!
carlos moschen is offline
Merudo
Senior Member
Join Date: Feb 2016
Old 03-24-2016 , 18:25   Re: [L4D/2] Black and White Notifier
Reply With Quote #73

Black and White or Dead (forked)

Based on retsam, itself based on DarkNoghri.

Description:

Players may be notified of a player going Black and White, and may be notified of player deaths. The later is especially useful on servers with 5+ survivors.

Changes:

- Changed sm_bwnotice_mode. Now 1 notifies survivors, 2 notifies infected, 3 notifies everyone, and 0 disables the feature
- New cvar sm_bwnotice_death. Player deaths will be notified in chat or hints. 1 notifies survivors, 2 notifies infected, 3 notifies everyone, and 0 disables the feature
- New messages to infected when a survivor is healed and no longer B&W (if sm_bwnotice_mode is 2 or 3)
- Fixed idle/connect/disconnect bug where B&W status would be lost
- Healing through other methods (cheats, etc.) will now remove BW status
- Added glow support for L4D1
- Updated code to new syntax

Cvars:

- sm_bwnotice_glow. Enable making black white players glow? (1/0 = yes/no. Default 1)
- sm_bwnotice_noticetype. Type to use for notification. (0=chat, 1=hint text. Default 0)
- sm_bwnotice_mode. Method of notification for BW. (0=Nobody, 1=survivors only, 2=infected only, 3=all players. Default 1)
- sm_bwnotice_death. Method of notification for deaths. (0=Nobody, 1=survivors only, 2=infected only, 3=all players. Default 0)
Attached Files
File Type: sp Get Plugin or Get Source (l4d_blackandwhiteordead.sp - 1841 views - 9.8 KB)
__________________

Last edited by Merudo; 04-02-2016 at 22:06.
Merudo is offline
bazrael
Senior Member
Join Date: Jan 2010
Location: Where Lucy became superw
Old 04-02-2016 , 10:08   Re: [L4D/2] Black and White Notifier
Reply With Quote #74

Quote:
Originally Posted by Merudo View Post
Black and White or Dead (forked)
May I request a new feature? I always heal Black/White bot survivors with plugin so they won't become a trouble of players. (Command Like this: sm_gw @bots health.) However, B/W plugin won't cancel their B/W outline because I don't use medkit to heal them. Is it possible to remove their outline once their solid HP are above 80?
bazrael is offline
Merudo
Senior Member
Join Date: Feb 2016
Old 04-02-2016 , 14:43   Re: [L4D/2] Black and White Notifier
Reply With Quote #75

Quote:
Originally Posted by bazrael View Post
May I request a new feature? I always heal Black/White bot survivors with plugin so they won't become a trouble of players. (Command Like this: sm_gw @bots health.) However, B/W plugin won't cancel their B/W outline because I don't use medkit to heal them. Is it possible to remove their outline once their solid HP are above 80?
Feature now implemented, check the new version.
__________________
Merudo is offline
P00kster
Member
Join Date: Aug 2015
Old 04-02-2016 , 18:27   Re: [L4D/2] Black and White Notifier
Reply With Quote #76

Quote:
Originally Posted by Merudo View Post
Feature now implemented, check the new version.
Getting this error when using on L4D1:

L 04/01/2016 - 0074: [SM] [0] Line 89, l4d_bwd.sp::Hook_ReviveSuccess()
L 04/01/2016 - 007:40: [SM] Native "SetEntProp" reported: Property "m_iGlowType" not found (entity 4/player)
L 04/01/2016 - 007:40: [SM] Displaying call stack trace for plugin "l4d_bwd.smx":
L 04/01/2016 - 007:40: [SM] [0] Line 233, l4d_bwd.sp::Hook_PlayerDeath()
L 04/01/2016 - 007:51: [SM] Native "SetEntProp" reported: Property "m_iGlowType" not found (entity 4/player)
L 04/01/2016 - 007:51: [SM] Displaying call stack trace for plugin "l4d_bwd.smx":
L 04/01/2016 - 007:51: [SM] [0] Line 299, l4d_bwd.sp::Hook_PlayerSpawn()
L 04/01/2016 - 008:26: [SM] Native "SetEntProp" reported: Property "m_iGlowType" not found (entity 4/player)
L 04/01/2016 - 008:26: [SM] Displaying call stack trace for plugin "l4d_bwd.smx":

Issue was fixed when I disabled glow in the plugin config.

Last edited by P00kster; 04-02-2016 at 18:31.
P00kster is offline
Merudo
Senior Member
Join Date: Feb 2016
Old 04-02-2016 , 19:18   Re: [L4D/2] Black and White Notifier
Reply With Quote #77

Did the glow work with the previous version of the plugin in L4D1? If not, there is not much I can do.
__________________
Merudo is offline
P00kster
Member
Join Date: Aug 2015
Old 04-02-2016 , 20:53   Re: [L4D/2] Black and White Notifier
Reply With Quote #78

Quote:
Originally Posted by Merudo View Post
Did the glow work with the previous version of the plugin in L4D1? If not, there is not much I can do.
It looks like it did not work in L4D, probably due to the same reason. I'll just keep it off in the config. Everything else works great though. Glad to see someone is still working on plugins for L4D.
P00kster is offline
Merudo
Senior Member
Join Date: Feb 2016
Old 04-02-2016 , 22:05   Re: [L4D/2] Black and White Notifier
Reply With Quote #79

P00kster, I added some B&W "glow" (really some coloring) for L4D1 (L4D2 glow remains unchanged).

Right now it's a red color, I'm not that happy with it. Any suggestion is welcome.
__________________

Last edited by Merudo; 04-02-2016 at 22:05.
Merudo is offline
Krufftys Killers
Senior Member
Join Date: Jan 2014
Old 04-20-2016 , 13:49   Re: [L4D/2] Black and White Notifier
Reply With Quote #80

Quote:
Originally Posted by cravenge View Post
Hiya, this is my modified version of this plugin.

MODIFICATIONS:
  • Copied Merudo's death notifier code to let other players know who died.
  • In coop/realism gamemodes, this plugin removes and adds the glow back to limping survivors after map changes.
  • In versus where team changes occur, this plugin removes the glow from all human players.
  • In manually changing teams (pressing M), this plugin checks the player who change team and removes his/her glow if team is infected.
  • Moved unnecessary codes just in case if you're using my [L4D/L4D2] HP Rewards plugin.
L 04/20/2016 - 13:27:56: [SM] Native "VFormat" reported: Client index 1411985960 is invalid
L 04/20/2016 - 13:27:56: [SM] Displaying call stack trace for plugin "bw_notifier.smx":
L 04/20/2016 - 13:27:56: [SM] [0] Line 399, /groups/sourcemod/compiler-1.7/include/halflife.inc:rintHintTextToAll()
L 04/20/2016 - 13:27:56: [SM] [1] Line 447, /home/forums/content/files/2/6/5/1/0/4/153888.attach::OnPlayerDeath()
L 04/20/2016 - 13:28:05: [SM] Native "VFormat" reported: Client index 1953067091 is invalid
L 04/20/2016 - 13:28:05: [SM] Displaying call stack trace for plugin "bw_notifier.smx":
Krufftys Killers 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 23:26.


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