用户登录
|忘记密码

新用户注册

登录

其他登陆



只需在任何地方休息(或睡觉)

只需在任何地方休息(或睡觉)
只需在任何地方休息(或睡觉) 只需在任何地方休息(或睡觉) 只需在任何地方休息(或睡觉) 只需在任何地方休息(或睡觉) 只需在任何地方休息(或睡觉) 只需在任何地方休息(或睡觉) 只需在任何地方休息(或睡觉)
作者:comfortzone
发布:Flying_xx
发布日期:2020-06-03 14:47:23
更新时间:2020-06-03 14:47:23
这个人很懒,什么也没留下
3562 人点赞
1493 人收藏
5362
14274
1.2.0
标签
上古卷轴5:重置版
本地下载 高速下载 需要优先下载下载器,50%提速

我的看法是制作一个简单的“随处放松” mod。我希望以最少的热键和最少的卡死风险来闲置一些。在我的测试中,mod运行顺利,我并没有遇到任何麻烦,因此我决定将其共享。如果您想在下载前观看动画,则可以提供简短的原始视频。




如何休息

----------------------

按下热键(默认为L)会显示可用空闲列表:

盘腿而坐

坐在窗台上

躺下,

睡觉。



如何站起来

--------------------------------

优美地:只需按前进键(默认情况下为w)。它将播放起床的漂亮动画。

突然:如果优美的方法失败(我在测试中没有遇到过,但总有可能),请按跳转键(默认为空格)。不会有很好的动画,PC会突然跳到站立位置。但这可以使您摆脱困境。使用“游戏战斗大修”时,此选项可能存在一些问题。 MCM的“兼容性”选项卡中包含对此的修复程序。下面的描述的“兼容性”部分中的详细信息-如果已安装CGO,请阅读这些详细信息。

紧急情况:如果其他所有方法均失败,则MCM中有一个调试选项,可以重置播放器的空闲状态。打开它并关闭MCM。它确实应该工作。

紧急模式:如果发生了一些非常奇怪的事情而您绝对无法起床,请加载紧急保存。每次您按下“休息”热键,便会在显示列表菜单之前保存游戏。加载此保存时,将打开一个列表菜单(无法解决)。没关系,只需关闭菜单而不选择任何空闲即可。在那里,您安全无事。

虽然可以在按热键后关闭保存,但是我绝对不建议这样做。这是一种在发生意外情况时提供安全出口路线的方法。如果要切换保存方式(自动保存/手动保存),也可以在MCM中进行。



这个mod的工作原理-重要说明

-------------------------------------------------- -----------------------

为了播放起床空闲,脚本正在侦听按前进键。但仅适用于坐下/躺下后的第一次按。空闲完成后,脚本将停止侦听转发键。

按下跳转键摆脱坐姿/躺下休息是一种香草行为。该脚本完全不起作用。

您可以自行选择合适的壁架。这个Mod不寻找壁架。如果在平坦的地面上激活此模式,则PC将坐下,但其腿会“沉入”地面。一切都会正常,看起来可能很奇怪。

躺在地上时调用睡眠菜单有点棘手和棘手。 mod的实际作用是:在PC前面生成一个看不见的床单,播放闲置的床单,并在闲置结束前播放<-重要! -激活该隐形床单。这使PC躺在地上并显示睡眠菜单。关闭睡眠菜单后(无论是关闭还是实际进入睡眠状态),都会删除生成的不可见床单。这就是为什么您只能看到菜单一次的原因。为了再次调用它,您将必须站起来并再次选择睡眠模式。这就是为什么无法在躺下模式下获得睡眠菜单的原因。

躺下时(在躺下怠速完成后)激活隐形床卷不起作用。我不知道为什么,这是行不通的。 PC会被卡在地面上,而不会显示菜单。因此,为了使人有一种幻想,即PC在睡觉之前(而不是站立时睡觉)躺在地上,这是绝对必要的。

我使用的隐形床卷不是由我创建的。我在香草游戏的文件(Skyrim.esm,“ Bed Roll Ground”)中找到了它。

如果您关闭睡眠菜单,则睡眠模式本质上将变为躺下模式。如果您认为任何模式都是多余的,并且不想在列表中列出它们,则可以在MCM中进行切换。

在播放动画之前强制使用第三人称视角。在香草第一人称模式下播放这些空闲状态会带来灾难(至少这是我的测试得出的结果)。如果您已安装“沉浸式第一人称视角”之类的模组,则此行为可能会更改。取决于该mod的配置,强制第三人称的尝试可以忽略,但是空闲状态会正确播放。有些角度看起来很怪异,但没有比这更糟糕的了。

我编写脚本的方式应该支持任何重新映射的前向键。



什么时候可以休息?

--------------------------------------------------

在显示其余菜单之前,脚本将检查以下情况:

是否打开任何菜单?

相机状态不是第一人称视角还是第三人称视角?

玩家正在战斗/杀死敌人吗?

播放器是否在坐骑/跑步/偷袭中?

玩家闯入了吗? (仅当MCM中的“侵入时允许”选项关闭

玩家的武器是否被拉长?

激活/移动控件是否未激活?

玩家已经坐下/躺下了吗?

如果对这些问题中的任何一个的回答为是,您将收到“无法立即休息”。信息。总的来说,我建议您仅在不易被卡住/奇怪的风险的和平时刻休息。



通过MCM可以配置什么?

-------------------------------------------------- --------------------------------

该mod可以关闭。在关闭状态下,脚本不侦听任何事件/键,任务完全停止。再次打开mod将启动任务,因此所有配置值都将重置为默认值。

可以重新映射/取消映射其余的热键。

可以切换菜单项。

闯入时可以允许休息。此选项仅控制您是否可以坐下/躺下。睡眠/等待菜单仍由游戏控制,我认为无法更改它。因此,如果您在侵入时选择“睡眠”,则PC将会躺下并且什么也不会发生,侵入时不会产生看不见的床roll。如果您希望在侵入和其他情况下能够进入睡眠/等待状态,则需要安装一个允许它进入的mod(例如:您可以进入SKSE Remake睡眠。只要Rrest Anywhere版本> = 1.2即可完全兼容)。

您可以缩短从开始躺下怠速到激活床褥的时间间隔。在我的测试中,3秒效果最好。但是,如果在没有菜单显示时遇到问题,可以尝试降低此值。这可能会导致空闲键在显示菜单之前无法完全播放,但应使菜单更可靠。

您可以关闭之前保存(不推荐)或更改保存方法。

当您收到“无法休息”消息但不知道原因时,有一个调试选项。我在测试中没有遇到该问题,但为以防万一,我保留了该选项。它基本上会分别检查每个条件,如果没有通过,则将条件名称附加到报表中。检查完成后,您将看到一个消息框,其中列出了所有失败的条件。

有一个用于紧急空闲重置的调试选项。



要求

---------------------------

SKSE64,

SkyUI-对于MCM,

UIExtensions-用于列表菜单



兼容性

--------------------------

兼容:

Dovahkiin也可以倾斜Sit Kneel躺下并进行冥想等操作:您可以说我的mod可以作为该mod的扩展,以用于您想坐下但找不到合适的标记的情况。我还没有发现两者之间的任何冲突。

上床睡觉:mod似乎没有任何交互作用。

沉浸式第一人称视角:在第一人称视角下放下某些角度可能看起来很奇怪,但仅此而已。

您可以休眠SKSE Remake:只需在> = 1.2的任何地方休息,即可完全兼容。我建议同时使用这两个模块,以获得真正的“随时随地睡眠”体验。

兼容补丁:

Skyrim Souls RE-更新:从Skyrim Soul的文件中获取UIExtensions补丁,您应该已经准备就绪。

兼容小警告:

动画进餐Redux SE版:进餐动画在我的模块处于空闲状态时不会播放。如果您尝试在休息后进食后立即站起来,则可能需要先按几下才能最终注册。好像进食动画仍然发生但不可见,因此您必须等待几秒钟,然后才能使用前进键站起来。使用跳转键站立可以正常工作。

重申一下:只有当您使用我的mod的“ resting”选项激活食物后,才会播放饮食动画。 Animated Eating的所有功能仍然保留,在任何情况下都可以正常播放Eat动画。只是不可能一次播放两个空闲。因此,如果您已经闲着玩“盘腿而坐”,在这种情况下就不会显示进食动画。

Combat Gameplay Overhaul SE:这很独特。出于某种原因,在安装CGO时尝试使用跳转键站起来会导致PC卡在闲置的铁匠铺中。可以通过以下方式固定锻造空闲循环:1)使用前进键,2)使用MCM中的空闲重置调试选项。因此,如果启用了CGO,最好使用前向键启动-它可以正常工作。但是,在MCM的“兼容性”选项卡中,我包含了将重置空闲键绑定到跳转键的选项。如果将其打开,则可以使用跳转键安全地站起来。您可能会看到锻造的开始处于空闲状态一秒钟,但是它将很快恢复为正常状态。

重要提示:脚本在休息后仅侦听第一次按下跳键的情况。如果检测到玩家坐下/躺下,它将重置按键的空闲状态,然后注销按键的注册。它根本不会与跳跃力学互动。

第二个警告:安装了CGO时,睡眠菜单可能会出现一些问题。如果哟

)

要体验它们,请转到MCM中的“高级”选项卡,并降低显示睡眠菜单之前的时间,例如1秒。



安装

----------------------

与您的MOD管理。 备份您的保存,以防万一-我始终建议您这样做。



解除安装

---------------------------

在MCM中关闭该mod。 这实际上将其关闭,并且不会对您的游戏产生任何影响。 如果您确实想额外停用该模块,则这样做应该是安全的,但是在Papyrus日志中可能会有一些警告。



虫子?

------------

我已尽力彻底测试了mod,但总有可能错过了一些东西。 如果您发现任何问题,请在“错误”标签中告诉我。 我会尽力修复它。

————————————————————————————————————————————————
My take on making a simple "relax anywhere" mod. I wanted a few kinds of idles with minimum hotkeys and a minimized risk of getting stuck. In my testing the mod worked smoothly and I didn't really have any troubles with it so I decided to share it. There's a short and kind of crude video available if you want to see the animations before downloading.




How to rest
----------------------
Pressing a hotkey (default is L) displays a list of available idles:

sit cross legged,

sit on a ledge,

lay down,

sleep.



How to stand up
--------------------------------

Gracefully: just press the forward key (w by default). It will play a nice animation of getting up.

Abruptly: if the graceful method fails (I haven't encountered it in my testing, but there always is a possibility), press the jump key (space by default). There won't be a nice animation, the PC will abruptly jump to a standing position. But it can get you out of being stuck. There might be some issues with this option while using Gameplay Combat Overhaul. There is included fix for this in the Compatibility tab of the MCM. Details below in the Compatibility section of the description - please read them if you have CGO installed.

Emergency: if all else fails, there is a debug option in the MCM that allows resetting the player's idle. Turn it on and close the MCM. It really should work.

Panic mode: if something really weird happened and you absolutely can't get up, load the emergency save. Every time you press the rest hotkey, the game is saved before displaying the list menu. When you load this save, a list menu will be open (couldn't get around that). It's ok, just close the menu without picking any idle. There, you're safe and unstuck.

While it's possible to turn off saving after pressing the hotkey, I absolutely do not recommend it. It's a method of providing a safe exit route in case something unexpected happens. 

If you want to switch saving method (autosave/ manual save), you can also do that in the MCM.


How this mod works - important notes
-------------------------------------------------------------------------

In order to play the getting up idle, the script is listening for pressing the forward key. But only for the first press after sitting/ laying down. After getting up idle is done, the script stops listening for the forward key. 

Getting out of sitting/ laying down idle by pressing the jump key is a vanilla behavior. The script doesn't touch it at all.

It is up to you to find a suitable ledge to sit on. This mod doesn't look for ledges. If you activate this mode while on a flat ground, the PC will sit but their legs will "sink" into the ground. Everything will work, just might look weird.

Invoking the sleep menu while laying on the ground is kind of hacky and tricky. What the mod actually does is: spawns an invisible bedroll in front of the PC, plays the laying down idle and just before the idle ends <- important! - activates that invisible bedroll. This makes the PC lay down on the ground and shows the sleep menu. After the sleep menu is closed (whether you dismiss it or actually sleep), the spawned invisible bedroll is deleted. That's why you can only see the menu once. In order to invoke it again, you will have to stand up and pick the sleep mode again. And that's why it's not possible to get sleep menu in lay down mode.

Activating the invisible bed roll while laying down (after the lay down idle is completed) doesn't work. I don't know why, it just wouldn't work. The PC would be stuck on the ground with no menu showing up. Therefore in order to get an illusion of the PC laying down on the ground before sleeping (and not sleeping while standing up), the right timing is absolutely necessary.

The invisible bed roll I'm using wasn't created by me. I found it in the vanilla game's files (Skyrim.esm, "Bed Roll Ground").

If you dismiss the sleep menu, the sleep mode essentially becomes a lay down mode. If you think any modes are redundant and you don't want them on your list, you can toggle them in the MCM.

