Raised This Month: $109 Target: $400
 27% 

[L4D/L4D2] Black And White Checker | 1.71 : October 25, 2020 |


Post New Thread Reply   
 
Thread Tools Display Modes
Author
cravenge
Veteran Member
Join Date: Nov 2015
Location: Middle of Nowhere
Plugin ID:
6671
Plugin Version:
1.71
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Creates a way for players to be aware when someone is holding onto their last breath.
    Old 08-06-2019 , 06:03   [L4D/L4D2] Black And White Checker | 1.71 : October 25, 2020 |
    Reply With Quote #1

    Description:
    In L4D1, it makes a clone of the body while in L4D2, it places a grave on the top of the head. Both are given with a bright white aura to help others notice faster.

    Guaranteed, there will be no conflicts with other plugins that gives auras to survivors for this plugin handles that method in a different way plus it has support for [L4D2]AdaWong Survivor.

    ConVars:
    • black_and_white_checker_version
      → Version of this plugin.
    • bawc_notify [0 - 3] (Default: 1)
      → Who should the plugin notify when a survivor is barely alive?
      0: No one
      1: Fellow survivors
      2: Everyone
      3: Enemies
    • bawc_living_announce [0 / 1] (Default: 1)
      → Enable/Disable the announcements of the remaining amount of survivors still standing?

    Installation:
    💡 *.smx goes into the plugins folder
    💡 *.sp goes into the scripting folder (only if you want to make changes to your liking)
    💡 *.inc goes into the include folder (same as above)
    💡 *.phrases.txt goes into the translations folder
    Notes:
    🗊 The grave method is unavailable in Questionable Ethics and the third map of Suicide Blitz 2. This is due to the way these maps are made and to prevent clients from crashing.
    🗊 l4d2_bot_names.phrases.txt is incomplete since those are only what I can gather from the game's files. It is much appreciated if contributions will be made.
    Credits:
    DarkNoghri - For the original concept.
    retsam & Merudo - For some interesting ideas from their forks.
    Lux - For helpful tips, a few code snippets from LMC to serve as the L4D1 method and the instructor hint creation which was a great addition to be honest.
    viaxiamu - For the correction of Simplified Chinese translations and also provided ones for Traditional Chinese.
    Supported Translations:
    💬 Simplified Chinese
    💬 German
    💬 Spanish
    💬 French
    💬 Hungarian
    💬 Japanese
    💬 Italian
    💬 Dutch
    💬 Polish
    💬 Portuguese (Brazilian)
    💬 Portuguese
    💬 Russian
    💬 Ukrainian
    💬 Traditional Chinese
    Attached Files
    File Type: inc glow.inc (3.0 KB, 36 views)
    File Type: txt bawc.phrases.txt (4.9 KB, 22 views)
    File Type: txt l4d2_bot_names.phrases.txt (2.7 KB, 20 views)
    File Type: sp Get Plugin or Get Source (black_and_white_checker.sp - 5 views - 19.9 KB)
    File Type: smx black_and_white_checker.smx (14.7 KB, 10 views)
    __________________

    Last edited by cravenge; 10-24-2020 at 14:37.
    cravenge is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Middle of Nowhere
    Old 08-06-2019 , 06:07   Re: [L4D / L4D2] Black and White Notifier (Reloaded) | 1.54 : August 6, 2019 |
    Reply With Quote #2

    If you can provide screenshots after testing the plugin, you can post them here so I can add them to the main thread and credit you.
    __________________

    Last edited by cravenge; 10-18-2020 at 08:16.
    cravenge is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Brexit
    Old 08-06-2019 , 08:23   Re: [L4D/L4D2] Black and White Notifier (Reloaded) | 1.55 : August 6, 2019 |
    Reply With Quote #3

    Hello this looks good and clean

    You wanna use PostThinkPost, because player animations are updated in PostThink, when using Just think all your animation checks for l4d1 are 1tick behind.

    PHP Code:
    public void OnClientPutInServer(int client)
    {
        if (!
    bIsL4D1)
        {
            return;
        }
        
        
    SDKHook(clientSDKHook_PostThinkPostOnThink);

    Keep it up.
    __________________
    Lux is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Middle of Nowhere
    Old 08-06-2019 , 08:30   Re: [L4D/L4D2] Black and White Notifier (Reloaded) | 1.55 : August 6, 2019 |
    Reply With Quote #4

    Quote:
    Originally Posted by Lux View Post
    Hello this looks good and clean

    You wanna use PostThinkPost, because player animations are updated in PostThink, when using Just think all your animation checks for l4d1 are 1tick behind.

    PHP Code:
    public void OnClientPutInServer(int client)
    {
        if (!
    bIsL4D1)
        {
            return;
        }
        
        
    SDKHook(clientSDKHook_PostThinkPostOnThink);

    Keep it up.
    Ah, thanks for the suggestion.
    I'll try to compare the difference between the two right now.
    cravenge is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Brexit
    Old 08-06-2019 , 08:34   Re: [L4D/L4D2] Black and White Notifier (Reloaded) | 1.55 : August 6, 2019 |
    Reply With Quote #5

    It maybe so small you wont notice, it is useful to know those things call order can be important to get some stuff done
    __________________
    Lux is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Middle of Nowhere
    Old 08-06-2019 , 08:57   Re: [L4D/L4D2] Black and White Notifier (Reloaded) | 1.55 : August 6, 2019 |
    Reply With Quote #6

    A minor update has been released! Kindly check the changelog for further details!

    P.S: Who knew such a small change could make a such a big difference? Oh wait, I think there's a saying like that.

    Last edited by cravenge; 08-06-2019 at 08:58.
    cravenge is offline
    Voevoda
    Senior Member
    Join Date: Aug 2016
    Old 08-10-2019 , 11:19   Re: [L4D/L4D2] Black and White Notifier (Reloaded) | 1.55 : August 6, 2019 |
    Reply With Quote #7

    bug

    how to make a grave on your head


    Last edited by Voevoda; 08-10-2019 at 11:26.
    Voevoda is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Middle of Nowhere
    Old 08-11-2019 , 06:00   Re: [L4D/L4D2] Black and White Notifier (Reloaded) | 1.55 : August 6, 2019 |
    Reply With Quote #8

    Quote:
    Originally Posted by Voevoda View Post
    bug

    how to make a grave on your head

    Hello, this is not a bug at all. It was done on purpose for some players tend to play with FPS boosts such as making the screen still look normal even in B/W state.
    cravenge is offline
    Voevoda
    Senior Member
    Join Date: Aug 2016
    Old 08-11-2019 , 17:36   Re: [L4D/L4D2] Black and White Notifier (Reloaded) | 1.55 : August 6, 2019 |
    Reply With Quote #9

    Quote:
    Originally Posted by cravenge View Post
    Hello, this is not a bug at all. It was done on purpose for some players tend to play with FPS boosts such as making the screen still look normal even in B/W state.
    Thanks for the answer. Well, if you can make a grave on my head, I will be grateful.
    Voevoda is offline
    foxhound27
    Senior Member
    Join Date: Sep 2019
    Location: Argentina
    Old 11-27-2019 , 01:25   Re: [L4D/L4D2] Black and White Notifier (Reloaded) | 1.55 : August 6, 2019 |
    Reply With Quote #10

    Pretty cool cravenge thank you so much, look what i did hehe so funny

    foxhound27 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 17:31.


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