*UPDATED* Quick connect GUI for all the servers

General Information about our servers
Post Reply
DeathStar
Leaders
Posts: 334
Joined: Sun Jun 12, 2016 8:07 am
Location: Malibu, CA
Playstyle: map/frag
Contact:

*UPDATED* Quick connect GUI for all the servers

Post by DeathStar » Tue Oct 18, 2016 12:45 am

*UPDATED WITH NEW SERVERS*

Features
- interactive, modifiable setup menu
- pick your own bind key
- pick your own greeting message
- shows which server you are on (highlighted green)
- allows you to press a key and connect to a va server quickly
- allows you to keep track of all the va|VoxelArmy servers

How to install
1) Download the QC.cfg.zip attachment (below the image) and unzip it
2) Place the QC.cfg file in your Sauerbraten/gamedata folder
3) Open your autoexec.cfg file and add on a new line: exec QC.cfg
4) Open sauerbraten and type /setupquickservers
5) The GUI will guide you through setting up a message and bind

How to use
- press the bind key you setup
- this will open the GUI
- click on a button to join the selected server
- servers you are on will be highlighted green
- to change the greeting message or bind at anytime, type /setupquickservers

Curious about how it works?
- It saves your bind and custom message as variables
- it binds the key you select to show the quick connect GUI
- it sleep's and says your custom message after you've loaded the map
- it uses the variable alias "connectedip" and "connectedport"
- it checks if you are connected to the server on the list
- this is done by comparing your "connectedip" with that of the servers
- if you're connected, it changes the button text color to green

Raw code here
Attachments
QC.cfg.zip
(1.23 KiB) Downloaded 98 times
Screen Shot 2016-10-17 at 11.08.27 PM.png
setup GUI
Screen Shot 2016-10-17 at 11.08.27 PM.png (154.74 KiB) Viewed 1272 times
Screen Shot 2016-10-17 at 6.42.30 PM.png
main GUI
Screen Shot 2016-10-17 at 6.42.30 PM.png (681.86 KiB) Viewed 1281 times
Image

DeathStar
Leaders
Posts: 334
Joined: Sun Jun 12, 2016 8:07 am
Location: Malibu, CA
Playstyle: map/frag
Contact:

Re: Quick connect GUI for all the servers

Post by DeathStar » Tue Oct 18, 2016 5:21 am

Rudi wrote:That's my boy rite there!!!!
Awesome GUI DeathStar this will make things much easier for sure ;) Thank you
Of course :D
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest