Author Topic: [Fixed] anim-progress-bound not working?  (Read 3007 times)

helldiver

  • Guest
[Fixed] anim-progress-bound not working?
« 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.
« Last Edit: 24 June 2012, 07:23:29 by silnarm »

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: anim-progress-bound not working?
« Reply #1 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.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: anim-progress-bound not working?
« Reply #2 on: 17 June 2012, 07:04:24 »
<anim-stretch value='true' />
Glest Advanced Engine - Code Monkey

Timeline | Downloads

helldiver

  • Guest
Re: anim-progress-bound not working?
« Reply #3 on: 17 June 2012, 08:11:52 »
ok thanks guys.

I'm using 0.4 Beta 2

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: anim-progress-bound not working?
« Reply #4 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).
Glest Advanced Engine - Code Monkey

Timeline | Downloads

 

anything