Page 1 of 1

shelljump.lua - completely out of left field

Posted: Fri Feb 04, 2022 8:25 am
by deice
i dropped my keyboard down the stairs with my text editor open and this is the lua code that showed up.
in all seriousness though, i couldn't find that anyone had made this yet so here you go.

features

  • enables smw-styled shelljumps in smbx by lowering the timeframe in which a thrown object cannot interact with the player (the amount it's lowered to can be configured at the top of the lua file) for specific npcs.
  • by default only covers shells but also at the top of the file you can add additional npcs that this effect will apply to. i am not responsible for any resulting jank or capability of infinitely jumping midair off of smb2 npcs however.
to use, simply require it in your luna.lua file and it will take care of the rest.

benefits

  • you can do this and sometimes even this (shelljumping off of smb3, smw and any shell with a full height of 32 might require a ceiling or something to bump into when using vanilla physics as they are slightly taller than the smb1 shell. maybe it's possible either way with certain physics alterations but i'm not sure lol)
  • that's it
side effects

  • depending on how it's set up (default setting included), kicking a shell while running at p-speed might just straight up kill you.
  • kicking a shell point-blank while facing a wall will definitely kill you
  • toad can no longer midair :(
download
every download may or may not increase the chance of mechdragon or jedat using this in a level sometime in the future

Re: shelljump.lua - completely out of left field

Posted: Sun Feb 06, 2022 1:52 am
by MECHDRAGON777
deice wrote:
Fri Feb 04, 2022 8:25 am
i dropped my keyboard down the stairs with my text editor open and this is the lua code that showed up.
in all seriousness though, i couldn't find that anyone had made this yet so here you go.

features

  • enables smw-styled shelljumps in smbx by lowering the timeframe in which a thrown object cannot interact with the player (the amount it's lowered to can be configured at the top of the lua file) for specific npcs.
  • by default only covers shells but also at the top of the file you can add additional npcs that this effect will apply to. i am not responsible for any resulting jank or capability of infinitely jumping midair off of smb2 npcs however.
to use, simply require it in your luna.lua file and it will take care of the rest.

benefits

  • you can do this and sometimes even this (shelljumping off of smb3, smw and any shell with a full height of 32 might require a ceiling or something to bump into when using vanilla physics as they are slightly taller than the smb1 shell. maybe it's possible either way with certain physics alterations but i'm not sure lol)
  • that's it
side effects

  • depending on how it's set up (default setting included), kicking a shell while running at p-speed might just straight up kill you.
  • kicking a shell point-blank while facing a wall will definitely kill you
  • toad can no longer midair :(
download
every download may or may not increase the chance of mechdragon or jedat using this in a level sometime in the future
I feel honored that you meantioned me in the download link name, but is any of these due to what I showed off at the end of January?

Re: shelljump.lua - completely out of left field

Posted: Sun Feb 06, 2022 8:08 am
by deice
MECHDRAGON777 wrote:
Sun Feb 06, 2022 1:52 am
I feel honored that you meantioned me in the download link name, but is any of these due to what I showed off at the end of January?
while that level did teach me about toad midairs which i didn't know about beforehand (i knew about spring-jumping which utilizes a similar principle but the thought never occurred to me that toad's weird throwing arc could be used in such a way) it's more of a light-hearted meme about the general high level of precision required by yours and jedat's levels (that i've played at least, and don't actually mind it, i really like your stuff) so it just kinda felt right when discussing smbx kaizo tech.

the idea for the script actually came about when i googled "smbx shelljump" and found that it was possible by default in 38a due to the different physics engine but not in smbx2. this was, of course, a great injustice that i had to correct.

Re: shelljump.lua - completely out of left field

Posted: Mon Feb 07, 2022 9:58 pm
by Blake Izayoi
This is super cool! I think this will inspire great SMBX Kaizo levels.

Re: shelljump.lua - completely out of left field

Posted: Tue Feb 15, 2022 10:53 am
by 55jedat555
Oh hey, thanks for the shoutout! I don't visit the forums very often, so I only just now saw this, it looks pretty cool. Vanilla smbx shell jumps are definitely a little "out there" in terms of execution, so this is a nice alternative.

Re: shelljump.lua - completely out of left field

Posted: Tue Feb 15, 2022 10:57 am
by SuperAlex
Super Inspirating for shell levels