- 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.
Requirements :
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.
Admin Commands :
Credits :
Requirements :
- Sourcemod v1.8 or Higher
- Shop Core
- 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.
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)
}
}
Code:
!trails_reload - Reloads the trails config file.
- FrozDark