Created
April 9, 2016 04:05
-
-
Save theVDude/9a83e158197df04b6f754d40798d6052 to your computer and use it in GitHub Desktop.
make all splats fade away in tagpro
This file contains 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