Wariodashing.lua - Shoulderbash like a pro!

Share and discuss custom LunaLua code and content packs for SMBX2.
Master of Disaster
Rex
Rex
Posts: 35
Joined: Sun Nov 28, 2021 9:29 am
Flair: Average Koopa Fan
Pronouns: he/him

Wariodashing.lua - Shoulderbash like a pro!

Postby Master of Disaster » Sat Mar 04, 2023 12:12 pm

----- Wariodashing.lua v1.1 ------

So basically I got bored and started working on Wario's signature shoulderbash.
And now you can bash through enemies and weak blocks by pressing AltRun.

Do a shoulderbash in the air to gain a little bit more air!
There is Wariorolling.lua support! But if you want to use it without Wariorolling.lua, I also included a raw version that doesn't require Wariorolling.lua.

There is not much changed, but here's some neat stuff:
- You don't bump into ceilings anymore
- You can now have npcs that can only be dashed from behind or infront

Here are some gifs so you know what you are about to unleash:
Spoiler: show
Image

Image

Image

Image
You can also configure the library to make it fit better:
- wariodashing.gfxoffsetY = 8 -- If your spritesheet is aligned differently, then you might want to change this!
- wariodashing.gfxwidth = 50 -- If your spritesheet needs more space than the original, you can change the new width!
- wariodashing.gfxheight = 50 --If your spritesheet needs more space than the original, you can change the new height!
- wariodashing.groundframes = 4 -- the amount of frames the shoulderbash animation has on ground. Change this if you need.
- wariodashing.airframes = 3 -- the amount of frames the shoulderbash animation has in the air. Change this if you need.
- wariodashing.blacklistBlock(BlockID) -- Prevent a block from breaking when shoulderbashing into it!
- wariodashing.whitelistBlock(BlockID) -- Make a block break when shoulderbashing into it!
- wariodashing.blacklistNPC(NPCid) -- Make an NPC unhittable by the shoulderbash!
- wariodashing.whitelistNPC(NPCid) -- Make an NPC hittable by the shoulderbash, if it isn't for some reason!

Credits:
- Script by me ("Master" of Disaster)
- Both Spritesheets by Basil

Credit me if used, yadda yadda have fun with it!

Updated Version (alongside Wariorolling and Transformations, you can just copy the Wariodashing (raw version) on it's own or the normal Wariodashing file when you also copy the rolling:
https://www.dropbox.com/sh/1bj0ci1ept4z ... KdOoa?dl=0
First Version:
https://www.dropbox.com/sh/uxtg9iz4gnt0 ... Lrj9a?dl=0
Last edited by Master of Disaster on Wed Mar 22, 2023 1:50 pm, edited 3 times in total.

Mal8rk
Blooper
Blooper
Posts: 199
Joined: Mon Oct 25, 2021 11:04 pm
Flair: English Speaking Spanish Speaker
Pronouns: He/Him
Contact:

Re: Wariodashing.lua - Shoulderbash like a pro!

Postby Mal8rk » Sat Mar 04, 2023 3:58 pm

This is great! Now all we need is the head-bash thing Wario does in WL4


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari