$h31d0nc00p3rfan wrote: ↑Thu Jan 04, 2024 8:58 pm
how about for the cape feather? I want to be able to import it into Moondust so I can actually USE it for my level. Is there a step-by-step rundown of how to do it?
Hey there,
I was about to give you a small tutorial, until I noticed just by placing that NPC in a level it causes just a bunch of errors.
The feather would even kill you ingame. Looks like unusable, as it seems.
Considering is has not been fixed yet, makes me somehow guess, it is a problem in the main code of SMBX and it worked in a previous build.
But I might be 100 % wrong here as well.
Edit:
Silly me, I forgot you had to add these lines to your luna lua project file (either within your level or world / episode file)
local ap = require("anotherpowerup")
ap.registerItemTier(851, true)
ap.registerPowerup("ap_cape")
Why these lines? First one should be clear, it is the basic script, second one add the npc number of the cape and third one does add the cape power up filename itself, if I understand it correctly.
So, besides that: Simply extract the files of BOTH AnotherPowerup.7z and Cape_Feather.zip into your project.
To create a script you can do it via the editor
Script -> LunaLua Scripts
(level local -> creates the file into your level folder)
(level global -> creates the file into your world / episode folder)
If you want to have the item in your tileset editor, follow these steps:
1. Go to Tileset Editor
2. Pick a Tileset name of your choice.
3. Choose "NPC" as Type from the drop down list.
4. Go to that black wrench symbol and choose "Search by ID" (works best for me in most cases)
5. Enter "851" into the text field on the left (titled with "Items")
6. The Cape Feather Item should appear now. Drag and Drop in one of these white squares and SAVE.
This way you can also find it if you want to place that item in a ?-block.
However be warned: The item will most likely revert back to an ice flower if carried over to an other level.