MegaGlest Forum

Archives (read only) => Glest Advanced Engine => Feature requests => Topic started by: Zoythrus on 9 December 2011, 23:34:23

Title: Organized Upgrades
Post by: Zoythrus on 9 December 2011, 23:34:23
do you think that we can get the ability to sort upgrades much like we can buildings? like: basic upgrades and advanced upgrades, etc.
Title: Re: Organized Upgrades
Post by: silnarm on 11 December 2011, 16:28:03
Doable now.

https://docs.megaglest.org/XML/Commands#Upgrade
Title: Re: Organized Upgrades
Post by: Zoythrus on 12 December 2011, 00:39:22
ok, but can we add tooltips to the produced upgrades?
Title: Re: Organized Upgrades
Post by: Omega on 12 December 2011, 02:21:05
ok, but can we add tooltips to the produced upgrades?
Same way as on produce:
Code: [Select]
<command>
<type value="upgrade" />
<name value="upgrade" />
<image path="images/image.bmp" />
<unit-requirements>
<unit name="my_unit" />
</unit-requirements>
<upgrade-requirements>
<upgrade name="my_upgrade" />
</upgrade-requirements>
<upgrade-skill value="upgrade_skill" />
<produced-upgrade name="my_upgrade" />
<produced-upgrades>
<upgrade name="my_upgrade" tip="my_tooltip" />
</produced-upgrades>
</command>

And yeah, I'll update I updated (https://docs.megaglest.org/index.php?title=GAE/Translating) the wiki.[changes] (https://docs.megaglest.org/index.php?title=GAE%2FTranslating&action=historysubmit&diff=9972&oldid=9623)