Author Topic: Default Sprite not showing up Field HQ?  (Read 356 times)

Offline JohnnyDmonic

  • Hero Member
  • *****
  • Posts: 627
    • View Profile
Default Sprite not showing up Field HQ?
« on: September 25, 2007, 04:24:26 PM »
Okay, I'm dealing with custom designed mecha, and I've been using mechaprize to get them so I can check their stats and PV and such, and I just today noticed that designs that I hadn't set a SDL_Sprite for weren't showing anything in the sprite window when I go to examine them in the field HQ.  I'm not 100% certain that it's been happening all along, or if it happens with files other than the ones I wrote, or any of that, but I thought I'd mention it.

They do seem to pull up the default sprite for their type when I go to the worldmap, although Hoverfighters appearantly default to the buruburu sprite like battroids?

Offline JohnnyDmonic

  • Hero Member
  • *****
  • Posts: 627
    • View Profile
Default Sprite not showing up Field HQ?
« Reply #1 on: September 26, 2007, 04:12:47 PM »
Think I might have narrowed it down.  It *may*  and this could just be anecdotal evidence pointing in the wrong direction, but it *may* be that Field HQ doesn't pull up an image if a design file is tagged Sprite instead of SDL_Sprite, even though once you go into battle it will.  In which case if some of the defaults point to the Sprite macro instead of SDL_Sprite, maybe Field HQ doesn't read them right because of that?  I have no idea where in the actual code it calls images, or if Field HQ handles it differently than any other part.

Also should I start filing these at the Sourceforge page instead of here?  Or both in case anyone has had a similar problem and wants to chime in?

Offline Joseph Hewitt

  • Administrator
  • Hero Member
  • *****
  • Posts: 2552
    • View Profile
    • http://www.gearheadrpg.com
Default Sprite not showing up Field HQ?
« Reply #2 on: September 26, 2007, 06:52:34 PM »
Nah, pile them here, I'm more likely to see them. I think the issue is simply that a mecha without a SDL_SPRITE attribute defined is assumed by the viewer to simply not have a sprite. I should make it so that mecha always load a sprite.