XCOM 2
Ocen: 339
[WOTC] Dude, Where's My Loot?
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
Zaktualizowano
190.083 KB
23 października 2022 o 0:58
9 października o 15:30
Listy zmian: 15 ( zobacz )
Musisz posiadać DLC, aby użyć tego przedmiotu.

Zasubskrybuj, aby pobrać
[WOTC] Dude, Where's My Loot?

W 1 kolekcji stworzonej przez Zelfana
Bugfixes by Zelfana
Przedmioty: 12
Opis
Overview
This mod fixes issues with loot not dropping when it arguably should. Essentially a fixed version of Loot Mind Control.

There are several issues that are fixed:
  • Loot picked up by player controlled units that are not your own soldiers (Double Agent/Volunteer Army/other mission provided units) was lost forever if they survived the mission. That loot is now properly recovered and you won't have to intentionally get them killed anymore. You obviously still have to win the mission or evac the units to recover the loot.
  • Mind controlled / hacked enemies dying while under your control didn't drop any of their loot or corpses. They will now drop their loot and corpses on death like they should.
  • Missions that ended by killing all enemies ended without needing to kill mind controlled / hacked / bleeding out / unconscious / turret enemies but you didn't get their loot or corpses. You will now get those items. This additionally drops robot stage (corpse) loot for live Andromedons.
  • If an unit not on the XCom team happened to pick up timed loot it would not drop it again upon death. That loot will now drop properly.
  • If there are any clones alive of the same Codex that dies it would not drop any kind of loot. Timed loot is now always dropped in such cases. Additionally, if you somehow ended a mission with multiple mind controlled clones of the same Codex one of them will now also drop corpse loot.
  • It was possible for Rulers/Codex/Avatar to not drop their one-of-a-kind loot if they were affected by effects that prevented looting such as Chryssalid Poison (ParthenogenicPoison). These effects are now bypassed for these enemies' loot.

Configuration
<Steam>\steamapps\workshop\content\268500\2878818143\Config\XComDudeWheresMyLoot.ini

Each fix is toggleable separately if needed.

Not enabled by default, you can additionally set mind controlling or hacking an enemy instantly drop their timed or carried loot.

Configure overrides for mission end loot for special case units that don't normally drop (corpse) loot upon death. Default config includes the vanilla Andromedon and its variants from mods.

Configure which templates are allowed to always drop their corpse loot. Default config includes enemies that drop important story items, Rulers and other Ruler-like enemies from mods.

Compatibility
Safe to add or remove at any time. There are no lasting effects of any kind (apart from any loot you were able to recover due to this mod) as this mod only uses event listeners.

Any timed and carried loot recovered is removed from the units so another mod trying to recover those can't duplicate it. In cases of corpse loot being dropped there is no way to know if other mods also made the units drop the same loot but this should be very rare.

All self-cloning unit variants from mods should be handled if they are using X2Effect_ShouldCodexDropLoot which is on the CodexImmunities base game ability or utilize the function AreAllCodexInLineageDead directly.

Andromedon variants handled from mods:

Ruler-like units handled from mods:

Known Issues
  • Corpse loot dropped in Chosen Stronghold part 1 is not recovered. This is difficult to fix while making sure you don't get that loot if you lose the mission.
  • Winning Chosen Stronghold part 2 by killing the Chosen while there are units still alive on the enemy team will end the mission but corpse loot from those alive enemies is not recovered.
  • Killing an enemy with Insanity/Schism and simultaneously rolling mind control on it will not drop any loot. Exact cause unknown, the mod's checks that make sure you won't end up with duplicate loot suggest that the game should be dropping loot in this case but just somehow isn't.

Credits
Credit to -bg- for the original mod although this mod does everything completely differently.

Notes
Remove Loot Mind Control if you're still using it. It does not work correctly and this mod covers everything that mod was supposed to do.

Any other stuff that would normally happen when units die like getting XP or AP obviously won't happen for mind controlled / hacked / unconscious units on missions ending as the units are not actually killed.

Enemies or other units that should not actually pick up loot is not prevented, but they should drop the picked up loot alongside their usual loot.

Let me know if you didn't get any loot this mod is supposed to fix or if you got loot you should not have gotten. Please include as much detail as you can when reporting issues.
Komentarzy: 38
mctrevor 1 grudnia 2023 o 10:12 
Ok I will take your word for it. Thanks!
Zelfana  [autor] 29 listopada 2023 o 5:19 
@mctrevor

That is exactly one of the reasons this mod exists. And that duplication did happen for everyone, not just LWOTC users.

This mod uses a completely different method of retrieving the loot, much better.
mctrevor 28 listopada 2023 o 22:20 
Quick question: [WOTC] Loot Mind Control leads to duplicating corpses in full salvage missions in LWotC (Long War of the Chosen). Does this mod fix this behaviour, too?
LeyShade 22 listopada 2023 o 14:53 
@solvius90 - each loot is tied specifically to an enemy as part of its functioning to drop the loot.

You can change 'what' loot is dropped by each individual enemy however, by creating a loot table containing all the items you want and pointing each individual enemies loot entries to it.
solvius90 16 listopada 2023 o 9:12 
How can edit in the config a universal drop chance for all enemies, and not for each one separately (sectoid, viper and others)?
solvius90 16 listopada 2023 o 9:08 
Ok. Thanks. When i delete loot piñatas core started to drop normaly. As I understand it, in order for my loot to be varied, I need to register the chance of its drop in the config myself. And for each enemy separately. Damn, that's a lot of lines in the config. Although it’s not as difficult as with other games (like Original Sin 2 where you need to open a mod using a program, there are no simple configs)
Zelfana  [autor] 14 listopada 2023 o 10:45 
@solvius90

You have probably diluted your loot pool with Loot Pinatas so you get a lot of random items instead of Elerium Cores. I would suggest you just remove it.
solvius90 10 listopada 2023 o 11:48 
I can't figure out the loot. I have different mods for loot (psionics ex machina, mele attachments, suppressors, shield attachments, tela loot). And when I run mods for sorting loot (dude were is my loot, loot piñatas) my elerium cores are missing.
I want the loot to be varied. Can you recommend anything?
Cyber Von Cyberus 3 listopada 2023 o 12:23 
Mucha Gracias Amigo.
Trivial Man 29 marca 2023 o 1:20 
I probably won't be able to play XCOM for a little while, but I appreciate you working on this seemingly at my prodding. I guess that initial report was probably just my faulty memory or something. And on the off chance I do ever see anything like it again I'll take much more thorough note of what exactly happened.