Skip to content

SmartOverwatchAll XComAI.ini

Michal Bazynski edited this page Sep 26, 2021 · 2 revisions
[XComGame.X2AIBTBehaviorTree]
+EquivalentAbilities=( KeyName=Overwatch, EquivalentAbilityName[0]=LongWatch )

+CustomNodes=(NodeTypeString=SmartOverwatchAllCondition, ExtendsFromType=Condition, ClassName="SmartOverwatchAll.X2AIBTConditions_SmartOverwatchAll")

+Behaviors=(BehaviorName=ShouldReload, NodeType=SmartOverwatchAllCondition)

+Behaviors=(BehaviorName=SelectAbility-PistolOverwatch, NodeType=Action)


+Behaviors=(BehaviorName=SelectAbility-OneForAll, NodeType=Action)
+Behaviors=(BehaviorName=SelectAbility-SteadyWeapon, NodeType=Action)
+Behaviors=(BehaviorName=SelectAbility-Stock_LW_Bsc_Ability, NodeType=Action)
+Behaviors=(BehaviorName=SelectAbility-Stock_LW_Adv_Ability, NodeType=Action)
+Behaviors=(BehaviorName=SelectAbility-Stock_LW_Sup_Ability, NodeType=Action)
+Behaviors=(BehaviorName=SelectAbility-SniperRifleOverwatch, NodeType=Action)
+Behaviors=(BehaviorName=SelectAbility-SnapShotOverwatch, NodeType=Action)
+Behaviors=(BehaviorName=SelectAbility-FastReload, NodeType=Action)


+Behaviors=(BehaviorName=ConsiderReload, NodeType=Sequence, \\
    Child[0]=NotLastActionPoint, \\
    Child[1]=ShouldReload, \\
    Child[2]=SelectAbility-Reload)

+Behaviors=(BehaviorName=SmartOverwatchAll, NodeType=Selector, \\
    Child[0]=ConsiderReload, \\
    Child[1]=SelectAbility-SteadyWeapon, \\
    Child[2]=SelectAbility-Stock_LW_Bsc_Ability, \\
    Child[3]=SelectAbility-Stock_LW_Adv_Ability, \\
    Child[4]=SelectAbility-Stock_LW_Sup_Ability, \\
    Child[5]=SelectAbility-SniperRifleOverwatch, \\
    Child[6]=SelectAbility-SnapShotOverwatch, \\
    Child[7]=SelectAbility-Overwatch, \\
    Child[8]=SelectAbility-PistolOverwatch, \\
    Child[9]=SelectAbility-HunkerDown, \\
    Child[10]=SelectAbility-OneForAll)