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

[L4D2] Blood Screen Effect Block (1.0) [13-Sep-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
7793
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Blocks the blood screen effect when using melee weapons.
    Old 09-13-2021 , 00:48   [L4D2] Blood Screen Effect Block (1.0) [13-Sep-2021]
    Reply With Quote #1




    About:
    • Removes the blood splatter screen effect when using melee weapons.
    • Requested by "aiyoaiui".



    Related Plugins:


    Cvars:

    Saved to l4d2_screen_blood.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    // 0=Plugin off, 1=Plugin on.
    l4d2_screen_blood_allow "1"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d2_screen_blood_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d2_screen_blood_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d2_screen_blood_modes_tog "0"

    // 0=Off. 1=Player blood slice sound to client doing the melee attack. 2=Play sound to everyone nearby.
    l4d2_screen_blood_sound "2"

    // Blood Screen Effect Block plugin version.
    l4d2_screen_blood_version 


    Changes:
    Code:
    1.0 (13-Sep-2021)
        - Initial release.


    Installation:
    • Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_screen_blood.sp - 613 views - 8.9 KB)
    __________________

    Last edited by Silvers; 09-21-2021 at 09:38.
    Silvers is offline
    Maur0
    Senior Member
    Join Date: Aug 2020
    Old 09-13-2021 , 16:08   Re: [L4D2] Blood Screen Effect Block (1.0) [13-Sep-2021]
    Reply With Quote #2

    Yeah! Finally! Just what I needed, good job!
    Maur0 is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 09-23-2021 , 00:03   Re: [L4D2] Blood Screen Effect Block (1.0) [13-Sep-2021]
    Reply With Quote #3

    Nicely done!
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    WhatsAnName
    Member
    Join Date: Jun 2018
    Old 01-26-2022 , 22:55   Re: [L4D2] Blood Screen Effect Block (1.0) [13-Sep-2021]
    Reply With Quote #4

    Makes a few others and me to crash while using the chainsaw with video "Effects" settings set on med or high.
    WhatsAnName is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 01-27-2022 , 05:36   Re: [L4D2] Blood Screen Effect Block (1.0) [13-Sep-2021]
    Reply With Quote #5

    Try turning the sound cvar off and see if that fixes the issue.
    __________________
    Silvers is offline
    WhatsAnName
    Member
    Join Date: Jun 2018
    Old 01-27-2022 , 12:19   Re: [L4D2] Blood Screen Effect Block (1.0) [13-Sep-2021]
    Reply With Quote #6

    Ok found the cause turns out when effect setting is above "low" and if using your l4d2 dissolve infected plugin and the cvar l4d_dissolve_time is set to 1.9 chainsawing the common infected horde causes the client side game to crash from the particles but when cvar is set to 0.5 the effect setting doesn't cause a crash tested with and without addons to make sure that wasn't the factor
    WhatsAnName is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 01-27-2022 , 14:46   Re: [L4D2] Blood Screen Effect Block (1.0) [13-Sep-2021]
    Reply With Quote #7

    Quote:
    Originally Posted by WhatsAnName View Post
    Ok found the cause turns out when effect setting is above "low" and if using your l4d2 dissolve infected plugin and the cvar l4d_dissolve_time is set to 1.9 chainsawing the common infected horde causes the client side game to crash from the particles but when cvar is set to 0.5 the effect setting doesn't cause a crash tested with and without addons to make sure that wasn't the factor
    Excellent, nice catch and thanks for the feedback on how to fix!
    __________________
    Silvers 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 02:39.


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