[NPC Pack] ~ SMW Life Moon (Now with audio)

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

Moderator: Userbase Moderators

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

[NPC Pack] ~ SMW Life Moon (Now with audio)

Postby MECHDRAGON777 » Mon Jun 03, 2019 2:48 am

Showcase


Original Link: https://www.youtube.com/watch?v=auU76-QrWNA
Image

Download

Life Moon

To-Do

•Depends on what bug reports I get

Custom Graphics

  • Image ~ original
  • Image ~ by Melko
Update: This no longer is just a 3-Down moon, but a 3-Up moon as well based on the direction of the moon.
Last edited by MECHDRAGON777 on Fri Jul 05, 2019 6:51 pm, edited 7 times in total.

MmmMario
Tweeter
Tweeter
Posts: 127
Joined: Sun Aug 05, 2018 6:28 am
Flair: Yeet

Re: [NPC Pack] ~ <b>S</b>uper <b>M</b>ario <b>W</b>orld 3-Down Moon

Postby MmmMario » Mon Jun 03, 2019 2:54 am

Insert good stoner SFX and shaders whenever one of these is collected.

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

Re: [NPC Pack] ~ SMW 3-Down Moon

Postby MECHDRAGON777 » Fri Jun 21, 2019 7:32 pm

New update to fix a bug that was reported. This also adds a 3-Down effect.
Update
Image

LGLMAKING
Chain Chomp
Chain Chomp
Posts: 342
Joined: Mon Jun 18, 2018 7:28 am
Flair: fish
Pronouns: girlie!!

Re: [NPC Pack] ~ SMW 3-Down Moon

Postby LGLMAKING » Sat Jun 22, 2019 1:16 pm

What an original idea!

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

Re: [NPC Pack] ~ SMW 3-Down Moon

Postby MECHDRAGON777 » Sun Jun 23, 2019 3:07 am

LGLMAKING wrote:
Sat Jun 22, 2019 1:16 pm
What an original idea!

LGLMAKING
Chain Chomp
Chain Chomp
Posts: 342
Joined: Mon Jun 18, 2018 7:28 am
Flair: fish
Pronouns: girlie!!

Re: [NPC Pack] ~ SMW 3-Down Moon

Postby LGLMAKING » Sun Jun 23, 2019 12:13 pm

MECHDRAGON777 wrote:
Sun Jun 23, 2019 3:07 am
LGLMAKING wrote:
Sat Jun 22, 2019 1:16 pm
What an original idea!
Oh wow

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

Re: [NPC Pack] ~ SMW 3-Down Moon (Now with audio)

Postby MECHDRAGON777 » Sun Jun 23, 2019 9:49 pm

Update with Audio.

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

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Postby MECHDRAGON777 » Wed Jul 03, 2019 11:28 pm

