FORUM ARCHIVED

Windows Vista/7 64-bit Megadeth Halo Displacement

Discussion in 'Bugs' started by Loerwyn, May 4, 2012.

  1. Loerwyn

    Loerwyn Member

    Well, that's the oddest title I've written in a while.

    When attacking Megadeths (which are the special, named Deth monsters), the halo signifying their special status jumps up whenever they do the attacking animation, like this:
    [​IMG]

    It's otherwise fine as far as I can tell.
     
  2. FaxCelestis

    FaxCelestis Will Mod for Digglebucks

    :confused:

    /me goes and checks.

    For some inexplicable reason the deth attack animations (not just the megadeth, but all the deth ones) are 128x128, instead of 64x64 like their hit, idle, cast, die, and run animations are. Compare!
    This one is the first frame of deth_atk_d: deth_atk_d_00.png
    And this one is the first frame of deth_idle_d: deth_idle_d_0.png

    Notice the height difference on the space?
     
  3. Loerwyn

    Loerwyn Member

    How utterly bizarre!
     
  4. MOOMANiBE

    MOOMANiBE Ah, those were the days. Staff Member

    Hah, interesting.

    This stuff was before my time, but it looks like the animator who made the deth attack animation gave it a larger white-space buffer around the attack sprite, to allow more room for the scythe to swing. Due to how dredmor handles sprites this wasn't an issue positioning-wise, but I guess halos are oriented off the top of the sprite rather than the bottom, which results in this issue.

    I took a look through the other classic monster sprites and it looks like this is the only one with this particular discrepancy - although some of the hero sprites have this trick being used, so that mod that uses hero sprites for monsters may end up having the same problem. I'll ask dave or nick what they think.
     
  5. FaxCelestis

    FaxCelestis Will Mod for Digglebucks

    Would adding a centereffect="1" to the hero halo fix the problem in itself?