SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Lua

Reply
 
Thread Tools
Character Randomizer [v3] Details »»
Character Randomizer [v3]
Version: v3, by Nightwolf (What if...) Nightwolf is offline
Developer Last Online: Nov 2020

Version: SRB2 Rating: (3 votes - 3.80 average)
Released: 05-08-2020 Last Update: Never Favourites: 6
SOCs Scripts Re-Useable Content

Character Randomizer

This mod randomizes characters during gameplay. The script puts all currently loaded characters into a skin table and then picks a random skin from it for every player. The skins will stay only for a limited time, after which a new one is chosen.

Commands
Spoiler:

cr_enable <0/1> - enable or disable this mod. (default: 1)
cr_time <1-3600> - set the time between skin changes in seconds. (default: 30)*
cr_skin list - print all currently loaded skins.
cr_skin add <skin name> - add a skin to the skin table.
cr_skin remove <skin name> - remove a skin from the skin table.
cr_skin reload - add all available characters to the skin table.
cr_ultimate <0/1> - enable or disable the ultimate skin randomization. (default: 0)* EPILEPSY WARNING
cr_timeoffset <0-900> - change the maximum difference between the time defined in cr_time command and skin time a player will get in seconds. (default: 0 - disabled)*
cr_shownextskin <0/1> - show the next skin you will get (default: 0 - off)*
cr_showtimer <0/1> - enable or disable the skin time clock (default: 1)*
cr_sa2random <0/1> - enable or disable skin changing only after map change. (default: 0)

* this command won't do anything when cr_sa2random is enabled.


Changelog
Spoiler:

Version 3
-Added cr_shownextskin command (request by Magnemania)
-Added cr_showtimer command (request by Solid SOAP)
-Fixed cr_sa2random not working properly with newly joined non-host players (glitch found by Apollyon Woman)

Version 2
-Added cr_sa2random command (request by Icarus)
-Added cr_timeoffset command
-Fixed record attack glitches (glitches found by cookiefonster)
-Fixed splitscreen timer HUD bug (glitch found by Eis-Kold)
-Disabled in-game demos using MainCfg

Version 1
-Initial release



Credits
Spoiler:

- GreffMASTER - beta testing
- people from #srb2-memery - some important ideas
- Icarus - cr_sa2random command idea
- Magnemania - cr_shownextskin command idea
- Solid SOAP - cr_showtimer command idea
- cookiefonster, Apollyon Woman and Eis-Kold - finding bugs in this mod


Have fun!

Download Now

File Type: pk3 VL_CharRandom-v3.pk3 (2.9 KB, 838 views)

Screenshots

Click image for larger version

Name:	srb20057.gif
Views:	522
Size:	7.25 MB
ID:	30893   Click image for larger version

Name:	srb20058.gif
Views:	350
Size:	6.09 MB
ID:	30894   Click image for larger version

Name:	srb20122.png
Views:	283
Size:	281.6 KB
ID:	30895   Click image for larger version

Name:	srb20060.gif
Views:	285
Size:	3.89 MB
ID:	30896   Click image for larger version

Name:	srb20061.gif
Views:	472
Size:	3.66 MB
ID:	30897  

Click image for larger version

Name:	srb20136small.png
Views:	182
Size:	443.3 KB
ID:	31992  

Show Your Support

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

Comments
Old 05-11-2020   #2
Zipper
Killda
Judge
 
Zipper's Avatar
Default

This immediately turns into a clown fiesta as soon as any custom characters are added, which I assume was the intention all along.

Welcome to Releases!
__________________
Quote:
<Rob> Thok is not malaria
Zipper is offline   Reply With Quote
Old 05-11-2020   #3
Icarus
Permanently Banned
Default

This would make the playthrough more interesting
Icarus is offline   Reply With Quote
Old 05-11-2020   #4
Solid SOAP
 
Solid SOAP's Avatar
Default

Omfg this sounds like a blast. Will download.

Was just fooling around with it. Fun! However only the vanilla characters seem to work atm, unless I just have bad luck. Do I need to put them in myself via commands?

Last edited by Solid SOAP; 05-11-2020 at 09:48 PM.
Solid SOAP is offline   Reply With Quote
Old 05-11-2020   #5
Icarus
Permanently Banned
Default

By the way is there a way to randomize character per levels a la SA2 randomized? If no it's not a big problem, I would still play with it for fun.
Icarus is offline   Reply With Quote
Old 05-11-2020   #6
Nightwolf
What if...
 
Nightwolf's Avatar
Default

Quote:
Originally Posted by Solid SOAP View Post
Omfg this sounds like a blast. Will download.

Was just fooling around with it. Fun! However only the vanilla characters seem to work atm, unless I just have bad luck. Do I need to put them in myself via commands?

If you loaded custom character mods after this mod, you have to put "cr_skin reload" in the console to make them work.

---------- Post added at 12:34 AM ---------- Previous post was at 12:25 AM ----------

Quote:
Originally Posted by Icarus View Post
By the way is there a way to randomize character per levels a la SA2 randomized? If no it's not a big problem, I would still play with it for fun.

Currently it's not possible, but I may add this in a future version of this mod.
__________________
life road throw possible low
Nightwolf is offline   Reply With Quote
Old 05-11-2020   #7
Eis-Kold
Freelance Bug Hunter
 
Eis-Kold's Avatar
Default

Small bug(?) report!

Currently, the mod functions awkwardly in split-screen. Both timers are on the top right part of the screen (overlapping each other), which normally isn't a problem - but if a player dies, that player's new timer will overlap the other, resulting in difficulty telling when the timers end. Technically isn't a bug if support was never intended, but is worth noting.
Eis-Kold is offline   Reply With Quote
Old 05-12-2020   #8
Magnemania
 
