MegaGlest Forum

MegaGlest => MegaGlest => Topic started by: titi on 6 July 2011, 09:01:04

Title: Build animation progress can be bound to HP
Post by: titi 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 (https://forum.megaglest.org/index.php?topic=7360.msg75254#msg75254)
Title: Re: Build animation progress can be bound to HP
Post by: will 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?
Title: Re: Build animation progress can be bound to HP
Post by: Omega on 6 July 2011, 09:17:20
Added to the Wiki (https://docs.megaglest.org/XML/Skills#Be_built).

Note that there's a few other functions that I recently noticed are not documented (https://forum.megaglest.org/index.php?topic=7315.msg75143#msg75143) and need a bit more information from a dev before they can be filled in. Perhaps you could help with that?
Title: Re: Build animation progress can be bound to HP
Post by: titi 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!
Title: Re: Build animation progress can be bound to HP
Post by: Omega 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.
Title: Re: Build animation progress can be bound to HP
Post by: titi on 7 July 2011, 20:41:28
did they had a release yet including this?I think the ir switch is not very speaking ....
Title: Re: Build animation progress can be bound to HP
Post by: Omega 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
Title: ATTENTION!
Post by: titi 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 ....