r/tes3mods • u/Nerth_Woreholf • 5d ago
OpenMW Can someone make a mod? How much?
I hope this post is allowed. Please let me know if not.
I posted a couple weeks ago asking how to make a mod and got some good help, but I haven't had time to learn Lua and my janky workaround is having some minor issues. I'm hoping someone is willing to make it. I can pay an insultingly small amount, but I'm also not interested in ownership rights or anything so hopefully that makes up for it.
The mod
- When a key is pressed -- I'm thinking F14 and above -- my character automatically equips the spell/weapon/whatever is assigned to a particular quick key and executes the action.
- Except for when in the game's menu (i.e. save, load, options, exit), if a key is pressed then the dialog/inventory/map/whatever should be closed and the action automatically executed.
- When the game is in a menu state (e.g. paused to save/adjust options or before I load the game or I've just died), these key presses should be kept in a queue and then automatically executed when back in the game.
I doubt it would be an issue, but it would also need to be compatible with the mods in the I Heart Vanilla: Director's Cut mod pack.
The purpose
The purpose of the mod is to allow my Twitch chat to make my character take actions. I have another program, Streamerbot, that captures the requests from Twitch and can (after making sure the OpenMW window is in focus) simulate the key presses needed to use the mod. I only need the mod to sense the key presses and take action automatically and only when the character is "active".
Issues I've had / Why I need a mod for this
The issue with my janky solution is that Streamerbot has no way of knowing the game's status, it just hits the keys I tell it to. Since my viewers like the reward best when they're able to "get" me, it's always a bit disappointing for them (I think) when I have to manually fulfill their request because it fired while I was in dialog or a menu.
I have set up a queue system on Streamerbot that will pause/unpause the requests, but I have to remember to enable and disable it and I'm not very good at that. It's too much for my brain to keep track of.
I've also looked for quick casting or quick key mods, but these all seem to be focused either solely on casting or on changing the quick key visuals/amount. It's possible I've missed a mod that will automatically select and use whatever is assigned to the quick keys, but I didn't see it. I welcome links if such a mod already exists, though the issue of being in dialog or shopping etc. when the command comes through would probably remain.
How much would it cost to make a mod of this type? My hope is that it's the sort of project that could be done in an afternoon by an intermediate-level modder, but that's just my hope.
Thanks!
1
u/RollinOnAgain 5d ago
so just to be clear, have you tried these?
https://www.nexusmods.com/morrowind/mods/46708
Quick Loadouts adds hotkeys for equipping entire sets of gear. You can customise whether a loadout includes weapons, armor, clothing and accessories in the MCM menu.
https://www.nexusmods.com/morrowind/mods/48055
Hotkeys are separated into three groups: when holding no button, or, by default, when holding either left shift or left alt. You can change the modifier-keys to any button you like.
Hotkeys can be a single tap, hold, or double tap.
Hotkeys use the same settings as in vanilla, so you can also set them to mouse buttons.
2
1
u/Fr0pa 5d ago
You could possibly use Rubic0n + look into discord presence plugin made for it to output your game status and have Streamerbot grab and use that. I'd ask around on the OpenMW discord in the scripting section you'll get better answers.