SRB2 Message Board  

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

Reply
 
Thread Tools
Character Diceroll (xl_cdr_v2_0.lua) Details »»
Character Diceroll (xl_cdr_v2_0.lua)
Version: 2.0, by toaster (トースタちゃん) toaster is offline
Developer Last Online: Feb 2020

Version: SRB2 Rating: (1 votes - 3.40 average)
Released: 12-10-2019 Last Update: Never Installs: 1
Scripts Re-Useable Content

Spoiler: Changelog

  • 2.0 - Ported to 2.2, and now supporting all the new skin properties that are available! Also added several admin commands for it; see below.
  • 1.2 - Now prevents mid-map skin changing!
  • 1.1 - Minor version lost to time/netgame testing.
  • 1.0 - First release.
Inspired by Let's Play Together SRB2 with combiring.lua "german", a YouTube series which I love so much even though I can't understand a word of it (and that's with 5 years of German classes...)

Randomly selects your character out of all the ones you have accessible, each time the level changes (no suicide to get you out of this unless the host wills it) to keep things fresh and interesting! Although it's intended for netgames, it does work in singleplayer as well (where it also changes your colour to the prefcolour). Plus, it's compatible with SRB2Kart!

Several admin options are now available starting with version 2.0.
Spoiler: Admin console variables

  • cdr_adminenable <On/Off> (default: On)
    Enable/disable Character Diceroll for all players in the server.
  • cdr_twiceinrow <On/Off> (default: Off)
    Permits all players in the server to roll the same character two times in a row. Please note this does not force any result, just allow for more chaos.
  • cdr_deathrerolls <Integer> (default: 0)
    Rerolls character on death, up to this many times per level (or not at all if 0). If set to a negative number, infinite death rerolls are allowed.

For best results, play with every character wad of reasonable quality on the mb - and if you're in a netgame, with combiring.lua! Once they're ported, I mean. Sorry for breaking all the old scripts and characters with 2.2 :V

Spoiler: Version 2.2 spoilers
And of course, the real reason I had to port this at all: the unlockable characters! They make this script extra relevant and fun going forward, I think, even without lots of non-vanilla characters added. Have you got them all? :D

Download Now

File Type: lua xl_cdr_v2_0.lua (7.6 KB, 316 views)

Show Your Support

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

Comments
Old 12-14-2019   #2
D00D64
Worst Ranked 'Kart Player
Moderator
 
D00D64's Avatar
Default

Welcome to Releases!
__________________
The least skilled player on the Kart Krew dev team, but I try my best. Maybe someday...

My awful Twitter account

My also awful YouTube channel
D00D64 is online now   Reply With Quote
Old 12-15-2019   #3
Whackjood
The unreliable joodge
Judge
 
Whackjood's Avatar
Default

Hey, sorry to be quite so picky about filenames after release. But in the name of getting our filenaming conventions completely uniform, could you rename your file to VL_cdr-v2.0? The prefix needing to be corrected and in capitals, and the suffix connected to the rest of the file with a hypen instead of an underscore.
__________________
Meanwhile in Aerial Garden Zone
Whackjood is offline   Reply With Quote
Old 4 Weeks Ago   #4
Lamibe
Default

Nice mod but quite unstable. It increase synch issue making stable netplay harder. When someone join it can cause synch failure to the one just joined and someone else including sometimes loopback/host. I don't think It's from my server because someone else tried it and worked even less and without it the game work better. Also hybrid : People getting a character but the game try to put another one but fails, finishing with a synch failure when the ability is used or jump for few chars.

Last edited by Lamibe; 4 Weeks Ago at 05:41 PM. Reason: After more testing it happens less often than my first tought
Lamibe is offline   Reply With Quote
Old 4 Weeks Ago   #5
toaster
トースタちゃん
 
toaster's Avatar
Default

Strange, that wasn't found in testing. Can anyone help confirm/troubleshoot the above, because that description by itself isn't actionable information from my perspective...
__________________
Quote:
<fickle> giant robo-hood that rips the map apart with her bare hands
shameless plug: please check out my sonic mania lego ideas project, it could become a real thing if yalls support it
toaster is offline   Reply With Quote
Old 4 Weeks Ago   #6
Icezer
 
Icezer's Avatar
Default

Quote:
Lamibe: Nice mod but quite unstable. It increase synch issue making stable netplay harder. When someone join it can cause synch failure to the one just joined and someone else including sometimes loopback/host. I don't think It's from my server because someone else tried it and worked even less and without it the game work better. Also hybrid : People getting a character but the game try to put another one but fails, finishing with a synch failure when the ability is used or jump for few chars.

Can confirm this issue exists. Was hosting earlier and had it happen in mass.
Just hosted a test server while in GIF mode and happened to catch it in action.
EDIT: Also another "bug" I found is that the diceroll only seems to get up to 2 added characters, any others are never landed on.
__________________
That guy who likes King Dedede.

Last edited by Icezer; 3 Weeks Ago at 06:26 PM. Reason: Forgotten Addendum
Icezer is offline   Reply With Quote
Old 3 Weeks Ago   #7
Lamibe
Default

Seems this have a link with character hybrid. For some people it work well but some will not. Seems synch failure happens when moving, when standing nothing wrong happens. The fact about added character is that add character will break it which is not a big surprise : Did it and it gift only Blaze(the first added character) until I closed the server...
Lamibe 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 06:22 PM.


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