XCOM 2
99 ratings
[WoTC] Encounter List Cleaner
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
37.217 KB
3 Oct, 2023 @ 7:00pm
2 Sep, 2024 @ 4:22pm
12 Change Notes ( view )

Subscribe to download
[WoTC] Encounter List Cleaner

Description
This mod does exactly what it says. It loops over all encounter lists, and removes units that don't have character templates from them. If the game tries to spawn a unit from an encounter list that doesn't actually exist in your game, the game will crash, so this mod prevents that.

Compatibility: This is just OPTC, so should be compatible with everything.

Credits: Thanks to Rusty, SwfDelicious, and Iridar for helping fix my code.
34 Comments
LeyShade 19 Sep, 2024 @ 2:18am 
@Tedster - Seen. Thank you for clarifying. Will do binary test until find whatever is causing the conflict. Super appreciate you validating for us though as this is one of our most invaluable tools for checking others work. Will report back when find issue for purposes of logging what not to do for future users.
Tedster  [author] 18 Sep, 2024 @ 9:14am 
I just tested base modlist with just these 2 mods and Highlander, and it's not removing them. I need logging/further evidence, or it's something in whatever you're doing messing with stuff
Tedster  [author] 18 Sep, 2024 @ 9:08am 
The ChristopherOdd S8 and S9 modlist contains this mod and the Standalone LW Alien Pack, and to my knowledge it works fine.
LeyShade 18 Sep, 2024 @ 6:02am 
It is, without failure or exception, removing any and all units from this mod for no discernable reason, beginning to occour only in the last week since we've returned from abscence.
Tedster  [author] 17 Sep, 2024 @ 8:45am 
The update earlier this month fixed some logging, but it should not be removing anything that has a functioning template.
LeyShade 17 Sep, 2024 @ 3:50am 
Question: Is there any known use case scenarios where this picks up units that are definitely present, but it decides they arent?
Tedster  [author] 14 Mar, 2024 @ 10:47pm 
You don't need this if you're playing LWoTC, but it exists standalone for those not using LWoTC
marshmallow justice 12 Mar, 2024 @ 4:59am 
do you stil need this mod after lwotc 1.1? it says in patch notes 'integrated my new encounter list cleaner mod'
LeyShade 16 Feb, 2024 @ 12:24am 
Thank you for additional debugging tools to help us track down what's broken, possibly beyond the X2 game itself. <3
LeyShade 15 Feb, 2024 @ 9:52am 
@Tedster - Could you DM me an example of what we need to look for, so can trace it back. ELC isn't only thing affected, just trying to find the common reliance that's broken by another.