banner
Rating
Voted0

Damage Threshold Patcher

0
Mod version:1.2
Game version:all
The mod has been successfully tested for the absence of viruses
18249.93K483.87K

Report mod

  • image
  • image
  • image
  • image
modalImage

About This Mod

The damage threshold, or simply DT, is a mechanic introduced in Fallout: New Vegas in addition to the damage resistance of DR. This is a flat number subtracted from damage taken before applying DR. It even allows you to completely undo damage if it is less than the total amount of DT, so a weak weapon, such as a 10mm weapon, will not cause you any harm if you wear heavy armor. And it affected both the player and enemies in the armor. Unfortunately, Bethesda removed it from Fallout 4, but thanks to TheTalkieToaster and his Damage Threshold, this mechanics is back.

The only problem is to add it to existing and modified armor. This will require the support of all mod authors creating new or modifying existing armor (which is unlikely to happen), and will lead to a crazy number of compatibility patches.

Another, more versatile approach is to create a global dynamic patch to be downloaded by the user, which will automatically calculate and add DT to all armor, for any existing and future mods on armor. This is where the patcher comes in.


Damage threshold patcher is a script for FO4Edit that creates an ESP patch plugin to add DT values to armor and creatures, DT is calculated as follows

DT = DR. * fDTMult + iDTAdd where

DR. is the average of all armor damage resistances greater than or equal to the armor rating and iDRMin

fDTMult - multiplier, the result is rounded to the upper integer. Default is 0.1

iDTAdd is a simple additional value. Default is 0

Let's say we have armor with DR. = 12, then 12 * 0.1 = 1.2, upper rounding to 2. Then 2 + 0 = 2, so the resulting DT=2 for this armor.


These parameters can be customized to your liking at the top of the script, and there are additional parameters that control DT distribution

iDTCap is the maximum value for DT. The default is 5, which applies only to armor. Creatures have no maximum.

iDRMin - armor/piece with DR. < iDRMin will not receive DT. Default 5

iPatchPowerArmor - 1 - PA patch, 0 - do not patch. Read Damage Threshold's fashion description on DT's health issues and power armor. There are solutions, but if you're still afraid to use DT on PA, you can completely disable patches.

fDTMultNPC is an additional multiplier for DT, which creatures receive to compensate for the fact that they don't normally wear armor.



Usage


1. Download and unpack FO4Edit anywhere you don't have it yet. Extract the DT patcher script to the Edit Scripts folder in FO4Edit.

2. Download and install Damage Threshold, activate Damage Threshold.esm plugin in the mod manager.

3. Start FO4VEdit, wait for the download to complete. In the left pane, select the plugin(s) you want to patch using Shift+Click, or you can click anywhere in the left pane and press Ctrl+A to select all plugins (preferred method).

4. Right-click on the selected plugin, select Apply Script from the pop-up menu.

5. Select "Fallout 4 - Damage Threshold Patch" from the drop-down list. If it's not there, you put it in the wrong place in step 1, check again.

6. Click OK and wait for the operation to finish, and the message "Apply script done" will appear in the message log. During the execution of the script, it will ask you to enter the name of the patch ESP file and add the wizard, confirm all.

7. Exit FO4Edit and save the generated patch plugin.

8. Activate it in Mod Manager, make sure it is at the bottom of the boot order after all the patched mods.


If you see messages like Patching failed followed by the title of the post during the patch process, this means that the post and the plugin in general need to be corrected by the mod author, consult with him. Do not download such plugins when patching as a workaround. If the plugin is Fallout4.esm, then upgrade to the latest version of FO4Edit.


If you have updated, installed or uninstalled mods that affect your armor, remove the old patch and create a new one. If the game crashes when the patch plugin is activated, it means that you have removed the mod that the patch is based on. In this case, delete it and create a new one. If the game still crashes, make sure that Damage Threshold.esm is enabled in the boot order. If the game continues to fall after that, then this patcher has nothing to do with it, and the problem lies elsewhere.



Uninstall


The patch plugin does not contain any game scripts or other information that could get stuck in your saved game. You can safely add, restore and delete it at any time.

Similar Mods/Addons

Game Version *

all (DT Patcher Script for FO4Edit-10060-1-2.zip)