MegaGlest Forum

Archives (read only) => Glest Advanced Engine => Feature requests => Topic started by: RealtimeFreak on 13 June 2010, 12:35:22

Title: Unit Created Finished Sound?
Post by: RealtimeFreak on 13 June 2010, 12:35:22
Hello together,

i have a small Question,
there is a possibility,
per unit type, a created finished sound adjustable?
are it a special skill for?

what i mine:
so if the unit created procedure ends, then plays a Sound without loop
Title: Re: Unit Created Finished Sound?
Post by: silnarm on 13 June 2010, 13:05:35
You can set a sound for when buildings are built, in the <command> xml node, with a <built-sound>

Will create a ticket to do the same for produce & morph.
Title: Re: Unit Created Finished Sound?
Post by: RealtimeFreak on 13 June 2010, 14:26:51
yes, i know
but, its not for a building
ok, you mean i shall a ticket creating?

thank you nevertheless silnarm,
Title: Re: Unit Created Finished Sound?
Post by: silnarm on 14 June 2010, 05:58:33
I created a ticket, in 0.3 you'll be able to do the equivalent of <built-sound> with produce and morph, #133 (http://sourceforge.net/apps/trac/glestae/ticket/133). There is also another produce/morph related ticket to make it possible to specify produced/morphed units in a sub-menu as the build command currently does, #113 (http://sourceforge.net/apps/trac/glestae/ticket/113).

Cheers
Title: Re: Unit Created Finished Sound?
Post by: ZaggyDad on 19 June 2010, 01:35:00
Or you could add something like <finished-sound> as part of the command node, so that you could make a sound play at the end of any type of command you want one on. And then if you add another type of command that it may be suitable to have a sound on, you wouldn't need to add the sound property to the command type.
Title: Re: Unit Created Finished Sound?
Post by: silnarm on 19 June 2010, 11:54:40
Or you could add something like <finished-sound> as part of the command node, so that you could make a sound play at the end of any type of command you want one on. And then if you add another type of command that it may be suitable to have a sound on, you wouldn't need to add the sound property to the command type.

Yep, that makes perfect sense, will do.  Upgrade is another that we'll want this on.