You are viewing a potentially older version of this package. View all versions.
invent60-SosigOptimizer-1.0.0 icon

SosigOptimizer

More FPS in big fights. LOD cuts physics and shadow cost for distant enemies. Gib Cleaner auto-removes corpse debris. No gameplay changes at close range. Fully configurable.

Date uploaded 3 weeks ago
Version 1.0.0
Download link invent60-SosigOptimizer-1.0.0.zip
Downloads 153
Dependency string invent60-SosigOptimizer-1.0.0

This mod requires the following mods to function

BepInEx-BepInExPack_H3VR-5.4.1700 icon
BepInEx-BepInExPack_H3VR

BepInEx pack for H3VR. Preconfigured and ready to use.

Preferred version: 5.4.1700

README

SosigOptimizer

More frames in big fights. Two things in one mod:

  • Sosig LOD — cuts the cost of enemies too far away to matter
  • Gib Cleaner — auto-removes corpse pieces and explosion chunks

Both on by default, both independently configurable.


Sosig LOD

Past 150m, distant sosigs switch to a cheaper mode: physics solver quality drops, shadow casting off, rigidbody sleep threshold raised so idle bodies stop simulating entirely.

Nothing changes at close range. Health, hit detection, AI, and weapons are never touched.

Scopes, drones, and cameras: If a sosig appears inside the view of any scope, rangefinder, drone camera, handheld camera, or spectator panel output, LOD is suppressed for it — physics and shadows restore to normal. The quality reduction is only active when a sosig is outside both the player's range and any camera view.

Gib Cleaner

  • Severed body parts despawn after 12 seconds
  • Explosion gib chunks despawn after 6 seconds
  • Hard cap of 60 chunks — random removal when exceeded
  • Dropped weapons and loot are never touched

All settings configurable via F1 (ConfigurationManager) or the .cfg file.

CHANGELOG

1.0.4

  • Fixed: gib cleaner could incorrectly tag TNH encryption nodes and other pre-existing objects near a dying sosig as gibs

1.0.3

  • Fixed VR controller being incorrectly tagged as a gib when killed near a dying sosig, causing the left hand to stop working entirely
  • Added NaN position guard before gib detection physics query

1.0.2

  • Fixed weapons holstered in quick-belt slots being tagged as gibs (hierarchy traversal now uses GetComponentInParent instead of transform.root)
  • Added player body and player hitbox guards to gib cap enforcer to prevent destroying physics objects attached to the player rig

1.0.1

  • Stability improvements to gib lifetime and cap enforcement

1.0.0

  • Initial release
  • Sosig LOD: cuts physics cost, shadow casting, and rigidbody sleep for enemies beyond 150m. Fully restores on approach
  • Camera observation: LOD suppressed for any sosig visible through a scope, drone, or handheld camera
  • Gib Cleaner: auto-removes severed limbs and explosion debris with configurable lifetime and hard cap
  • Dropped weapons and loot are never touched
  • All settings configurable via F1 (ConfigurationManager) or .cfg file