Mycopunk
Install with App

Details

Latest version
1.4.2
Last Updated
First Uploaded
Downloads
177
Likes
0
Size
12KB
Dependants

Dedicated Weapon Keys

A small quality-of-life BepInEx mod for Mycopunk that makes the Weapon 1 and Weapon 2 keybinds dedicated instead of cycling.

Features

  • Dedicated Weapon 1 — Always equips weapon slot 1 (no cycle).
  • Dedicated Weapon 2 — Always equips weapon slot 2 (no cycle).
  • Pressing the key for the already-equipped weapon does nothing (no accidental swap).
  • Scroll-wheel weapon switching is left unchanged.
  • Config toggle — Disable dedicated keys and restore vanilla cycling via BepInEx config.

Configuration

Edit BepInEx/config/sparroh.dedicatedweaponkeys.cfg (created on first launch):

Setting Default Description
General.Enabled true When enabled, Weapon 1/2 keys equip that slot instead of cycling.

The config file is watched and reloads automatically after you save changes.

Dependencies

Installation

Via Thunderstore (recommended)

  1. Install with a Thunderstore mod manager (e.g. r2modman or the Thunderstore App).
  2. The mod is placed in the correct directory automatically.

Manual installation

  1. Install BepInEx for Mycopunk if you have not already.
  2. Copy DedicatedWeaponKeys.dll into <Mycopunk Directory>/BepInEx/plugins/.

The mod loads automatically with BepInEx. Check the BepInEx log for a load confirmation message.

Building

  1. Clone this repository.
  2. Open the solution in Visual Studio, Rider, or another C# IDE, or build from the command line:
dotnet build --configuration Release
  1. The output assembly is bin/Release/netstandard2.1/DedicatedWeaponKeys.dll.

Build requirements: .NET SDK (targeting netstandard2.1), game assemblies referenced by the project, and BepInEx/Harmony references.

Help

  • Mod not loading? Confirm BepInEx is installed correctly and check the BepInEx log for errors.
  • Keys still cycle? Ensure this mod is enabled and no other mod is also patching weapon slot keys.

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.