Author Topic: How can i prevent, that the Enemy is walk to me and attacks automaticly?  (Read 1684 times)

Arch Mage

  • Guest
Im making a Frozen Cave level with a big Ice Golem(Boss) to play with friends on Multiplayer against him.
But i wont have the Ice Golem automaticaly searching us

Sorry for noob-englisch ;D

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
In multiplayer, it is impossible. Though I've NEVER seen the golem try to seek someone out before. It SHOULD stay in its base and only attack once you're close enough. If necessary, it's possibly to use a lau scenario and the disableAi() function.

http://glest.110mb.com/lau.php
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Quote
Though I've NEVER seen the golem try to seek someone out before.

........Your blind.........aren't you......... ::)
The AI will usually send a daemon, battlemage, or initiate, I've rarely but certainly seen the AI try to send the Golem as a searcher.
If there are no other units to search for the enemy with, then the Golem must go.
Egypt Remastered!

Proof: Owner of glest@mail.com

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Hmm, interesting. I've never ran into such a scenario. There's almost always more than just the golem left. The computer seems to treat the golem more like a building than a unit in my cases. The only way that the daemon would be the only unit alive would be if I had attacked them, in which case the golem would be one of my first targets. Even if they did send the golem to attack, it'd never reach my base. I mean, it can take ten steps before having to wait ten seconds per step!
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Arch Mage

  • Guest
The Golem is very strong with huge Healthpoints and Fast regeneration
He is figthing very slow, but makes high Damage with big Radius

He Just should stay on the Frozen Hill which i made for him, until we/i attack

Arch Mage

  • Guest
I tried it out, and he won't attack automaticly^^^^