Author Topic: AI breaks on multiple units with a build skill  (Read 856 times)

FreshDumbledore

  • Guard
  • ***
  • Posts: 61
    • View Profile
AI breaks on multiple units with a build skill
« on: 22 May 2014, 17:33:41 »
-- did the improved units xml from scratch (standard worker template). works now building from pyramid. once i redo it with morphing bugged again --

Hi,

in my Tower Defense mod/tree i created an improved worker which can be morphed out of the standard worker.
Works fine with humans but the AI breaks having two units that could build avaible (even if none is in game! the ability to morph to or if it is possible to build it somewhere is enough).

AI will put down 2-3 buildings in the beginning and then just harvest for infinity.

Works fine again if i remove build skill on morphed unit or the morphed unit itself. Or every possibility to create the morphed unit.

Also tried to give the build skill on the morphed another name, no difference.

regards

###
thinking about it, i had no problem mixing thrull and indian worker, both having a build skill. still the behaviour described above occurs just like that :-l
« Last Edit: 22 May 2014, 18:18:37 by FreshDumbledore »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: AI breaks on multiple units with a build skill
« Reply #1 on: 26 May 2014, 11:41:37 »
This must be something else. The indians have a Shamen which can build beehives, so there are two "workers".
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

FreshDumbledore

  • Guard
  • ***
  • Posts: 61
    • View Profile
Re: AI breaks on multiple units with a build skill
« Reply #2 on: 27 May 2014, 18:22:25 »
any advice what i could test? as written above, removing the morph ability on worker1 to worker2 makes em build .. better while its completly broken having the morph ability.
its still not perfect as they dont use any build menues except the first one, but fair enough for games vs cpu.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: AI breaks on multiple units with a build skill
« Reply #3 on: 15 September 2014, 08:46:05 »
Did you find the problem or is it still a bug ?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios