DisableSprintFOV
Disable sprint FOV change.DisableSprintFOV
A BepInEx mod for MycoPunk that disables the field of view zoom effect when sprinting to reduce motion sickness.
Description
This client-side mod prevents the automatic field of view (FOV) zoom that occurs when sprinting in MycoPunk. For players who experience motion sickness or discomfort from rapid FOV changes during fast-paced gameplay, this mod maintains a consistent field of view at all times.
The mod uses Harmony to patch the PlayerLook.AddFOV method, inspecting the call stack to specifically block FOV changes originating from the Player Update method (sprint logic) while preserving other visual effects like aiming zoom or damage screen effects.
Getting Started
Dependencies
- MycoPunk (base game)
- BepInEx - Version 5.4.2403 or compatible
- .NET Framework 4.8
Building/Compiling
- Clone this repository
- Open the solution file in Visual Studio, Rider, or your preferred C# IDE
- Build the project in Release mode
Alternatively, use dotnet CLI:
dotnet build --configuration Release
Installing
Option 1: Via Thunderstore (Recommended)
- Download and install using the Thunderstore Mod Manager
- Search for "DisableSprintFOV" under MycoPunk community
- Install and enable the mod
Option 2: Manual Installation
- Ensure BepInEx is installed for MycoPunk
- Copy
DisableSprintFOV.dllfrom the build folder - Place it in
<MycoPunk Game Directory>/BepInEx/plugins/ - Launch the game
Executing program
Once installed, the mod works automatically - FOV no longer changes when sprinting. Players maintain their configured default FOV at all times, including:
- Normal movement and combat
- Sprinting
- All weapon interactions
- Environmental interactions
Other FOV effects (like weapon aiming, screen shake from damage/taking hits, or environmental effects) are preserved and function normally.
Help
- Still getting FOV changes? Make sure the mod is loaded and enabled in BepInEx
- Want sprint zoom back? Disable the mod to restore default sprint behavior
- Performance impact? Minimal - only inspects call stacks for relevant FOV changes
- Affects aiming? No - weapon aiming zoom and other specific effects work normally
- Motion sickness persists? This only removes sprint zoom - other motion effects may still cause discomfort
- Conflicts with other mods? Shouldn't conflict as it targets specific sprint-related FOV calls
- Doesn't work? Sprint FOV detection relies on specific call patterns - game updates may change this
Authors
- Sparroh
- funlennysub (original mod template)
- @DomPizzie (README template)
License
- This project is licensed under the MIT License - see the LICENSE.md file for details
