上古卷轴重制版

上古卷轴重制版:人数过多导致的NPC飞天解决方案的集锦

本文于2020年12月22日由AlvinCR更新

文章导引

1.修改必要性

在天际中添加大量刷新脚本,以及刷新人物的mod:时之沙+瓦鲁天启+人口大修(我打了两个…)+旅行的NPC+天际雇佣兵+冒险家+强盗据点人口大修等等,使得场景中经常遇到的NPC数量随随便便就超过50+,每次战斗都得打十分钟起步,甚至有一次在夜间冬堡上方的冰原上刷新出100+的阴影战士….

2.初始状态

使用各种mod使得每个场景中加载的人数都超过60多人,在没修改参数之前,“得益于”上古卷轴古老的引擎总是出现人物飞天的情况,(飘在空中然后越飞越高,最后飞出地图)

3.修改方式

3.1 开启垂直同步,并限制帧数为60Hz(主要解决飞天bug,并不是此类飞天现象)

此方法主要解决的是出现的瞬移式飞天,不包括猛犸,解决的应该是高帧率导致的问题。

3.1.1 未使用enb

找到c盘文档中的/mygame/skrimSE里的配置:

C:\Users\Administrator\Documents\My Games\Skyrim Special Edition,

使用记事本打开SkyrimPrefs.ini
将[Diaplay]条目中的 iVSyncPresentInterval=0,改为iVSyncPresentInterval=1即可(按照网上教程查找iPresentInterval=1你是查不到的)

3.1.2 使用enb

通过修改安装目录下的enblocal.ini来实现,不需要修改SkyrimPrefs,保险起见还是使用mo管理器修改SkyrimPrefs.ini,这里就不要去c盘找SkyrimPrefs.ini了,mo调用的有它专用的文件。


[ENGINE] ForceVSync=true
VSyncSkipNumFrames=0

[LIMITER] EnableFPSLimit=true
FPSLimit=60.0

3.2 更新刷新的时间

将skyrim.ini中的[Papyrus] fPostLoadUpdateTimeMS=5000.0,由500改为5000,
改完之后会明显的感觉到NPC刷新后,人物响应变慢,需要站立2-3秒后才有AI调用。

https://forums.nexusmods.com/ind … ug-how-do-i-fix-it/
https://www.reddit.com/r/skyrimm … stloadupdatetimems/
原文:

There are two primary factors responsible for creating the infamous floating NPCs bug in Skyrim SE. The culprits are mods and graphic settings which increases simultaneous NPC spawns such as the Warzones mod by MyGoodEye, and the uGridstoload= , uExterior Cell Buffer= and fPostLoadUpdateTimeMS= settings in Skyrim.ini.

These two factors cause:

– Excessive immediate load on the physics engine.

– Not enough time to load in the core physics components of loaded NPCs before introducing script bloat, thus stalling and improperly loading the physics on specific NPCs.

Unfortunately, the solution to this problem cannot be 100% repaired because in some instances you will have an excessive amount of simultaneous spawns crippling the physics engine on NPC load regardless of NPC spawn distances. HOWEVER, there is a solution or a ‘fix’ which you can use to prevent this from happening in the general open world of Skyrim 99% of the time, by simply increasing the uExterior Cell Buffer= , and fPostLoadUpdateTimeMS range in Skyrim.ini so that it loads up the core NPC physics components into memory at a greater distance before Skyrim Script bloat takes over.

1: Contrary to what the S.T.E.P project recommends, use the following formula and apply the result to the uExterior Cell Buffer parameter where x is your uGridstoload value and y =0.3: round( (( uGridstoload=x +1 ) + ( uGridstoload= (x +1)  * y ) )^2 )

So if uGridstoload=9 then uExterior Cell Buffer=169. Feel free to vary y between a value of 0.15 and 0.4 depending on the speed of your overall PC.

2: Under [Papyrus] increase fPostLoadUpdateTimeMS to  fPostLoadUpdateTimeMS=15000.0

I run a heavily modded and bloated Skyrim SE and this is the only ‘Solution’ I have discovered. See if this works for you because it has nearly entirely eradicated this pesky problem form me, just remember to start a new game !

大意是说:产生浮动NPC错误有两个主要因素。罪魁祸首是MOD和图形设置,它们会同时增加NPC生成,由于NPC刷新过快无法给定足够的运行时间,导致NPC响应出现问题。

关于数值设定问题

您可以将其增加到1000、1500或2000,是的,这会增加加载时间,但要权衡是,一切都需要花费额外的时间进行设置。除非您使用的是ssd,否则我建议您不要高于1000。ssd上的差异非常明显,并且加载屏幕会使我不满意。

3.3 增加cell

(不知道怎么翻译,相比于细胞翻译为控制单元我认为更合适)N网:https://www.nexusmods.com/skyrimspecialedition/mods/6270
增加控制单元的数量,mod我小做了修改,由于我加载100人以内时出现飞天的现象不明显,但是原版mod最多单元版本只有75个,我将其改为了300个,发现效果不好,又将其改为1000个。
为方便大家,附地址:
链接:https://pan.baidu.com/s/1t_N8Ee8k9YCz0Isx0dKG7A

提取码:7ewz

3.4 降低可视距离

对于低配玩家,或是不愿意修改cell以及刷新时间,同时又想玩天际-骑马与砍杀的朋友,那么就只有降低可视距离一条路了,但是个人感觉没用,可视距离和飞天的关系不大,主要是为了减缓cpu压力。
https://forums.nexusmods.com/ind … ing-NPC-glitch-yet/

4.修改后

玩天启MOD,一次性刷新50+的僵尸,未修改前经常有人物飞出地图,修改后连续刷新8波并没有发现飞天现象(测试中会伴随僵尸刷出几头龙,未修改前龙并不会出现异常)

一开始还是会出现飞天的情况,可能是我设置的没起效果,也有可能是因为没有我测试时那么极端(下面图片测试的时候直接添加200,最多的添加了450个,直接变为1帧卡死….)

 

测试图:

​​

留言

您的电子邮箱地址不会被公开。 必填项已用*标注