Wrong frame size of custom NPC

Description: All information about graphics and advices to create graphics.
Moderator: Moderators

Wohlstand M
Topic author, Lead Developer
Lead Developer
Avatar
Wohlstand M
Topic author, Lead Developer
Lead Developer
Age: 25
Reputation: 320
Posts: 1301
Joined: 15 Feb 2014
Location: Moscow, Russia
Website Skype YouTube

Post #1by Wohlstand » 28 Jul 2014, 16:11

Image

If you've defined the custom width and height, you always must define the gfxwidth and gfxheight, with some NPCs the calculator does not work because it uses algorithmic animation (framestyle is ignored by the NPC's algorithm).

You always can open your npc-*.txt file with the editor and preview the generated image if it's wrong, and fix the problem by changing the size values:
Where red rectangle is - is a collision box (physical width and height values):
Image

Return to “Graphics”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest