[Shop] Trails

Plugin-Module [Shop] Trails v2.2.2

No permission to download
Supported Games
All
This is module of the Shop plugin. Players can buy trails from !shop using credits. This plugin creates beautiful trails effect which follows the players.


441

444


445


Requirements :
Installation :
  • Download Shop_Trails.zip file from this post.
  • Extract the contents of zip file and put it into cstrike folder of your server.
  • Add/Configure trails in cstrike/addons/sourcemod/configs/shop/trails.txt file.
  • [Optional Step] Upload the materials folder to web server for Fast Download after compressing them with bzip2.
  • Restart the server or change the map.
Configuration :

Currently only 3 trails are added. To add more trails effects open cstrike/addons/sourcemod/configs/shop/trails.txt file. And add trails like shown below :

Note: All the trails materials file are available in materials/sprites/trails folder.
Code:
"Trails"                      // Do not modify this
{
    "name"                    "Trails"                                   // Name of the trails category in !shop menu which will contain all the trails
    "description"             "Traces you with nice effects"             // Description of the trails category in menu
    "hide_opposite_team"      "1"                                        // Hide trail effect for opposite team (0 - Visible to all, 1 - Enemy team cannot see trail)
    "apple"                                                              // Unique id/name of the trail effect for database [Do not add duplicate or a trail with same name]
    {
        "name"                "Apple"                                    // Name of the trail in !shop menu
        "description"         ""                                         // Description of the trail in menu
        "material"            "materials/sprites/trails/apple.vmt"       // File path of the material trail
        "price"               "500"                                      // Buying price of the trail
        "sell_price"          "250"                                      // Selling price of the trail (-1 = Not for sale)
        "duration"            "604800"                                   // Duration of the trail shop item in minutes, after that duration players have to rebuy (0 = Permanent [One time buy])
        "lifetime"            "1.000000"                                 // Lifetime of the trail effect till it lasts
        "color"               "255 255 255"                              // Color of the trail (255 255 255 = No color [Default trail color will appear])
        "startwidth"          "10"                                       // Starting width of the trail
        "endwidth"            "6"                                        // Ending width of the trail
        "position"            "0.0 0.0 10.0"                             // Starting postition of the trail (Defualt - Player's feet location)
    }
}
Admin Commands :
Code:
!trails_reload                  -          Reloads the trails config file.
Credits :
  • FrozDark
Author
Vertigo
Downloads
71
Views
1K
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Vertigo

Share this resource

Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock