Share and discuss custom LunaLua code and content packs for SMBX2.
Moderator: Userbase Moderators
|
|
|
|
-
MrDoubleA
- Edward

- Posts: 394
- Joined: Mon Aug 20, 2018 7:02 am
- Flair: How much munchers?
Postby MrDoubleA » Sun Jul 26, 2020 5:09 pm
This is an NPC pack (and library too, I guess?) that allows you to create Mario Maker-like helmets.
Documentation
Enjoy!
|
|
|
|
|
|
|
|
|
-
Novarender
- Tweeter

- Posts: 145
- Joined: Sat Aug 06, 2016 6:59 pm
- Flair: Whoa
Postby Novarender » Sun Jul 26, 2020 5:20 pm
Awesome dude. The pow effect is kinda lame though
|
|
|
|
|
|
|
|
|
-
MegaDood
- Charged Spiny

- Posts: 1822
- Joined: Wed Nov 01, 2017 2:43 am
Postby MegaDood » Sun Jul 26, 2020 9:55 pm
These are amazing! I've been wanting these for ages and I'm glad someone finally made them, the POW block and cannonballs I can especially see being put to good use in puzzle levels.
|
|
|
|
|
|
|
|
|
-
PROX
- Van De Graf

- Posts: 1973
- Joined: Sun Jul 06, 2014 8:50 pm
Postby PROX » Sun Jul 26, 2020 11:40 pm
Yaaaay someone finally made these! I can see all kinds of uses for this!
|
|
|
|
|
|
|
|
|
-
JamesR624
- Spiny

- Posts: 29
- Joined: Wed Aug 09, 2017 4:24 pm
Postby JamesR624 » Mon Jul 27, 2020 3:30 pm
This is awesome, but how would one go about adjusting the GFX offset for the helmets when worn. I have SMW style skins for the players and the helmets are just a little to low on the head. It's not the sprites themselves cause everything else works fine. Just wondering what to adjust in which lua files to change the offset (graphical positioning) of the helmets being worn.
|
|
|
|
|
|
|
|
|
-
Cedur
- Link

- Posts: 7073
- Joined: Tue Jun 28, 2016 10:14 am
- Flair: I'm gone, for chess and minesweeper
- Pronouns: he/him
Postby Cedur » Mon Jul 27, 2020 3:48 pm
Does the coin helmet decay after 100 coins? Does the propeller helmet allow you to jump indefinitely?
|
|
|
|
|
|
|
|
|
-
ElectriKong
- Bowser

- Posts: 4651
- Joined: Mon Jun 06, 2016 4:32 pm
- Flair: I have NO idea what to put here
- Pronouns: he/him
-
Contact:
Postby ElectriKong » Mon Jul 27, 2020 4:28 pm
Cedur wrote: ↑Mon Jul 27, 2020 3:48 pm
Does the coin helmet decay after 100 coins? Does the propeller helmet allow you to jump indefinitely?
Coin helmet decays after 80 in the GIF. The propeller helmet probably lasts for 3 jumps, assuming the light indicators on it are accurate.
|
|
|
|
|
|
|
|
|
-
MrDoubleA
- Edward

- Posts: 394
- Joined: Mon Aug 20, 2018 7:02 am
- Flair: How much munchers?
Postby MrDoubleA » Mon Jul 27, 2020 4:38 pm
JamesR624 wrote: ↑Mon Jul 27, 2020 3:30 pm
This is awesome, but how would one go about adjusting the GFX offset for the helmets when worn. I have SMW style skins for the players and the helmets are just a little to low on the head. It's not the sprites themselves cause everything else works fine. Just wondering what to adjust in which lua files to change the offset (graphical positioning) of the helmets being worn.
Instead of copying the SMW graphics into your folder, just put this into the luna.lua file (and map.lua if you have an overworld):
Code: Select all Player.setCostume(CHARACTER_MARIO,"SMW-Mario",true)
Player.setCostume(CHARACTER_LUIGI,"SMW-Luigi",true)
That activates the costumes properly, and this library has built-in offsets for them.
Electriking wrote: ↑Mon Jul 27, 2020 4:28 pm
Cedur wrote: ↑Mon Jul 27, 2020 3:48 pm
Does the coin helmet decay after 100 coins? Does the propeller helmet allow you to jump indefinitely?
Coin helmet decays after 80 in the GIF. The propeller helmet probably lasts for 3 jumps, assuming the light indicators on it are accurate.
Yep, the coin block only allows you to get 80 coins and the propeller only allows 3 jumps before you need to touch the ground to recharge it. Both of those are customisable.
|
|
|
|
|
|
|
|
|
-
GOD_SAMA
- Buster Beetle

- Posts: 94
- Joined: Fri May 31, 2019 12:04 pm
- Flair: just a roaming hylian
Postby GOD_SAMA » Mon Jul 27, 2020 10:07 pm
What about this?

|
|
|
|
|
|
|
|
|
-
MrDoubleA
- Edward

- Posts: 394
- Joined: Mon Aug 20, 2018 7:02 am
- Flair: How much munchers?
Postby MrDoubleA » Tue Jul 28, 2020 5:10 am
GOD_SAMA wrote: ↑Mon Jul 27, 2020 10:07 pm
What about this?
That looks to just be an early version of the cape.
|
|
|
|
|
|
|
|
|
-
Smibbix
- Swooper

- Posts: 60
- Joined: Fri Apr 06, 2018 10:47 pm
Postby Smibbix » Tue Jul 28, 2020 6:10 pm
Wow. I was already super impressed that you were working on the cape feather, but you also got THIS done!? You're crazy, MrDoubleA.
|
|
|
|
|
|
|
|
|
-
GOD_SAMA
- Buster Beetle

- Posts: 94
- Joined: Fri May 31, 2019 12:04 pm
- Flair: just a roaming hylian
Postby GOD_SAMA » Tue Jul 28, 2020 9:13 pm
MrDoubleA wrote: ↑Tue Jul 28, 2020 5:10 am
GOD_SAMA wrote: ↑Mon Jul 27, 2020 10:07 pm
What about this?
That looks to just be an early version of the cape.
Soooo it could be used for something
Anything
It doesn't look half bad either kinda wished Nintendo went with this tbh
|
|
|
|
|
|
|
|
|
-
JamesR624
- Spiny

- Posts: 29
- Joined: Wed Aug 09, 2017 4:24 pm
Postby JamesR624 » Wed Jul 29, 2020 7:49 pm
MrDoubleA wrote: ↑Mon Jul 27, 2020 4:38 pm
JamesR624 wrote: ↑Mon Jul 27, 2020 3:30 pm
This is awesome, but how would one go about adjusting the GFX offset for the helmets when worn. I have SMW style skins for the players and the helmets are just a little to low on the head. It's not the sprites themselves cause everything else works fine. Just wondering what to adjust in which lua files to change the offset (graphical positioning) of the helmets being worn.
Instead of copying the SMW graphics into your folder, just put this into the luna.lua file (and map.lua if you have an overworld):
Code: Select all Player.setCostume(CHARACTER_MARIO,"SMW-Mario",true)
Player.setCostume(CHARACTER_LUIGI,"SMW-Luigi",true)
That activates the costumes properly, and this library has built-in offsets for them.
I do not mean to be annoying but many of the offsets even for these costume are severely broken, particularly when small and riding yoshi or going through a clear pipe. Again, it would be great to know where to look to manually adjust these offsets, both in case people don't want to use costumes, and also to fix the way off offsets for these costumes.
|
|
|
|
|
|
|
|
|
-
IAmPlayer
- Volcano Lotus

- Posts: 560
- Joined: Sun May 21, 2017 3:36 am
- Flair: I'm a hellspawn.
- Pronouns: he/him
-
Contact:
Postby IAmPlayer » Wed Jul 29, 2020 9:21 pm
JamesR624 wrote: ↑Wed Jul 29, 2020 7:49 pm
I do not mean to be annoying but many of the offsets even for these costume are severely broken, particularly when small and riding yoshi or going through a clear pipe.
Those have been already fixed in the recent patch.
|
|
|
|
|
|
|
|
|
-
JamesR624
- Spiny

- Posts: 29
- Joined: Wed Aug 09, 2017 4:24 pm
Postby JamesR624 » Thu Jul 30, 2020 9:12 am
1AmPlayer wrote: ↑Wed Jul 29, 2020 9:21 pm
JamesR624 wrote: ↑Wed Jul 29, 2020 7:49 pm
I do not mean to be annoying but many of the offsets even for these costume are severely broken, particularly when small and riding yoshi or going through a clear pipe.
Those have been already fixed in the recent patch.
Unless I am missing something, not they're not. I have the latest version of both this mod ("1.0" from your download link), as well as SMBX2 Beta 4 "patch 2 with hotfix" from https://codehaus.wohlsoft.ru/downloads.php?
It's fine though, I manually found at least the offset integers for the SMW costumes and manually adjusted them. I was able to fix the Yoshi issue and the helmets being slightly lower than needed. The only one I cannot seem to get working properly is the helmet not lowering when small and ducking.
Code: Select all -- Costume-specific offsets
helmets.offsets["SMW-MARIO"] = {
[PLAYER_SMALL] = {
default = 0.1,
[35] = 0.35, -- Ducking
[36] = 0.35, -- Ducking with an item
},
[PLAYER_BIG] = {
default = 0.15,
[27] = vector(0.1,0.15), -- Victory
},
}
helmets.offsets["SMW-LUIGI"] = {
[PLAYER_SMALL] = {
default = 0.1,
[35] = 0.35, -- Ducking
[36] = 0.35, -- Ducking with an item
},
[PLAYER_BIG] = {
default = 0.2,
[27] = vector(0.1,0.2), -- Victory
},
}
helmets.offsets["SMW2-YOSHI"] = {
[PLAYER_BIG] = {
default = vector(0.35,-0.1),
[14] = vector(0.55,0.1), -- Spit out
[35] = vector(0.55,0.1), -- Tongue
}
}
|
|
|
|
|
|
|
|
|
-
Mushroom King
- Flurry

- Posts: 185
- Joined: Sun May 25, 2014 5:09 am
Postby Mushroom King » Fri Jul 31, 2020 4:29 am
Request: Is it possible for the bullet bill mask to make it works in the water, like it do in SMM2?
With the Bullet Bill Mask, the player can fly in a horizontal line for a short period of time (or indefinitely if used underwater) In the underwater theme, the Bullet Bill Mask can still be used unlike other flight-related power-ups, although it travels slower.
Optional request: Maybe give it the flare and colored smoke effect when active, a "back" wiew too for when the player is climbing/spinning (I guess the spinning would also need a "front").

|
|
|
|
|
|
|
|
|
-
Blake Izayoi
- Volcano Lotus

- Posts: 598
- Joined: Sun Feb 23, 2014 1:55 pm
- Flair: Sakuya's Husband
- Pronouns: He / Him
-
Contact:
Postby Blake Izayoi » Wed Aug 26, 2020 1:05 am
Fantastic work as expected, these are all great! You always post bangers MDA
|
|
|
|
|
|
|
|
|
-
SuperAlex
- 2025 Egg Hunter

- Posts: 225
- Joined: Mon Nov 02, 2020 3:02 pm
- Flair: Spriting
- Pronouns: He/Him
-
Contact:
Postby SuperAlex » Fri Sep 10, 2021 1:23 pm
Wow, MrDoubleA Awesome helmets Designs!
But It's possible to do a code when players grab a Buzzy Bettle Shell (NPC-24) and When you throw up and it collides under the player's head, it transforms into Buzzy Helmet (npc-951) as in "SMM"?
|
|
|
|
|
|
|
|
|
-
FutureNyanCat
- Eerie

- Posts: 766
- Joined: Fri Dec 20, 2013 8:39 pm
- Flair: Species: Felis robotus
- Pronouns: He/Him
-
Contact:
Postby FutureNyanCat » Wed Mar 02, 2022 3:57 am
Finally, the Light Box is here! I've been waiting for this to be created ever since helmets.lua was first programmed.
|
|
|
|
|
Return to “LunaLua”
Users browsing this forum: No registered users and 3 guests
|