SRB2 Message Board  

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

Reply
 
Thread Tools
Roll The Dice (V1.2 Bugfix) Details »»
Roll The Dice (V1.2 Bugfix)
Version: 1.2, by SSG3 (A big fan of Amy rn) SSG3 is offline
Developer Last Online: Aug 2017

Category: Version: SRB2 Rating:
Released: 05-12-2017 Last Update: Never Installs: 0
Scripts Re-Useable Content Is in Beta Stage

First off, I gotta credit BlazeTheCat who helped me in optimising Roll the Dice's Core code. Best regards to her. Without it, you couldn't make your own Dice Roll effects.

Anyway, on with the meaty stuff..

Roll the Dice: Roll an imaginary die for a random effect. Each dice roll is basically risking your life, since two of the rolls will kill you; one instantly (suicide) and one after 10 seconds (timebomb)

Usage: type "rtd" in the console.

Effects list in the default Core:
Suicide: Self explanitory. Die immediately and start the 60 second cooldown.
Timebomb: Explode after 10 seconds, to which the user dies.
Beacon: You'll make a noise and have an aura around you, which aids in everyone being able to track you easier.
Super form: Gain 20 rings, all 7 match emeralds, and turn super. 60 second cooldown starts immediately.
Invincibility: Same as grabbing an invincibility monitor. 60 second cooldown starts immediately.
Increased Speed: Your max speed is increased. Acceleration is also buffed slightly to compensate for this. Lasts 20 seconds and has a 60 second cooldown.
Low Gravity: Your gravity becomes lighter. Lasts 20 seconds and has a 60 second cooldown.
Heavy Gravity: Your gravity becomes heavier, about as heavy as Metal Mario in the Smash Bros. Series. Lasts 20 seconds and has a 60 second cooldown.
Invisibility: Become invisible for 20 seconds. Shields, Sounds and after-images aren't affected by this change. Has a 60 second cooldown.
God-mode: Activates God Mode (Sissy mode), meaning nothing - apart from enemy rings in tag/H&S - can hurt you. Lasts 20 seconds and has a 60 second cooldown.
No-clip: Activates No-Clip. Lasts 20 seconds and has a 60 second cooldown.
Small: Decreases your size. Lasts 20 seconds and has a 60 second cooldown.
Big: Increases your size. Lasts 20 seconds and has a 60 second cooldown.
Infinite air: Cannot drown in water or space. Lasts 20 seconds and has a 60 second cooldown.

Character-Specific Rolls:
Tails (and TailsCD) - Infinite flight: can fly infinitely. Lasts 20 seconds and has a 60 second cooldown.
Jasper - Infinite Stars: gives Jasper infinite stars like in her super form. Lasts 20 seconds and has a 60 second cooldown.
Silver - Infinite Psychic Energy: Silver gains infinite Psychic Energy. Lasts 20 seconds and has a 60 second cooldown.
Kirby - Infinite Jumps: Kirby can "jump" around infinitely, like OH NO Kirby and when Kirby is super. Lasts 20 seconds and has a 60 second cooldown.

HUD-only Rolls:
Blind: You cannot see. Lasts 20 seconds and has a 60 second cooldown.

Making your own Dice Rolls:


Blazethecat's words of wisdom might be of handy.

here's an example:
Code:
rtd.AddRoll("Super Sneakers", 0, RTD_Start_SpeedShoes, nil, nil, nil, nil)
I mean, since that line in the mod is commented out because it bears resemblance to Increased Speed, adding in Roll the Dice and adding an Lua script with this line in particular, you can technically re-add Speed Shoes as a roll.

GIF of one of the rolls:


Link to all of the already compatible characters:
Silver
Kirby (not currently available on the MB). Basically, the kirby from my HOW TO KIRBY video
Tails CD (has the same skin specific roll as vanilla Tails)
Jasper

SLIGHT BUGFIX: "gravity/3" is now changed to "(gravity/3)/2" so you don't have no gravity in water in the Low Gravity Roll

KNOWN ISSUES:
Any HUD related roll, including blind, can be negated by holding the rankings/scores key (default key: TAB)
Blind does not cover the whole screen in non-green resolutions e.g. 320 x 240 or 800 x 600 (Thanks, Prime 2.0)
If you roll suicide while jumping, there's a chance where you'll still be in the jumping animation

Spoiler: Changelog
1.2: Properly fixed the bugs this time, I promise!
fixed a bug relating to console spam and being unable to roll the dice.
1.1: Fixed a bug relating to player.dicetime

Download Now

File Type: zip RollTheDice.zip (3.6 KB, 34 views)

Supporters / CoAuthors

Show Your Support

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

Comments
Old 06-17-2017   #2
Prime 2.0
Actually a decent lazy bum
Moderator
 
Prime 2.0's Avatar
Default

Welcome to Releases!
__________________
Science tells us that nothing can be proven, only rendered more likely to be true. If we do not question what we already know, how can we know, much less admit, when we're wrong? Such things are vital to progress.
Prime 2.0 is offline   Reply With Quote
Old 06-18-2017   #3
NeoLucario87
luigi's cowboy impression
 
NeoLucario87's Avatar
Default

hey, nice seeing RTD get released, it's a good wad, but it's risky since there's around 3 Bad rolls, also.

Quote:
Jasper - Infinite Stars: gives Jasper infinite stars like in Her super form.
I'm pretty sure Jasper is a boy.
__________________
"This card is Spoiled Titty Milk." -Jasaku88 in Dokkan Battle Wikia
NeoLucario87 is offline   Reply With Quote
Old 06-18-2017   #4
GreenKnight9000
Default

Quote:
Originally Posted by NeoLucario87 View Post
hey, nice seeing RTD get released, it's a good wad, but it's risky since there's around 3 Bad rolls, also.



I'm pretty sure Jasper is a boy.
Gotta take the bad with the good ;)
GreenKnight9000 is offline   Reply With Quote
Old 06-25-2017   #5
SSG3
A big fan of Amy rn
 
SSG3's Avatar
Default

SLIGHT PATCH: Low gravity has been altered slightly so that you don't have no gravity in water/lava sectors (Paper Mario could exploit this to have slight control over air movement) and not fall up infinitely in super low gravity sectors in ERZ2
__________________
Quote:
<Lat> people thought moonjump and chaos control were OP
<Lat> screw jump is the new meta
SSG3 is offline   Reply With Quote
Old 4 Weeks Ago   #6
SSG3
A big fan of Amy rn
 
SSG3's Avatar
Default

V1.1 is out. check the changelog for details
__________________
Quote:
<Lat> people thought moonjump and chaos control were OP
<Lat> screw jump is the new meta
SSG3 is offline   Reply With Quote
Old 1 Week Ago   #7
SSG3
A big fan of Amy rn
 
SSG3's Avatar
Default

V1.2 is out, properly fixing the bug aforementioned in V1.1 Check the changelog for details.
__________________
Quote:
<Lat> people thought moonjump and chaos control were OP
<Lat> screw jump is the new meta
SSG3 is offline   Reply With Quote
Old 1 Week Ago   #8
LunarDestroyer
 
LunarDestroyer's Avatar
Default

While I don't think it's possible to properly fix the rankings/scores bug with HUD related rolls, it's actually rather trivial to make the "Blind" effect work on all resolutions. All you have to do is just remove the arguments to drawFill, as that causes it to fill the entire screen with black (as i assume is the intent).
LunarDestroyer 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 07:51 PM.


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