用户登录
|忘记密码

新用户注册

登录

其他登陆



睡眠升级

作者:firehazard96
发布:pjx10000
发布日期:2020-02-05 21:58:39
更新时间:2020-02-05 21:58:39
头像
968
404 人收藏
1895 次下载
6577 次浏览
1.0
上古卷轴5:重置版
本地下载 高速下载 需要优先下载下载器,50%提速

要求

SKSE



特征


升级

这个mod会将您的XP限制在您升级所需的水平以下。所有多余的XP都会保存下来,直到您入睡为止。详细信息如下:

即使您已经达到XP上限,您的技能也会正常增加。

超出上限的所有XP均将保存以供以后使用。

您在24小时内最多只能升级一次。

当您下次连续睡眠至少8个小时时,您将获得足够的已保存XP供您升级。关闭技能菜单后,除此以外的所有已保存XP都会提供给您。如果您有足够的已保存XP用于下一个升级,则您的XP将被限制在其下。剩余的XP仍会为您保存,但您必须等待24小时才能获得。

当您睡了8个小时后醒来时,“技能菜单”将自动打开并迫使您立即升级。*


累积奖励积分

这个mod还可以防止您花费额外的积分,除非连续8小时的睡眠。详细信息如下:

升级后您没有立即花费的所有Perk积分都将从角色中删除并保存以备后用。

连续至少8个小时的睡眠后,您将有机会消费自己的奖励积分。它们将被退还给您,并且“技能菜单”将自动打开。*您不花费的任何特权都会再次从角色中删除并保存,直到下次您连续睡眠至少8个小时为止。与升级不同,您不必等待24小时即可再次进行升级。


*关于技能菜单自动打开。仅当映射了打开技能菜单的键时(默认情况下),才会发生这种情况。这是因为脚本通过伪造按键来打开菜单。如果您没有映射到此的密钥,请不用担心!我提出了一种解决方法。


在尝试按键之前,脚本会禁用您的移动,攻击和其他一些功能(您呃,还在睡觉吗?)。手动打开和关闭“技能菜单”会将这些东西恢复为该MOD禁用它们之前的状态(这意味着,如果您有一个事先禁用了这些东西中的任何一个,它仍将按预期运行)。

如果可以升级,则必须在关闭“技能菜单”之前执行此操作,否则这些内容将无法恢复,您必须重新打开它并升级后才能再次关闭它。您无法避免在关闭后立即打开“技能菜单”来进行升级。

我建议仅将一个按钮映射到“技能菜单”,然后让菜单自动打开。它会带给您最身临其境的体验。



未来的计划

从初始版本开始,所有内容都进行了硬编码。我打算对此进行更改,并将其与可以通过xEdit更改的全局变量联系起来。这可能包括诸如您必须睡觉才能升级的时间,升级之后必须等待多长时间才能再次进行升级,是否允许您不睡觉而花费额外积分以及是否需要升级的问题,例如睡觉后马上起来。

我不确定是否要针对上述内容创建MCM。如果您需要使用许多Mod,那么MCM可能会变得很杂乱和繁琐,而且无论如何这些设置都已经按照我的个人喜好进行了配置。如果有需求,我可以这样做。

添加功能,可以在升级时阻止健康/ Magicka / Stamina补充水分。对于大多数人而言,这无关紧要,因为无论如何,这些东西都会从之前的睡眠中恢复。但是,对于我们中那些希望使用“无/非常低的健康更新”模块的人,将不胜感激。

添加功能来限制您一次可以花多少个特权点。

————————————————————————————————

Requirements

SKSE



Features

Levelling Up
This mod will cap your XP to just below what you need to level up. All excess XP is saved until you sleep, at which point you'll level up. The details are as follws:

Your skills will increase normally, even after you have reached the XP cap.

Any XP beyond the cap is saved for later.

You cannot level up more than once in a 24-hour period.

When you next sleep for at least 8 consecutive hours, you'll get just enough of the saved XP back for you to level up. Any saved XP beyond that will be given to you after you close the Skills Menu. If you have enough saved XP for the next level up, your XP will be capped just under it. The remaining XP is still saved for you but you must wait 24 hours to get it.

When you wake up after sleeping for 8 hours, the Skills Menu will automatically open and force you to level up straight away.*


Spending Perk Points
This mod also prevents you from spending your perk points, except after a consecutive 8 hours of sleep. The details are as follws:

Any Perk Points you don't spend immediately after leveling up will be removed from your character and saved for later.

After any sleep of at least 8 consecutive hours, you will have a chance to spend your perk points. They will be given back to you and the Skill Menu will automatically opened.* Any perks you don't spend will, again, be removed from your character and saved until the next time you sleep for at least 8 consecutive hours. Unlike with levelling up, you do not have to wait 24 hours to do this again.


*About the Skills Menu automatically opening.This will only happen if there is a key mapped to open the Skills Menu (there is by default). This is because the script opens the menu by faking a key press. If you don't have a key mapped to this, no worries! I put in a workaround.

Before attempting the key press, the script disables your ability to move, attack and a few other things (you're uh, still asleep?). Opening and closing the Skills Menu manually will revert these things to the way they were before this mod disabled them (meaning, if you have a mod that disabled any of these things beforehand, it should still work as intended).
If you can level up you must do so before closing the Skills Menu or these things won't be restored, and you'll have to re-open it and level up before closing it again. You can't avoid levelling up by opening the Skills Menu immediately after closing it.
I recommend just mapping a button to the Skills Menu, and letting the menu automatically open. It will give you the most immersive experience.


Future Plans

As of the inital release, everything is hard-coded. I intend to change that and tie things to Global Variables that can be changed with xEdit. This might include things like the amount of time you must sleep to level up, how long you must wait after levelling up before you can do so again, whether you are allowed to spend your perk points without sleeping, and whether you are required to level up immediately after sleeping.

I am unsure of whether to create an MCM for the above. The MCM can get quite cluttered and cumbersome if you have to many mods and the settings will already be configured to my personal preference anyway. I may do so if there's demand for it.

Add the ability to stop your Health/Magicka/Stamina from refilling when you level up. This won't matter for most people, because these things will refill from the prior sleep anyway. However, for those of us who want to use No/Very-Low Health Regeneration mods, this would be appreciated.

Add the ability to restrict how many perk points you can spend at once.


原贴地址
1.版本号: 1.0   更新时间: 2020-02-05 22:03:08

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


    作者精品
    logo

    睡眠升级


    Mod大小:3.34KB
    上传时间:2020-02-05 21:58:47

    Mod简介:

    暂无更多介绍

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

    closeAD