[Custom Powerup V2.3]Phoenix Suit: Burn the House Down!

Share and discuss custom LunaLua code and content packs for SMBX2.
User avatar
Tempest
Fighter Fly
Fighter Fly
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
Current Project: making sprites on srb2 discord
Chat Username: Tempest (Krimps)
Contact:

Re: [Update V2]Phoenix Suit V2.0 w/ Custom GFX!

Postby Tempest » Wed Aug 08, 2018 6:57 pm

MmmMario wrote:
Mon Aug 06, 2018 7:29 am
My phoenix suit, although has the correct graphics, will only work as a flamethrower. I dragged the script in LuaScriptsLib, and put my lunadll.lua in the folder with the same name. I'm using SMBX 2.0. Help on how to solve this would be appreciated.
I'm not sure if I understood the question correctly but, for the script to actually work you gotta A) Put the lunadll.lua on a level folder, or B) Put the lunadll.lua on an episode folder and rename it to lunaworld.lua, otherwise it won't work.

But if the problem is with the Firecomet and Hover(?) functionality, you need to check if you're playing with Mario or Luigi (the only currently fully supported characters), and if you gathered enough speed to use their mid-air abilities.

If that doesn't solve the problem then I don't really know what to do. Maybe try posting more info on what and/or where the problem is so that I can take a further look into the code and see what's wrong.
I'm a brazilian dude who likes videogames!
Spoopy: show
http://pokemon.alexonsager.net/92/91
*insert stupid undertale reference here*
I believe in Jesus Christ as my Lord and Savior. If you do, put this in YOUR signature.
Eli Oliver (new account) wrote:hamster pipe zone?
Does anyone even know what :mrgreen: means
I Support: show
Neoteric Super Mario Bros.
viewtopic.php?t=20457
Mario and the Missing Shine Sprites
Image

User avatar
MmmMario
Bit
Bit
Posts: 127
Joined: Sun Aug 05, 2018 6:28 am
Flair: Yeet
Current Project: My current project is living. Trust me, it's hard.
Chat Username: TawPawNaw

Re: [Update V2]Phoenix Suit V2.0 w/ Custom GFX!

Postby MmmMario » Thu Aug 09, 2018 6:42 am

Tempest wrote:
Wed Aug 08, 2018 6:57 pm
MmmMario wrote:
Mon Aug 06, 2018 7:29 am
My phoenix suit, although has the correct graphics, will only work as a flamethrower. I dragged the script in LuaScriptsLib, and put my lunadll.lua in the folder with the same name. I'm using SMBX 2.0. Help on how to solve this would be appreciated.
I'm not sure if I understood the question correctly but, for the script to actually work you gotta A) Put the lunadll.lua on a level folder, or B) Put the lunadll.lua on an episode folder and rename it to lunaworld.lua, otherwise it won't work.

But if the problem is with the Firecomet and Hover(?) functionality, you need to check if you're playing with Mario or Luigi (the only currently fully supported characters), and if you gathered enough speed to use their mid-air abilities.

If that doesn't solve the problem then I don't really know what to do. Maybe try posting more info on what and/or where the problem is so that I can take a further look into the code and see what's wrong.
Well, here's some screenshots of what I did:


Image



Image

(If you can't see the images clearly then just click on them)

And the suit works exactly like npc-279 (Propeller Flamethrower) except instead of looking like a normal Propeller Flamethrower, it looks like a Phoenix Suit.
Spoiler: show
Here's Johnny

Image

I will bore everyone out of their mind with my questions!!!
Does anyone else have the PostImages problem? Frankly, it annoys me that sometimes I can't view pictures.

Join mine and MemeLord's(PotatoMario's) server here: https://discord.gg/PUTNGKS
Image

PixelPest
Link
Link
Posts: 7116
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: [Update V2]Phoenix Suit V2.0 w/ Custom GFX!

Postby PixelPest » Thu Aug 09, 2018 6:47 am

It looks like your lunadll.lua is a text file (lunadll.lua.txt). Try showing file extensions on your computer (through the Organize menu in the file explorer) and then get rid of .txt. You should also not be modifying the LuaScriptsLib folder. Put custom libraries in the same folder as your lunadll.lua file. When you add to basegame content your version is no longer compatible with other people's version of SMBX

User avatar
MmmMario
Bit
Bit
Posts: 127
Joined: Sun Aug 05, 2018 6:28 am
Flair: Yeet
Current Project: My current project is living. Trust me, it's hard.
Chat Username: TawPawNaw

