You are viewing a potentially older version of this package. View all versions.
Sparroh-DedicatedWeaponKeys-1.0.0 icon

DedicatedWeaponKeys

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

Date uploaded 2 months ago
Version 1.0.0
Download link Sparroh-DedicatedWeaponKeys-1.0.0.zip
Downloads 87
Dependency string Sparroh-DedicatedWeaponKeys-1.0.0

This mod requires the following mods to function

BepInEx-BepInExPack_Mycopunk-5.4.2403 icon
BepInEx-BepInExPack_Mycopunk

BepInEx pack for Mycopunk. Preconfigured and ready to use.

Preferred version: 5.4.2403

README

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.

The Problem

By default, Mycopunk's Weapon 1 (1) and Weapon 2 (2) keybinds both cycle between your two weapons:

  • Pressing 1 while Weapon 1 is equipped switches to Weapon 2
  • Pressing 2 while Weapon 2 is equipped switches to Weapon 1

The Fix

With this mod:

  • Weapon 1 (1) always equips weapon slot 1
  • Weapon 2 (2) always equips weapon slot 2
  • Pressing the key for the already-equipped weapon does nothing (no accidental swap)

Scroll-wheel weapon switching is left unchanged.

Dependencies

  • Mycopunk (base game)
  • BepInEx - Version 5.4.2403 or compatible

Installing

Via Thunderstore (Recommended):

  1. Download and install via Thunderstore / r2modman
  2. The mod will be automatically installed to the correct directory

Manual Installation:

  1. Place DedicatedWeaponKeys.dll in your <Mycopunk Directory>/BepInEx/plugins/ folder

Building

dotnet build --configuration Release

Authors

  • Sparroh

License

This project is licensed under the MIT License - see the LICENSE file for details

CHANGELOG

Changelog

1.0.1

  • Refactored Harmony patches into WeaponSlotPatches.cs
  • Added ConfigManager with master enable toggle and config hot-reload
  • Behavior unchanged when enabled (default)

1.0.0

  • Initial release
  • Weapon 1 always equips slot 1 (no cycling)
  • Weapon 2 always equips slot 2 (no cycling)
  • Scroll-wheel switching unchanged