Page 1 of 1

Trouble with npc-x.txt

Posted: Sat Jul 29, 2023 4:47 pm
by SNESLuigi9768
I have found that whenever I go to make a small NPC bigger (32 -> 64), they often stop animating. For example; I used the SMW Koopatrol over SMB3 spiny from S1m0n's GFX pack. It looks fine in the editor but in-game it just displays the first frame. Dose anyone know why this happens or how to fix it? Thanks in advance! :mrgreen:

Re: Trouble with npc-x.txt

Posted: Sat Jul 29, 2023 10:25 pm
by Alagirez
I think you forgot to change the "width", "height", "gfxwidth", and "gfxheight" command of the gfx when you resize a GFX.
The "frame" command is also needed to make the animations work.
reference: https://docs.codehaus.moe/#/features/npc-config

Re: Trouble with npc-x.txt

Posted: Sun Jul 30, 2023 3:31 am
by SNESLuigi9768
Image

It works now! I already had the things you mentioned defined except the # of frames & frame style. I thought I didn't need to touch that because it goes of the spiny who already has the desired frames and style. Thanks for the help! :)