Re: [Update V2]Phoenix Suit V2.0 w/ Custom GFX!

Postby MmmMario » Thu Aug 09, 2018 6:52 am

PixelPest wrote:
Thu Aug 09, 2018 6:47 am
It looks like your lunadll.lua is a text file (lunadll.lua.txt). Try showing file extensions on your computer (through the Organize menu in the file explorer) and then get rid of .txt.
I don't exactly understand what you mean by this. Is there an organise menu in my file explorer? (I'm Windows 10)
Spoiler: show
Here's Johnny

Image

I will bore everyone out of their mind with my questions!!!
Does anyone else have the PostImages problem? Frankly, it annoys me that sometimes I can't view pictures.

Join mine and MemeLord's(PotatoMario's) server here: https://discord.gg/PUTNGKS
Image

PixelPest
Link
Link
Posts: 7116
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: [Update V2]Phoenix Suit V2.0 w/ Custom GFX!

Postby PixelPest » Thu Aug 09, 2018 6:53 am

MmmMario wrote:
Thu Aug 09, 2018 6:52 am
PixelPest wrote:
Thu Aug 09, 2018 6:47 am
It looks like your lunadll.lua is a text file (lunadll.lua.txt). Try showing file extensions on your computer (through the Organize menu in the file explorer) and then get rid of .txt.
I don't exactly understand what you mean by this. Is there an organise menu in my file explorer? (I'm Windows 10)
Try View

User avatar
MmmMario
Bit
Bit
Posts: 127
Joined: Sun Aug 05, 2018 6:28 am
Flair: Yeet
Current Project: My current project is living. Trust me, it's hard.
Chat Username: TawPawNaw

Re: [Update V2]Phoenix Suit V2.0 w/ Custom GFX!

Postby MmmMario » Thu Aug 09, 2018 7:05 am

PixelPest wrote:
Thu Aug 09, 2018 6:53 am
MmmMario wrote:
Thu Aug 09, 2018 6:52 am
PixelPest wrote:
Thu Aug 09, 2018 6:47 am
It looks like your lunadll.lua is a text file (lunadll.lua.txt). Try showing file extensions on your computer (through the Organize menu in the file explorer) and then get rid of .txt.
I don't exactly understand what you mean by this. Is there an organise menu in my file explorer? (I'm Windows 10)
Try View
Well, I did convert it into a lua file


Image

However, now I get this error for some reason, even though I defined everything like it was shown in the original post

Image
Spoiler: show
Here's Johnny

Image

I will bore everyone out of their mind with my questions!!!
Does anyone else have the PostImages problem? Frankly, it annoys me that sometimes I can't view pictures.

Join mine and MemeLord's(PotatoMario's) server here: https://discord.gg/PUTNGKS
Image

PixelPest
Link
Link
Posts: 7116
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: [Update V2]Phoenix Suit V2.0 w/ Custom GFX!

Postby PixelPest » Thu Aug 09, 2018 8:45 am

MmmMario wrote:
Thu Aug 09, 2018 7:05 am
PixelPest wrote:
Thu Aug 09, 2018 6:53 am
MmmMario wrote:
Thu Aug 09, 2018 6:52 am


I don't exactly understand what you mean by this. Is there an organise menu in my file explorer? (I'm Windows 10)
Try View
Well, I did convert it into a lua file


Image

However, now I get this error for some reason, even though I defined everything like it was shown in the original post

Image
The file is called phoenixSuit.lua, so you should load "phoenixSuit"

User avatar
MmmMario
Bit
Bit
Posts: 127
Joined: Sun Aug 05, 2018 6:28 am
Flair: Yeet
Current Project: My current project is living. Trust me, it's hard.
Chat Username: TawPawNaw

Re: [Update V2]Phoenix Suit V2.0 w/ Custom GFX!

Postby MmmMario » Thu Aug 09, 2018 9:30 am

PixelPest wrote:
Thu Aug 09, 2018 8:45 am
MmmMario wrote:
Thu Aug 09, 2018 7:05 am
PixelPest wrote:
Thu Aug 09, 2018 6:53 am


Try View
Well, I did convert it into a lua file


Image

However, now I get this error for some reason, even though I defined everything like it was shown in the original post

Image
The file is called phoenixSuit.lua, so you should load "phoenixSuit"
So, do I just change the name?
Spoiler: show
Here's Johnny

Image

I will bore everyone out of their mind with my questions!!!
Does anyone else have the PostImages problem? Frankly, it annoys me that sometimes I can't view pictures.

Join mine and MemeLord's(PotatoMario's) server here: https://discord.gg/PUTNGKS
Image

PixelPest
Link
Link
Posts: 7116
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: [Update V2]Phoenix Suit V2.0 w/ Custom GFX!

Postby PixelPest » Thu Aug 09, 2018 1:45 pm

MmmMario wrote:
Thu Aug 09, 2018 9:30 am
PixelPest wrote:
Thu Aug 09, 2018 8:45 am
MmmMario wrote:
Thu Aug 09, 2018 7:05 am


Well, I did convert it into a lua file


Image

However, now I get this error for some reason, even though I defined everything like it was shown in the original post

Image
The file is called phoenixSuit.lua, so you should load "phoenixSuit"
So, do I just change the name?
No just API.load("phoenixSuit") instead of API.load("phoenix")

User avatar
MmmMario
Bit
Bit
Posts: 127
Joined: Sun Aug 05, 2018 6:28 am
Flair: Yeet
Current Project: My current project is living. Trust me, it's hard.
Chat Username: TawPawNaw

Re: [Update V2]Phoenix Suit V2.0 w/ Custom GFX!

Postby MmmMario » Thu Aug 09, 2018 6:55 pm

PixelPest wrote:
Thu Aug 09, 2018 1:45 pm
MmmMario wrote:
Thu Aug 09, 2018 9:30 am
PixelPest wrote:
Thu Aug 09, 2018 8:45 am


The file is called phoenixSuit.lua, so you should load "phoenixSuit"
So, do I just change the name?
No just API.load("phoenixSuit") instead of API.load("phoenix")
Well, I did do that:
Image

However I still get the same error message.
Spoiler: show
Here's Johnny

Image

I will bore everyone out of their mind with my questions!!!
Does anyone else have the PostImages problem? Frankly, it annoys me that sometimes I can't view pictures.

Join mine and MemeLord's(PotatoMario's) server here: https://discord.gg/PUTNGKS
Image

User avatar
Daring Tombstone
Bit
Bit
Posts: 142
Joined: Mon Aug 28, 2017 10:57 pm
Flair: What? Not 1000 posts? That means I suck right?
Current Project: Something Maybe
Chat Username: Chaperone

Re: [Update V2]Phoenix Suit V2.0 w/ Custom GFX!

Postby Daring Tombstone » Tue Sep 04, 2018 2:57 pm

I have this issue.

Image

Everything works correctly but the player starts one block in the ground until the phoenix suit powerup is grabbed. The player sprite graphic seems to be offset somehow since when the suit is grabbed, the player is moved one block up and one block to the left.

EDIT: This happens if you start the level as "Big". Also like a stupid, I'm using the SMW costume from the costume block which affects this. Ignore this dumb problem because it's not really a problem. It's just me trying to make a SMW costume use a SMB3 style power-up which clearly this wasn't meant for.

Cool API power-up though.
Happy Dance
Image
Check out my completed episode
Spoiler: show
Image
Check out my halloween level
Spoiler: show
Image

User avatar
Tempest
Fighter Fly
Fighter Fly
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
Current Project: making sprites on srb2 discord
Chat Username: Tempest (Krimps)
Contact:

Re: [Update V2]Phoenix Suit V2.0 w/ Custom GFX!

Postby Tempest » Sat Sep 08, 2018 2:45 pm

Daring Tombstone wrote:
Tue Sep 04, 2018 2:57 pm
I have this issue.

Image

Everything works correctly but the player starts one block in the ground until the phoenix suit powerup is grabbed. The player sprite graphic seems to be offset somehow since when the suit is grabbed, the player is moved one block up and one block to the left.

EDIT: This happens if you start the level as "Big". Also like a stupid, I'm using the SMW costume from the costume block which affects this. Ignore this dumb problem because it's not really a problem. It's just me trying to make a SMW costume use a SMB3 style power-up which clearly this wasn't meant for.

