If you can't do this without needing to resort to MWSE, then make a post and open an issue with the OpenMW team. They will gladly listen and resolve your issues. The goal for the future OpenMW is to make all of this possible. If people like you actually report these issues, many new things will become possible in OpenMW.
You're right. I'm going to hang up my hat as a Morrowind modder and just leave it all to the openmw devs, who are known for their fast development speed and tendency to adopt new features into their engine on a whim.
Which lines in the .lua file do I need to change to adjust the Disposition at which the bed owner permits me to sleep in his or her bed? Currently, as I've discovered by testing, the threshold is 63 Disposition, and I'd like to raise it to make the game a little more challenging.
I've encountered a small issue with inns/taverns not permitting rest when paid for (at least in some cyrodiil places), easy fix is to turn the mod off in the mod menu, sleep, then turn it back on. I'd appreciate a patch/bug fix for this tho, it's a little immersion breaking.
I've encountered a small issue with inns/taverns not permitting rest when paid for (at least in some cyrodiil places), easy fix is to turn the mod off in the mod menu, sleep, then turn it back on. I'd appreciate a patch/bug fix for this tho, it's a little immersion breaking.
This mod is really practical and it works well. I love how it makes the relationship with the characters more meaningful (or at least more useful). I wish there were a way to still sleep in an owned bed (like by sneaking for example).
I was looking at the code and wondered if changing this part : if getIsBed(targetObject) then if not hasPermission(e.target) then tes3.messageBox( sNotPermittedMessage ) else tes3.runLegacyScript{ command = "ShowRestMenu"} end return false end
By adding the script to show the rest menu after the line to show the message box would work to still show a message box when not permitted and also sleep in the bed at the risk of getting a bounty. I'm not good a modding lua so i don't know if it would be a good workaround or if it'd create problems. Thanks
It seems to work to allow me to sleep, but I haven't figured out if it'll give me a bounty like it's supposed to in the vanilla game or if there's any unintended side effect of changing the code.
Maybe it's outside the scope of this mod, but I do think that if the bed's owner is dead, I should be allowed to sleep in it.
For instance, after I killed Foryn Gilnith, I still can't sleep in his hammock because he didn't like me in life, though logically he should not be able to object in his now-indisposed state.
Just got this issue in a new version of a mod. NPC is dead (random TR NPC) and I've slept in his bed for several days. But one time, I came back and the bed is "not allowed". Disabling Bed Buddies allows me to sleep in it.
The problem is that if the NPC who died is removed, by despawning or by the player disposing of their corpse, they no longer have a mobile, so the health can't be checked.
This could be fixed by saving known dead NPCs in a lua table, or by using getdeadcount if such a function exists in lua.
I'm still encountering this issue, also with Foryn Gilnith. I think it's because his body despawned after some time, as Zackhasacat suggested. Is there a console command we can use as an override?
Not sure, but it seems to not work well with Welcome home mod. In Seyda Need, after completing the investigation into the murder of the tax guy, in WH you receive a key to a new player home. The bed inside is indicated as owned (everything else is owned by "player" as indicated by ToggleFullHelp command). And this bed is "Not permitted" to be used. Is there a way to fix it? I kinda want to sleep in an actual bed, not a straw one (playing Ashfall).
38 comments
I wish there were a way to still sleep in an owned bed (like by sneaking for example).
I was looking at the code and wondered if changing this part :
if getIsBed(targetObject) then
if not hasPermission(e.target) then
tes3.messageBox( sNotPermittedMessage )
else
tes3.runLegacyScript{ command = "ShowRestMenu"}
end
return false
end
By adding the script to show the rest menu after the line to show the message box would work to still show a message box when not permitted and also sleep in the bed at the risk of getting a bounty.
I'm not good a modding lua so i don't know if it would be a good workaround or if it'd create problems.
Thanks
For instance, after I killed Foryn Gilnith, I still can't sleep in his hammock because he didn't like me in life, though logically he should not be able to object in his now-indisposed state.
This could be fixed by saving known dead NPCs in a lua table, or by using getdeadcount if such a function exists in lua.