Author Topic: Request: removing the "worker mentality"  (Read 1183 times)

Zoythrus

  • Guest
Request: removing the "worker mentality"
« on: 5 December 2010, 00:22:24 »
simple, i could use a way to get a non-combative unit from running away from enemies. practical use? as a cloaked spy. maybe only run away if it's spotted?

you see where im going with this, right?

-Zoy

Psychedelic_hands

  • Guest
Re: Request: removing the "worker mentality"
« Reply #1 on: 5 December 2010, 01:46:59 »
Yes, I noticed that with the Specter as well.
What if only he didn't move so far? Because he is so fast he moves like 1/4 the map haha.

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Request: removing the "worker mentality"
« Reply #2 on: 5 December 2010, 02:06:06 »
As part of the cloaking work, I plan to make all auto-commands toggle-able. Currently you can only turn auto-repair on/off, auto-attack and auto-flee will also be toggle-able soon.

If a unit has an attack command, auto-attack will be enabled by default and auto-flee will not show, if auto-attack is disabled, auto-flee will show up and be set to true.

That should cover your spy, if it has no attack, its as simple as turning off auto-flee, if it has an attack, you'd have to turn off auto-attack and auto-flee.

Automatically changing these in some circumstances might be nice, (like turning auto-flee back on if detected), but this could be tricky to get right, will think about it for a while.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

 

anything