Skip to content

Soldier bond resetting behaviour #1553

@BlackDog86

Description

@BlackDog86

If a unit is captured by the chosen and is later rescued, existing bonds are preserved.

However, if a unit is captured by a different (e.g. modded) unit type or by being left on a mission, their bond data is reset:
XComGameStateContext_StrategyGameRule::SquadTacticalToStrategyTransfer line 635:

				if(UnitState.ChosenCaptorRef.ObjectID == 0)
				{
					class'X2StrategyGameRulesetDataStructures'.static.ResetAllBonds(NewGameState, UnitState);
					AlienHeadquarters.CapturedSoldiers.AddItem(UnitState.GetReference());
				}

Propose to add a config toggle to allow this behaviour to be adjusted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions