SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > Outdated Releases (2.1.X) > Lua (2.1.X)

Thread Tools
Map Shuffler (MapShuffle.lua) Details »»
Map Shuffler (MapShuffle.lua)
Version: 1.0, by FuriousFox (AKA FuriousFox) FuriousFox is offline
Developer Last Online: Jun 2020

Category: Version: SRB2 Rating: (2 votes - 3.80 average)
Released: 04-25-2016 Last Update: Never Favourites: 3
Scripts Re-Useable Content

This script creates a randomized list of every loaded singleplayer or co-op level (including wads) for you to play through, similar to how a music player does if you press the shuffle button. Once you reach the end of the shuffled map list, the script will automatically shuffle it again. If you want to return to the normal map progression, just change the map using the MAP command or the in-game level select menu.

This script includes 2 console commands:

SHUFFLE - Shuffles the map list and teleports you to the first level in that list.
NEXTLEVEL - Skips the current level and goes to the next map in the list.

Download Now

File Type: lua MapShuffle.lua (3.4 KB, 386 views)


Click image for larger version

Name:	srb20005.jpg
Views:	434
Size:	190.6 KB
ID:	7920   Click image for larger version

Name:	srb20028.gif
Views:	392
Size:	6.55 MB
ID:	7921  

Show Your Support

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

Old 04-29-2016   #2
The unreliable judge
MellowJacket's Avatar

Whoops! Sorry for letting this wad get lost in submissions like that.

Anyhow, I gave this a test and it works fine. A pretty neat idea, I might get some use out of this when I host a co-op server. Although with some generous use of the NEXTMAP command to skip the SRB1 levels.
Meanwhile in Aerial Garden Zone
MellowJacket is offline  
Old 04-29-2016   #3
AKA FuriousFox
FuriousFox's Avatar

Quick update: NEXTMAP command was changed to NEXTLEVEL due to the script messing with some internal console variables and causing crashes if the script is loaded at launch.
FuriousFox is offline  
Old 04-30-2016   #4
Spike HedgeFox
Known as Chase The HedgeFox
Spike HedgeFox's Avatar

you finally released this! i totally like this.
Spike HedgeFox is offline  
Old 04-30-2016   #5
Ritz's Avatar

No other gametypes supported? A dedicated match/CTF server using this with every compatible OLDC map queued up sounds like a great way to kill a day.
Ritz is offline  
Old 04-30-2016   #6
AKA FuriousFox
FuriousFox's Avatar

I thought about that, but SRB2 already supports random map rotations for all the other gametypes. Plus I would have to come up for another way to determine when the round has ended in Match/CTF, since right now I just check player.exiting (which I don't think ever gets set in those gametypes).
FuriousFox is offline  

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 On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:07 PM.

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