Created
January 13, 2016 06:04
-
-
Save theVDude/5a434c35022cdb156133 to your computer and use it in GitHub Desktop.
Make all splats fade in tagpro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name TagPro All Temp Splats | |
// @description Make all splats temporary in tagpro | |
// @version 1 | |
// @grant none | |
// @include http://tagpro-*.koalabeast.com:* | |
// @include http://tangent.jukejuice.com:* | |
// @include http://*.newcompte.fr:* | |
// @license 2016 | |
// @author thevdude | |
// ==/UserScript== | |
tagpro.ready(function() { | |
tagpro.renderer.drawSplat = function (x, y, team, isStarting, isTemporary) { | |
var o, u; | |
team === 1 ? o = "ff0000" : o = "0000ff"; | |
u = "ffffff"; | |
isStarting && (tagpro.renderer.options.disableParticles ? tagpro.renderer.drawBallPop(x + 19, y + 19, team) : tagpro.renderer.startDeathEmitter(o, u, x + 19, y + 19)); | |
tagpro.renderer.addSplat(team, x, y, true); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment