*UPDATED* Quick connect GUI for all the servers

General Information about our servers
Post Reply
DeathStar
Leaders
Posts: 336
Joined: Sun Jun 12, 2016 1:07 am
Location: GB
Playstyle: fragger
Contact:

*UPDATED* Quick connect GUI for all the servers

Post by DeathStar »

*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 413 times
setup GUI
setup GUI
Screen Shot 2016-10-17 at 11.08.27 PM.png (154.74 KiB) Viewed 5119 times
main GUI
main GUI
Screen Shot 2016-10-17 at 6.42.30 PM.png (681.86 KiB) Viewed 5128 times
DeathStar
Leaders
Posts: 336
Joined: Sun Jun 12, 2016 1:07 am
Location: GB
Playstyle: fragger
Contact:

Re: Quick connect GUI for all the servers

Post by DeathStar »

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

Who is online

Users browsing this forum: No registered users and 1 guest