Skip to content

About

ModCore Controls for The Blood of Dawnwalker

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

154 Commits

Folders and files

Repository files navigation

ModCore Controls

ModCore Controls (MCC) connects keyboard and mouse bindings to Dawnwalker's quickslot actions. It saves your bindings, applies them in game, and updates the HUD key indicators.

Features

  • One Controls page: MCC's settings are the Controls tab of the ModCore Settings page: the Quickslots template picker, Mappings and Behaviours.
  • Mappings page with three tabs: Group Keys act on the focused wheel or select a wheel directly, Global Keys address individual ability and consumable slots, and Controller lists your current gamepad mappings (read-only).
  • Tap and Hold bindings for keyboard and mouse keys, in exploration and combat; Tap and Hold on the same key are two separate bindings.
  • Tap vs Hold Threshold: an adjustable window from Low to High (100-350 ms by default, within 100-500 ms); Instant Tap fires a lone Tap on press.
  • Quickslot Wheels: choose the default wheel, allow swapping outside of combat, and hold to swap, release to return.
  • Key outlines and underlines: HUD key hints show your bindings, Hold keys are underlined, and a key's outline fills while it is held (Show key outline: None, Hold, or Tap & Hold).
  • Duplicate checks: a key bound twice is marked as you edit, across Group Keys and Global Keys, and Apply refuses it.
  • Follows the game's controls: keys left on the default follow the game's key settings; custom keys replace the game action they stand in for.
  • Works with ModCore Templates: quickslot templates follow wheel focus and Global keys, and their settings head the Controls tab.
  • For mod authors: add control maps to MCC's source as static declarations (see the developer guide).

Choose the right module

Module Responsibility
ModCoreSettings (MCS) Menu controls, pending edits and Apply
ModCoreControls (MCC) Input bindings and quickslot actions
ModCoreTemplates (MCT) Visual templates, settings and object lifecycle

Start with the developer guide to add a control map to MCC's source. Maps are static declarations; MCC has no cross-mod runtime registration API.

Requirements and installation

Use Dawnwalker, UE4SS with Lua 5.4, UE4SS Lua Extensions 1.4.0 or newer and ModCoreSettings 1.10.0 or newer with Dawnwalker Mod Menu (DMM). With an older Event Bridge, controls do not attach and the log says why. Install and enable MCC under Mods/2_ModCore_Controls. Preserve config.ini when updating and fully restart the game after changing Lua files.

Menu behavior

MCC's settings are the Controls tab of the ModCore Settings page, its second tab, after Settings. ModCore Controls' entry in the mod list opens it. Top to bottom:

Section Contents
Quickslots MCT quickslot template selection and settings, when contributed
Mappings Links (edit) Group Keys (the Groups map), Global Keys (the Global map) and Controller (a read-only list of the player's current gamepad mappings), each opening the Mappings page on that tab
Behaviours Quickslot Wheels (default wheel and Toggle Quickslots behavior) and Shortcuts (Instant Tap, Tap vs Hold Threshold and key outline)

Apply on the Controls tab saves these settings into MCC's config.ini. The Mappings page's title row picks its tab, Group Keys, Global Keys or Controller; the page has its own Apply, and Back returns to the Controls tab with the link that opened it selected. Every map's bindings stay active together; its tab only shows them. The same key with the same trigger on two rows is marked as it is edited, on Group Keys and Global Keys alike (the tab picker is marked too when the pair is on two tabs), and Apply rejects it on either page; the same key with Tap on one row and Hold on another is two separate bindings.

Group Keys act on the focused wheel; Global Keys address individual ability or consumable slots. Some keys use the game's own control while you leave them unbound. The Toggle Quickslots swap gives way on a key you bind to something else. See the runtime reference for Tap/Hold timing and overrides.

Storage and logging

Bindings are text: none, J|Hold, or 1|Tap. For example:

[ModCoreControls.actions]
global.AbilitySlot1=J|Hold

Navigation choices are never saved. A successful Apply saves the configuration; new bindings take effect once you are in game.

Logs appear in UE4SS.log. The default level is WARN. For more detail, install the UE4SS Lua Extensions package (its Log Bridge) and raise ModCoreControls' level in the Logs section of the Extensions tab of the ModCore Settings page, or set ModCoreControls=DEBUG under [Levels] in the bridge's config.ini.

Documentation

About

ModCore Controls for The Blood of Dawnwalker

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages