SRB2 Message Board  

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

Reply
 
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
Scripts


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

Commands:
Spoiler:
SetGametype

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.

ExtendGametype

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.

ResetGametype

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

ResetGametype

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

HOSTMOD Integration:
Spoiler:
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.

GH_Reminder

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:
Spoiler:
  • 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)

Screenshots

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.

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

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
 
Eldog's Avatar
Default

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

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

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.
__________________
OKAY
Lightsideluc is offline   Reply With Quote
Old 10-07-2020   #5
Lonsfor
Default

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
Gaudy
Default

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
aa479758
A Sonic and Puyo Fan
 
aa479758's Avatar
Default

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
Reply

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.