V0id-FirstPersonView_ModelReplacementCompat icon

FirstPersonView ModelReplacementCompat

Compatibility patch enabling seamless first-person rendering for custom humanoid models using ModelReplacementAPI with LC-FirstPersonView.

By V0id
Last updated 2 weeks ago
Total downloads 168
Total rating 0 
Categories Client-side Asset Replacements Tweaks & Quality Of Life AI Generated
Dependency string V0id-FirstPersonView_ModelReplacementCompat-1.1.0
Dependants 0 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
seechela-First_Person_View-1.5.1 icon
seechela-First_Person_View

See your own body.

Preferred version: 1.5.1
BunyaPineTree-ModelReplacementAPI-2.4.20 icon
BunyaPineTree-ModelReplacementAPI

API to simplify model replacement

Preferred version: 2.4.20

README

First Person View - ModelReplacementAPI Compatibility Patch

A lightweight patch enabling seamless first-person rendering for custom humanoid models using ModelReplacementAPI alongside First-Person View (by seechela / se3ya).


Features

  • Automated Replacement Detection: Automatically detects when ModelReplacementAPI instantiates a replacement avatar on a player controller.
  • Adjustable Head Position / Height:
    • Auto: Dynamically measures the vertical difference between the replacement model's head and the vanilla rig, aligning your eye camera directly with the custom model's actual eye height.
    • IndividualSuits: Specify custom vertical offsets per suit in the config (e.g. Ashley: 0.10, Default: 0.0).
    • Disabled: Standard camera placement with zero adjustment.
  • Double Hands Fix: Eliminates duplicate hands when FirstPersonView's Hands option is set to Vanilla instead of ThirdPerson. Automatically suppresses the vanilla orange astronaut arms on custom models and ensures held items attach to the character's hand bone.
  • Dynamic Headless Mesh Generation: Dynamically removes head/neck vertices from the replacement avatar's body mesh for local first-person cameras, preventing camera clipping into your own face or hair.
  • Arms & Body Visibility: Full visibility of custom replacement model arms and torso in first person.
  • Safe State Handling: Automatically re-syncs if the model is swapped or cleared during gameplay.
  • No Overwriting Required: Installs alongside both mods without modifying existing assemblies.

Configuration

Options are located in BepInEx/config/com.v0id.firstpersonview.modelreplacementcompat.cfg:

  • AdjustmentMode (Disabled, Auto, IndividualSuits):
    • Auto (default): Automatically detects model head height relative to vanilla rig and adjusts camera.
    • IndividualSuits: Uses suit-specific offsets configured in SuitHeadOffsets.
    • Disabled: No camera height adjustment.
  • ManualHeadOffset: General vertical offset (in meters) added in Auto mode or used as a fallback.
  • SuitHeadOffsets: Comma-separated list of SuitName: OffsetInMeters pairs (e.g. Ashley: 0.10, Default: 0.0).

Requirements


Installation

With Mod Manager (Recommended)

Click Install with Mod Manager via Thunderstore / r2modman.

Manual Installation

  1. Ensure BepInEx, First_Person_View, and ModelReplacementAPI are installed.
  2. Extract FirstPersonViewModelReplacementCompat.dll into your BepInEx/plugins/ folder.