消息自动清理 Message Feed Limiter

If you liked this item, please rate it up on Steam Workshop page.

Author: 鹿经夜夜读,功力日日深

Last revision: 10 Jun at 13:39 UTC

File size: 114.61 KB

On Steam Workshop

Description:

Message Feed Limiter

CK3 的右侧消息栏没有硬上限。如果在某些情况下右侧堆积了大量消息,例如同时处决大量囚犯、后期大量事件结果集中弹出,消息栏可能造成严重卡顿。如果你注意到平时右键清空全部消息后游戏会明显流畅一段时间,那么这个 MOD 可以帮你自动处理这类积压,也顺便省下你的鼠标使用寿命。

CK3’s right-side message feed does not have a hard cap. In some situations, such as executing a large number of prisoners at once or receiving a heavy burst of late-game event results, the feed can accumulate a large backlog and cause serious slowdown. If you notice that the game becomes noticeably smoother after right-clicking to clear all messages, this mod can automate part of that cleanup and save your mouse some wear.

本 MOD 会限制右侧消息栏最多渲染 20 条消息。当右侧已经显示 20 条消息,并且后面仍有待显示消息时,它会自动清理当前已显示列表中的 15 条,只保留 5 条,让积压消息更快排空。

This mod limits the right-side message feed to 20 rendered entries. When 20 messages are visible and more messages are still queued, it automatically clears 15 already-visible entries while keeping 5 visible entries, allowing the backlog to drain faster.

本 MOD 只在右侧消息大量堆积时有用。如果你的 MOD 列表和游玩风格通常不会制造大量右侧消息,例如不会一次性处决数百名囚犯,那么你不需要这个 MOD。它的处理方式比较激进,右侧消息只显示 20 条,可能会让你来不及确认部分消息。

This mod is only useful when the right-side message feed can build up a large backlog. If your mod list and playstyle do not usually create this problem, for example if you do not execute hundreds of prisoners at once, you probably do not need this mod. Its approach is aggressive: the feed only displays 20 messages, so you may miss or have less time to review some messages.

兼容性 / Compatibility

本 MOD 覆盖原版文件:

gui/hud_notification_templates.gui

This mod overrides the vanilla file:

gui/hud_notification_templates.gui

因此,它会和其他修改右侧通知、消息栏、HUD 通知模板的 UI MOD 冲突。请将本 MOD 放在你希望它覆盖的 UI MOD 之后加载。如果其他 UI MOD 后加载,它们可能会覆盖本 MOD,使限制失效。

Because of this, it may conflict with other UI mods that modify right-side notifications, the message feed, or HUD notification templates. Load this mod after the UI mods you want it to override. If another UI mod loads after this one, it may override this mod and disable the limiter.

制作说明 / Creation Note

本 MOD 由 GPT 辅助制作,主要用于个人游玩中的性能和可用性修正。

This mod was made with GPT assistance, mainly as a personal gameplay performance and usability fix.

自由使用声明 / Free Use Permission

任何人都可以自由使用、修改、重新上传、更新、修复、翻译,或将本 MOD 整合进自己的 MOD 中。不需要提前征求许可;署名欢迎但不强制。

Anyone may freely use, modify, reupload, update, fix, translate, or integrate this mod into their own mod. No advance permission is required; credit is appreciated but not required.