Equip your light with a hotkey and automatically re-equip your shield when the light is unequipped.
Description
When a hotkey (default ‘v’) is pressed a light from the players inventory will be equipped and their currently equipped shield, if any, will be stored to be automatically re-equipped when the hotkey is pressed again. By pressing alt > hotkey the player can assign the currently equipped light as their preferred light; the preferred light will be prioritized whenever a light is equipped using the hotkey. Preferred light and saved shield will be preserved between sessions, though it may get confused between multiple objects with the same Id in the player’s inventory.
Credits
- Author: Pharis
- Maintainer: Ronik
Thanks to the authors of Torch Hotkey (Remiros, Greatness7, NullCascade) for the original idea and of course also to the OpenMW Devs, without whom this mod would not be possible. Thanks to Phi as well as I borrowed the hotkey setting code from them.
Installation
-
Download the mod from this URL
-
Extract the zip to a location of your choosing, examples below:
# Windows C:\games\OpenMWMods\light-hotkey # Linux /home/username/games/OpenMWMods/light-hotkey # macOS /Users/username/games/OpenMWMods/light-hotkey
-
Add the appropriate data path to your
opemw.cfg
file (e.g.data="C:\games\OpenMWMods\light-hotkey"
) -
Add
content=LightHotkey.omwscripts
(for OpenMW 0.48) orcontent=LightHotkey-dev.omwscripts
(for OpenMW 0.49) to your load order inopenmw.cfg
or enable them via OpenMW-Launcher
Report A Problem
If you’ve found an issue with this mod, or if you simply have a question, please use one of the following ways to reach out:
- Open an issue on GitLab
-
Email
light-hotkey@modding-openmw.com
-
Contact the author on Discord:
@Ronik
on OpenMW Discord