Trouble with npc-x.txt

General discussion about Super Mario Bros. X.

Moderator: Userbase Moderators

SNESLuigi9768
Shy Guy
Shy Guy
Posts: 7
Joined: Thu May 18, 2023 8:51 pm
Pronouns: he/him

Trouble with npc-x.txt

Postby SNESLuigi9768 » Sat Jul 29, 2023 4:47 pm

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:

Alagirez
Ludwig von Koopa
Ludwig von Koopa
Posts: 3585
Joined: Tue Dec 02, 2014 2:28 am
Flair: Legalize Awooo!
Pronouns: He/Him/That wolf
Contact:

Re: Trouble with npc-x.txt

Postby Alagirez » Sat Jul 29, 2023 10:25 pm

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

SNESLuigi9768
Shy Guy
Shy Guy
Posts: 7
Joined: Thu May 18, 2023 8:51 pm
Pronouns: he/him

Re: Trouble with npc-x.txt

Postby SNESLuigi9768 » Sun Jul 30, 2023 3:31 am

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! :)


Return to “General”

Who is online

Users browsing this forum: Valentine and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari