You are viewing a potentially older version of this package. View all versions.
Sparroh-StaticFOV-1.2.1 icon

StaticFOV

Toggle aim FOV zoom and all additive FOV punches (sprint, melee, dash, etc.) independently.

Date uploaded 2 months ago
Version 1.2.1
Download link Sparroh-StaticFOV-1.2.1.zip
Downloads 116
Dependency string Sparroh-StaticFOV-1.2.1

This mod requires the following mods to function

BepInEx-BepInExPack_Mycopunk-5.4.2403 icon
BepInEx-BepInExPack_Mycopunk

BepInEx pack for Mycopunk. Preconfigured and ready to use.

Preferred version: 5.4.2403

README

Static FOV

A BepInEx mod for Mycopunk that lets you disable aim FOV zoom and all temporary additive FOV punches independently.

Features

  • Enable Aim FOV: Toggle the FOV zoom that normally happens when aiming. When disabled, aiming no longer zooms the camera FOV.
  • Enable Additive FOV: Toggle all temporary FOV punches that go through PlayerLook.AddFOV (sprint, melee, air dash, blink, FOV bursts, and similar). When disabled, those effects no longer alter FOV.

Both options default to disabled (stable FOV). Set either to true in the config if you want vanilla behavior for that path.

Getting Started

Dependencies

  • Mycopunk (base game)
  • BepInEx - Version 5.4.2403 or compatible (BepInExPack_Mycopunk)
  • .NET Standard 2.1
  • HarmonyLib (included via NuGet / BepInEx)

Building/Compiling

  1. Clone this repository
  2. Open the solution file in Visual Studio, Rider, or your preferred C# IDE
  3. Build the project in Release mode to generate the .dll file

Alternatively, use the dotnet CLI:

dotnet build --configuration Release

Installing

Via Thunderstore (Recommended):

  1. Download and install via Thunderstore Mod Manager / r2modman
  2. The mod will be installed to the correct directory automatically

Manual Installation:

  1. Place the built StaticFOV.dll in your <Mycopunk Directory>/BepInEx/plugins/ folder

Executing

The mod loads automatically through BepInEx when the game starts. Check the BepInEx console for a load confirmation message.

Configuration

Settings are stored at:

<Mycopunk Directory>/BepInEx/config/sparroh.staticfov.cfg

Setting Default Description
Enable Aim FOV false Enables FOV zoom when aiming
Enable Additive FOV false Enables temporary FOV punches (sprint, melee, dash, blink, bursts, etc.)

Config changes are reloaded when the config file is updated.

Note: Aim zoom does not use AddFOV; it is controlled only by Enable Aim FOV. Additive punches are controlled only by Enable Additive FOV.

Help

  • Mod not loading? Verify BepInEx is installed correctly and check console logs for errors
  • FOV still changing? Confirm the relevant config option is set to false and that the config file was reloaded. Rebuild/reinstall so you are on 1.2.1+ (earlier additive blocking could miss inlined AddFOV calls).
  • Melee still feels punchy? Melee primarily uses camera shake/recoil, not additive FOV. That is separate from * Enable Additive FOV*.
  • Conflicts? Other camera/FOV mods may override or fight these patches

Authors

  • Sparroh

License

This project is licensed under the MIT License - see the LICENSE file for details

CHANGELOG

Changelog

1.2.1

  • Fixed additive FOV toggle not applying when PlayerLook.AddFOV is inlined by the runtime
  • Block additive FOV at UpdateCameraFOV (zero addFOV before apply + force cameras to base FOV)
  • Covers sprint, air dash, blink, and other AddFOV callers reliably

1.2.0

  • Replaced sprint-only FOV toggle with Enable Additive FOV
  • Blocking additive FOV now stops all PlayerLook.AddFOV punches (sprint, melee, dash, blink, FOV bursts, etc.)
  • Kept independent Enable Aim FOV toggle (aim zoom does not use AddFOV)
  • Simplified AddFOV patch (no stack-trace filtering)

1.1.0

  • Combined aim and sprint FOV toggles into one release
  • Toggle aim FOV zoom on/off
  • Toggle sprint FOV changes on/off

1.0.1

  • FOV disable functionality — removes zoom when aiming to reduce claustrophobia
  • Harmony patches for PlayerLook.UpdateAiming and UpdateCameraFOV
  • Configurable toggle to enable/disable FOV changes when aiming

1.0.0

  • Disabled FOV zoom when sprinting to reduce motion sickness
  • Automatic detection of sprint-related FOV changes via stack-trace inspection
  • Added MinVer, thunderstore.toml for tcli, LICENSE, and CHANGELOG.md