Fallout 4
0 of 0

File information

Last updated

Original upload

Created by

Rengren

Uploaded by

rengren

Virus scan

Safe to use

About this mod

More options for LootMan: Not Looting From Settlement Hotkey, Loot delivery by type and a few more

Requirements
Permissions and credits
Changelogs
First, thank to EideeHi for LootMan mod.

Added
:
  • An option to force "Not Looting From Settlement" when reaching a Settlement. With this, the option "Not Looting from settlement = off" is valid only while you are in one settlement, if you travel to another one, it changes to On.
  • A Hotkey to toggle "Not Looting From Settlement".
  • Options to decide how to evaluate if you are in a settlement or not. The original mod uses 2 keywords: LocTypeWorkshopSettlement OR LocTypeSettlement. Which ends up being very extensive. It allows to choose between the original way, only LocTypeWorkshopSettlement (which is required to invoke WorkshopParent) or also require player.IsWithinBuildableArea and workshop.OwnedByPlayer.
  • Options to select Loot delivery by type. The option of "Loot Is Deliver To Player" is eliminated.
  • A check to prevent full execution of Looting (added in original mod Version 2.2.0) Update functions in VATS. It helps with Vats freeze bug. It's not a problem in the mod but of Vats
Comments:

There are messages that should be there but were not in the original mod. I don't want to overwrite the esp file or add another file so this part stays like this. Changes occur in 3 scripts and the MCM configuration. I put almost everything in variables because it is much simpler to go to the console and run 
sqv LTMN_Properties WhateverImLooking
to see what's going on than to enable debug in my heavy modded play.

I started this mod to solve a couple of problems in my game. First, I was constantly forgetting to change the "Not Looting From Settlement" option. I'm looting in Red Rocket but when I came back to Sanctuary the looting continue. Thats why I implemented Force option and Hotkey. Now, If you want to loot in a settlement, press the hotkey to enable looting and it will be disable automatically when your location change.
I also suffer a lot with the infamous Vats freeze bug. It's not a problem with Lootma mod or not exclusive. But a simple check to prevent creation of new process on Vats is worthy.
Original mod define IsInSettlement using keywords IsInSettlement = (LocTypeWorkshopSettlement OR LocTypeSettlement) . Thats why all Diamond City, including some exterior area count as "IsInSettlement". Its too much for my taste. Using only LocTypeWorkshopSettlement is somehow better. But if you go to Bunker Hill the area marked with LocTypeWorkshopSettlement is huge. Also, I like too loot empty settlements like Starlight or Red Rocket before take ownership. I prefer to use buildable area. There is a catch, though. When using keywords, we only need to check player location, they are big areas. To check buildable areas, we need to verify player posicion. Its not a big deal. Looting process involve thousands of instructions. Adding a few instructions and check player.IsWithinBuildableArea(workshop) does'nt change much. But I think it is worth mentioning. Also, original mod use the variable NotLootingFromSettlement inside of dll plugin. To make my script works I added a NotLootingFromSettlementUser variable to trick dll check. Inside dll plugin there are some checks of trespassing of something (I didn't read the whole thing) based on player cell. I guess this prevent looting from corps in certain places. Nothing I can do.
Delivery by type thing add some extra work. Its pretty much like Utility thing. If we set some stuff to player and other to workshop we will have 7 move operations. If we set everything to either one of them it'll be like original mod.
I try to keep modification at minimum. There's are some redundancy and space for little optimization or clarity. But I tried to stay as close as possible to the original code so that I could edit new versions easily. 

Installation 
Installation must be pretty simple. My modifications are three scripts and MCM configuration.  Its save to apply middle game, but maybe you will need to travel to different locations and update some MCM setting to settle everything.