Cool API power-up though.
That is certainly strange. All the times I've tested this powerup (editor and in-game) the player was correctly positioned, so I don't really think I can fix it as of now (it's most likely due to all the manual offsetting I had to do in the .lua file). And thanks for the compliment!

Added in 1 hour 5 minutes 9 seconds:
Re: [Update V2.1]Phoenix Suit V2.0 w/ Custom GFX!
Update V2.1: Pretty big update everyone (Toad included)! Make sure to check the original post if interested!
I'm a brazilian dude who likes videogames!
Spoopy: show
http://pokemon.alexonsager.net/92/91
*insert stupid undertale reference here*
I believe in Jesus Christ as my Lord and Savior. If you do, put this in YOUR signature.
Eli Oliver (new account) wrote:hamster pipe zone?
Does anyone even know what :mrgreen: means
I Support: show
Neoteric Super Mario Bros.
viewtopic.php?t=20457
Mario and the Missing Shine Sprites
Image

User avatar
Tempest
Fighter Fly
Fighter Fly
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
Current Project: making sprites on srb2 discord
Chat Username: Tempest (Krimps)
Contact:

Re: [Update V2.1.1]Phoenix Suit: Burn the House Down!

Postby Tempest » Sun Sep 09, 2018 3:22 pm

Update V2.1.1: Not much new, but still has some bug fixes and extra content. Make sure to check the original post if interested!
I'm a brazilian dude who likes videogames!
Spoopy: show
http://pokemon.alexonsager.net/92/91
*insert stupid undertale reference here*
I believe in Jesus Christ as my Lord and Savior. If you do, put this in YOUR signature.
Eli Oliver (new account) wrote:hamster pipe zone?
Does anyone even know what :mrgreen: means
I Support: show
Neoteric Super Mario Bros.
viewtopic.php?t=20457
Mario and the Missing Shine Sprites
Image

User avatar
Tempest
Fighter Fly
Fighter Fly
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
Current Project: making sprites on srb2 discord
Chat Username: Tempest (Krimps)
Contact:

Re: [Update V2.2]Phoenix Suit: Burn the House Down!

Postby Tempest » Tue Nov 13, 2018 9:38 pm

Update V2.2: Very important stuff this time, make sure to check it out on the updated thread!
I'm a brazilian dude who likes videogames!
Spoopy: show
http://pokemon.alexonsager.net/92/91
*insert stupid undertale reference here*
I believe in Jesus Christ as my Lord and Savior. If you do, put this in YOUR signature.
Eli Oliver (new account) wrote:hamster pipe zone?
Does anyone even know what :mrgreen: means
I Support: show
Neoteric Super Mario Bros.
viewtopic.php?t=20457
Mario and the Missing Shine Sprites
Image

User avatar
Tempest
Fighter Fly
Fighter Fly
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
Current Project: making sprites on srb2 discord
Chat Username: Tempest (Krimps)
Contact:

Re: [Custom Powerup V2.3]Phoenix Suit: Burn the House Down!

Postby Tempest » Fri Jan 18, 2019 8:32 am

Update V2.3: Large update with many bugfixes (this will probably be the last version), check it out on the updated thread if you're interested!
I'm a brazilian dude who likes videogames!
Spoopy: show
http://pokemon.alexonsager.net/92/91
*insert stupid undertale reference here*
I believe in Jesus Christ as my Lord and Savior. If you do, put this in YOUR signature.
Eli Oliver (new account) wrote:hamster pipe zone?
Does anyone even know what :mrgreen: means
I Support: show
Neoteric Super Mario Bros.
viewtopic.php?t=20457
Mario and the Missing Shine Sprites
Image

User avatar
KnuckleChuckle
Koopa Troopa
Koopa Troopa
Posts: 22
Joined: Mon Jul 23, 2018 10:06 pm
Current Project: Super Mario Metroidvania
Chat Username: notsafeforchuckles

Re: [Custom Powerup V2.3]Phoenix Suit: Burn the House Down!

Postby KnuckleChuckle » Thu Jun 11, 2020 1:56 pm

Hey I am not sure if this is an issue on my part, but I'm having an issue with the power up.
Image
It seems that the power up isn't compatible with beta 4 though I may be wrong

User avatar
1AmPlayer
Volcano Lotus
Volcano Lotus
Posts: 540
Joined: Sun May 21, 2017 3:36 am
Flair: I'm a hellspawn.
Current Project: Mega Man NPC Pack (and more)
Chat Username: IAmPlayer
Contact:

Re: [Custom Powerup V2.3]Phoenix Suit: Burn the House Down!

Postby 1AmPlayer » Fri Jun 12, 2020 11:35 am

helpfulCheats.lua is no longer a thing, so that error popped up.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest