InfiniVide Posted February 25, 2009 Share Posted February 25, 2009 I swear I had this before, but I've been looking for a mod that allows the player to sleep in owned beds. I've been playing the 28 Days and a Bit mod and I want to be able to fortify and sleep in any house or building I come across if necessary. I'm also trying to find a mod that removes the trespassing status from certain buildings so the player has the ability to use the wait function inside. If anyone knows of these mods, I'd greatly appreciate any information. Link to comment Share on other sites More sharing options...
Vagrant0 Posted February 25, 2009 Share Posted February 25, 2009 Might be possible if you use something like a scripted spell with the OBSE functions getparentcell and getparentcell owner with setownership and a few variable references. Most of the trespass issues are related to the cell ownership. However, any cells which are flagged "can't wait" would need to be individually changed in the CS. Some furniture in those cells would also need to have their ownership changed (can be done with another ascripted AOE effect). There probably isn't a mod like this already since generally, playing with ownership can result in some bad things happening, especially if ownership is passed between player and NPC for things like containers and clutter items. Link to comment Share on other sites More sharing options...
SirMagus Posted February 25, 2009 Share Posted February 25, 2009 But if you were to sleep in an owned bed while trespassing you'll probably get noticed and the NPC will wake you up, and either chase you out of the house or shout after a guard. Link to comment Share on other sites More sharing options...
Vagrant0 Posted February 25, 2009 Share Posted February 25, 2009 But if you were to sleep in an owned bed while trespassing you'll probably get noticed and the NPC will wake you up, and either chase you out of the house or shout after a guard.You can't sleep in a bed you own while trespassing, the game does not allow it. This is why the cell ownership would need to be changed first before anything else can be done. Such a change is only practical for a mod setup like was mentioned since most of the houses end up being vacant. Link to comment Share on other sites More sharing options...
SirMagus Posted February 25, 2009 Share Posted February 25, 2009 You can't sleep in a bed you own while trespassing I didn't mean a bed that the player owned, but a bed that the NPC in the house owned. But still, it should be possible to make a change where the player simply just ignores the script about not being allowed to sleep there. You know what I mean, you walk up to the bed, the "sleep" icon is red, but when you click, the message doesn't pop up, it simply just reads it as a bed, then you just go to sleep. Not saying it would work, I'm just imagining something that would be quite realistic, something that I guess would be possible to do. But of course, if you get caught in the bed.. too bad for you. lol Link to comment Share on other sites More sharing options...
Vagrant0 Posted February 26, 2009 Share Posted February 26, 2009 You can't sleep in a bed you own while trespassingI didn't mean a bed that the player owned, but a bed that the NPC in the house owned.But still, it should be possible to make a change where the player simply just ignores the script about not being allowed to sleep there.You know what I mean, you walk up to the bed, the "sleep" icon is red, but when you click, the message doesn't pop up, it simply just reads it as a bed, then you just go to sleep.Not saying it would work, I'm just imagining something that would be quite realistic, something that I guess would be possible to do.But of course, if you get caught in the bed.. too bad for you. lolThere is no script which is related to any of those situations. There are certain things which are hardcoded.If a cell is flagged as "cannot wait", you cannot sleep or wait in that cell, regardless who owns the cell, and although this flag exists on a cell by cell basis, this flag cannot be changed by any documented script function. If the cell is owned by someone other than the player, the player cannot sleep or wait within that cell unless the cell is flagged as public, but still limited by the presence of a "cannot wait" flag. This is entirely a process of how ownership is handled internally within the game, is not controlled by any scripting, and can only be adjusted by either making the player part of an owning faction, or by changing the cell to be owned by the player or some faction that the player is currently part of. If a bed is owned by someone other than the player, the player cannot sleep in that bed. Even if the cell is set to public, and there is no presence of a "cannot wait" flag. This is an internal process which is part of how the game manages ownership. There is no scripting involved, and this can only be changed by either making the player part of an owning faction, or by changing the ownership of the bed to the player or a faction the player is currently part of. If the ownership of the bed is changed, anyone who previously had ownership would be unable to use that bed unless they were also part of whatever faction was made to currently own the bed. Furthermore, even if you own a bed in a cell, if you do not own that cell, or if that cell has been flagged "cannot wait", you will be unable to use the bed. In summary... O means you can use the bed, X means you cannot. O - Bed is owned by player, faction the player is in, or is public. Bed is in a cell which is flagged as public, "can't wait" is not flagged.O - Bed is owned by player, faction the player is in, or is public. Bed is in a cell which is owned by the player or a faction the player is in, "can't wait" is not flagged.X - Bed is owned by someone other than the player or a faction the player is in.X - Bed is owned by the player, or a faction the player is in, but the cell is owned by someone other than the player or a faction the player is in.X - Bed is owned by someone other than the player or a faction the player is in, but the cell is owned by someone other than the player or a faction the player is in.X - Regardless of all other conditions, cell has a "cannot wait" flag currently set. Meaning that in order to take up residence in a house, you would need to change ownership of the cell, possibly some of the furniture, and hope that there were no flags to prevent waiting in that interior. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.