Rozza-HighStrengthFix icon

HighStrengthFix

Fixes wobbly grabs when players have high strength levels.

Last updated 2 weeks ago
Total downloads 29559
Total rating 5 
Categories Mods Misc Server-side
Dependency string Rozza-HighStrengthFix-1.0.0
Dependants 23 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

R.E.P.O. - High Strength Fix

When players have a very high strength level, grabbing light objects causes them to shake/wobble a lot. This is mostly an issue for gun items, but also affects valuables.

This mod fixes that.

Installation

  1. Download & install BepInEx.
  2. Download the latest release of this mod.
  3. Place REPO_HighStrengthFix.dll in your BepInEx/plugins directory.

Alternatively, the mod is available via the Thunderstore Mod Manager.

Screenshots

Vanilla/mod disabled (strength level 10)

Mod Disabled

Mod enabled (strength level 10)

Mod Enabled

How it works

The mod calculates a strength "cap" based on the item's mass ((mass * CapMultiplier) + CapOffset) - the heavier the item, the higher the cap. If your strength is lower than the cap, the mod does nothing.

If your strength is higher than the cap, it calculates a damping factor to apply to the grab that brings your effective strength down to the cap. It should have no impact on what you can pick up.

I found the sledgehammer to still not want to play nicely with this system at high strength levels, so for heavy melee weapons a (configurable) set cap is used.

Configuration

All options can be configured in-game using the REPOConfig mod, or manually by:

  1. Launch the game with mod installed at least once.
  2. Edit the REPO_HighStrengthFix.cfg file within your BepInEx/config directory.
Example Configuration
## Settings file was created by plugin HighStrengthFix v1.0.0
## Plugin GUID: REPO_HighStrengthFix

[General]

# Setting type: Boolean
# Default value: true
EnableMod = true

# Setting type: Single
# Default value: 1.95
# Acceptable value range: From 1 to 2.5
CapMultiplier = 1.95

# Setting type: Single
# Default value: 0.1
# Acceptable value range: From 0 to 1.99
CapOffset = 0.1

## Lower cap for heavy melee weapons (sledgehammer)
# Setting type: Boolean
# Default value: true
LowerCapForHeavyMelee = true

## The cap to use for heavy melee
# Setting type: Single
# Default value: 2.1
# Acceptable value range: From 1 to 3
HeavyMeleeCap = 2.1