Skip to content

Conversation

@Stubbjax
Copy link

@Stubbjax Stubbjax commented Nov 19, 2025

This change preserves unit behaviour when a player's assets are transferred to an ally player.

Transferred assets run through the onCapture logic, which tells them to idle in order to prevent undesirable circumstances like captured enemy objects continuing counterproductive tasks against the capturing player (e.g. we don't want a Dragon Tank to keep flaming our base when we hijack it). Some of these tasks are somehow preserved anyway, such as construction and capturing, while others are not, such as hacking, moving and attacking.

In the retail game, this idle-on-capture logic does not take ally asset transferal into consideration, in which case continued behaviour is always valid and desirable. A player will often want to give some of their units some final tasks before they surrender in order to give their ally a helping hand, such as moving workers to safety or attacking a target. Players especially always want their Hackers to keep on hacking. With this change, such tasks are now maintained as expected when transferred to an ally.

Before

Hackers cease hacking when transferred to an ally

CEASE_HACKING.mp4

Units stop movement and attack orders when transferred to an ally

CEASE_TASKS.mp4

After

Hackers continue hacking when transferred to an ally

CONTINUE_HACKING.mp4

Units continue movement and attack orders when transferred to an ally

CONTINUE_TASKS.mp4

@Stubbjax Stubbjax self-assigned this Nov 19, 2025
@Stubbjax Stubbjax added Bug Something is not working right, typically is user facing Design Is a matter of game design Minor Severity: Minor < Major < Critical < Blocker Gen Relates to Generals ZH Relates to Zero Hour NoRetail This fix or change is not applicable with Retail game compatibility labels Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something is not working right, typically is user facing Design Is a matter of game design Gen Relates to Generals Minor Severity: Minor < Major < Critical < Blocker NoRetail This fix or change is not applicable with Retail game compatibility ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant