[WOTC] Dark Event Manager

If you liked this item, please rate it up on Steam Workshop page.

Author: FearTheBunnies

Last revision: 6 Aug, 2024 at 21:21 UTC (3)

File size: 201.99 KB

On Steam Workshop

Description:
About This Mod

Very simple mod that allows for disabling Dark Events via config.

Dark Events can also be disabled when Chosen are defeated, so no more Wild Hunt showing up when all three Chosen are defeated! By default, Spider & Fly, Left Behind, Wild Hunt, The Collectors, and Made Whole are added to this functionality.

Config Options
  • DisabledDarkEvents: Simple array that the Dark Event name can be added to turn it off. By default, NO Dark Events are disabled.
  • DLCGatedDarkEvents: More complex option designed for other Mods to utilize where Dark Events can be toggled based upon what DLC/Mods are installed at runtime. By default, NO Dark Events are gated.
  • FLGatedDarkEvents: More complex option that will allow for a Minimum Force Level (FL) and a Maximum FL assigned to a Dark Event. These Dark Events can only become active between these Force Levels.
  • DarkEventTiedToChosen: Simple array of Dark Event names that will be disabled once all three Chosen are defeated. By default, Spider & Fly, Left Behind, Wild Hunt, The Collectors, and Made Whole are added to this array.
  • DarkEventTiedToAssassin: Simple array of Dark Event names that will be disabled once the Chosen Assassin is defeated. By default, Loyalty Among Thieves for the Chosen Assassin is added to this array.
  • DarkEventTiedToHunter: Simple array of Dark Event names that will be disabled once the Chosen Hunter is defeated. By default, Loyalty Among Thieves for the Chosen Hunter is added to this array.
  • DarkEventTiedToWarlock: Simple array of Dark Event names that will be disabled once the Chosen Warlock is defeated. By default, Loyalty Among Thieves for the Chosen Warlock is added to this array.

Config Options (Experimental)

These config options should work as advertised, but if they don’t please let me know in the comments so I can try and debug/fix issues.

  • ForceActivateDarkEvents: Array of Dark Event names to be turned on at all times in a game. Any Dark Event listed here will be disabled from showing up as a choice in normal gameplay, is hidden from the UI, and the effect will always be active. This makes Dark Events more like "game rules" instead of temporary modifiers. Requires loading a Strategy Save or starting a New Game. DO NOT LOAD MID-TACTICAL WHEN ADDING NEW DARK EVENTS TO THIS LIST.

Compatibility
  • Should be compatible with most everything out there. Let me know if you find anything that doesn’t play nice!
  • Fully compatible with No Lost World by Mitzruti which also disables Dark Events. Any Dark Event listed in that mod is functionally equivalent to adding that Dark Event to the DisabledDarkEvents array in this mod.
  • Fully compatible with Chosen Dark Events Fix by RealityMachina which also adds Chosen keep alive checks to certain Dark Events. The Dark Events that mod touches is functionally equivalent to adding the Dark Event to the DarkEventTiedToChosen array in this mod.

F.A.Q.
  • Q: I disabled a Dark Event using Dark Event Manager after it has spawned into my game! Why is it still there?
  • A: Dark Event Manager just modifies the Can Activate criteria of a Dark Event, meaning that when the game goes to add new Dark Events to the list it will ignore the ones that Dark Event Manager disabled. Once it has been added as an active Dark Event, there is nothing that can be done except wait for it to go away on its own.

Thanks
  • Stukov81-T.TV for his Dark Events pack inspiring the need for this kind of configurable control around Dark Events
Download
Required DLC:

These DLC should be installed in order to use this item.


XCOM 2: War of the Chosen
Revisions:

Old revisions of this mod are available below. Click the link to download.