Custom NPCs becoming pathetic squares

Post here for help and support regarding LunaLua and SMBX2's libraries and features.
Yukondiggy
Goomba
Goomba
Posts: 3
Joined: Fri Jan 13, 2023 9:00 pm
Flair: Trying to make it work
Pronouns: he/him

Custom NPCs becoming pathetic squares

Postby Yukondiggy » Fri Jan 13, 2023 9:10 pm

I picked up a couple of custom NPC packs as of late. As of writing this, none of them work; any time I try to use one, it becomes a strange square.
These squares:

-React to gravity
-Often have a simple animation consisting of two frames from the NPC's sprite sheet
-Are 1x1 in size, regardless of the size of the NPC it came from
-Can be bounced on, but make no sound and do not die.

I know this is a problem with me, because I have tried several different custom NPCs, including but not limited to:

-Enjl's Star Coin't
-Several of MegaDood's Custom Chucks
-MegaDood's Trapdragon

Does anyone know how I can solve this? I want so badly to create something I can share with this forum, but it'd be better if I could use some custom NPCs to add some extra capability.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9708
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Custom NPCs becoming pathetic squares

Postby Emral » Sat Jan 14, 2023 10:44 am

share the affected level folder? though it sounds like you either renamed some but not all files for an npc, or forgot to place the lua file in the level folder as well

Yukondiggy
Goomba
Goomba
Posts: 3
Joined: Fri Jan 13, 2023 9:00 pm
Flair: Trying to make it work
Pronouns: he/him

Re: Custom NPCs becoming pathetic squares

Postby Yukondiggy » Sat Jan 14, 2023 12:31 pm

Enjl wrote:
Sat Jan 14, 2023 10:44 am
or forgot to place the lua file in the level folder as well
I looked into that, and it turns out that using SMBX2's tool for importing custom data does not import LUA files for some reason. I went ahead and imported them manually, and it works like a charm.
Thanks for your help! Sorry if I was a bother.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9708
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Custom NPCs becoming pathetic squares

Postby Emral » Sat Jan 14, 2023 8:34 pm

I didn't know SMBX2 had a tool for importing custom assets.
Must be an editor feature. I'll open an issue on the editor repository. Glad you managed to fix the issue on your end.


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari