SRB2 Message Board  

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

Reply
 
Thread Tools
MMT (Many Minor Tweaks) Details »»
MMT (Many Minor Tweaks)
Version: 1.1, by birbhorse (local eevee petter) birbhorse is offline
Developer Last Online: Jan 2020

Version: SRB2 Rating: (3 votes - 3.60 average)
Released: 12-25-2019 Last Update: 01-13-2020 Installs: 1
Scripts Re-Useable Content

Welcome to...
MMT (Many Minor Tweaks)!

This mod includes a whole bunch of minor tweaks that can be toggled via command line! Things including tailsball (which replaces tails' descent using spin to curl him up into a ball), superkey (which lets you change what key is used to turn super), and more! It also includes my previous lua script, Cancelable Super Form, now with the ability to change which key is used!

You can use "mmthelp" in-game to view what commands are available, and a brief description of what they do.
Do note that the list changes if you enter multiplayer, due to there being commands that work only in multiplayer, and ones that only work in singleplayer!

List of commands:
Spoiler:
  • tailsball <on/off> <jump/spin/bop>: Tails now turns into a ball instead of descending when using the spin key in flight. Default: off jump
    Second option changes how much control you have over tails when in ball form; jump for more, spin for less.
  • tokentorings <on/off>: If all chaos emeralds are collected, player is granted 50 rings instead of a continue. Default: on
  • everysuper <on/off/disable>: Allows every character to go super. If set to off, only vanilla super characters can go super. If disabled, nobody can go super. Default: on (admins only)
  • superkey <value>: Changes key used to transform into character's super form. Default: spin
  • mmtdefaults: changes everything related to MMT back to default variables. (admins only)
  • toggleafk <on/off> <15-90/timeroff/timeron>: sets the player into an AFK mode. (netplay exclusive)
    The second argument is used to set how long it takes until you are automatically set to AFK mode, or to turn off the functionality altogether.
  • cancelsuper <on/off>: Disable the player's super form when using spin (or custom key set by command) in mid-jump. Default: on (admins only)
    Singleplayer has second argument, used to change the key. Options: spin, tossflag, ringtoss, ringtossnormal, customaction1/2/3, nextweapon, prevweapon
  • classicshields <on/off>: Changes all SRB2 Monitors to their S3K equivalents. (admins only)
  • cancelsuperkey <value>: Change the key used for cancel superkey to another value. Default: spin (netplay exclusive)
    options: spin, tossflag, ringtoss, ringtossnormal, customaction1/2/3, nextweapon, prevweapon
  • musicfade <on/off>: Fades music out when crossing the goalpost. Default: on
  • classicsuper <on/off>: Jumping will automatically turn you super when elligble to do so. Default: off
    Do note that turning this on disables superkey and cancelsuper!
  • preserveshield <on/off>: Preserves shield upon completion of level, allowing you to keep the shield in the next map load. Default: on (admins only)
  • classicspecialstage <on/off>: Replaces emerald tokens with the ability to enter the special stage if the player clears w/ 50 rings. Default: off (admins only)
  • banskin: <value>: adds skin to a banlist, prohibiting players from selecting them. (netplay exclusive, admins only)
  • unbanskin: <value>: removes skin from banlist, allowing usage of them again. (netplay exclusive, admins only)
  • orderpizza+: -size <value> -address <value> -toppings <value>: order a pizza!
There will be many more features in the future, my current plans are listed out in the lua script itself if you're interested.
For returning users, there is no longer a netplay variant, for the script itself detects if it's in a multiplayer game or not, and acts accordingly.

Don't be afraid to bug report in the replies, even if you find like, a hundred of them! Even with real bugs--actually don't, that's off-topic unfortunately. If you do bug report, please provide what other addons you had on, if you were in multiplayer, and provide each step you did so I can diagnose the problem easier. Saying "x does not work" and leaving it at that is not helpful.
I do also accept suggestions, however this does not mean I will include them for any number of reasons.

CHANGELOG:
Spoiler:

v1.1
  • classicshields has been added! This allows you to swap out the SRB2 monitors for the S3K equivalent monitors! The elemental shield has a 50/50 chance of spawning as a water/fire shield (unless on a few certain stages), the whirlwind & attraction shield is changed to the electric shield, the armageddon shield is fire, and the force shield is bubble.
  • I have hopefully resolved issues coming from superkey, cancelsuper(key), classicsuper, and tailsball in multiplayer by removing their local functions, by instead having them all be placed in the script itself. This makes the code a lot messier unfortunately, but such is life.
  • unbanskin now allows you to say "all", unbanning all skins.
  • Fixed the AFK Sign not disappearing when exiting in multiplayer.
  • toggleafk now has an automatic timer, where if the player is not moving for more than a minute, they are switched to AFK mode. This can be adjusted to be down to 15 seconds, or to 1.5 minutes. Default is 1 minute. This can also be disabled with "timeroff", and re-enabled with "timeron"
  • toggleafk now puts the player in an exit state if there is more than one player in the server. They are still able to exit their afk status, and resume playing the level if it has not already ended.
v1.0
  • afktoggle has been added, when used it sets the player into a Safe State:tm:, protecting you from being bullied online when you gotta get that pizza you ordered.
  • mmtdefaults has also been added, it resets all commands back to their default values.
  • Various tweaks to tailsball's boppin' mode: Made tailsball's bop mode a bit more versatile; it now works regardless of what's bein Bopp'd (before it was only enemies). Fixed an exploit with tailsball's bop mode that let you use shields in this state. Fixed "bop" not being allowed to be set as the first and only variable in console.
  • Optimized this code quite a bit, stuff like the checks for multiplayer have been condensed into one line, as opposed to branching out and duplicating the function when needed.
  • Fixed cancelsuperkey not working in multiplayer.
  • Finally fixed when armageddon shield is used, it'd conflict with the superkey. The fix used here should also fix other problems that might arise with this.
  • Another "at long last" fix, musicfade no longer happens when only you have finished, it only happens when *everyone* finishes.
  • And many, many other minor bug fixes that improve overall system stability.
  • Speaking of bugfixes, from this point forward, bug-fix only updates can and will be released, under labels such as "v1.0B, v1.0C", etc., and will be appended to the changelogs of their respective versions.
Bugfix 1.0A: Fixed Amy not being able to go super.
v0.9
  • This is now bundled in a .pk3 file, for a couple reasons. One of which is that tailsball has a new sound effect! It's similar to the dropdash noise in Sonic Mania.
  • tokentorings also has a custom sfx now; it's similar to the combine ring noise found in Knuckles' Chaotix/Sonic Mania.
  • tailsball has a new upgrade, bop mode! With this, you can start "flying" again after bouncing, and re-curl up after! Do note that this isn't full flight, so you won't be able to gain too much height from it, however you can use to to chain bops together with ease!
  • banskin now has HUD elements; when your skin is banned, it dims the screen and tells the player to change their skin. Previous behavior just spammed the console, but now this doesn't happen anymore.
  • Fixed everysuper not showing the key strings, again.
  • banskin no longer allows players to throw rings/flags when their skin is banned.
  • Change SFX used for banskin; now plays an error noise instead of the skidding noise.
Unfortunately due to how lua scripting is set up, any changes made via command line can not be saved at the moment. If you wish to make the changes permanent, rename the file and make your changes to the variables found at the top of the document!

Known problems/bugs:
Spoiler:
  • toggleafk displays two prints when inputting second argument.
  • tailsball's bop mode will not work with the bubble shield, due to how the bubble shield functions.
  • Players in AFK mode can be carried around.
  • tokentorings is awarded to the wrong player when used in multiplayer, seems to be the player in the last slot to join.
WARNING
This addon does not function well when hosting a game via the in-game multiplayer menu. The player hosting will experience anything the other players are doing, e.g. using tailsball.
You must host a dedicated server by opening the program via -dedicated, so that scripting conflicts like this do not occur!

Download Now

File Type: pk3 VL_ManyMinorTweaks-v1.1.pk3 (62.8 KB, 63 views)

Screenshots

Click image for larger version

Name:	tailsball.gif
Views:	292
Size:	6.13 MB
ID:	24293   Click image for larger version

Name:	everysuper and cancelsuper.gif
Views:	219
Size:	7.25 MB
ID:	24294   Click image for larger version

Name:	preserveshield.gif
Views:	221
Size:	2.06 MB
ID:	24295   Click image for larger version

Name:	tokentorings.gif
Views:	128
Size:	1.70 MB
ID:	24829   Click image for larger version

Name:	tailsball bop.gif
Views:	69
Size:	6.55 MB
ID:	25095  

Click image for larger version

Name:	banskin.png
Views:	129
Size:	105.5 KB
ID:	25097   Click image for larger version

Name:	toggleafk.jpg
Views:	85
Size:	122.0 KB
ID:	25255  

Show Your Support

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

Comments
Old 1 Week Ago   #42
carlrev
 
carlrev's Avatar
Default

Can you fix the mod that any time you change the super key to another button, to make it say "PRESS CUSTOM1" or "PRESS JUMP" (for example) instead of "PRESS SPIN" on the Special Stage results screen after getting all the emeralds?
__________________
Uhh...
carlrev is offline   Reply With Quote
Old 1 Week Ago   #43
Pyrakid Wolfo
Default

Ha, I know you're going to add "disable super sonic music" to the console commands at one point, so I am inb4 it happens.
Pyrakid Wolfo is offline   Reply With Quote
Old 1 Week Ago   #44
birbhorse
local eevee petter
 
birbhorse's Avatar
Default

Unfortunately, that's out of the scope of this modification. To me knowledge, that text isn't easily editable; if it can be modified with something like, say, SOC, I'd need to know how to make lua scripts talk to SOC first, and that sounds like an impossibility.

Unless it can be modified via lua, or isn't impossible to get SOC and lua to communicate variables, in which case heck me I guess I'll give it a shot.
Quote:
Originally Posted by carlrev View Post
Can you fix the mod that any time you change the super key to another button, to make it say "PRESS CUSTOM1" or "PRESS JUMP" (for example) instead of "PRESS SPIN" on the Special Stage results screen after getting all the emeralds?
This was actually a feature I tried to implement previously, but I gave up when I realized that the function used for speeding up music didn't work for the digital music the game uses. I might give it another go some time, even if I can't speed up the music.
Quote:
Originally Posted by Pyrakid Wolfo View Post
Ha, I know you're going to add "disable super sonic music" to the console commands at one point, so I am inb4 it happens.
__________________
------------
pichu.jpeg
------------
birbhorse is offline   Reply With Quote
Old 1 Week Ago   #45
carlrev
 
carlrev's Avatar
Default

Can Super be enabled by default?
__________________
Uhh...
carlrev is offline   Reply With Quote
Old 1 Week Ago   #46
Elyos03
 
Elyos03's Avatar
Default

Quote:
Originally Posted by carlrev View Post
Can Super be enabled by default?
Last time I checked, it is.
__________________
"We're friends now."
"But I want to kill Goku."
"Most of my friends did."
Spoiler:
DO NOT look into my oldest posts. They now make me cringe like and YouTuber watching its very first video.
Elyos03 is offline   Reply With Quote
Old 1 Week Ago   #47
carlrev
 
carlrev's Avatar
Default

Quote:
Originally Posted by Elyos03 View Post
Last time I checked, it is.
No, like, when I first got the mod, I could not transform on command. Instead, I had to go to Pandora's Box and enable it from there.
__________________
Uhh...
carlrev is offline   Reply With Quote
Old 1 Week Ago   #48
Elyos03
 
Elyos03's Avatar
Default

No, no. It IS enabled by default. If you have all the emeralds, the 'Enable Super Form' is still unchecked in Pandora's Box, even if you're Sonic or Metal. But if you go super, it's checked out of nowhere. Trust me, I've seen it all.
__________________
"We're friends now."
"But I want to kill Goku."
"Most of my friends did."
Spoiler:
DO NOT look into my oldest posts. They now make me cringe like and YouTuber watching its very first video.
Elyos03 is offline   Reply With Quote
Old 1 Week Ago   #49
carlrev
 
carlrev's Avatar
Default

Quote:
Originally Posted by Elyos03 View Post
No, no. It IS enabled by default. If you have all the emeralds, the 'Enable Super Form' is still unchecked in Pandora's Box, even if you're Sonic or Metal. But if you go super, it's checked out of nowhere. Trust me, I've seen it all.
I boot up the game with my 100% save file and I still can't transform. I know you said that if you go super, it will be checked out of nowhere. But that's the problem. I can't go super, even with all the emeralds active. I can't transform to check the option in the first place.

---------- Post added at 11:13 PM ---------- Previous post was at 11:07 PM ----------

Quote:
Originally Posted by Elyos03 View Post
No, no. It IS enabled by default. If you have all the emeralds, the 'Enable Super Form' is still unchecked in Pandora's Box, even if you're Sonic or Metal. But if you go super, it's checked out of nowhere. Trust me, I've seen it all.
Never mind. You were right. I had an edited version...
__________________
Uhh...

Last edited by carlrev; 1 Week Ago at 04:10 AM.
carlrev is offline   Reply With Quote
Old 6 Days Ago   #50
glaber
Emblem Radar Ready
 
glaber's Avatar
Default

Is Super Amy not supported? I tried transforming as her only to find I couldn't.
glaber is offline   Reply With Quote
Old 6 Days Ago   #51
birbhorse
local eevee petter
 
birbhorse's Avatar
Default

Huh, you're right. I have no clue why Amy keeps breaking, considering I have checked multiple time for her. I'll pump out the first bugfix patch to address this.
Quote:
Originally Posted by glaber View Post
Is Super Amy not supported? I tried transforming as her only to find I couldn't.
__________________
------------
pichu.jpeg
------------
birbhorse is offline   Reply With Quote
Old 6 Days Ago   #52
Pyrakid Wolfo
Default

You mean you want the music to be sped up when in super? I think super music would just not play. Speed Sneakers should speed up music tho.
Pyrakid Wolfo is offline   Reply With Quote
Old 6 Days Ago   #53
carlrev
 
carlrev's Avatar
Default

Is it possible to edit the character descriptions in the game? I tried it once but it either doesn't show up at all or it appears as a second character (like when I edit a character desc., it only appears as a COPY of the character).

---------- Post added at 05:50 PM ---------- Previous post was at 05:49 PM ----------

Quote:
Originally Posted by glaber View Post
Is Super Amy not supported? I tried transforming as her only to find I couldn't.
Maybe, you have other mods enabled. I tried it with mine and it works. Or go into the main script and see if allsuper is on.
__________________
Uhh...
carlrev is offline   Reply With Quote
Old 6 Days Ago   #54
glaber
Emblem Radar Ready
 
glaber's Avatar
Default

I'm using the latest version alone and the mod creator has confirmed the bug
glaber is offline   Reply With Quote
Old 5 Days Ago   #55
birbhorse
local eevee petter
 
birbhorse's Avatar
Default

And now, another update!
For in case you missed it, 1.0a addressed the issue with amy's super form not working, and ofc that bugfix is in this update too.

This update introduces classicshields, which replaces all the SRB2 monitor's found in the level with the S3K equivalent monitors! On top of that, mmtdefaults has been changed to now allow players in multiplayer to revert back to default settings there, and unbanskin all allows admins to unban all skins found in the ban list (hopefully nobody makes a character called "all" any time soon)

To top it all off, toggleafk now has a new function, where by default a timer is enabled for 60 seconds, where after 60 seconds of inactivity, the player is set AFK. Along with that, any players in AFK mode is set to the exit state, so that if everybody else has completed the level, any AFK players won't drag everybody else behind.

Enjoy!
__________________
------------
pichu.jpeg
------------
birbhorse is offline   Reply With Quote
Old 5 Days Ago   #56
Pyrakid Wolfo
Default

add classic shields to list of commands?
Pyrakid Wolfo is offline   Reply With Quote
Old 5 Days Ago   #57
SMSGARDIAN
AkitotheHedgy
 
SMSGARDIAN's Avatar
Default

Aight something tells me its ether a coincidence we are making the same stuff or your just copying. I'm not sure, so I can't say my answer yet.
__________________
I'm sorry are the number keys all custom buttons now?
SMSGARDIAN is offline   Reply With Quote
Old 5 Days Ago   #58
carlrev
 
carlrev's Avatar
Default

Quote:
Originally Posted by Pyrakid Wolfo View Post
add classic shields to list of commands?
Yes. I think that would benefit, yes.
__________________
Uhh...
carlrev is offline   Reply With Quote
Old 5 Days Ago   #59
birbhorse
local eevee petter
 
birbhorse's Avatar
Default

Oh whoops, done. I'm a silly. Just a reminder that mmthelp displays all commands!
Quote:
Originally Posted by Pyrakid Wolfo View Post
add classic shields to list of commands?
Not entirely sure what you're talking about, the only stuff you've released is every character goes super (in which it feels like every lua script has that on this forum lol), and multi-ability, which isn't a part of this script.
Quote:
Originally Posted by SMSGARDIAN View Post
Aight something tells me its ether a coincidence we are making the same stuff or your just copying. I'm not sure, so I can't say my answer yet.
__________________
------------
pichu.jpeg
------------
birbhorse is offline   Reply With Quote
Old 5 Days Ago   #60
Pyrakid Wolfo
Default

Also try fixing the shield abilities. The electric spark from the electric shield did damage in 3&K if i'm correct. Make sure the shields reflect certain projectiles. Flame Dash seems like a thok. Bubble Shield lets you move a bit more in 3&K if i'm correct. And I'd have to make flame shield sprites, as the flame dash looks off. It's also kinda annoying that you cant kill all those enemies in gfz1. *If* there's a flame shield in dsz it has a short life span.
There's no "Shield"... as in the Sonic 1 shield. I want it back.
Suggestion: Add the elemental shields (and shield) instead of replacing IF POSSIBLE .
Also do you think a transparent life icon mod would *fit* in this type of mod?
Also I was told that because of hardcoding reasons, you CANNOT have tails life icon be behind Sonic's when selecting Sonic & Tails / You CANNOT have the bot's life icon show up in the life icon. Which is a shame if so.
Sorry if this is offtopic.
Pyrakid Wolfo is offline   Reply With Quote
Old 5 Days Ago   #61
Pyrakid Wolfo
Default

Also in Mania you get to bounce while keeping most, if not all of your momentum.
Pyrakid Wolfo 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 03:59 PM.


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