SRB2 Message Board  

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

Reply
 
Thread Tools
Cancelable Super Form v2.1 Details »»
Cancelable Super Form v2.1
Version: 2.1, by birbhorse (local eevee petter) birbhorse is offline
Developer Last Online: Oct 2020

Version: SRB2 Rating: (2 votes - 3.20 average)
Released: 12-20-2019 Last Update: 02-01-2020 Favourites: 0
Scripts Re-Useable Content

NOTICE: This addon exists within another addon called Many Minor Tweaks now. If you wish to change the key used for this, alongside allowing any and all characters to go super, click here.

I am way too used to various other Sonic mods that had the ability to cancel super forms (such as Sonic 3 A.I.R.), so I made this! Took me awhile to figure out how to create this since I'm not the programming type, despite this being a somewhat simple script in the end.

It's super simple to use, just jump in the air and press Spin. It will remove your super state and make you invulnerable for a second. Additionally, you will keep any shields you have obtained while you were super.
Of note, it will not cancel your super form while you're falling to the ground.

I have tested this with other mods that mess around with the super forms (such as "Hyper Abilities" and "All Characters super!"), and they seem to work properly with this.

v2.0 Update: For the 3 people out there who care, this script has been re-written in its entirety, and is on feature parity with MMT v2.3.

v2.1 Update: Fixed it so that this will not run if MMT is detected, that's all. It would cause conflicts otherwise.

Download Now

File Type: lua VL_Cancel_Super_Form-v2.1.lua (1.3 KB, 767 views)

Screenshots

Click image for larger version

Name:	srb20002.gif
Views:	553
Size:	5.39 MB
ID:	23991   Click image for larger version

Name:	srb20003.gif
Views:	460
Size:	6.09 MB
ID:	23993  

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-21-2019   #2
D00D64
Probably Responsible
Moderator
 
D00D64's Avatar
Default

Welcome to releases! Though, are you sure hold jump and press spin is the best method? Seems like it could cause a lot of problems if you wanted to super hover, but then canceled your form instead...
D00D64 is offline   Reply With Quote
Old 12-21-2019   #3
birbhorse
local eevee petter
 
birbhorse's Avatar
Default

Quote:
Originally Posted by D00D64 View Post
Welcome to releases! Though, are you sure hold jump and press spin is the best method? Seems like it could cause a lot of problems if you wanted to super hover, but then canceled your form instead...
It is possible to do super hover, you just have to start falling from your jump instead, as in, jump for long enough till you start falling back to the ground. This is due to a quirk of how the script detects how the player is jumping I think, but either way, it just requires you to time your super hover differently.

That or, if you're desperate, you can edit the key used to cancel the superform to, say, one of the custom buttons.

EDIT: Should've noted, an example of this is provided in the second screenshot gif movie thing. I just remembered I had that in one of the drafts of that post, but removed it for some reason.
__________________
--------------
raboot.jpeg
--------------

Last edited by birbhorse; 12-21-2019 at 03:09 AM.
birbhorse is offline   Reply With Quote
Old 12-22-2019   #4
Icezer
 
Icezer's Avatar
Default

Hey so just wanted to show something concerning compatibility with the "All Characters Super" script. When hopping off a wall with Knuckles using spin instead of jump, the cancel script activates immediately.


Example below.
Icezer is offline   Reply With Quote
Old 12-22-2019   #5
birbhorse
local eevee petter
 
birbhorse's Avatar
Default

Oh dang, I'll look into that. I'll probably add a check so it doesn't activate when knuckles is in that state.

EDIT: Done. The APNG screencap feature in OpenGL mode is useful since it slows down the game real hard for my crummy ol laptop, thus meaning I can look at the exact frame where Knuckles' state changes, and screencap the resulting number from there :p

Quote:
Originally Posted by Icezer View Post
Hey so just wanted to show something concerning compatibility with the "All Characters Super" script. When hopping off a wall with Knuckles using spin instead of jump, the cancel script activates immediately.


Example below.
__________________
--------------
raboot.jpeg
--------------

Last edited by birbhorse; 12-22-2019 at 05:48 PM.
birbhorse is offline   Reply With Quote
Old 12-22-2019   #6
Larz T
Siced
Judge
 
Larz T's Avatar
Default

I really feel like this should be essential to the main game.
__________________
Quote:
Originally Posted by MaykeAdventuresZForever View Post
I been playing this since I was 9 years old and all I felt was anger.
YouTube

Avatar art done by TehRealSalt
Larz T is offline   Reply With Quote
Old 12-23-2019   #7
Icezer
 
Icezer's Avatar
Default

Found another quirk. This script also activates immediately when jumping out of a spindash charge. Example Below.
EDIT: Forgot to mention that I'm just trying to make sure this script is the best it can be :)

__________________
That guy who likes King Dedede.

Last edited by Icezer; 12-23-2019 at 03:00 AM. Reason: Forgotten Text
Icezer is offline   Reply With Quote
Old 12-23-2019   #8
birbhorse
local eevee petter
 
