Author Topic: [done] Dropping off resources by clicking buildings  (Read 2141 times)

Hagekura

  • Archmage
  • ******
  • Posts: 524
    • View Profile
    • Hageus_Iaponicus(@Hageus_Hagekura)さん | Twitter
[done] Dropping off resources by clicking buildings
« on: 18 June 2012, 04:10:08 »
Could you make the workers be able to drop off harvested resources by clicking the certain buildings?
It may be useful when your base is attacked by enemies, and urgently needed to order workers to assemble gathered resources and evade them.
« Last Edit: 12 February 2013, 08:45:57 by softcoder »
Bushido to iu wa shinu koto to mitsuketari.

Japanese Faction Mod

Pizza90

  • Draco Rider
  • *****
  • Posts: 282
    • View Profile
Re: Dropping off resources by clicking buildings
« Reply #1 on: 18 June 2012, 20:26:58 »
This is an interesting feature, but what do you suggest to avoid accidental clicking causing all the workers stopping to build? It would be annoying if it would happen because of a mistake and it would become frustrating if it would happen often! What about gathering just the idling workers to the main building? (or to the closest main building in case there are more than one).
« Last Edit: 18 June 2012, 20:32:03 by Pizza90 »
I translated Megaglest in italian and i keep the translation updated.

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: Dropping off resources by clicking buildings
« Reply #2 on: 19 June 2012, 01:05:51 »
This is a good idea! Would probally be a skill on the structure with a button that would display next to meeting point this should minimize accidental clicking. A recall to base wouldn't be very useful if it only affected idle units in my opinion..
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

Hagekura

  • Archmage
  • ******
  • Posts: 524
    • View Profile
    • Hageus_Iaponicus(@Hageus_Hagekura)さん | Twitter
Re: Dropping off resources by clicking buildings
« Reply #3 on: 19 June 2012, 05:56:48 »
I'm sorry, my point was not clear.
I wanted to say about more simple function.
Currently workers harvesting resources don't return to main building until their load become full, or once cancel their harvesting order and command harvesting order again. It's inconvenient when the emergent need of correct resources and evacuate workers.

So I want that order workers to return to main building and drop off resources by selecting the target workers, then  simply clicking main building like castles.

But "Ringing alarm bell" like feature which Ishmaru mentioned will be also very interesting. I remember Rise of Nations and AOE had such features. If possible, I also want it.
Bushido to iu wa shinu koto to mitsuketari.

Japanese Faction Mod

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Dropping off resources by clicking buildings
« Reply #4 on: 19 June 2012, 22:09:35 »
I'm sorry, my point was not clear.
I wanted to say about more simple function.
Currently workers harvesting resources don't return to main building until their load become full, or once cancel their harvesting order and command harvesting order again. It's inconvenient when the emergent need of correct resources and evacuate workers.

So I want that order workers to return to main building and drop off resources by selecting the target workers, then  simply clicking main building like castles.

But "Ringing alarm bell" like feature which Ishmaru mentioned will be also very interesting. I remember Rise of Nations and AOE had such features. If possible, I also want it.
Concerning the original feature proposal, I agree that it would be useful. I didn't realize we didn't already have such a feature. However, I fail to see how well an "alarm bell" feature like that of AoE would work. If it only affects idle workers, then it's likely useless in most cases (dunno about most of you, but if a sizable portion of my workers are idle, I'm probably doing something wrong). As well, that only really worked in AoE because the workers would enter the main building and shoot arrows out from it. MegaGlest doesn't have transport units. And if the ringing bell did affect harvesting units (we'll assume we want to keep repairing/building units where they are), there's still the question of where the units will go. If the workers are all outside of the foe's range, then they're just losing production to abandon their harvesting while they weren't threatened.

The way I see it, in order for a ringing bell function to have any plausible use, there'd need to be transport units (to garrison the workers inside the building), units would have to be able to fire out of garrisoned buildings (hint, steal GAE's code), it'd have to be possible to add an attack skill to units only when they're inside that building (don't want workers normally attacking, right?), and the workers would have to be able to return to their locations once the alarm bell function is turned off (that means continuing the resource they were building, etc). Preferably there'd also be an option to determine whether or not resource harvesting units are affected by that, preferably an ingame toggle. Overall? Sounds like an awful lot of work. But the "right click a building to return carried resources" function definitely sounds good.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

Hagekura

  • Archmage
  • ******
  • Posts: 524
    • View Profile
    • Hageus_Iaponicus(@Hageus_Hagekura)さん | Twitter
Re: Dropping off resources by clicking buildings
« Reply #5 on: 20 June 2012, 03:25:28 »
But the "right click a building to return carried resources" function definitely sounds good.
Yeah, this is it!
Bushido to iu wa shinu koto to mitsuketari.

Japanese Faction Mod

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Dropping off resources by clicking buildings
« Reply #6 on: 12 February 2013, 08:45:40 »
This is now implemented in svn rev#: 4115

If a unit has some resources loaded and you select the unit and rick click on a store house that stores that resource, the unit will return the resources he has on hand and automatically continue getting more.

 

anything