SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Kart Releases & Mods > Kart Miscellaneous

Thread Tools
Gametype Helper V1 Details »»
Gametype Helper V1
Version: 1.1, by Eldog Eldog is offline
Developer Last Online: Dec 2020

Version: SRB2 Kart Rating: (2 votes - 3.60 average)
Released: 08-05-2020 Last Update: Never Favourites: 2

A simple script that allows players to toggle supported gameplay-modifying addons.


Type SetGametype with no addons and you will be prompted with the arguments and a list of loaded (and supported) gameplay modifying addons. From there, you can type:

SetGametype <Gametype> <Number of rounds>

to set your selected gametype for X rounds.


Want to play more of the current gametype? Simply type

ExtendGametype <Number of rounds>

to extend the gametype that many rounds.
Note that the number of rounds a gametype can be extended to is set by the server using GH_RoundNumMax.


Join a server that had 7 residual rounds of Combi from last session? Enter


to "quit" out of any gametype and return to normal races.

HOSTMOD Integration:
This script is theoretically useful for player-hosted servers, but really shines on dedicated servers without an active host to change gametypes manually. For that reason, certain features are enabled when this addon is loaded alongside HOSTMOD.

Make sure to add
hm_votable "setgametype"; hm_votable "extendgametype"; hm_votable "resetgametype"
to your kartserv.cfg!

Chat Prints

HOSTMOD's vote feature is extremely useful for changing gametypes.
However, the system in place technically allows for anyone to vote for 9999 rounds of a gametype. While this is obviously handled, players may still get confused.
For that reason, the script prints chat confirmations to notify players whenever the current gametype is being modified in some way.


Gametype Helper also prints reminders in chat every couple rounds that players can vote for their favorite gametype.
While I personally believe that informing the ignorant masses is extremely important (this script doesn't do anything obvious on its own), some server hosts may find this obnoxious, and have the ability to turn down the frequency, or turn the reminder off altogether.

Supported Gametypes:

Known Issues:
  • Some addons are technically supported but not recommended to be loaded yet.
    • Combi will set KartEliminateLast off every tic.
    • Wipezones disables player collisions whether it's toggled on or off.
  • May require further testing in a busy netgame environment.

Download Now

File Type: lua KL_GametypeHelper_V1-1.lua (9.1 KB, 203 views)


Click image for larger version

Name:	Banner.png
Views:	1810
Size:	11.5 KB
ID:	36306   Click image for larger version

Name:	Example Console Print.png
Views:	179
Size:	63.0 KB
ID:	36307   Click image for larger version

Name:	Example Vote.png
Views:	190
Size:	30.7 KB
ID:	36308   Click image for larger version

Name:	Intro Gametype Notice.gif
Views:	171
Size:	1.91 MB
ID:	36309  

Show Your Support

  • This addon may not be copied, reproduced or published elsewhere without the author's permission.

Old 08-07-2020   #2
Probably Responsible
D00D64's Avatar

While I have not been able to test every supported gametype with a wide array of players, I still feel I have good enough faith in this addon to let it into releases.
D00D64 is offline   Reply With Quote
Old 08-09-2020   #3
Eldog's Avatar

Updated to 1.1-- I missed one space in "map default"

Eldog is offline   Reply With Quote
Old 08-11-2020   #4
Lightsideluc's Avatar

So, essentially, servers can alter the gametype on the fly without a server restart now? Because that's super cool and a feature I've been quietly hoping for ever since I first experienced the chaos of Combi.
Lightsideluc is offline   Reply With Quote
Old 10-07-2020   #5

so i just found an issue: after some normal games on a mod if a setgametype command (ae hostmode vote) goes through during map vote it turns the 2nd mod on without turning the first one off
Click image for larger version

Name:	kart0000.jpg
Views:	46
Size:	120.0 KB
ID:	39895
here i have frontrun and friendmod on
Lonsfor is offline   Reply With Quote
Old 10-07-2020   #6

Hi, complementing, a suggestion is also missing:

When the game mode is not finished, and the server empties, the next person who connect to the server will find (for example) Elmination On.

Maybe the game mode could auto-reset when there not one person remains. Is possible?

Last edited by Gaudy; 10-07-2020 at 03:43 PM.
Gaudy is offline   Reply With Quote
Old 11-08-2020   #7
A Sonic and Puyo Fan
aa479758's Avatar

This is a pretty neat feature, it helps reduce the amount of aliases that I had to make to put in multiple custom gamemodes. Though I did notice something.

After seeing that wipezones was updated to re-enabled collision when disabled, I tried to apply that version into here, but it was ignored.

I assumed it was the same process like the other custom gamemodes, but at the very least now gametype helper doesn't have wipezone issue that was present before.

Last edited by aa479758; 11-08-2020 at 08:55 PM. Reason: Re-arranged my words.
aa479758 is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:50 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.