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

[L4D/L4D2] Black And White Checker | 1.8 : December 6, 2020 |


Post New Thread Reply   
 
Thread Tools Display Modes
Author
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Plugin ID:
6671
Plugin Version:
1.8
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    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.8 : December 6, 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, 577 views)
    File Type: txt bawc.phrases.txt (4.9 KB, 662 views)
    File Type: txt l4d2.phrases.txt (5.6 KB, 697 views)
    File Type: sp Get Plugin or Get Source (black_and_white_checker.sp - 528 views - 19.4 KB)
    File Type: smx black_and_white_checker.smx (14.3 KB, 450 views)

    Last edited by cravenge; 04-02-2021 at 10:21.
    cravenge is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    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: Cat
    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.
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    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: Cat
    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
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    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: Chocolate Factory
    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
    AlliedModders Donor
    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



    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 19:06.


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