URL:
  <http://gna.org/bugs/?19274>

                 Summary: Unit animations: [foobar_frame] playing at
start_time instead of foobar_start_time
                 Project: Battle for Wesnoth
            Submitted by: shadowmaster
            Submitted on: Wed 11 Jan 2012 06:05:41 PM CLST
                Category: Bug
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: WML
                  Status: None
                 Privacy: Public
             Assigned to: boucman
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.9.14, 1.9.14+svn
        Operating System: Debian wheezy

    _______________________________________________________

Details:

In unit animations WML, it seems that [foobar_frame] frames (at least those
having a lone sound= attribute and no image= attribute) are playing at the
animation's base start_time, instead of using the specified foobar_start_time
timing.

Here's a UMC example of the syntax used to reproduce:
http://pastebin.com/wkcJnQhu

In mainline, the Saurian Ambusher's unique ranged attack animation makes use
of the ATTACK_ANIM_DIRECTIONAL_9_FRAME macro, defined in
data/core/macros/animation-utils2.cfg, which is affected by the same issue. As
a result, the Ambusher's thrown spear sound is heard at the start of the
animation (start_time=-450), instead of later (sound_start_time=-100).

I suspect the macro was written by someone who knew what they were doing
(Jetrel?) and probably tested before committing, so it's possible this worked
at some point during 1.9.x and later broke because of some other change. Or
perhaps it never worked (in such case, I'd like to know what needs to be
corrected in the WML).

This issue might be difficult to notice at normal speed, so select an
acceleration factor below 1.0x in Preferences before testing.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19274>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to