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

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

Moderator: Userbase Moderators

Tempest
Swooper
Swooper
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
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.

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

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.

PixelPest
Link
Link
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
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

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

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)

PixelPest
Link
Link
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
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

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

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

PixelPest
Link
Link
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
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"

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

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?

PixelPest
Link
Link
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
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")

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

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.

Daring Tombstone
Blooper
Blooper
Posts: 160
Joined: Mon Aug 28, 2017 10:57 pm
Flair: What? Not 1000 posts? That means I suck right?

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.

Tempest
Swooper
Swooper
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
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!

Tempest
Swooper
Swooper
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
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!

Tempest
Swooper
Swooper
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
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!

Tempest
Swooper
Swooper
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
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!

KnuckleChuckle
Bob-Omb
Bob-Omb
Posts: 22
Joined: Mon Jul 23, 2018 10:06 pm

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

IAmPlayer
Volcano Lotus
Volcano Lotus
Posts: 560
Joined: Sun May 21, 2017 3:36 am
Flair: I'm a hellspawn.
Pronouns: he/him
Contact:

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

Postby IAmPlayer » Fri Jun 12, 2020 11:35 am

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

MarioXHK
Cheep-Cheep
Cheep-Cheep
Posts: 11
Joined: Sat Jul 20, 2024 10:04 am
Flair: A Mario
Pronouns: he/him
Contact:

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

Postby MarioXHK » Wed Oct 23, 2024 7:18 pm

I wonder if this powerup could get revitalized

King Mario
Blooper
Blooper
Posts: 168
Joined: Sun Nov 19, 2017 2:13 pm
Flair: Jesus Christ is King!
Pronouns: he/him
Contact:

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

Postby King Mario » Wed Oct 23, 2024 9:45 pm

MarioXHK wrote:
Wed Oct 23, 2024 7:18 pm
I wonder if this powerup could get revitalized
You could always ask the mods to improve it for The Rip Lair's Powerup Pack. Honestly, I'd like to see it revitalized and improved for B5 also.


Return to “LunaLua”

Who is online

Users browsing this forum: Petal [Bot], sageboba and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari