Raised This Month: $119 Target: $400
 29% 

[L4D/L4D2] Black And White Checker | 1.76 : November 23, 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.76
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Creates a way for players to be aware when someone is holding onto their last breath.
    Old 08-06-2019 , 07:03   [L4D/L4D2] Black And White Checker | 1.76 : November 23, 2020 |
    Reply With Quote #1

    Description:
    Now compatible with Graves and Hats plugins.

    In L4D2, it places a grave on the top of the head but it makes a clone when it comes to L4D1 and/or maps that does not spawn the model properly. Both are given with a bright white aura to help others notice faster.

    I can assure you that there will be no conflicts with others that gives auras to survivors but what I cannot prevent is the confusion that comes along the way when multiple auras are given and players are not able to tell which is which.

    It has support for [L4D2]AdaWong Survivor though.

    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?
    • bawc_exclude ""
      → List of maps where the grave method should not be applied.
      → Ignored when either one of the aforementioned plugins is present.

    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.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.
    🗊 When adding problematic maps to the "bawc_exclude" cvar, you can put either the complete map name or a part of it ending with a '_' (i.e qe_) to include other maps that have the same prefix.
    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, 64 views)
    File Type: txt bawc.phrases.txt (4.9 KB, 21 views)
    File Type: txt l4d2.phrases.txt (5.6 KB, 23 views)
    File Type: sp Get Plugin or Get Source (black_and_white_checker.sp - 4 views - 20.5 KB)
    File Type: smx black_and_white_checker.smx (15.1 KB, 5 views)
    __________________

    Last edited by cravenge; 11-24-2020 at 09:00.
    cravenge is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Middle of Nowhere
    Old 08-06-2019 , 07: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 09:16.
    cravenge is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Brexit
    Old 08-06-2019 , 09: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 , 09: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 , 09: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 , 09: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 09:58.
    cravenge is offline
    Voevoda
    Senior Member
    Join Date: Aug 2016
    Old 08-10-2019 , 12: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 12:26.
    Voevoda is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Middle of Nowhere
    Old 08-11-2019 , 07: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 , 18: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 , 02: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 05:09.


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