-
-
Notifications
You must be signed in to change notification settings - Fork 9
[Feature] set hotkeys (for example Ctrl-9 for PhotoMode) #76
Copy link
Copy link
Open
Labels
c: APIAPI relatedAPI relatedc: databaseEditor database relatedEditor database relatedc: editor frontendEditor frontend/UI relatedEditor frontend/UI relatedc: extractorExtractor relatedExtractor relatedenhancementNew feature or requestNew feature or requestpriority: lowLow priority itemLow priority itemresearchRequires research / reversingRequires research / reversing
Metadata
Metadata
Assignees
Labels
c: APIAPI relatedAPI relatedc: databaseEditor database relatedEditor database relatedc: editor frontendEditor frontend/UI relatedEditor frontend/UI relatedc: extractorExtractor relatedExtractor relatedenhancementNew feature or requestNew feature or requestpriority: lowLow priority itemLow priority itemresearchRequires research / reversingRequires research / reversing
Projects
Status
Planned Long Term Features
Summary
I would like to be able to set hotkeys (for example Ctrl-9 for PhotoMode)
Confirm the following statements
Description
I set hotkeys in each new save (for example Ctrl-9 for PhotoMode).
I would love NMSE to support this as well as Import/Export for sharing and reuse across saves.
As far as I know the options are not all fully documented anywhere but here is a summary of what I know from a script that works for me:
https://github.com/okranger1777/nms-mission-progress/blob/main/scripts/hotkeys.py
They are set in BaseContext PlayerStateData HotActions in 3 arrays of 10 (Player, Ship, Exocraft)
The toggles are the most simple, examples for Ship:
PhotoMode works across all 3 but most are specific to each array, such as ThirdPersonCharacter ThirdPersonShip ThirdPersonVehicle.
Some require "Id" or "Number" to be set (discovered by setting manually in game):
The recharge action sets InventoryIndex to the material to use (such as Ion Battery or Sodium) but it does not work reliably for me.
Use case
Desired outcome
Set Hotkeys
Acceptance criteria
Additional information
See description