Skip to content

Conversation

@BlackDog86
Copy link
Contributor

@BlackDog86 BlackDog86 commented Aug 12, 2025

Fixes #1486

Improves X2AllowSelectAllBehavior by:

  1. Allowing the camera to pan to Non-XCom units being controlled by the player
  2. Preventing the re-selection of the player's units when issuing commands to the non-player units
  3. Preventing a softlock caused by ending the turn while X2AllowSelectAll is active
  4. Forcing visibility between all units to improve the control / pathing of non XCom Units

Exclusion of civilians from the command and improved behaviour which breaks xcom concealment + scampers and alerts all aliens (breaking the patrol groups and allowing them to move normally) are also included as optional config flags.

Preliminary testing looks OK - more testing & comments on the code are appreciated.

@BlackDog86
Copy link
Contributor Author

BlackDog86 commented Aug 13, 2025

There is still a small visualizer hang when using a unit controlled by X2AllowSelectAll fires on an XCom Unit (this happens with the base game command as well) - I couldn't find the source of the issue but if anyone can figure out where that comes from it would also be helpful :)

@BlackDog86 BlackDog86 self-assigned this Aug 13, 2025
@BlackDog86 BlackDog86 force-pushed the 1486-Debug-Fixes branch 2 times, most recently from 4195a76 to af32a8d Compare August 13, 2025 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debugging Annoyances

1 participant