
AimAndCrouchToggles
Adds optional toggle aim and toggle crouch for Mycopunk. Aim becomes press-to-toggle instead of hold; crouch stays engaged until toggled off.AimAndCrouchToggles
A BepInEx mod for Mycopunk that adds optional toggle aim and toggle crouch.
Features
- Toggle Aim: Press aim once to enter ADS, press again to exit — no need to hold. Weapons with aiming disabled (
IsAimEnabledfalse), such as Gunship Cannon, Plate Launcher, and Carver, are left alone. Toggle aim resets on death/resurrect. - Toggle Crouch: Press the slide/crouch button to stay crouched until you press it again. Sliding still works as normal when you have momentum.
Both features are on by default and can be enabled or disabled independently in the config.
Getting Started
Dependencies
- Mycopunk (base game)
- BepInEx 5.4.2403 or compatible (e.g. BepInExPack for Mycopunk)
Building
- Clone this repository
- Open the solution in Visual Studio, Rider, or your preferred C# IDE
- Build in Release mode to produce the plugin DLL
Alternatively, with the .NET CLI:
dotnet build --configuration Release
The project targets netstandard2.1. Game and BepInEx assembly reference paths in the .csproj may need adjusting for
your machine.
Installing
Via Thunderstore (recommended)
- Install with a Thunderstore mod manager
- The mod is placed in the correct BepInEx plugins folder automatically
Manual installation
- Place
AimAndCrouchToggles.dllin<Mycopunk Directory>/BepInEx/plugins/
Usage
The mod loads automatically through BepInEx when the game starts. Check the BepInEx console for a load confirmation message.
Configuration
Settings live in:
<Mycopunk Directory>/BepInEx/config/sparroh.aimandcrouchtoggles.cfg
| Setting | Default | Description |
|---|---|---|
| Toggle Aim | true |
Aim becomes press-to-toggle instead of hold |
| Toggle Crouch | true |
Crouch stays engaged until toggled off (via slide button) |
Config changes are hot-reloaded while the game is running — save the .cfg file and the mod applies the new values
automatically (look for Config reloaded from disk. in the BepInEx log).
Help
- Mod not loading? Verify BepInEx is installed correctly and check console logs for errors.
- Toggle not working? Confirm the setting is enabled in the config file; save the file to hot-reload without restarting.
- Aim stuck on? Toggle aim resets on death/resurrect; you can also disable the setting to force-clear it.
Authors
- Sparroh
License
This project is licensed under the MIT License — see the LICENSE file for details.