Author Topic: Teams/Units: Sharing resources/Caravan units  (Read 1518 times)

ChupaReaper

  • Guest
Teams/Units: Sharing resources/Caravan units
« on: 26 September 2010, 23:15:53 »
Units that can pick up a chosen amount of supplies and transport them to another store would be interesting, this can then be expanded so that they can transport supplies to allied stores too so you can basically give away resources that you don't need but your buddy does.

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Teams/Units: Sharing resources/Caravan units
« Reply #1 on: 5 October 2010, 14:20:21 »
Units already have everything needed, a load type and count, so this would just need a single new command type (for the caravan unit).

Target is 0.5 though, 0.4 has grown too big already and may need to be trimmed down...

Ticket 221.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

ChupaReaper

  • Guest
Re: Teams/Units: Sharing resources/Caravan units
« Reply #2 on: 5 October 2010, 19:34:31 »
Cool could this pick up from other units that have resources and drop into other units maybe allied units too. Also there should be flag so it can't pick up for workers (or can only pick up for workers -for units that carries resources for workers, that would be interesting, like the ox in Stronghold lol)
Maybe flags for whether they can deliver to allied units and other controls like that.
Basically harvesting other units (not map units) and delivering to other units, what it can harvest and whether it can deliver to should be stated in a list and whether it can deliver to or pick up from allies. Units that store resources would need a flag to tell other factions that they can only deliver to them too.
« Last Edit: 5 October 2010, 19:36:28 by ChupaReaper »

Zoythrus

  • Guest
Re: Teams/Units: Sharing resources/Caravan units
« Reply #3 on: 2 November 2010, 03:04:51 »
i think it should be similar to Age of Empires 2, that would make stuff easier