DedicatedWeaponKeys

v1.4.2·Updated 2026-08-05

Makes Weapon 1 and Weapon 2 keybinds dedicated instead of cycling between weapons.

About this mod Author’s original text

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

  • Mycopunk (base game)
  • BepInEx Pack for Mycopunk 5.4.2403 or compatible

Installation (recommended)

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

Manual installation

  • Install BepInEx for Mycopunk if you have not already.
  • Copy DedicatedWeaponKeys.dll into /BepInEx/plugins.

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

Building

  • Clone this repository.
  • Open the solution in Visual Studio, Rider, or another C# IDE, or build from the command line:

dotnet build --configuration Release

  • 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.

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
  3. For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
  4. Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.

Install locations vary a lot between mods — the bundled readme is the most reliable guide.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack_Mycopunk

File & checksum

Filename
DedicatedWeaponKeys-1.4.2.zip
File size
11.5 KiB
SHA-256
83e44e531ed03d046a60e964a36c9139021e56079673765a5bba43e24b55e5bd
Stored at
2026-10-10 18:45