Has a built in 3-up moon:
[url=https://cdn.discordapp.com/attachments/ ... pc-851.zip]Update/new NPC[url]

Wiimeiser
Snifit
Snifit
Posts: 215
Joined: Mon Jun 24, 2019 4:36 am
Flair: What?

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Postby Wiimeiser » Fri Jul 05, 2019 9:05 am

Broken, doesn't do anything except give me this error if I touch it:
https://i.imgur.com/341sOMX.png
Not sure why it's giving me this error. Is my LunaLua outdated? Changing the code to match the old version causes "bettereffects" to error, though the moon subtracts 3 lives normally in that case.

Also, it still appears as a 3-down moon even if I set it to 3-up, and the 3-down direction appears as "left" in the editor, though I fixed it very easily.

Westretroman
Eerie
Eerie
Posts: 704
Joined: Tue Mar 29, 2016 6:50 pm

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Postby Westretroman » Fri Jul 05, 2019 11:04 am

Wiimeiser wrote:
Fri Jul 05, 2019 9:05 am
Broken, doesn't do anything except give me this error if I touch it:
https://i.imgur.com/341sOMX.png
Not sure why it's giving me this error. Is my LunaLua outdated? Changing the code to match the old version causes "bettereffects" to error, though the moon subtracts 3 lives normally in that case.

Also, it still appears as a 3-down moon even if I set it to 3-up, and the 3-down direction appears as "left" in the editor, though I fixed it very easily.
Are you using SMBX PAL?

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

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Postby MECHDRAGON777 » Fri Jul 05, 2019 4:59 pm

I made a typo in the ini file that I did not notice since I had them placed prior. (I actually noticed last night.) As for the error, I need to test that myself as well.

Added in 1 hour 45 minutes 11 seconds:
Edit:
Wiimeiser wrote:
Fri Jul 05, 2019 9:05 am
Broken, doesn't do anything except give me this error if I touch it:
https://i.imgur.com/341sOMX.png
Not sure why it's giving me this error. Is my LunaLua outdated? Changing the code to match the old version causes "bettereffects" to error, though the moon subtracts 3 lives normally in that case.

Also, it still appears as a 3-down moon even if I set it to 3-up, and the 3-down direction appears as "left" in the editor, though I fixed it very easily.
Image

I found this mistake and I made a typo in the code as well. I typed v.NPC.direction instead of v.direction.

Added in 3 minutes 50 seconds:
Edit: Life Moon update.

Wiimeiser
Snifit
Snifit
Posts: 215
Joined: Mon Jun 24, 2019 4:36 am
Flair: What?

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Postby Wiimeiser » Sat Jul 06, 2019 3:50 am

Thanks for looking into it. It's working properly now, except for the graphics for some reason. It even plays the 3UP sound effect properly instead of crashing the game like other things I've encountered do for some strange reason.

MegaDood
Charged Spiny
Charged Spiny
Posts: 1805
Joined: Wed Nov 01, 2017 2:43 am

Re: [NPC Pack] ~ SMW 3-Down Moon

Postby MegaDood » Sun Jul 07, 2019 1:45 am

MECHDRAGON777 wrote:
Sun Jun 23, 2019 3:07 am
LGLMAKING wrote:
Sat Jun 22, 2019 1:16 pm
What an original idea!
Ah! So is this the origins of the 3-Down moon?

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

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Postby MECHDRAGON777 » Sun Jul 07, 2019 1:50 am

Wiimeiser wrote:
Sat Jul 06, 2019 3:50 am
Thanks for looking into it. It's working properly now, except for the graphics for some reason. It even plays the 3UP sound effect properly instead of crashing the game like other things I've encountered do for some strange reason.
Sorry for not seeing this. Did I forget something in the .ini file? Is it not showing up in Moondust or in SMBX2? I got it to work, but maybe I forgot to include an important file in the zip or something?
MegaDood wrote:
MECHDRAGON777 wrote:
Sun Jun 23, 2019 3:07 am
LGLMAKING wrote:
Sat Jun 22, 2019 1:16 pm
What an original idea!
Ah! So is this the origins of the 3-Down moon?
Yes, it is.

Wiimeiser
Snifit
Snifit
Posts: 215
Joined: Mon Jun 24, 2019 4:36 am
Flair: What?

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Postby Wiimeiser » Sun Jul 07, 2019 4:17 am

It's using the 3down frame even if it's a 3up moon. The only setting I can find that changes anything is "frames" in the ini file, but that just makes it flash between the two frames in the editor, and it's still stuck on the 3down frame in game.
Setting:
animation-direction = 1
animation-bidirectional = 1
also causes it to animate in the editor.

Looking at other powerups, it appears the game itself might be hardcoded to prevent powerups from changing their frame based on their direction, but that's just a wild guess.

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

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Postby MECHDRAGON777 » Sun Jul 07, 2019 4:42 am

Wiimeiser wrote:
Sun Jul 07, 2019 4:17 am
It's using the 3down frame even if it's a 3up moon. The only setting I can find that changes anything is "frames" in the ini file, but that just makes it flash between the two frames in the editor, and it's still stuck on the 3down frame in game.
Setting:
animation-direction = 1
animation-bidirectional = 1
also causes it to animate in the editor.

Looking at other powerups, it appears the game itself might be hardcoded to prevent powerups from changing their frame based on their direction, but that's just a wild guess.
That would make sense. I am actually unsure how to fix that one. In the lua file, did I make the framestyle 1?

Wiimeiser
Snifit
Snifit
Posts: 215
Joined: Mon Jun 24, 2019 4:36 am
Flair: What?

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Postby Wiimeiser » Mon Jul 08, 2019 4:52 am

In the lua:
framestyle = 1,
so yes, but in the ini file:
frame-style = 0
I don't know if that does anything.

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

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Postby MECHDRAGON777 » Mon Feb 24, 2020 7:46 pm

Wiimeiser wrote:
Mon Jul 08, 2019 4:52 am
In the lua:
framestyle = 1,
so yes, but in the ini file:
frame-style = 0
I don't know if that does anything.
That may actually be the cause. Seeing as Beta 4 is out, I might want to test to see if this works on Beta 4 as well.

Murphmario
2025 Egg Hunter
2025 Egg Hunter
Posts: 2389
Joined: Fri Dec 20, 2013 7:07 pm
Pronouns: he/him

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Postby Murphmario » Mon Feb 24, 2020 7:50 pm

Wiimeiser wrote:
Sun Jul 07, 2019 4:17 am
Looking at other powerups, it appears the game itself might be hardcoded to prevent powerups from changing their frame based on their direction, but that's just a wild guess.
That's not true, they're simply just use framestyle=0.

Cedur
Link
Link
Posts: 7073
Joined: Tue Jun 28, 2016 10:14 am
Flair: I'm gone, for chess and minesweeper
Pronouns: he/him

Re: [NPC Pack] ~ SMW Life Moon (Now with audio)

Postby Cedur » Tue Feb 25, 2020 5:17 am

What happens when you lose all your lives?


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari