Coder Social home page Coder Social logo

nickelony / trails-chroma Goto Github PK

View Code? Open in Web Editor NEW
18.0 1.0 7.0 305 KB

This plugin adds colorful player trails with special effects (such as Spectrum Cycle, Wave and more).

License: GNU General Public License v3.0

SourcePawn 87.35% Pawn 12.65%
counter-strike-global-offensive counter-strike-source csgo css trails chroma sourcemod sourcepawn team-fortress-2 tf2

trails-chroma's Introduction

This plugin adds colorful player trails with special effects (such as Spectrum Cycle, Wave and more).

AlliedModders Thread

Commands:

  • sm_trail / sm_trails - Opens the Trail Selection menu.
  • sm_hide - Hides other players' trails. // You may want to reset your cookies if you want to use this with a bhop timer.
  • sm_trails_override - Overrides the current admin flag. // Use it in admin_overrides.cfg

CVars:

  • sm_trails_enable - Enables or Disables all features of the plugin.
  • sm_trails_admins_only - Enables trails for admins only. (RESERVATION Flag)
  • sm_trails_allow_hide - Allow hiding other players' trails.
  • sm_trails_cheap - Force cheap trails (lower quality in exchange for more FPS).
  • sm_trails_life - Time duration of the trails.
  • sm_trails_width - Width of the trail beams.
  • sm_trails_respawn_disable - Disable the player's trail after respawning.

Installation:

1. Drag and drop trails-chroma.smx into your plugins folder
2. Drag and drop trails-colors.cfg into your configs folder
3. Drag and drop the materials folder into your csgo folder
4. Restart the server.

Requirements:

  • SourceMod 1.8 or above

Screenshots:

Known issues:

If your hint text looks like this:
<font color='#ffffff' face=''>Wave</font>.
Consider installing this plugin: https://github.com/Franc1sco/FixHintColorMessages

trails-chroma's People

Contributors

nickelony avatar qawery-just-sad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

trails-chroma's Issues

Clients Crashing if they don't have server downloads enabled

Clients crash when they try to load trails for themselves or from other players, only if they have server downloads disabled - meaning they will not get the trail materials

Is it possible to stop the clients from crashing and instead just allow them to play anyway.

My server has this version of your trails plugin:

13 "Trails Chroma" (2.5) by Nickelony

Plugins runs on Synergy 56.16

Error on playing with Bots - Client X is not in game

L 05/05/2019 - 10:58:00: [SM] Exception reported: Client 4 is not in game
L 05/05/2019 - 10:58:00: [SM] Blaming: trails-chroma.smx
L 05/05/2019 - 10:58:00: [SM] Call stack trace:
L 05/05/2019 - 10:58:00: [SM] [0] GetClientAbsOrigin
L 05/05/2019 - 10:58:00: [SM] [1] Line 469, C:\Users\Nickelony\Desktop\sourcemod-1.9.0-git6241-windows\addons\sourcemod\scripting\trails-chroma.sp::ForceExpensiveTrails
L 05/05/2019 - 10:58:00: [SM] [2] Line 435, C:\Users\Nickelony\Desktop\sourcemod-1.9.0-git6241-windows\addons\sourcemod\scripting\trails-chroma.sp::OnPlayerRunCmd

When I'm using this plugin with bot support server, It keeps displays the error. Can you fix this?

Admin tag?

What is the default admin tag required for the trails to work and how do you change it?

Spectrum / Wave doesn't work after restart

The spectrum / wave options don't seem to be working after a server restart and occasionally on reconnect (the players selection is saved on the "sm_trails" menu but the actual trail itself doesn't show

Problem with saving trail_choice

Describe the error:
Hello, I noticed that cookie trail_choice cookie does not save player selection after server restart.
Of course server is restarted when nobody is on it.
Can you investigate it?

To Reproduce:

  1. Join the server
  2. Choose your trail
  3. Leave the server
  4. Shut down and restart the server
  5. Join and your selection the previous selection is not loaded

Plugin Settings:

sm_trails_admins_only" 1
sm_trails_allow_hide 1
sm_trails_cheap 0
sm_trails_life 1.5
sm_trails_width 1.5
sm_trails_respawn_disable 0

Plugin Version:
Latest from this repo: acf6604
Game: CSGO

Best regards, Nevvy

Trails dont seem to display

I followed the instructions from the installation, but the trails dont seem to display whatsoever ingame. I used the config provided on github and the one from alliedmodders but both dont seem to work, the material files are downloaded from my fastdl server, and i enabled the plugin in my config. Can anyone confirm that its still working or does it have conflicts with the surftimer plugin?

Bug[TF2]: Trails doesn't render on reload or at startup

When I load the plugin/restart it settings doesn't seem to get applied from functions such as GetClientSpecificWidthFromTrail or GetClientSpecificColorFromTrail.

If a set a new trail it works again. Sometimes width does not get set on startup such as yellow bow, but if you put spectrum width gets set but no color. Not entirely sure what gets wrong, guess that sourcepawn for you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.