I mean, yeah, but you’ll have to code it yourself.
How?
The download have 2 examples of how to make them, and any Powerup that uses anotherpowerup (aside from Captain Monochrome’s acorn and penguin suit) can work with this as well.
I mean, yeah, but you’ll have to code it yourself.
How?
The download have 2 examples of how to make them, and any Powerup that uses anotherpowerup (aside from Captain Monochrome’s acorn and penguin suit) can work with this as well.
Hello.
First of all, great job your library works excellent, I can add all the powerups I want, but I have a question.
I don't know if I did anything wrong but apparently with the script of "Cape Feather"(ap_cape.lua) the powerup of "Drill" behaves like the "Drill" because when trying to do the "GroundPound" the character of Mario does not execute the action, as it is automatically canceled looks:
Strangely with Luigi if the action and animation are executed
I say it's the "Cape Feather" because when I remove that script it doesn't give that problem anymore.
This is my setup, I probably didn't get something right
local function isOnGround(p)
return (
p.speedY == 0 -- "on a block"
or p:mem(0x176,FIELD_WORD) ~= 0 -- on an NPC
or p:mem(0x48,FIELD_WORD) ~= 0 -- on a slope
)
end
local function isOnGround(p)
return (
p.speedY == 0 -- "on a block"
or p:mem(0x176,FIELD_WORD) ~= 0 -- on an NPC
or p:mem(0x48,FIELD_WORD) ~= 0 -- on a slope
)
end
As well as Luigi's, Toad's, Link's and Peach's sprites
I think you have amazing ideas! It would be quite cool to see the Frog Suit, Shell Suit, Propeller Suit, and Mini Mario in SMBX2! Looking forward to seeing them once they're finished.
According to the original post, any custom powerups replace existing ones. But in this post, I can see there are more powerups than the normal amount (Which I believe is 5). So I'm not entirely certain about the limits of the powerups for this library. How many can I have, more than the initial 5 or is it still limited by that? Also would the code work for episodes (e.x. penguin suit all throughout the episode).
Hello.
First of all, great job your library works excellent, I can add all the powerups I want, but I have a question.
I don't know if I did anything wrong but apparently with the script of "Cape Feather"(ap_cape.lua) the powerup of "Drill" behaves like the "Drill" because when trying to do the "GroundPound" the character of Mario does not execute the action, as it is automatically canceled looks:
Strangely with Luigi if the action and animation are executed
I say it's the "Cape Feather" because when I remove that script it doesn't give that problem anymore.
This is my setup, I probably didn't get something right
Oh that's right! You reminded me of something. I got 6 existing custom powerups to work in SMBX2 B5, at the same time! Yeah, it was a little hard to get it done, but I tampered around with the .lua and .ini files, and learned some valuable things. I don't claim to be a professional at LunaLua by any standards, but eventually, I was able to figure out what it was I was missing, and once I did, all 6 powerups started working perfectly! (With Mario and Luigi anyway.) I also personally made my own file called Custom Powerups.tileset.ini, the point of which would be to record and call every instance of custom powerups that I wanted to use. And for an added bonus, I've also added Tempest's Boomerang Flower, which replaces Mario's Hammer Suit and also works perfectly! Credit goes to Tempest for the original powerup.
DISCLAIMER: I do NOT own or claim for myself any of the scripts, powerups, or files made by other people. The credit for all those belong to the original owners of said content, wherever credit is due. The only things I made are the tileset.ini file and my personal modifications to the .lua and .ini files.
Added in 25 minutes 30 seconds:
Some things I should make clear:
1. Tempest's Boomerang Flower is the only powerup that replaces an existing powerup. Every other custom powerup is its own independent thing and works just fine, without replacing anything!
2. Only Mario and Toad can throw boomerangs. Upon any other character interacting with the Boomerang Flower, it will function just like an ordinary Hammer Suit, granting the other 3 main characters their traditional abilities (Hammer Suit for Luigi, Bomb Suit for Peach, and Master Sword for Link).
3. Only Mario and Luigi can use the Drill Mushroom. Doing otherwise can cause weird bugs, glitches, or even a crash.
4. The only custom abilities Link can properly use are Cape Feather and Gold Flower. Using any of the other 4 custom powerups with Link will definitely cause a crash.
Added in 25 minutes 30 seconds:
Some things I should make clear:
1. Tempest's Boomerang Flower is the only powerup that replaces an existing powerup. Every other custom powerup is its own independent thing and works just fine, without replacing anything!
2. Only Mario and Toad can throw boomerangs. Upon any other character interacting with the Boomerang Flower, it will function just like an ordinary Hammer Suit, granting the other 3 main characters their traditional abilities (Hammer Suit for Luigi, Bomb Suit for Peach, and Master Sword for Link).
3. Only Mario and Luigi can use the Drill Mushroom. Doing otherwise can cause weird bugs, glitches, or even a crash.
4. The only custom abilities Link can properly use are Cape Feather and Gold Flower. Using any of the other 4 custom powerups with Link will definitely cause a crash.
I actually made the Boomerang Flower work on other characters. I can send it in if you want.
Added in 25 minutes 30 seconds:
Some things I should make clear:
1. Tempest's Boomerang Flower is the only powerup that replaces an existing powerup. Every other custom powerup is its own independent thing and works just fine, without replacing anything!
2. Only Mario and Toad can throw boomerangs. Upon any other character interacting with the Boomerang Flower, it will function just like an ordinary Hammer Suit, granting the other 3 main characters their traditional abilities (Hammer Suit for Luigi, Bomb Suit for Peach, and Master Sword for Link).
3. Only Mario and Luigi can use the Drill Mushroom. Doing otherwise can cause weird bugs, glitches, or even a crash.
4. The only custom abilities Link can properly use are Cape Feather and Gold Flower. Using any of the other 4 custom powerups with Link will definitely cause a crash.
I actually made the Boomerang Flower work on other characters. I can send it in if you want.
Oh you did? That's pretty cool! Sure, you may send it in.
Oh that's right! You reminded me of something. I got 6 existing custom powerups to work in SMBX2 B5, at the same time! Yeah, it was a little hard to get it done, but I tampered around with the .lua and .ini files, and learned some valuable things. I don't claim to be a professional at LunaLua by any standards, but eventually, I was able to figure out what it was I was missing, and once I did, all 6 powerups started working perfectly! (With Mario and Luigi anyway.) I also personally made my own file called Custom Powerups.tileset.ini, the point of which would be to record and call every instance of custom powerups that I wanted to use. And for an added bonus, I've also added Tempest's Boomerang Flower, which replaces Mario's Hammer Suit and also works perfectly! Credit goes to Tempest for the original powerup.
DISCLAIMER: I do NOT own or claim for myself any of the scripts, powerups, or files made by other people. The credit for all those belong to the original owners of said content, wherever credit is due. The only things I made are the tileset.ini file and my personal modifications to the .lua and .ini files.
Added in 25 minutes 30 seconds:
Some things I should make clear:
1. Tempest's Boomerang Flower is the only powerup that replaces an existing powerup. Every other custom powerup is its own independent thing and works just fine, without replacing anything!
2. Only Mario and Toad can throw boomerangs. Upon any other character interacting with the Boomerang Flower, it will function just like an ordinary Hammer Suit, granting the other 3 main characters their traditional abilities (Hammer Suit for Luigi, Bomb Suit for Peach, and Master Sword for Link).
3. Only Mario and Luigi can use the Drill Mushroom. Doing otherwise can cause weird bugs, glitches, or even a crash.
4. The only custom abilities Link can properly use are Cape Feather and Gold Flower. Using any of the other 4 custom powerups with Link will definitely cause a crash.
Interesting. I wasn't aware that one could have independent power ups due to some limitation in the code of the original SMBX.
I was testing some more and I realized two things:
1. Bubble Flower cannot be used while invincible with Starman. This is a really minor issue though, maybe it's meant to be that way.
2. The More Important Thing: Whenever Bosses (the default ones) get captured by bubbles, they get killed instantly. I was thinking that maybe I could take all of the current Boss NPCs and put them in a blacklist so that the Bubble doesn't instantly kill bosses in one hit. How would I blacklist a set of NPCs though? A little help would be nice.