C. TNHFramework Options

Updated a week ago

TNHFramework Options

Debug

Enable Logging

If enabled, enables logging to LogOutput.log. Disabling this will disable all logging.

Default: true

Log Character Info

If enabled, log detailed character info.

Default: false

Log TNH

If enabled, log general TNH info about supply points, holds and patrols.

Default: false

Log Files Reads

If enabled, log any time a file is read.

Default: false

Enable Unlimited Tokens

If enabled, start with 999999 tokens. This is useful for testing equipment pools. You can also use it to cheat, but that's no fun.

Default: false

Fixes

Fix Mod Attachment Tags

If enabled, fix mod attachment tags for legacy mods so that they can be auto populated into pools in TNH. It handles older mods by Meat_banano and FSCE.

They can always appear if they're specified in the IDOverride section of an equipment pool. However, attachments pools are often auto populated because there are a lot of them. They need to have the correct tags in order for this to work.

Default: true

Fix Legacy Modul Guns

If enabled, try to fix Modul guns that have preset attachments (premades). For some mods, attachments fall through the floor if you remove them.

This is currently disabled by default because it doesn't work properly for FTW_Arms_Modular_Vector and causes vaulted Modular Vector guns to spawn incorrectly in TNH.

Default: false

Fix WurstMod

If enabled, remove broken patches from WurstMod 2.2.5. It has patched methods that were broken due to changes in H3VR. It basically reduces errors spamming the log, especially with the map TNH_Rostok. This fix can be disabled in options in case there are any problems.

The broken methods are related to navmesh fixes (sosig navigation).

Default: true

General

Internal Mag Patcher

There's an internal mag patcher replacement that works if you don't have Magazine Patcher (1) (2) installed. It won't give you as many magazine options, but it's much faster at startup and doesn't take as much RAM. It's also less accurate, so there may be some guns that spawn with the wrong magazines, or revolvers might not spawn with speedloaders.

To use it, disable or uninstall Magazine Patcher in r2modman.

Default: true.

Build Character Files

If enabled, this will write out all of the character files, sosig files and populated equipment pools into a directory called BepInEx\plugins\ISD-TNHFramework\TNHTweaker\CharFiles under your r2modman profile. These files are used for authoring/debugging a new custom character.

Default: false

Always Mag Upgrade

Mag Duplicator panels are like the ones in vanilla TNH where you can duplicate a mag or upgrade a mag. Mag Upgrade panels can do that too, with a third button that lets you buy a new mag for a gun if you don't already have one. The custom character author can specify either type of panel.

If enabled, all Mag Duplicator panels are automatically changed into Mag Upgrade panels. This is how it always works in TakeAndHoldTweaker.

Default: true.

Sosig Item Vibrate

If enabled, the controllers will vibrate when a sosig spawns an item on death. This doesn't apply to health drops. This is a subtle indicator that an item has dropped if you are farther away from a sosig. Note that the controllers also normally vibrate if you are standing close to a sosig when it explodes.

Default: true.

Mag Upgrade Threshold

When upgrading a magazine, it will upgrade to the next mag that has greater than or equal to the current mag plus this threshold, when possible. If the next mag is the maximum capacity, it will give that mag. This is a feature backported from build 120, but made into a configurable option.

For example, if you have a magazine with 20 rounds and the threshold is 10, then it will give you a magazine with 30 rounds or more. If you want to use the old behavior where it always gives you the next higher mag, then set this to 1.

Default: 10

InjectModBackpacks

If enabled, add mod backpacks to any equipment pools that contain only the vanilla backpack. This does not add backpacks to starting equipment. It will add backpacks from the Backpack item spawner category, except for the two gun cases.

Default: true

Convert Files to YAML

If enabled, any Stratum-based custom characters will have their JSON files converted to YAML. It will delete the original JSON files. YAML is a newer format that is a bit simpler than JSON.

Default: false

Enable Scoring

A custom scoreboard used to exist for TakeAndHoldTweaker, but it was taken offline permanently due to cost of maintenance. This option now does nothing.

Default: true

Institution Constructs

Enable Blister

If enabled, enable blister constructs. These are laser traps that scan in an arc and trigger an alert when tripped.

Default: true

Enable Floater

If enabled, enable floater constructs. These are floating proximity mines that follow you.

Default: true

Enable Iris

If enabled, enable iris constructs. These are floating ringed constructs that fire a destructive laser.

Default: true

Enable Sentinel

If enabled, enable sentinel constructs. These are large floating monoliths than scan using lasers and trigger an alert.

Default: true