SRB2 Message Board  

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

Thread Tools
Frontrun (Custom gamemode) Details »»
Frontrun (Custom gamemode)
Version: 3, by Callmore Callmore is offline
Developer Last Online: Jul 2020

Category: Version: SRB2 Kart Rating: (1 votes - 3.00 average)
Released: 04-15-2020 Last Update: 05-15-2020 Favourites: 0
Scripts Re-Useable Content

Front-run to drain your own timer.
Drain your timer completely to win!

More complex rule description
Stay in first place to drain your own timer. If you can drain your own timer down to 0, you win! Being not in first while below 10 seconds refills your timer slowly.

Falling off (or dying) will add 5 more seconds on to your timer, up to a maximum of 60 seconds. Falling (or dying) while below 10 seconds will refill your timer to 10 seconds PLUS add 5 more seconds for falling off, resulting in 15 seconds!

If the round timer runs out, the game will enter OVERTIME. During overtime, the timer will drain at an accelerated rate. For every minute during overtime, the drain rate will accelerate again.

Spoiler: Console variables
All of the variables start with outrun. The original name for this gamemode was outrun but another addon already has that name, so I have changed it to Frontrun.

frontrun_enabled (default on)
Toggle if outrun is enabled.

frontrun_timer (default 60)
Starting timer for each player.

frontrun_respawnpenalty (default 5)
How much time is added on to a player's timer when they fall (or die).

frontrun_suddendeathseconds (default 180)
How long until sudden death starts.

frontrun_suddendeathupgradeseconds (default 60)
How long during sudden death until the time decrease rate increases.

frontrun_minimumtimer (default 10)
Minimum timer that a player is allowed to have while not being in first.
If a player where to fall, their timer would be set to minimum+respawnpenalty.

frontrun_comeback (default on)
Toggle if the comeback mechanic is enabled.

frontrun_comebackmintime (default 10)
frontrun_comebackmaxtime (default 30)
Set the amount of time behind is required to start gaining a speed boost.
The boost will cap at the maximum time.
If the minimum time is set above the maximum time, comeback will be disabled to avoid issues

frontrun_comebackmaxspeed (default 50)
Maximum speed bonus that can be gained from comeback.
This is given as a percentage multiplier (50 is +50% speed).

Spoiler: Change log
v3 - Removed penalty system, replaced with a comeback system: The further behind the leader in terms of timer remaining, the faster you go!
Changed the perfect system to require a more perfect game to be played.
Hopefully fixed desyncs.
v2 - Added a penalty to slow down first place if they front-run too much (This was to address people breaking away too much at the start and not having any competition)
Added post-round screen
Fixed bugs
v1.2 - Added a reasonable cap to CVars
Stopped overtime sound from playing every tic if outrun_suddendeathseconds was set to 0
Stopped gamemode from running in singleplayer/freeplay
v1.1 - Made map count reset to lap default if gamemode was disabled
v1 - Initial release

Download Now

File Type: pk3 KL_Frontrun-v3.pk3 (6.2 KB, 95 views)


Click image for larger version

Name:	Frontrun HUD explantion.png
Views:	1392
Size:	190.1 KB
ID:	29701   Click image for larger version

Name:	kart0009.gif
Views:	1383
Size:	3.07 MB
ID:	29702   Click image for larger version

Name:	kart0010.gif
Views:	1385
Size:	2.70 MB
ID:	29703  

Supporters / CoAuthors

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Old 04-19-2020   #2
Prime 2.0
Grape flavored
Permanently Banned

Hey, sorry for the delay - normally we keep testing between judges for the privacy of the submitter, but given that this requires multiplayer, is it fine if we test this publicly?
Prime 2.0 is offline   Reply With Quote
Old 04-19-2020   #3

Yeah sure.
Callmore is offline   Reply With Quote
Old 04-29-2020   #4
it's lamp for supper, kids
Charybdizs's Avatar

Welcome to releases! Sort of a strange way you chose to handle sprint maps, but otherwise, it seems to work as intended.
Planning ahead is for ninnies who think they can predict every possible outcome. The future is mutable! Go with the flow!
Charybdizs is offline   Reply With Quote
Old 04-30-2020   #5

Updated to v1.2
Check change log for changes.
Callmore is offline   Reply With Quote
Old 05-01-2020   #6
Lucario_'s Avatar

Originally Posted by Callmore View Post
Updated to v1.2
Check change log for changes.
No problem man, that's why I test some lua script addons to view if there are issues during my testing. Anyway nice work on this addon!
Having curiosity on modding and enjoying playing.

Lucario - The Aura Pokémon
Lucario_ is offline   Reply With Quote
Old 05-04-2020   #7

Updated to v2
Added new penalty system to reduce the power of breaking away.
Check change log for changes.
Callmore is offline   Reply With Quote
Old 05-13-2020   #8

There is a bit of issue with the "Perfect Round System" - rounds sometimes end in a Perfect without the "Can Perfect" / "Go for Perfect" even appearing for the winning player at any point in the round (note that in normal cases, the "Can Perfect" still remains even after a round ends).

And also maybe add splitscreen support?
ne_gamer8623 is offline   Reply With Quote
Old 05-15-2020   #9

Updated to v3
Replaced penalty system with a comeback mechanic: The further behind the leader in terms of timer remaining, the faster you go!
Check change log for changes.
Callmore 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:33 AM.

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