MegaGlest Forum

Archives (read only) => Glest Advanced Engine => Bug reports => Topic started by: helldiver on 16 June 2012, 19:37:08

Title: [Fixed] anim-progress-bound not working?
Post by: helldiver on 16 June 2012, 19:37:08
  <!-- *** skills *** -->
  <skills>

    <skill>
      <type value="be_built" />
      <name value="be_built_skill"/>
      <ep-cost value="0" />
      <speed value="120"/>
      <anim-speed value="6" />
      <animation path="models/farm_01_construction.g3d" />
      <anim-progress-bound value="true"/>
      <sound enabled="false" />
    </skill>

That's my code right now in the farm.xml file and it has no effect. The animation loops (at speed 6). It doesn't progress. Maybe I don't understand the function properly? If I move the peasants away from the building while constructing it, the construction animation loops.

Is this function not available in GAE? The Wiki claims it's MegaGlest and GAE. Was it turned off?

Thanks for the help.
Title: Re: anim-progress-bound not working?
Post by: Omega on 17 June 2012, 01:03:00
What version of GAE are you using? I was under the impression it was indeed implemented, but only in the current 0.4 WIP, meaning you'd have to compile the code yourself to use it.
Title: Re: anim-progress-bound not working?
Post by: silnarm on 17 June 2012, 07:04:24
<anim-stretch value='true' />
Title: Re: anim-progress-bound not working?
Post by: helldiver on 17 June 2012, 08:11:52
ok thanks guys.

I'm using 0.4 Beta 2
Title: Re: anim-progress-bound not working?
Post by: silnarm on 17 June 2012, 08:17:46
That was just what it was called when originally implemented, in the ensuing discussion titi suggested 'anim-progress-bound' as an alternative, and more descriptive, name.  I agreed and meant to change it, but apparently never did.

I just added it now (as an alias, so 'anim-stretch' will still work).