r/TagPro • u/defense_bot #realbread #toast #banthemods4real #realballz #tagprobots • Sep 13 '14
[Userscript] Customize Menu Buttons!
This was inspired by Kermit's post about the text on the leaderboard button. You can now make any of the subtext on the buttons say anything you want. This script also works with ballparts's replays extension.
To change what the buttons say, just edit the variables at the top. Should be pretty easy to figure out. I have a custom set already in the userscript, but the defaults are right below in case you want to reset them.
EDIT:
You can now change the color of the buttons, including the text and the border. I put in some red and blue colors that aren't incredible, but I think are a little better than the default. I also included the default color values if you want those.
EDIT:
Okay this project is getting a little out of hand, and at this point it's now pretty much Tagpro Enhancement Suite. You can now change:
• The font of the text on the buttons
• The font of most of the rest of the text on the page
• The color of the text on the buttons
• The color of most of the rest of the page
• The color of the background and border of the buttons
• Whether the change server link is a button or just some text
• Whether the control tip thing is displayed or not
I shall commence work on a GUI forthwith.
tagpro enhancement suite
pastee link in case pastbin doesn't work
2
u/r3ll1sh r3ll1sh//radius Sep 13 '14
Is there a way of changing the color/style of the buttons? I don't like the color, but I haven't figured out how to change it:
1
u/defense_bot #realbread #toast #banthemods4real #realballz #tagprobots Sep 13 '14
I believe there is. I don't much care for the color either, so I'll get to work on that. Also I think there's a way to change the color of the names in game, but idk how to use the prettyText function yet.
2
Sep 14 '14
Pastebin doesn't load for me. Can I get a rehost please?
3
u/defense_bot #realbread #toast #banthemods4real #realballz #tagprobots Sep 14 '14
2
4
u/Lysozyme_ Lysozyme Sep 13 '14
I love this! Here's what i did! http://puu.sh/bxM1Z/c68f68db90.jpg
4
u/herpaderp1995 majsticmoose // diameter Sep 13 '14
What settings do you have for it?
1
u/Lysozyme_ Lysozyme Sep 14 '14 edited Sep 14 '14
So instead of a hex code you can just enter 'transparent', annd i just got rid of the text in ____ButtonText. So my code looks like this:
profileButtonText = "" // all about you profileButtonColor = "white" profileButtonBorderColor = "transparent" //blue profileButtonBackgroundColor = "transparent" //red1
u/herpaderp1995 majsticmoose // diameter Sep 14 '14
Thanks. Also, what font is that?
1
u/Lysozyme_ Lysozyme Sep 14 '14
buttonFont = "Arial Rounded MT Bold" textFont = "Calibri":)
edit: actually i forgot the screenshot from earlier was with the default font, it was before he put up the ability to change fonts, my homepage now looks like this with those fonts above: http://puu.sh/bylMR/35c2109ea1.jpg
2
1
u/Lysozyme_ Lysozyme Sep 14 '14
Uhhh can i have some help please?
2
u/defense_bot #realbread #toast #banthemods4real #realballz #tagprobots Sep 14 '14
That might mean you put in an invalid value for one of the variables. Send me the settings and I'll have a look.
1
1
u/Lysozyme_ Lysozyme Sep 14 '14
huh. I just went and changed something, saved it and pressed refresh on TagPro, nothing changed.
Then i went back and changed it back to the original, that i sent to you, refreshed it again and it's fine now.
2
u/Kermit_leadfoot Kermit69 // War Machine // Radius // TheRagingBallsOfFire Sep 13 '14
damn nice job dude! Thanks
2
3
u/co1010 CoolCat Sep 14 '14
Can you explain how to change each of the aspects?