birbhorse's Avatar
Default

Ahh, for some reason I didn't catch that, I swore I tested it and it didn't happen lmao

I'll get to it soon, for some reason I decided to browse this post when I'm about to go to bed, so uh, yeah I'll do it when I wake up

Quote:
Originally Posted by Icezer View Post
Found another quirk. This script also activates immediately when jumping out of a spindash charge. Example Below.
EDIT: Forgot to mention that I'm just trying to make sure this script is the best it can be :)

__________________
--------------
raboot.jpeg
--------------
birbhorse is offline   Reply With Quote
Old 12-23-2019   #9
Pyrakid Wolfo
 
Pyrakid Wolfo's Avatar
Default

Spin button seems odd shouldnt it be a custom action
Pyrakid Wolfo is online now   Reply With Quote
Old 12-23-2019   #10
Chimera
Your best friend
 
Chimera's Avatar
Default

they probably chose spin because SRB2 is effectively a 2 button game in single player, and going beyond that would kinda make it feel "not the same."

That said yeah it'd probably be cleaner to make cancelling super a different button bind altogether. Buut like birbhorse said you can edit that action yourself in the script? Heh.

Jump and ring toss might be a good play.
__________________
Nice.
Chimera is offline   Reply With Quote
Old 12-24-2019   #11
birbhorse
local eevee petter
 
birbhorse's Avatar
Default

i'm actually currently working on a huge thing that adds a bunch of minor new features that can be toggled via command, this included, and one of the features is the ability to switch the key used for cancelling the super form

it's unfortunately separated into singleplayer and multiplayer variants due to how player variables are handled, but once i get in a couple more features, i'll probably release it

...anyways i need to fix that bug i said i would lmao
__________________
--------------
raboot.jpeg
--------------
birbhorse is offline   Reply With Quote
Old 12-28-2019   #12
Golden Shine
Here to bring light!
 
Golden Shine's Avatar
Default

Can't get the current version to work for some reason. Is it intended to only work in multiplayer?

Also not sure why spin is even an option, let alone your first choice. It's begging for people to untransform by accident, either by their own doing or because some other action intervenes.

If you insist on spin for....reasons, I'd recommend something like standing on the ground, holding back, and double tapping spin. That kind of input is so uncommon it'd have to be done purposely, and likely wouldn't interfere with anything.
__________________
Check out the shiny new replacement for the old SMS freewebs!

It features an archive of my mods, old and new. Like SMSreborn and Metroid Vanguard. (Currently a wip)
Golden Shine is offline   Reply With Quote
Old 12-28-2019   #13
birbhorse
local eevee petter
 
birbhorse's Avatar
Default

Really weird that it's not working for you, but I can assure you the latest version does work.

To address your other points, I made another addon recently called MMT that addresses your complaint about spin being the key used to cancel the super form, you can change it to something else in that. I'll edit this addon to mention that now lol

Quote:
Originally Posted by Golden Shine View Post
Can't get the current version to work for some reason. Is it intended to only work in multiplayer?

Also not sure why spin is even an option, let alone your first choice. It's begging for people to untransform by accident, either by their own doing or because some other action intervenes.

If you insist on spin for....reasons, I'd recommend something like standing on the ground, holding back, and double tapping spin. That kind of input is so uncommon it'd have to be done purposely, and likely wouldn't interfere with anything.
__________________
--------------
raboot.jpeg
--------------
birbhorse is offline   Reply With Quote
Old 06-15-2020   #14
carlrev
The living revolution
 
carlrev's Avatar
Default

This lua doesn't work for Amy. She cannot cancel her super form.
__________________
Long live the revolution!
carlrev is offline   Reply With Quote
Old 06-16-2020   #15
Icarus
Warrior from Algol
Permanently Banned
Default

This was one of the best QoL feature in Sonic 3 Complete.


This and having to use another jump button for Super instead of being the same.
Icarus is offline   Reply With Quote
Old 06-16-2020   #16
LuxisLand
𝐼 𝒶𝓂 𝒹𝑒𝒶𝒹.
 
LuxisLand's Avatar
Default

why don't put custom action 3 instead of spin?
It should work for all original characters and too the addons (like Modern Sonic)
__________________
Oh so you're a Sonic Robo Blast 2 Fan?
Name every Emblem Hint.
LuxisLand is online now   Reply With Quote
Old 06-16-2020   #17
The Real Inferno
Blazing Fan
 
The Real Inferno's Avatar
Default

Quote:
Originally Posted by LuxisLand View Post
why don't put custom action 3 instead of spin?
It should work for all original characters and too the addons (like Modern Sonic)
If you had read through this thread, you would realize that you are basically just wanting a feature that is present in this other mod made by the same person:
https://mb.srb2.org/showthread.php?t=45986

Maybe read the original post in it's entirety next time.
The Real Inferno 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 08:36 PM.


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