SRB2 Message Board  

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

Thread Tools
Diagonal Springs Lock Your Controls Details »»
Diagonal Springs Lock Your Controls
Version: 1, by Dabir (Nitpicker) Dabir is offline
Developer Last Online: Jul 2020

Version: SRB2 Rating: (2 votes - 2.60 average)
Released: 06-08-2020 Last Update: Never Installs: 1

What does this do?
When you touch a diagonal spring, your horizontal movement controls become locked for a short time.

Uh... why?
Diagonal springs reset your horizontal *and* vertical momentum. They're generally placed with an intention to send you somewhere specific. But you still have a lot of air control, so it's easy to hold a direction a bit too long and wind up accidentally veering away from where it was trying to send you. This mod gives you a little window where you can let go of the buttons or the stick so the spring can take you where it will.

This mod comes with a new console variable, "springlock", which measures how many frames your controls will be locked for. It defaults to 25, and can be set to anything between 1 and 70. Having the Super Sneakers powerup makes the timer run out twice as fast.

If you end up in any state other than springing or falling before that time runs out, your controls will immediately unlock, so if you land early or get hit by something on the way you'll have full control right away.

Download Now

File Type: lua VL_SpringLock-v1.lua (1.4 KB, 119 views)

Show Your Support

  • This addon may not be copied, reproduced or published elsewhere without the author's permission.

Old 2 Weeks Ago   #2
Probably Responsible
D00D64's Avatar

Welcome to releases!
D00D64 is offline   Reply With Quote
Old 2 Weeks Ago   #3
The Final Doomer
Icarus's Avatar

This is the kind of thing that annoyed me a bit when I started SRB2 back in '15 (during the 2.1 days), I know that you should "let it go" when you use one but this isn't really intuitive.

I especially remember those springs from the last quarter of Techno Hill Act 2.

This mod should only be for vanilla maps because I feel like custom maps could use "trap springs" that sends you to a bottomless pit so you must have a backup and quick reflexes.

Tl;Dr Thanks it was really needed
"Running SRB2.wad with GZDoom wasn't a good idea"
Icarus is offline   Reply With Quote
Old 2 Weeks Ago   #4

If a feature like this was officially adopted, the devs would probably add a flag to springs that turns it on or off. For a simple mod like this, that's a bit out of scope.
Dabir is offline   Reply With Quote
Old 6 Days Ago   #5
Ace Dragon
Ace Dragon's Avatar

This will be very nice for us custom map makers that makes use of diagonal springs, but don't want to deal with the fact it could allow players to easily cheese the level (if measures, that might detract from the aesthetic, are not put in place).

I will be making use of this, thanks. I may also try to use it to increase the efficacy of horizontal springs.
Ace Dragon is offline   Reply With Quote
Old 5 Days Ago   #6

If you think it would help, go for it.
Dabir is offline   Reply With Quote
Old 3 Days Ago   #7
Unknownlight's Avatar

You know, this is one of those things that's so obvious, a problem with the spring physics so blatant that every single person is guaranteed to fail at the first time they play GFZ2, something I've complained about so many times at one point or another for making the game unnecessarily inaccessible, something I've seen so many new players on YouTube irritated at right out of the gate... I figured the reason it hasn't been changed all this time was because of some weirdness in the Doom movement code that was difficult to fix.

The fact that it can be fixed with a tiny Lua script actually kind of angers me.

Thank you so much for this!
Unknownlight is online now   Reply With Quote

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 01:57 AM.

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