FAForever / FAForever/fa

Adjust selection of buildings when having engineers of multiple tech / factions

Aperta
#3,501 4 commenti 0 reazioni 1 assegnatario Rivendicata da @Garanas Vedi su GitHub
Lingua principale
Lua
Stelle
264
Fork
260
Merge medio
3g 2h
PR unite (30g)
21

Descrizione

This issue originates from the [forums](https://forum.faforever.com/topic/2714/the-function-of-automatically-building-mass-storage-around-the-miners/29).

It involves these lines of code in [gamemain.lua](https://github.com/FAForever/fa/blob/deploy/fafdevelop/lua/ui/game/gamemain.lua#L541). The idea is that:
- When having engineers of multiple factions selected, the most common faction / the faction with the highest tech / the faction with the most build power is chosen and other engineers that can not construct these buildings will assist.
- When having engineers of multiple techs selected, the highest tech is chosen and available and other engineers that can not construct buildings will assist.

It is do-able, but tricky:
- How do we take into account other factions (nomads, SCTA).
- How do we queue up structures when some can be build but others can not?
- How do we prevent guard orders from being lost (this happens and is sadly engine related).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.