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

[L4D2] Hud Splatter (1.5) [11-Dec-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
1938
Plugin Version:
1.5
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Splat effects on players screen.
    Old 09-05-2010 , 13:35   [L4D2] Hud Splatter (1.5) [11-Dec-2022]
    Reply With Quote #1

    Fun plugin to display various hud particles on all players screens.


    Menu:


    Effects:




    About:
    • Displays a menu of effects/particles to attach on a players screen.
    • Menu affects all players, command to target individuals.
    • Players must have the ADMFLAG_KICK privileges to use.
    • Plugin Conflict: incompatible with Weapon Charms (effects not displayed when a Charm is equipped).


    Commands:

    PHP Code:
    sm_splat_menu // This opens the in-built menu
    sm_splat # // Command to play an effect, use numbers 1-19 (see admin menu for numbers and their result) 


    CVars:

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

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

    // Hud Splatter plugin version.
    l4d2_hud_splatter_version 


    Admin Menu:

    If you would like to use this in your admin menu instead:
    Code:
    "Commands"
    {
    	"Select Splatter"
    	{
    		"Adrenaline"
    		{
    			"cmd"		"sm_splat @1"
    			"admin"		"sm_kick"
    			"1"
    			{
    				"1"		"1"
    				"1."	"Adrenaline (red)"
    				"2"		"2"
    				"2."	"Adrenaline (dark)"
    				"3"		"3"
    				"3."	"Hurt (red)"
    				"4"		"4"
    				"4."	"Hurt (dark)"
    			}
    		}
    
    		"Blood"
    		{
    			"cmd"		"sm_splat @1"
    			"admin"		"sm_kick"
    			"1"
    			{
    				"1"		"5"
    				"1."	"Edge Faded"
    				"2"		"6"
    				"2."	"Center Big"
    				"3"		"7"
    				"3."	"Center Small"
    				"4"		"8"
    				"4."	"Center (melee)"
    				"5"		"9"
    				"5."	"Edge Big (melee)"
    				"6"		"10"
    				"6."	"Edge Small (melee)"
    			}
    		}
    
    		"Infected"
    		{
    			"cmd"		"sm_splat @1"
    			"admin"		"sm_kick"
    			"1"
    			{
    				"1"		"11"
    				"1."	"Water (Smoker fx)"
    				"2"		"12"
    				"2."	"Flakes (Smoker fx)"
    				"3"		"13"
    				"3."	"Mud Splatter 1"
    				"4"		"14"
    				"4."	"Mud Splatter 2"
    			}
    		}
    
    		"Miscellaneous"
    		{
    			"cmd"		"sm_splat @1"
    			"admin"		"sm_kick"
    			"1"
    			{
    				"1"		"15"
    				"1."	"Big Bash"
    				"2"		"16"
    				"2."	"Bashed"
    				"3"		"17"
    				"3."	"Stars"
    				"4"		"18"
    				"4."	"Flames"
    				"5"		"19"
    				"5."	"Lightning Flash"
    			}
    		}
    	}
    }


    Changes:
    Code:
    1.5 (11-Dec-2022)
        - Changes to fix compile warnings on SourceMod 1.11.
    
    1.4 (21-Sep-2021)
        - Fixed targeting single or multiple people being flipped.
        - Fixed missing translations when targeting players.
    
    1.3 (20-Jul-2021)
        - Added feature to target individual clients. Thanks to "Lux" for the "TE_SetupParticleAttachment" method and code.
        - Changed command "sm_splat" to allow targeting clients.
        - Menu still displays the effects to everyone.
    
    1.2 (10-May-2020)
        - Added PrecacheParticle function.
        - Various changes to tidy up code.
    
    1.1 (05-May-2018)
        - Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.
    
    1.0 (05-Sep-2010)
        - 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_hud_splater.sp - 178 views - 18.3 KB)
    __________________

    Last edited by Silvers; 12-10-2022 at 19:01. Reason: Text edit
    Silvers is offline
    Searcher64
    Senior Member
    Join Date: Apr 2010
    Old 09-05-2010 , 15:51   Re: [L4D2] Hud Splatter
    Reply With Quote #2

    Is it by command only or automatic when a zombie is killed close to you
    Searcher64 is offline
    honorcode23
    BANNED
    Join Date: Mar 2010
    Location: Chile
    Old 09-05-2010 , 16:28   Re: [L4D2] Hud Splatter
    Reply With Quote #3

    This is cool, but, will the particle be shown to all players? cuz thats what happened when i tried to do this with another plugin :/.
    honorcode23 is offline
    Herokim
    Senior Member
    Join Date: Mar 2010
    Location: In Fag-o-land
    Old 09-05-2010 , 16:40   Re: [L4D2] Hud Splatter
    Reply With Quote #4

    Wow! One time I requested that, but I got ignored. THX FOR THAT
    Herokim is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 09-05-2010 , 18:13   Re: [L4D2] Hud Splatter
    Reply With Quote #5

    Quote:
    Originally Posted by Searcher64 View Post
    Is it by command only or automatic when a zombie is killed close to you
    Command/menu only.


    honorcode23, please read
    __________________
    Silvers is offline
    Vacindak
    Junior Member
    Join Date: Oct 2018
    Old 10-25-2018 , 00:23   Re: [L4D2] Hud Splatter (1.1) [05-May-2018]
    Reply With Quote #6

    Thanks.

    Very funny pluging , useful to drugs your friends XD

    recently i got an idea about how useful this plugin could be.

    For example if you are limping or your hp is below 40, this plugin can automatically display the effect you want. and repeat this effect on intervals in seconds.



    CVars could be like this.....

    // 0=Plugin off, 1=Plugin on.
    l4d2_hud_splatter "1"


    //Displaying automatically
    // 0 = off , 1= limping , 2 = healing ,3 = taking pills, 4 = Black and white.
    // Default = "0"
    l4d2_hud_Adrenaline_red "1"

    //Refreshing display for limping
    //0= only once , 1= refresing per second.
    // Default = "1"
    l4d2_hud_automatical_Limping "1"

    //Refreshing display for healing
    //0= only once , 1= refresing per second.
    // Default = "0"
    l4d2_hud_automatical_healing "0"

    //Refreshing display for taking_pills
    //0= only once , 1= refresing per second.
    // Default = "0"
    l4d2_hud_automatical_taking_pills "0"

    //Refreshing display for Black and white.
    //0= only once , 1= refresing per second.
    // Default = "1"
    l4d2_hud_automatical_bd "1"


    //Refreshing intervals per seconds
    //Max = 20.0
    //Min = 6.0
    // Default = "7.0"
    l4d2_hud_Intervals_perSec "7.0"
    Vacindak is offline
    noto3
    Member
    Join Date: Jan 2021
    Old 07-16-2021 , 10:43   Re: [L4D2] Hud Splatter (1.2) [10-May-2020]
    Reply With Quote #7

    Can this plugin be modified to use as a protection against players who use no vomit hud addon?
    noto3 is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 07-16-2021 , 11:13   Re: [L4D2] Hud Splatter (1.2) [10-May-2020]
    Reply With Quote #8

    https://github.com/LuxLuma/Lux-Library

    Can use particle stocks on here to do per player issuing of screen particle.
    TE_SetupParticle()
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    zomexf
    Junior Member
    Join Date: Jul 2019
    Old 07-16-2021 , 18:08   Re: [L4D2] Hud Splatter (1.2) [10-May-2020]
    Reply With Quote #9

    [SM] Exception reported: Array index out-of-bounds (index -1, limit 19)
    [SM] Blaming: l4d2_hud_splater.smx
    [SM] Call stack trace:
    [SM] [1] Line 130, C:\Users\Administrator\Desktop\scr\l4d2_hud_s plater.sp::SplatPlayer
    [SM] [2] Line 156, C:\Users\Administrator\Desktop\scr\l4d2_hud_s plater.sp::Command_Splatter

    Hello silvers
    Can you implement a plugin that permanently maintains the adrenaline "sharpening" effect ?
    no particles
    __________________
    Sorry, My English is bad
    zomexf is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 07-19-2021 , 14:11   Re: [L4D2] Hud Splatter (1.2) [10-May-2020]
    Reply With Quote #10

    Quote:
    Originally Posted by noto3 View Post
    Can this plugin be modified to use as a protection against players who use no vomit hud addon?
    It cannot.


    Quote:
    Originally Posted by Lux View Post
    https://github.com/LuxLuma/Lux-Library

    Can use particle stocks on here to do per player issuing of screen particle.
    TE_SetupParticle()
    Have done this, now can target individual clients.. Will release update soon.


    Quote:
    Originally Posted by zomexf View Post
    [SM] Exception reported: Array index out-of-bounds (index -1, limit 19)
    [SM] Blaming: l4d2_hud_splater.smx
    [SM] Call stack trace:
    [SM] [1] Line 130, C:\Users\Administrator\Desktop\scr\l4d2_hud_s plater.sp::SplatPlayer
    [SM] [2] Line 156, C:\Users\Administrator\Desktop\scr\l4d2_hud_s plater.sp::Command_Splatter

    Hello silvers
    Can you implement a plugin that permanently maintains the adrenaline "sharpening" effect ?
    no particles
    Thanks, this error is using the command with a value of 0 instead of 1-19. Fixed in next version. Sharpening effect I'm not sure, you can probably use Weather Control plugin which has a sharpening effect.
    __________________

    Last edited by Silvers; 07-19-2021 at 16:27.
    Silvers 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 21:07.


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