XCOM 2
82 ratings
[WotC] Configurable Objective Health
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
119.235 KB
14 Apr, 2021 @ 11:16am
18 Aug, 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.
28 Comments
Phoenix 7 Jul @ 12:21am 
So on Avenger Assault, the tanks and power generator health bars show up incorrectly. They're 24/18 and 64/48 and the preview when going to shoot them shows that you'll do zero damage as well. Is there a way to fix this maybe?
https://imgur.com/a/SQtS7C0
https://imgur.com/a/33oHytH
https://imgur.com/a/JD1FEZP
LightenedDark 24 Jun @ 3:01pm 
sectopods and andromedons, etc can still walk in its square and instantly destroy a 100 hp protect the device, right?
TePª  [author] 23 Oct, 2023 @ 3:21am 
Thanks for investigating! Added a note.
Hjoyn 22 Oct, 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] 21 Oct, 2023 @ 3:37pm 
Yep, and that makes it harder to find the cases when it doesn't work right
Hjoyn 21 Oct, 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] 21 Oct, 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 21 Oct, 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 20 Jan, 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] 20 Jan, 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.