Author Topic: Build animation progress can be bound to HP  (Read 2145 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Build animation progress can be bound to HP
« on: 6 July 2011, 09:01:04 »
By this you can show the progress of an object beeing build! ( this feature is already available in svn )

just put this in the BeBuilt skill:

<anim-progress-bound value="true"/>

Edit by Omega: The XML tag name was changed, see below
« Last Edit: 8 July 2011, 00:16:36 by Omega »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

will

  • Golem
  • ******
  • Posts: 783
    • View Profile
Re: Build animation progress can be bound to HP
« Reply #1 on: 6 July 2011, 09:11:17 »
Brilliant!  Fixes the build animations looping that has been irritating Mr War so much?

I'm sure there was a thread about this, with Silnarm talking about a fix, which I can't find; was this the fix?

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Build animation progress can be bound to HP
« Reply #2 on: 6 July 2011, 09:17:20 »
Added to the Wiki.

Note that there's a few other functions that I recently noticed are not documented and need a bit more information from a dev before they can be filled in. Perhaps you could help with that?
« Last Edit: 18 June 2016, 18:41:54 by filux »
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: Build animation progress can be bound to HP
« Reply #3 on: 6 July 2011, 10:01:07 »
willvarfar yes , I remeber this talking with Silnarm, but I also was not able to find it  :(
So no, I made it myself ( which was very easy )
But if someone can find the thread here in the forum I would be very happy, because GAE maybe has another syntax for it which would be bad!
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Build animation progress can be bound to HP
« Reply #4 on: 7 July 2011, 01:28:39 »
willvarfar yes , I remeber this talking with Silnarm, but I also was not able to find it  :(
So no, I made it myself ( which was very easy )
But if someone can find the thread here in the forum I would be very happy, because GAE maybe has another syntax for it which would be bad!
GAE uses <anim-stretch value="true" />, which does the exact same thing.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: Build animation progress can be bound to HP
« Reply #5 on: 7 July 2011, 20:41:28 »
did they had a release yet including this?I think the ir switch is not very speaking ....
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Build animation progress can be bound to HP
« Reply #6 on: 7 July 2011, 23:11:17 »
did they had a release yet including this?I think the ir switch is not very speaking ....
Only in the git master, where it apparently has been there for a bit. GAE 0.4 is a major release, so it's been in development for quite a while so far (since December 12, 2010).

Discussion carried on in GAE topic: https://forum.megaglest.org/index.php?topic=7363
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
ATTENTION!
« Reply #7 on: 7 July 2011, 23:42:40 »
ATTENTION!

This is renamed now to "anim-progress-bound" in svn now! The old syntax is kept but just for the moment! It will be removed in a week or so.
The rename was done because it works now for BeBuild/Produce/Morph/Upgrade and the old one would not fit for them ....
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios