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

Player Trails


Post New Thread Reply   
 
Thread Tools Display Modes
Author
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Plugin ID:
3081
Plugin Version:
1.0.7
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    6 
    Plugin Description:
    Old 07-11-2012 , 20:14   Player Trails
    Reply With Quote #1

    Player Trails

    Description:

    This is a simple player trails plugin for your server. No need to spend time editing many config files ... It just works. :-)

    Requirements:

    SDKHooks Extension

    Installation:

    • Place any trails you would like in the materials/sprites/trails/ directory.
    • Use SM Downloader to add the materials/sprites/trails/ directory to the download table.
    The names for the sprites you pick are the ones that will appear in the trails menus, so if you don't like them then change the names of the files to be more descriptive!

    Usage:

    Players can access the trails menu from !trails or !settings
    Trails Menu:
    1) Change Trail Type
    2) Change Trail Color
    3) Change Trail Visibility
    Optional Plugins:

    Hub [Don't have access? Consider donating to help support the community!]
    This plugin will let users use credits to purchase access to individual trails, similar to some !store plugins.
    Make sure to configure your features.cfg appropriately. You'll need Trail Visibility, Trail Color, and one entry for each trail filename. Change the Cost values to the desired value.
    Quote:
    "Trail Visibility"
    {
    "Cost" "2000"
    }
    "Trail Color"
    {
    "Cost" "2000"
    }
    "Trails"
    {
    "filename1"
    {
    "Cost" "500"
    }
    "filename2"
    {
    "Cost" "600"
    }
    }
    Toggle Effects
    This plugin will let users have a global option to turn off all special effects.

    Special Days (private)
    This plugin is for JB servers; it disables trails when a round has special rules applied to it.

    Changelog:

    v 1.0.5 Initial relase
    v 1.0.6 Removed non-TF2 from name; uses new hub.inc forwards to remove a trail once it's been sold/gifted
    v 1.0.7 Fixed bug with removing an equipped trail

    Cvars:

    sm_playertrails_enable
    Enables/Disables Player Trails [default: 1]

    sm_playertrails_donatoronly
    Specifies whether everyone or only donators will receive trails (everyone = 0) [default 0]

    sm_playertrails_adminflags
    If donatoronly is 1 then these flags determine who is a donator. (empty = any admin) [default "sz"]

    sm_playertrails_lifetime
    Seconds a trail will continue before disappearing [default 1.0]

    sm_playertrails_startwidth
    Meters the trail is wide at the beginning of life [default 22.0]

    sm_playertrails_endwidth
    Meters the trail is wide at the end of life. [default 0.0]

    sm_playertrails_rendermode
    The default render mode that a trail will use. [default 5]

    sm_playertrails_chatprefix
    The default chat prefix used, you should change this one! [default "\x03[xG] \x01"]

    Attached Files
    File Type: sp Get Plugin or Get Source (PlayerTrails.sp - 3527 views - 22.1 KB)
    File Type: smx PlayerTrails.smx (15.0 KB, 3867 views)
    __________________

    Last edited by databomb; 10-06-2012 at 10:07.
    databomb is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 07-11-2012 , 21:04   Re: Player Trails [Non-TF2]
    Reply With Quote #2

    what's the difference from this? https://forums.alliedmods.net/showthread.php?p=1691372

    and HUB is in the donor section (for now)
    Mitchell is offline
    EGood
    Member
    Join Date: Feb 2011
    Location: Israel
    Old 07-11-2012 , 21:08   Re: Player Trails [Non-TF2]
    Reply With Quote #3

    it works in css ?
    and gj !!
    EGood is offline
    databomb
    Veteran Member
    Join Date: Jun 2009
    Location: california
    Old 07-11-2012 , 21:37   Re: Player Trails [Non-TF2]
    Reply With Quote #4

    Quote:
    Originally Posted by Mitchell View Post
    what's the difference from this? https://forums.alliedmods.net/showthread.php?p=1691372

    and HUB is in the donor section (for now)
    Panda had no willingness to fix certain bugs or incorporate other suggestions. Ultimately his plugin offers a lot more options but it was too complex to work in association with other plugins like the hub.
    __________________
    databomb is offline
    databomb
    Veteran Member
    Join Date: Jun 2009
    Location: california
    Old 07-11-2012 , 21:38   Re: Player Trails [Non-TF2]
    Reply With Quote #5

    Quote:
    Originally Posted by EGood View Post
    it works in css ?
    and gj !!
    Yes, it will work for CS:S :-)
    __________________
    databomb is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 07-11-2012 , 22:39   Re: Player Trails [Non-TF2]
    Reply With Quote #6

    Quote:
    Originally Posted by databomb View Post
    Panda had no willingness to fix certain bugs or incorporate other suggestions. Ultimately his plugin offers a lot more options but it was too complex to work in association with other plugins like the hub.
    Yeah, he said he was working on a bigger project, which i shouldnt mention.
    Mitchell is offline
    databomb
    Veteran Member
    Join Date: Jun 2009
    Location: california
    Old 08-11-2012 , 13:08   Re: Player Trails
    Reply With Quote #7

    Version 1.0.6 Posted

    - Removed (non-TF2) from plugin title as received reports that it works fine in TF2
    - Now uses new forwards from hub.inc to remove a trail once it's been sold or gifted away

    Version 1.0.7 Posted

    - Fixed bug with removal of a trail
    __________________

    Last edited by databomb; 08-11-2012 at 13:59.
    databomb is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 08-11-2012 , 16:02   Re: Player Trails
    Reply With Quote #8

    Checking this out I see a conflicting issue with the menu, if you "8" or Back which it really shouldn't have that option right as you use /trails it falls back up against two other plugins if you have them installed or could be more.

    the two its showing or detecting are 1. Custom Chat Color's toggle that dr kay created to toggle those effects off and 2. jetpack prefs which turns on/off jetpack usage. I've got both of those locked down for certain flagged use only but to allow it to fall back into that "root" menu will cause problems - can you alter this to fix that?

    Also for trail type - where do you find this depot of trail types to be dumped into the above location as noted in the instructions? If I over looked something pointing to this my bad.
    Horsedick is offline
    databomb
    Veteran Member
    Join Date: Jun 2009
    Location: california
    Old 08-11-2012 , 17:05   Re: Player Trails
    Reply With Quote #9

    Quote:
    Originally Posted by Horsedick View Post
    Checking this out I see a conflicting issue with the menu, if you "8" or Back which it really shouldn't have that option right as you use /trails it falls back up against two other plugins if you have them installed or could be more.

    the two its showing or detecting are 1. Custom Chat Color's toggle that dr kay created to toggle those effects off and 2. jetpack prefs which turns on/off jetpack usage. I've got both of those locked down for certain flagged use only but to allow it to fall back into that "root" menu will cause problems - can you alter this to fix that?

    Also for trail type - where do you find this depot of trail types to be dumped into the above location as noted in the instructions? If I over looked something pointing to this my bad.
    There's no conflict; that menu can be accessed by anyone on the server by typing "!settings". If you don't have hub installed then selecting Back will go to your other ClientPrefs settings, which include "Player Trails". If you have hub installed then selecting Back will go to the Hub menu.

    There are no trails included with this plugin. However, looking in my game's local directory for sprites, I see a lot of trails.
    __________________

    Last edited by databomb; 08-11-2012 at 17:05.
    databomb is offline
    tumtum
    Senior Member
    Join Date: Aug 2012
    Old 08-31-2012 , 14:16   Re: Player Trails
    Reply With Quote #10

    Quote:
    Originally Posted by databomb View Post
    There's no conflict; that menu can be accessed by anyone on the server by typing "!settings". If you don't have hub installed then selecting Back will go to your other ClientPrefs settings, which include "Player Trails". If you have hub installed then selecting Back will go to the Hub menu.

    There are no trails included with this plugin. However, looking in my game's local directory for sprites, I see a lot of trails.
    Can you make it cs:go compatible?
    If it is possible with some example trails? i like that very much!

    Thanks.
    tumtum 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 16:41.


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