XCOM 2
81 ratings
[WotC] Configurable Objective Health
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
119.235 KB
Apr 14, 2021 @ 11:16am
Aug 18, 2021 @ 3:16am
6 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WotC] Configurable Objective Health

Description
What it do?
Allows you to configure all Destroyable Objectives HP-values.
The changes made by Configurable Protect Device are already included with the same default values, making that mod redundant, and probably incompatible.

Most of the functionality was adapted from the similiar feature found in Long War of the Chosen.

Compatible with RedDobes Chosen Avenger Defense Revamped.

Why it do?
Because the Disruptor thingy in Avenger Defense and the Chosen Sarcophagus don't have enough health for lategame or bigger squads.

Configuration
Default Values:
  • Avenger Defense; with 20 > 40 > 60hp starting from FL1 > 9 > 16. Vanilla is always 16hp (on legend).
  • Chosen Sarcophagus, with 80 > 100 > 120hp starting from FL1 > 15 > 19. Vanilla is always 80hp (on legend).
  • Protect Device; same as Configurable Protect Device, so 32 > 48 > 72hp at FL 1 > 7 > 13.
  • Destroy Relay; same as Configurable Protect Device, so 6 > 12 > 18hp at FL 1 > 7 > 13.
  • Avenger Assault ACV 18 > 24 > 32hp from FL1 > 15 > 19. Vanilla is always 18hp.
  • Avenger Assault Gun 48 > 64 > 72hp from FL1 > 15 > 19. Vanilla is always 48hp.
Beta-Strike will quadruple these values, so set the hp to 1/4th of the desired HP when using it

Example snippet of the configuration from XComGame.ini:
[ConfigurableMapObjectiveHP.X2EventListener_ObjectiveHP] +ObjectiveOverride = ( \\ MissionNames[0] = "DestroyRelay", \\ Rules[0] = (HP = 6, MinFL = 1), \\ Rules[1] = (HP = 12, MinFL = 7), \\ Rules[2] = (HP = 18, MinFL = 13), \\ ObjectiveNames[0] = "Mission_Assets.DestroyObject.Toughness_AlienRelay_T1", \\ ObjectiveNames[1] = "Mission_Assets.DestroyObject.Toughness_AlienRelay_T2", \\ ObjectiveNames[2] = "Mission_Assets.DestroyObject.Toughness_AlienRelay_T3" \\ )

Explanations also found in XComGame.ini:
MissionNames : List of MissionNames where these rules should apply ObjectiveNames : List of Toughness Archetypes that we want this group to change Rules : List of ForceLevel Specific rules HP : Desired Objective HP MinFL : Minimum (inclusive) FL

Most likely Incompatible Mods
  • Long War of the Chosen - as mentioned, it already has this functionality included.
  • Configurable Protect Device - Redundant with the default configuration, run both at your own risk.
26 Comments
TePª  [author] Oct 23, 2023 @ 3:21am 
Thanks for investigating! Added a note.
Hjoyn Oct 22, 2023 @ 2:51pm 
I did some testing, and it seems that beta strike applies a 4x multiplier to the value set in your configs for the hp of the protect device objective. I don't know if this applies to other stuff as well yet. It might be something to add a comment in the configs or take into account in the code. Save reload did not impact the hp.
TePª  [author] Oct 21, 2023 @ 3:37pm 
Yep, and that makes it harder to find the cases when it doesn't work right
Hjoyn Oct 21, 2023 @ 3:35pm 
I wasn't using lwotc, but nor did I try a reload. If I run into it again, I'll try a reload, but it's quite difficult to get the game to actually show me the hp of environmental objects like the objective.
TePª  [author] Oct 21, 2023 @ 10:37am 
Beta strike is weird and does some funky scaling to destructible hp... didn't bother to check further
- Or -
You are using this with LWotC and there are 2 conflicting truths and nobody knows which is used
- Or -
it just sometimes doesn't work and a save&reload fixes it xD
Hjoyn Oct 21, 2023 @ 10:24am 
When playing with beta strike, a protect device objective configured to have 24 hp instead had 100 hp. Any idea what's going on with this?
TOMekbok Jan 20, 2023 @ 10:36am 
hmm my mistake then. Back when it was installed on my laptop I managed to edit the HP of sacrophagus thingy in an ini file. But now I can't find it
TePª  [author] Jan 20, 2023 @ 9:08am 
Not sure what you mean, the XComGame.ini mentioned in the description is a part of the mod, and can be found in the mods' directory.
TOMekbok Jan 20, 2023 @ 8:28am 
Ah apologies, meant the game files.
TePª  [author] Jan 20, 2023 @ 2:40am 
Using the Alternate Mod Launcher (AML), you can see all the configuration files any mod has with it's configuration editor or you can open the mod directory from there.

If for some reason you are NOT using AML, the path is steamapps/workshop/content/268500/2457141938/Config