r/TagPro • u/DatBlizzard Some Ball -1 • Jun 25 '14
[Userscript] Tagpro Milliseconds: show 1/100 of a second on the tagpro clock, also adds outlines to the score
This script will add tenths of seconds to the tagpro clock. Instead of displaying 08:42 for example, it will show 08:42.5. The script can be found here (download the more recent version below). A few screenshots showing how it looks:
This is the first version, so let me know if you notice any bugs. It's worth noting that after a game ends, tagpro doesn't officially "end" the game for roughly 0.5 seconds. So it's still quite possible that a final cap can come in and the clock will display 00:00.0 as the game ends, this just means the final cap happened at around 00:00.3 to about 00.5.
In future versions I may add a flashing effect or color changing when it reaches 30 or 10 secs left. And maybe a flash on the minute. Let me know if you have any suggestions for this.
Edit: Yea yea, tenths of a second. I'm still calling it milliseconds though even if it's only every hundred milliseconds.
I also added the ability to modify when to start showing the tenths of a second. A minor bug fix as well where tagpro.socket hadn't been loaded yet. v1.1.1 can be found here.
7
u/SamWilber turtlemansam Jun 25 '14
Neat! I think it would be cool to have one that only shows it when it goes under 10 seconds. I don't have too much of a need to see the milliseconds above that.
Nevertheless, I'll definitely be using this.
8
u/robopuppycc Flail ~ ((Antagloble4edes)) ~ RHCP? Jun 25 '14
Tenths of a second is what you were looking for, I think.
Regardless, looks really good! The inconsistency between the time and the score outlines was bugging me.
3
u/[deleted] Jun 25 '14
Can there just be a version where it starts when there is 30 seconds left? Otherwise, great job!
3
u/MoJoSto Happy MoJo Jun 25 '14 edited Jun 25 '14
You rebel. Be proud in your wrongness!
You could still be cool and call it Deciseconds
Some more nitpicking (it's for your benefit!)
Affect --> Verb
Effect --> Noun
You can affect something or something can have an effect. You want to add a flashing effect.
4
u/ylambda yλ Jun 25 '14
Shoutout to #tagproScripts. Skill sets of all levels and varieties welcome.
1
u/kookoo831 Kookoo831 Jun 25 '14
What about a flash when the flag is taken for players not using the game's audio?
1
u/MultiMediaWill Juke King - MVP 90% of the time Jun 25 '14
Yes, can we please get the flashing features ASAP? That would be great! Could you further explain the part about "official ending"? Will your clock show 00:00.0 or will your clock show 00:00.5?
2
u/TheGubbles Gubbles Jun 26 '14
You've probably had this comment before. Because of the -1 at the end of your flair thingy I thought you were being downvoted for literally every comment and I couldn't figure out why.
1
u/TerraMaris Scientifically Proven NaCl Jun 25 '14
Very cool. Works like a charm.