Third person view is forced before playing the animation. Playing any of those idles while in vanilla first person mode is a recipe for disaster (at least that's what came out in my tests). This behavior can change if you have installed a mod like Immersive First Person View. Depending on the configuration of that mod, the attempt to force third person could be ignored, but the idle will play correctly. Some angles might look weird, but nothing worse than that.

I wrote the script in a way that should support any remapped forward keys.



When is it possible to rest?
--------------------------------------------------
Before displaying the rest menu, the script checks for the following conditions:

Is any menu open?

Is the camera state something else than first or third person view?

Is the player in combat/ kill move?

Is the player on mount/ running/ sneaking?

Is the player trespassing? (Only if the "Allow when trespassing" option in the MCM is off.)

Is player's weapon drawn?

Are the activate/ movement controls inactive?

Is the player already sitting/ laying down?

If the answer to any of those questions is yes, you will receive "Can't rest right now." message. In general, I recommend resting only in peaceful moments when there is low risk of something getting stuck/ weird.


What can be configured through the MCM?
----------------------------------------------------------------------------------

The mod can be turned off. In the off state, the script doesn't listen for any events/ keys, the quest is completely stopped. Turning the mod again will start the quest, therefore all config values will be reset to default.

It's possible to remap/ unmap the rest hotkey.

It's possible to toggle the menu entries.

It's possible to allow resting while trespassing. This option controls only whether you can sit/ lay down. Sleep/ wait menu is still controlled by the game and I don't think it's possible to change it. So if you pick "Sleep" while trespassing, the PC will lay down and nothing else will happen, the invisible bed roll isn't spawned while trespassing. If you want to be able to sleep/ wait while trespassing and in other circumstances, you need to install a mod that allows it (for example: You Can Sleep SKSE Remake. Simply Rest Anywhere version >= 1.2 is fully compatible).

You can lower time interval from starting the lay down idle to activating the bed roll. In my testing, 3 seconds worked the best. But if you experience problems with no menu showing up, you can try to lower this value. It may cause the idle to not play completely before displaying menu but it should make the menu more reliable.

You can turn off saving before (not recommended) or change the save method.

There's a debug option for when you get the "can't rest" message but don't know why. I haven't encountered that problem in my testing but I left the option just in case. It basically checks every condition separately and if it's not passed then it appends the name of condition to the report. After the check is complete you'll get a message box with all the failed conditions listed.

There's a debug option for emergency idle resetting.



Requirements
---------------------------

SKSE64,

SkyUI - for the MCM,

UIExtensions - for the list menu.



Compatibility
--------------------------
Compatible:

Dovahkiin can lean Sit Kneel Lay down and Meditate etc too: you could say my mod can be extension of this mod for situations when you want to sit but you can't find an appropriate marker. I haven't found any conflicts between the two.

Go to bed: the mods don't seem to interact in any way.

Immersive First Person View: some angles might look weird while laying down in the first person view, but that's it.

You Can Sleep SKSE Remake: Simply Rest Anywhere version >= 1.2 provides full compatibility. I recommend using these two mods together for a true "sleep anywhere" experience.

Compatible with a patch:

Skyrim Souls RE - Updated: grab the UIExtensions patch from Skyrim Soul's files and you should be all set.

Compatible with small caveats:

Animated Eating Redux SE edition: the eating animations won't play while and idle from my mod is active. If you try to stand up immediately after eating while resting, it might take a few forward key presses to finally register. It's as if the eating animation still happens but isn't visible so you have to wait a few seconds before standing up using the forward key. Standing up using the jump key works without problems.

To reiterate: the eating animations won't play only when you activate food while using the resting option from my mod. All the functionality of Animated Eating is still preserved, eating animations in all circumstances play normally. It's just that it's not possible to play two idles at once. So if you're already playing "sitting cross legged" idle, the eating animation in this case can't be shown.

Combat Gameplay Overhaul SE: this one is peculiar. For some reason attempting to stand up using the jump key while having CGO installed will cause the PC to get stuck in the smithing idle out of all things. The smithing idle loop can be fixed by: 1) using the forward key, 2) using the idle resetting debug option from the MCM. Therefore it's better to get up using the forward key if you have CGO enabled - it works without problems. However, in the compatibility tab of the MCM I included the option to bind the resetting idle to the jump key. If you toggle it on, you can safely stand up by using the jump key. You might see the beginning of the smithing idle for a second, but it will quickly get reset to normal.

Important: the script listens only for the first jump key press after resting. It resets the idle on the key press if the player is detected sitting/ laying down and then deregisters for the key. It won't interact with the jumping mechanics at all.
Second caveat: while CGO is installed, there might be some problems with the sleep menu showing up. If you experience them, go to the "Advanced" tab in the MCM and lower the time before displaying the sleep menu, for example to 1 second.


Installation
----------------------
With your mod manager. Backup your save, just in case - I always recommend it.


Uninstallation
---------------------------
Toggle the mod off in the MCM. This actually turns it off and it won't have any effect on your game. If you really want to additionally deactivate the mod, it should be safe to do so but there might be some warnings in Papyrus log. 


Bugs?
------------
I did my best to test the mod thoroughly, but there is always chance that I have missed something. If you find anything, let me know in the Bugs tab. I'll do my best to fix it.


原贴地址
1.版本号: 1.2.0   更新时间: 2020-06-03 14:59:24

选择快速回复类型:
  • 感谢
  • 支持
  • 疑问
  • 卖萌
  • 关心
  • 傲娇
评论


    作者精品
    logo

    只需在任何地方休息(或睡觉)


    Mod大小:16.14KB
    上传时间:2020-06-03 14:47:24

    Mod简介:

    暂无更多介绍

    本地下载
    选择快速回复类型:
    • 感谢
    • 支持
    • 疑问
    • 卖萌
    • 关心
    • 傲娇
    回复