Taskbar: 7 weapon sets and 7 combat-art slots
cUI_Taskbar2's slot arrays move behind the (enlarged) object with room for 7 each; all instructions addressing them, the relative accesses between the two arrays, the slot loops and the count clamp are patched from tables in game/addresses.h (belt loops untouched). Slots 6 / 7 unlock at levels 45 / 65; AssignArtToSlot accepts slots up to 6. Slot keys call the taskbar's selection directly (honouring COMBINE_SLOTS). Shared code: re::PatchAll / PatchInstructionByte for patch tables, game/engine/objects.h for object, RTTI and kernel calls, slot-hook templates in skillslots.cpp. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
998e315d98
commit
dbc632750b
12 files changed
+364
-145
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
namespace mods::skillbar {
|
||||
|
||||
// Select weapon set / combat-art slot `slot` (0-6) on the taskbar, as its key
|
||||
// or a click does.
|
||||
void SelectSkillSlot(unsigned slot);
|
||||
void SelectWeaponSet(unsigned slot);
|
||||
|
||||
} // namespace mods::skillbar
|
||||
Reference in new issue
Block a user