Quasimorph

Quasimorph

70 betyg
Hotkeys for Context Menus
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
80.849 KB
10 jul, 2024 @ 10:23
18 aug @ 5:36
10 ändringsnotiser ( visa )

Abonnera för att ladda ner
Hotkeys for Context Menus

I 3 samlingar av nbk_redspy
Hotkeys and Click Reduction Pack
9 artiklar
Oops! All QoL!
33 artiklar
Oops! All QoL! (BETA edition)
24 artiklar
Beskrivning
Quasimorph Context Menu Hotkeys


Info

Adds hotkeys to the context menus.
The hotkeys can be configured in the config file noted below.

Configuration

The configuration file is located at %UserProfile%\AppData\LocalLow\Magnum Scriptum Ltd\Quasimorph_ModConfigs\QM_ContextMenuHotkeys\QM_ContextMenuHotkeys.json.
The file will be created the first time the game is run.

Settings
Name
Default
Description
ConfigVersion
Used internally
CommandBinds
Key and Command (See config file)
The list of commands and their shortcut keys to invoke the command. For example, D for Disassemble. To not bind a command, set the Key to "None"

Important - Divide Stacks

The divide stacks and confirm commands are special in that they use a number. Divide is 99999 and confirm is 100000.

Command Binding Duplicate Note

The Command Binding mode can use the same key for multiple entries. For example, Disassembly and DiassemblyAll will not show up on the same menu and is safe to reuse the same key.

If the context menu has more than item with the same key bind, the first entry will be chosen.

Key List

The list of valid keyboard keys can be found at the bottom of https://docs.unity3d.com/ScriptReference/KeyCode.html

Command List

The game currently supports the following commands for the Context Menu.
Drop Take Equip Unequip Use Reload UnloadAmmo Eat FixWound Amputate Disassemble DisassembleAll DisassembleX1 Repair UnlockDatadisk SpillOnTheFloorX1 SpillOnTheFloorX5 99999 ApplySkull RemoveSkull RemoveFire Take_To_Drag Augment RemoveAugmentation Install

Support

If you enjoy my mods and want to buy me a coffee, check out my Ko-Fi[ko-fi.com] page.
Thanks!

Source Code

Source code is available on GitHub https://github.com/NBKRedSpy/QM-ContextMenuHotkeys

Change Log

3.5.1
  • Added the "Split Stacks Confirm" to the docs and the default config.
    • Thank you to Steam user Skrypt for reporting this.

3.5.0
  • v0.8.6 compatibility
  • Removed positional mode.
  • Configs will automatically be changed to write any missing settings from older files.

3.3.0
  • v0.8.5 compatible.

3.3.0
  • Moved config file directory.

3.2.0
  • .8 compatible.

3.1.0
  • Simplified enabling modes with a single setting.
  • Supports upgrading the configuration schema.
  • Added every context menu command in the config with unbound items set to KeyCode.None.
  • Highlights the hotkey on the menu items.

3.0.0
  • Supports Command Binding.

2.0.0

  • Added list for commands that must have a modifier. Defaults to destructive items.

  • Improved the command parsing. Now avoids invisible cached commands.
29 kommentarer
nbk_redspy  [skapare] 28 sep @ 6:30 
This mod is compatible with the 0.9.6 opt in beta.

The compatibility info for all of my mods can be found here:
https://gist.github.com/NBKRedSpy/c48ca611b47e905158f972990f0ed83f
nbk_redspy  [skapare] 18 aug @ 5:19 
I was unaware that wasn't in the docs or the mod's defaults. Thank you for bringing that to my attention.
nbk_redspy  [skapare] 18 aug @ 5:15 
I think the confirm is 100000. You can bind both to the same key if you like.
Skrypt 17 aug @ 21:36 
So I have "Divide" (99999) bound to a key.

After selecting that, another context menu is presented to select quantity and "Divide" again to finalize it.

How do I bind a key for that final context menu's "Divide"?
Crd 30 jul @ 11:33 
with new balance, its save to say maybe we need a repair action bind?
dnt know if possible..
nbk_redspy  [skapare] 21 jun @ 11:19 
By default, Eat and Equip are both bound to E and Take is bound to T.
You can either edit the command file and set the key binding, or delete the config when not in the game. The mod will recreate the config with the defaults.

See the Configuration section above for the config file location, bind commands, and key names.
bash 21 jun @ 7:04 
the letter "T" is not displayed in context menu. cant "take" stuff. i also miss the "E equip" function for weapons (ver 0.9.375)
Szil 5 feb @ 22:09 
You're a hero of the solar system's working class and/or all the freemen and women of the system
nbk_redspy  [skapare] 2 feb @ 15:03 
v0.8.5 compatible.
nbk_redspy  [skapare] 2 feb @ 13:49 
v0.8.5 Status: In queue for needed changes.