Create an account

NPC Loot Claim V1.0.6.2 (bugfix)  

Upload: 22 May 2022, 10:17
Created by: Nullblank [X]
Uploaded by: Aqxaro
NPC Loot Claim V1.0.6.2 (bugfix)

Original mod by Vintar. Please let me know if you encounter any bugs.


This is a continued version of Vintar's NPC Loot Claim 1.0.5
Original : Moddb.com

Important!

If you want a version WITH inventory sorting addon compatibility (RavenAscendant's Addon)
You can download it from here: Github.com

Current Version Changelog

  • Added compatibility for RavenAscendant's Sorting addon
  • Fixed conflict with RavenAscendant's Sorting addon
  • Fixed Sorting reverting back to being unsorted after opening any UI
  • Trader UI is completely fixed.
  • Removed Workaround for trader UI.
  • Player Inventory UI still needs work, left workaround until fixed in future releases.
  • Fixed CTD when attempting to loot claimed bodies then opening your inventory.

Updates

  • v1.0.6.2 (Bugfix) - Fixed many CTD bugs / cleaned up code just a little.
  • v1.0.6.1 (Bugfix) - Missed a few crashes and issues. Thanks MarqØ, for pointing it out.
  • v1.0.6 (Release) - Patched trade exploit / Removed unnecessary callbacks / Removed unnecessary functions.

The mod description have all been taken from the original ModDB page.

Description

Note from continued author:
The goal of this continued version was to fix the exploit where if you attempt to loot a claimed body, then talk to a Trader, you could loot their shop items as if you were looting bodies. This continued version also fixes some of the rare crashes players get.

In vanilla Anomaly, NPCs don't claim bodies before they actually loot them, and are apparently okay with you stealing all of their loot right in front of them. Besides being unimmersive, this can break game balance by giving the player a ton of loot for free. This addon changes that by adding claims and preventing looting of other's kills under certain circumstances. You can freely loot your own kills, but trying to loot others' kills will be discouraged.

I also suggest setting the gameplay - general setting "corpse loot distance" to the max possible (25m), so that other NPCs are less likely to physically steal your loot.

How it works:

  • When a STALKER dies, their body's loot is claimed by both the killer's squad and the victim's remaining squadmates. Only factions neutral to the player can make claims. If the actor killed the victim, no claims are made by any NPCs, and the body can be freely looted by the player
  • If both the killer's squad dies, and the victim's squadmates die, then any allies of theirs within 50 meters will claim the body

  • If no allies of the victim/killer exist within 50m, the body is unclaimed and the actor can loot it freely

  • Attempting to loot a claimed body will prevent you from doing so, and you will be warned by one of the NPCs claiming it.

  • Attempting to loot the same claimed body 3 times (not necessarily in a row!) will cause the NPC to issue a final warning

  • Attempting to loot the same claimed body 4 times will cause the claiming squad to turn hostile to you. However, you will then be allowed to loot the body. You will lose some reputation and goodwill (-10) with the claiming faction for being a known thief/looter.

Compatibility:

  • Can be safely installed/uninstalled mid-game without issue. Leaves no traces in savegame files.
  • If the game crashes, this is only at the first run/rare occurrence. Just start the game again and it should work just fine.

To install :

  1. Install the 'gamedata' folder from 'NPC Loot Claim - Main'.
  2. (Or) Use Mod Organizer 2.

GitHub

Comments
The minimum comment length is 10 characters.