Author Topic: Free morph (ignoring resource requirements)  (Read 1040 times)

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Free morph (ignoring resource requirements)
« on: 27 March 2012, 03:25:49 »
svn now allows morph commands to ignore resource requirements for the unit you will morph to. To enable this add this to the command:

Code: [Select]
<ignore-resource-requirements value="true" />
Thanks

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Free morph (ignoring resource requirements)
« Reply #1 on: 27 March 2012, 06:18:17 »
no. I say thanks!. YAY!
WiP Game developer.
I do danish translations.
"i break stuff"

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: Free morph (ignoring resource requirements)
« Reply #2 on: 27 March 2012, 14:27:04 »
Thank you again softcoder!
Annex: Conquer the World Release 4 For Pc Mac + Linux
https://forum.megaglest.org/index.php?topic=9570.0
Annex is now on Facebook!
https://www.facebook.com/AnnexConquer

Mr War

  • Guest
Re: Free morph (ignoring resource requirements)
« Reply #3 on: 30 March 2012, 12:41:58 »
Thanks

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: Free morph (ignoring resource requirements)
« Reply #4 on: 1 April 2012, 02:13:48 »
Tested and works. Please note if you use
Code: [Select]
<ignore-resource-requirements value="true" /> you must have discount value = 0  otherwise you will actually still get the discount % as a bonus when transform is complete.
Annex: Conquer the World Release 4 For Pc Mac + Linux
https://forum.megaglest.org/index.php?topic=9570.0
Annex is now on Facebook!
https://www.facebook.com/AnnexConquer

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Free morph (ignoring resource requirements)
« Reply #5 on: 1 April 2012, 15:16:57 »
Allready used and tested command. Works like a charm.  :thumbup:
WiP Game developer.
I do danish translations.
"i break stuff"