shelljump.lua - completely out of left field

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

deice
Volcano Lotus
Volcano Lotus
Posts: 596
Joined: Fri Jul 23, 2021 7:35 am

shelljump.lua - completely out of left field

Postby deice » 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
Last edited by deice on Sun Oct 29, 2023 2:22 pm, edited 1 time in total.

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: shelljump.lua - completely out of left field

Postby MECHDRAGON777 » Sun Feb 06, 2022 1:52 am

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?

deice
Volcano Lotus
Volcano Lotus
Posts: 596
Joined: Fri Jul 23, 2021 7:35 am

Re: shelljump.lua - completely out of left field

Postby deice » Sun Feb 06, 2022 8:08 am

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.

Blake Izayoi
Volcano Lotus
Volcano Lotus
Posts: 598
Joined: Sun Feb 23, 2014 1:55 pm
Flair: Sakuya's Husband
Pronouns: He / Him
Contact:

Re: shelljump.lua - completely out of left field

Postby Blake Izayoi » Mon Feb 07, 2022 9:58 pm

This is super cool! I think this will inspire great SMBX Kaizo levels.

55jedat555
Buster Beetle
Buster Beetle
Posts: 93
Joined: Sat Feb 28, 2015 11:35 am
Flair: flare
Contact:

Re: shelljump.lua - completely out of left field

Postby 55jedat555 » Tue Feb 15, 2022 10:53 am

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.

SuperAlex
2025 Egg Hunter
2025 Egg Hunter
Posts: 225
Joined: Mon Nov 02, 2020 3:02 pm
Flair: Spriting
Pronouns: He/Him
Contact:

Re: shelljump.lua - completely out of left field

Postby SuperAlex » Tue Feb 15, 2022 10:57 am

Super Inspirating for shell levels


Return to “LunaLua”

Who is online

Users browsing this forum: Google Feedfetcher and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari