Page 1 of 1

Custom NPCs becoming pathetic squares

Posted: Fri Jan 13, 2023 9:10 pm
by Yukondiggy
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.

Re: Custom NPCs becoming pathetic squares

Posted: Sat Jan 14, 2023 10:44 am
by Emral
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

Re: Custom NPCs becoming pathetic squares

Posted: Sat Jan 14, 2023 12:31 pm
by Yukondiggy
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.

Re: Custom NPCs becoming pathetic squares

Posted: Sat Jan 14, 2023 8:34 pm
by Emral
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.