Raised This Month: $51 Target: $400
 12% 

[TF2] Halloween Footprints


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Plugin ID:
4053
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows you apply onto yourself Halloween Footprints Effect
    Old 01-17-2014 , 08:14   [TF2] Halloween Footprints
    Reply With Quote #1

    Description:
    - Allows you apply Halloween Footprints onto yourself
    - Default flag is RESERVATION use admins_override.cfg to change it
    - Over 15 Custom Colors in menu

    Requires:
    - TF2Attributes
    - 'tf_forced_holiday' set to fullmoon or halloween

    Commands:
    - !footprints - Footprints Menu (AdminFlag: RESERVATION)
    - !footsteps - Footprints Menu (AdminFlag: RESERVATION)

    Future Plans:
    - Add optional cvar for disabling halloween healthkit model on healthkits
    - Cvar for changing admin flag

    Changing Admin Flag:
    - Use admin_overrides.cfg file

    Installation:
    - Download TF2Attributes
    - Put footprints_pubilc.sp into sourcemod/scripting/
    - Put footprints_public.smx into sourcemod/plugins/
    - Write into your server.cfg 'tf_forced_holiday 6'
    - Restart Server
    Attached Files
    File Type: sp Get Plugin or Get Source (footprints_public.sp - 1951 views - 2.4 KB)
    File Type: smx footprints_public.smx (4.5 KB, 2546 views)
    __________________
    ...

    Last edited by Oshizu; 01-17-2014 at 08:14.
    Oshizu is offline
    Happy DODs player
    AlliedModders Donor
    Join Date: Sep 2009
    Old 01-17-2014 , 09:38   Re: [TF2] Halloween Footprints
    Reply With Quote #2

    Nice plugin will surtenly use this. Love those effects ingame.
    __________________
    Happy DODs player is offline
    Js41637
    Member
    Join Date: May 2013
    Location: Australia, NSW
    Old 01-17-2014 , 10:48   Re: [TF2] Halloween Footprints
    Reply With Quote #3

    Hey great plugin. I was actually about to try and make one of these

    Do you think you'd be able to do something similar to the Unusual plugin and store players effects in a file so it is there when they rejoin again?

    Also you could add a message for when they apply or remove an effect. I just added 'morecolors' and used;

    PHP Code:
    if(action == MenuAction_Select)
        {
            
    decl String:info[12];
            
    decl String:infodesc[36];
            
    GetMenuItem(menuparam2infosizeof(info), _infodescsizeof(infodesc));

            new 
    Float:weapon_glow StringToFloat(info);
            
    FootprintID[client] = weapon_glow
            
    if(weapon_glow == 0.0)
            {
                
    TF2Attrib_RemoveByName(client"SPELL: set Halloween footstep type");
                
    CPrintToChat(client"{haunted}Removed Halloween Effects");
            }
            else
            {
                
    TF2Attrib_SetByName(client"SPELL: set Halloween footstep type"weapon_glow);
                
    CPrintToChat(client"{haunted}Applied Halloween Effect: %s"infodesc);
            }
        } 
    Js41637 is offline
    Send a message via Skype™ to Js41637
    Oshizu
    Veteran Member
    Join Date: Nov 2012
    Location: Warsaw
    Old 01-17-2014 , 10:50   Re: [TF2] Halloween Footprints
    Reply With Quote #4

    Quote:
    Originally Posted by Js41637 View Post
    Hey great plugin. I was actually about to try and make one of these

    Do you think you'd be able to do something similar to the Unusual plugin and store players effects in a file so it is there when they rejoin again?

    Also you could add a message for when they apply or remove an effect. I just added 'morecolors' and used;

    PHP Code:
    ... 
    Neat Idea
    I'il try it later
    __________________
    ...

    Last edited by Oshizu; 01-17-2014 at 10:50.
    Oshizu is offline
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 01-17-2014 , 12:54   Re: [TF2] Halloween Footprints
    Reply With Quote #5

    Quote:
    Originally Posted by Js41637 View Post
    Do you think you'd be able to do something similar to the Unusual plugin and store players effects in a file so it is there when they rejoin again?
    Not a good idea, consider how some unusual particles "ghost" on the map after being applied. Should be a 1-time toggle every time someone wants that effect.
    Mr. Man is offline
    Js41637
    Member
    Join Date: May 2013
    Location: Australia, NSW
    Old 01-17-2014 , 19:41   Re: [TF2] Halloween Footprints
    Reply With Quote #6

    Quote:
    Originally Posted by Mr. Man View Post
    Not a good idea, consider how some unusual particles "ghost" on the map after being applied. Should be a 1-time toggle every time someone wants that effect.
    What do you mean by ghost? Like they remain in a spot and can be seen because i've never seen this happen.
    Js41637 is offline
    Send a message via Skype™ to Js41637
    Happy DODs player
    AlliedModders Donor
    Join Date: Sep 2009
    Old 01-18-2014 , 06:08   Re: [TF2] Halloween Footprints
    Reply With Quote #7

    Tested on my server, and looks and works darn good. Great plugin.
    __________________
    Happy DODs player is offline
    HelpMe
    Senior Member
    Join Date: Jun 2013
    Location: Home
    Old 01-27-2014 , 13:22   Re: [TF2] Halloween Footprints
    Reply With Quote #8

    Great plugin. Is it possible to make to make it change to a random color each step?

    Last edited by HelpMe; 01-27-2014 at 13:22.
    HelpMe is offline
    Oshizu
    Veteran Member
    Join Date: Nov 2012
    Location: Warsaw
    Old 01-27-2014 , 19:32   Re: [TF2] Halloween Footprints
    Reply With Quote #9

    Quote:
    Originally Posted by HelpMe View Post
    Great plugin. Is it possible to make to make it change to a random color each step?
    Might require some messy code to work, but yeah it's possible
    __________________
    ...

    Last edited by Oshizu; 01-27-2014 at 19:34.
    Oshizu is offline
    StayOx
    SourceMod Donor
    Join Date: Jun 2012
    Location: Gliese 581g
    Old 01-28-2014 , 02:54   Re: [TF2] Halloween Footprints
    Reply With Quote #10

    nice plugin, thanks for share

    added code of ​​Js41637 and added a cvar to set the flag, by default the flag "a"
    Attached Files
    File Type: sp Get Plugin or Get Source (footprints_public.sp - 582 views - 3.5 KB)
    File Type: smx footprints_public.smx (11.1 KB, 684 views)

    Last edited by StayOx; 01-28-2014 at 03:02.
    StayOx 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 18:00.


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