XCOM 2
[WOTC] ADVENT Suppression (Includes ABA Support)
Wilko  [developer] 27 May, 2020 @ 10:51am
Bug: Advent suppressing whilst suppressed?
You can try adding a check in the mod's XComAI.ini file. Make sure these go below the rest of the code in the file.

; -- Make sure the soldier is not being supressed -- add these two lines +Behaviors=(BehaviorName=AdventIsNotSuppressed, NodeType=Inverter, Child[0]=AffectedByEffect-Suppression) +Behaviors=(BehaviorName=AffectedByEffect-Suppression, NodeType=Condition)

Then we need to update the main AI behavior line:

+Behaviors=(BehaviorName=AdventConsiderSuppression, NodeType=Sequence, Child[0]=NoSuppressingAllies, Child[1]=AnyAlliesVisible, Child[2]=AllShotPercentagesBelow50, Child[3]=RandFilter50Suppression)

To add our new check at the start:

+Behaviors=(BehaviorName=AdventConsiderSuppression, NodeType=Sequence, Child[0]=AdventIsNotSuppressed, Child[1]=NoSuppressingAllies, Child[2]=AnyAlliesVisible, Child[3]=AllShotPercentagesBelow50, Child[4]=RandFilter50Suppression)

Make sure the ordering of the lines is correct (0 - 4)
Last edited by Wilko; 18 Feb, 2021 @ 11:51am
< >
Showing 1-1 of 1 comments
Wilko  [developer] 18 Feb, 2021 @ 11:51am 
Updated to put the suppression check first, thanks PreConceptor for spotting the bug.
< >
Showing 1-1 of 1 comments
Per page: 1530 50