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 (
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
- 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 (recommended)
- Install with a mod manager
- The mod is placed in the correct BepInEx plugins folder automatically
Manual installation
- Place AimAndCrouchToggles.dll in /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:
/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.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: