Raised This Month: $18 Target: $400
 4% 

[L4D2] Hud Splatter (1.2) [10-May-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
1938
Plugin Version:
1.2
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.2) [10-May-2020]
    Reply With Quote #1

    Fun plugin to display various hud particles on all players screens. I would have made with a select player menu but for some reason the particles display on everyones hud and not just one person.


    Menu:


    Effects:




    About:
    • Displays a menu of effects/particles to attach on a players screen
    • Affects all players (not able to make it player specific)
    • Players must have the ADMFLAG_KICK privileges to use


    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" 


    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.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 - 52 views - 9.5 KB)
    __________________

    Last edited by Silvers; 05-10-2020 at 07:58. 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
    AlliedModders Donor
    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
    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 15:56.


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