Magnemania's Avatar
Default

Turning on half the board's custom characters and setting the timer to 7 seconds has given me one of the most fun experiences I've had in a while.
Magnemania is offline   Reply With Quote
Old 05-12-2020   #9
Icarus
Permanently Banned
Default

Quote:
Originally Posted by Nightwolf View Post
Currently it's not possible, but I may add this in a future version of this mod.
Thanks for your answer!
Icarus is offline   Reply With Quote
Old 05-12-2020   #10
Turret 49
Default

Quote:
Originally Posted by Icarus View Post
By the way is there a way to randomize character per levels a la SA2 randomized? If no it's not a big problem, I would still play with it for fun.
If you mean changing to a random character whenever you start a new map, toaster's "Character Diceroll" mod does that already, but this mod could still aim for that feature!

Last edited by Turret 49; 05-12-2020 at 10:30 AM.
Turret 49 is offline   Reply With Quote
Old 05-12-2020   #11
Gameobatts
"Hat Boi" in netgames.
 
Gameobatts's Avatar
Default

Grabbing tons of characters from the MB and turning on "Identity Crisis Mode" is probably the best thing I've ever experienced.
__________________
Chibi-Robo probably not gonna happen.
---------------------------------------------------------
hey also could you change my name to "Hat Boi" please
Gameobatts is offline   Reply With Quote
Old 05-12-2020   #12
PencilVoid
Circuit Enthusiast
 
PencilVoid's Avatar
Default

If only SRB2 had Kart's addon limit.
__________________
https://pencilvoid.neocities.org/


May I interest you in the Church of Audie?
PencilVoid is offline   Reply With Quote
Old 05-12-2020   #13
Magnemania
 
Magnemania's Avatar
Default



Tremendously fun.
Magnemania is offline   Reply With Quote
Old 05-12-2020   #14
Icarus
Permanently Banned
Default

Quote:
Originally Posted by Turret 49 View Post
If you mean changing to a random character whenever you start a new map, toaster's "Character Diceroll" mod does that already, but this mod could still aim for that feature!
I suddenly feel stupid for forgetting that this LUA existed... Thanks for the reminder!

Last edited by Icarus; 05-12-2020 at 02:44 PM. Reason: Changing "felt" to "feel" because my grammar is bad.
Icarus is offline   Reply With Quote
Old 05-12-2020   #15
cookiefonster
Wiki Admin
 
cookiefonster's Avatar
Default

This mod is a lot more fun than I expected! It kind of gives a similar vibe to Encore Mode in Sonic Mania, where all six playable characters are participating and taking turns except you don't get to decide who goes next.

One suggestion: I think the Fang and Metal Sonic bosses should always be gray clones in the mod, because there's a chance you could encounter regular Fang or Metal when playing as them and it would get confusing, and also make no sense.

I'd also love to see record attack fixed up a bit in this mod. Currently, with this mod and the Custom Gamedata SOC, record attack ghosts output texture errors to the top of the screen and show the wrong character, while record attack replays have the character remain the same color as whoever you started playing as.
__________________
I'm currently working on making 8-bit covers of the entire 2.2 soundtrack. Here are all the special stage themes!

Last edited by cookiefonster; 05-12-2020 at 04:07 PM.
cookiefonster is offline   Reply With Quote
Old 05-12-2020   #16
Nightwolf
What if...
 
Nightwolf's Avatar
Default

Version 2 of Character Randomizer has been released!
View the changelog for more information about the update.
__________________
life road throw possible low
Nightwolf is offline   Reply With Quote
Old 05-12-2020   #17
Icarus
Permanently Banned
Default

Quote:
Originally Posted by Nightwolf View Post
Version 2 of Character Randomizer has been released!
View the changelog for more information about the update.
Spoiler:
Version 2
-Added cr_sa2random command (request by Icarus)



Thank you a lot! I'll try this mod as soon as I have free access to my PC.
Icarus is offline   Reply With Quote
Old 05-12-2020   #18
Magnemania
 
Magnemania's Avatar
Default

By chance, would it be possible to get a toggle that allows us to see the name of the next skin below the countdown? It would be nice to be able to plan around the incoming character.
Magnemania is offline   Reply With Quote
Old 05-12-2020   #19
Nightwolf
What if...
 
Nightwolf's Avatar
Default

Quote:
Originally Posted by Magnemania View Post
By chance, would it be possible to get a toggle that allows us to see the name of the next skin below the countdown? It would be nice to be able to plan around the incoming character.

Yes, it is possible, but I will have to change how the skins are picked. Currently they are picked in real time, so the script doesn't have any information about the next skin.
__________________
life road throw possible low

Last edited by Nightwolf; 05-12-2020 at 10:07 PM. Reason: word changed
Nightwolf is offline   Reply With Quote
Old 05-12-2020   #20
Solid SOAP
 
Solid SOAP's Avatar
Default

Is there any way to obscure the timer? Or even randomize that in and of itself? I think it not existing would actually had a bit of fun to the mod.

On a semi unrelated note, a fun way to tinker with this may be to make the random character loop Modern/Neo Sonic and the Werehog. Kinda like a Sonic Unleashed mode but actually fun.

------

Might be a dumb question, but what ARE the names of each character skin???

I tried to remove Sonic, for example, and typed in "cr_skin remove <sonic>" and it did nothing.

Last edited by Solid SOAP; 05-12-2020 at 11:11 PM.
Solid SOAP 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 On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:39 PM.


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