r/TagPro • u/Lej Lej • Sep 14 '14
[USERSCRIPT] Positioner - Let's you set a position in your profile, which shows up in game to other players with the script installed.
SCREENSHOT: http://i.imgur.com/Zn6Qf6P.png
GET SCRIPT: http://pastebin.com/raw.php?i=QzvwisHj
Pretty handy script if a lot of people used it... Kind of hoping someone can take ideas from this, and improve on it. Right now it does an ajax synchronous request for EVERY user in the game when you first join.. (So yes, major FPS lag for a few seconds when you first join.).. I was going to just make it save your selected position as a cookie, then emit it to chat (like any other normal userscript...) and I had ideas like scanning the chat for "I play [position]" then applying it to the ball of the user who said it.. etc.. I don't really see this being a popular script as it does cause FPS lag when you first join, and when any new player joins.. But yeah, moving on!.. Hopefully will have something a little better next time.
Most of my scripts are just betas of "ideas" that COULD be easily implemented into the game if they were popular enough.
EDIT: Just made messages go to team chat only. (Don't know why I didn't think of that the first time)
2
u/[deleted] Sep 14 '14
Any way to make it so it just displays your position next to your degree? I'm not sure I like the chat part of it, as it does cause lag like you said, but having your position displayed is pretty neat.
7
u/akaNAPE ppppow Sep 15 '14
this is awesome! stuff like this should just be implemented in the game for everyone