glest-source icon indicating copy to clipboard operation
glest-source copied to clipboard

Implement auto-harvest

Open andy5995 opened this issue 6 years ago • 6 comments

When workers become idle, they should be automatically given the command to harvest the nearest available resource within their sight-range.

andy5995 avatar Jul 01 '18 17:07 andy5995

It could be made so that if no explicit order is given, they go automatically to harvest. In the same way units attack enemies by default. I would also add a range limit, in the same way units don't go attack the enemy base by themselves. For example half the sight of the unit.

On Sun, Feb 10, 2019, 18:17 MathuSum Mut <[email protected] wrote:

Reopened #178 https://github.com/glest/glest-source/issues/178.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/glest/glest-source/issues/178#event-2129310406, or mute the thread https://github.com/notifications/unsubscribe-auth/AE64MH4IQJkKAImvawUrUl3ZyBP414f7ks5vMFQxgaJpZM4U-aQ3 .

biels avatar Feb 10 '19 17:02 biels

Hmm interesting one. Maybe this should only happen if the unit hasn't received an explicit command in a while (could be somewhat long) , or the unit has ben created.

On Sun, Feb 10, 2019, 18:26 MathuSum Mut <[email protected] wrote:

But what if you want your workers to stay where they are during an attack situation? (like hide behind the castle)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/glest/glest-source/issues/178#issuecomment-462153372, or mute the thread https://github.com/notifications/unsubscribe-auth/AE64MP0LlKJkjioVGcddiEjJVMLCELg6ks5vMFY5gaJpZM4U-aQ3 .

biels avatar Feb 10 '19 17:02 biels

i think this is not needed , instead your camera should jump to your worker after pressing "I". if there are idle workers.

ZeoxD avatar Feb 10 '19 17:02 ZeoxD

That is another good option yes

On Sun, Feb 10, 2019, 18:39 ZeoxD <[email protected] wrote:

i think this is not needed , instead oyur camera should jump to your worker after pressing "I"

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/glest/glest-source/issues/178#issuecomment-462154522, or mute the thread https://github.com/notifications/unsubscribe-auth/AE64MKlztSzoW_rQU6gOZAIWNYFVQrpIks5vMFlcgaJpZM4U-aQ3 .

biels avatar Feb 10 '19 17:02 biels