News:

Please help making MegaGlest rock-stable by testing the pre-release snapshots.

Main Menu

[Fixed] anim-progress-bound not working?

Started by helldiver, 16 June 2012, 19:37:08

helldiver

  <!-- *** 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.

Omega

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

Glest Advanced Engine - Code Monkey

Timeline | Downloads

helldiver

ok thanks guys.

I'm using 0.4 Beta 2

silnarm

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