XCOM 2
[WOTC] Ability Editor
Feezec 2021 年 2 月 20 日 下午 11:12
How do I interact with objectives without breaking concealment?
I added the below to XComAbilityEditor.ini

+Abilities = (AbilityName=Interact_PlantBomb, RetainConcealment=AlwaysEvenWithObjective)
+Abilities = (AbilityName=Interact_MarkSupplyCrate, RetainConcealment=AlwaysEvenWithObjective)
+Abilities = (AbilityName=Interact_OpenChest, RetainConcealment=AlwaysEvenWithObjective)

+Abilities = (AbilityName=Hack, RetainConcealment=AlwaysEvenWithObjective)
+Abilities = (AbilityName=Hack_Chest, RetainConcealment=AlwaysEvenWithObjective)
+Abilities = (AbilityName=Hack_Workstation, RetainConcealment=AlwaysEvenWithObjective)
+Abilities = (AbilityName=Hack_ObjectiveChest, RetainConcealment=AlwaysEvenWithObjective)

I started a Hack the Terminal mission through the Skirmish menu.
My concealed Specialist hacks the terminal.
My Specialist lost concealment and the nearby enemies activated.

The only other active mods are Mod Config Menu and XCOM Highlander.
< >
正在显示第 1 - 7 条,共 7 条留言
Boundir  [开发者] 2021 年 2 月 21 日 上午 2:00 
I remember hacking being a two phases ability. Maybe try to apply that same logic to FinalizeHack or I don't know how the ability is called
Lux Manifestus 2022 年 3 月 13 日 下午 12:48 
@Boundir where might this secondary ability name be located in the game files?
最后由 Lux Manifestus 编辑于; 2022 年 3 月 13 日 下午 1:05
Lux Manifestus 2022 年 3 月 13 日 下午 1:05 
@FeeZec, where did you find these ability names, please?
最后由 Lux Manifestus 编辑于; 2022 年 3 月 13 日 下午 1:09
Boundir  [开发者] 2022 年 3 月 14 日 下午 12:38 
XComGame.X2Ability_DefaultAbilitySet.FinalizeHack()
Nyx 2022 年 3 月 18 日 下午 8:16 
Do you happen to know what is the ability to pick up soldiers called? Because I want to modify abilities in order to do objectives without breaking concealment and this is exactly what I need but it's missing picking soldiers (for the compound mission).
Nyx 2022 年 3 月 19 日 下午 12:56 
I managed to find the ability's internal name by scouring through localization files:
These are the ability names for picking up soldiers, I imagine its just a question of following the same logic as the OP's first few lines of ini config.

[CarryUnit X2AbilityTemplate]
LocFriendlyName="Transport d'unité"
LocHelpText="Prenez l'unité ciblée et portez-la."
LocFlyOverText="Unité portée"

[PutDownUnit X2AbilityTemplate]
LocFriendlyName="Dépose d'unité"
LocHelpText="Dépose l'unité portée à vos pieds."
LocFlyOverText="Dépose d'unité"
Nyx 2022 年 3 月 19 日 下午 1:12 
So I've tried it out, and putting a unit will not break concealment with the PutDownUnit, but picking them up still those even tho I have +Abilities = (AbilityName=CarryUnit, RetainConcealment=AlwaysEvenWithObjective) in my config.

I read somewhere that this might be hardcoded (at least for the unconscious VIP in the compound mission)
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50