statueRebind.lua - A return to the traditional way of performing petrification!

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

Moderator: Userbase Moderators

John Nameless
2025 Egg Hunter
2025 Egg Hunter
Posts: 116
Joined: Mon Jul 10, 2023 11:40 pm
Flair: vidio gaem

statueRebind.lua - A return to the traditional way of performing petrification!

Postby John Nameless » Sat Aug 12, 2023 5:21 am


--------------------------------------
statueRebind.lua by MrNameless
--------------------------------------


Here's a library I created where the inputs needed to transform into a statue as your tanooki form can be rebinded into whatever you want!

Default input needed to transform is holding "altRun" & "down" together & hold ONLY "altRun" when you are already in your statue form!

You can also configure the library with the following:
- How long does the cooldown after transforming from a statue lasts.
- A toggle if you want the "altRun" button to have the same effects as pressing the regular run enabled or not.


Image


Also works for 2-players aswell!
Image

Input Display by Marioman2007: (viewtopic.php?t=28770&sid=ecfea130bbec7 ... 7ef748cee9)

HOW TO IMPLEMENT
Spoiler: show
1. Copy/Cut/Move & Paste the statueRebind.lua into the level/episode folder of your choice.
2. Open up the luna.lua file of said chosen level/episode
3.Go to the top of that script file to copy & paste this line:

local statue = require("statueRebind")

4. Save that luna.lua file & open up the level with the statueRebind script & press altRun + down to transform into a statue!
- You can also just hold altRun when you're ALREADY a statue to stay as one! No down input needed when doing that!

Image
DOWNLOAD:
https://drive.google.com/file/d/10Sp9um ... sp=sharing


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 4 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari