Mycopunk
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
18 hours ago
Downloads
66
Size
14KB
Dependency string
Sparroh-AimAndCrouchToggles-1.1.2

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 ( IsAimEnabled false), 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

  1. Clone this repository
  2. Open the solution in Visual Studio, Rider, or your preferred C# IDE
  3. 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)

  1. Install with a Thunderstore mod manager
  2. The mod is placed in the correct BepInEx plugins folder automatically

Manual installation

  1. Place AimAndCrouchToggles.dll in <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.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.