生存日志 数据库English
防御管理: 一个面板管理家外面的所有陷阱和路障:一键修理全部受损的防御设施、清除损毁的防御设施,或逐个修理和拆除。用 F7 或 HUD 按钮打开,游戏的「规划模式」界面上也有「全部修理」和「清除全部损毁」按钮。电力防御设施可以设为只在僵尸到达基地时、只在僵尸靠近时或一直开启。还能让电锯打到爬行者丧尸。

防御管理

一个面板管理家外面的所有陷阱和路障:一键修理全部受损的防御设施、清除损毁的防御设施,或逐个修理和拆除。用 F7 或 HUD 按钮打开,游戏的「规划模式」界面上也有「全部修理」和「清除全部损毁」按钮。电力防御设施可以设为只在僵尸到达基地时、只在僵尸靠近时或一直开启。还能让电锯打到爬行者丧尸。

版本
0.7.3
游戏版本
1.1.19611
分类
便利
设置
7
快捷键
2
版本数
10
语言
English, 中文

维护家外面的防御设施,意味着要走到每一个跟前点开它的菜单。Defense Manager 把它们全部列在一个面板里,一键就能修理或清除。

亮点

全部修理

为材料够用的每个受损防御设施排队修理,最近的优先。

清除全部损毁

为每个损毁的防御设施排队拆除。已经排队修理的会保留。

空地网格

按从房子往外一行一行显示空地的每个格子,每个防御设施放在它所在的格子上,颜色表示它的状态。还没解锁的格子会显示它的生存点价格。

点击即可操作

点击防御设施可查看耐久、修理费用、「修理」和「拆除」以及供电模式。点击行号后,「修理第 n 行」会修理这一行的全部防御设施。

待修理列表

「全部修理」下方按损坏程度从重到轻列出每个需要修理的防御设施。

按钮会说明原因

灰掉的按钮下方会显示原因,例如「还差 3 个木材」。

查看全部 15 项功能

全部功能 15

全部修理

为材料够用的每个受损防御设施排队修理,最近的优先。

清除全部损毁

为每个损毁的防御设施排队拆除。已经排队修理的会保留。

空地网格

按从房子往外一行一行显示空地的每个格子,每个防御设施放在它所在的格子上,颜色表示它的状态。还没解锁的格子会显示它的生存点价格。

点击即可操作

点击防御设施可查看耐久、修理费用、「修理」和「拆除」以及供电模式。点击行号后,「修理第 n 行」会修理这一行的全部防御设施。

待修理列表

「全部修理」下方按损坏程度从重到轻列出每个需要修理的防御设施。

按钮会说明原因

灰掉的按钮下方会显示原因,例如「还差 3 个木材」。

材料不足提示

「全部修理」下方会列出每种不够的材料,显示为 可用 / 所需。

拆除时不弹确认框

和防御设施自己菜单里的拆除完全一样。

HUD 按钮

左下角工具栏最上方的盾牌按钮可以打开面板。

「规划模式」界面按钮

打开游戏的「规划模式」界面时,「全部修理」「清除全部损毁」「防御列表」三个按钮会出现在屏幕顶部中间,样式和「规划模式」自己的按钮一致。「防御列表」会打开面板。可以在配置中关闭。

使用游戏自己的行动

修理和拆除会排到你的行动队列末尾,你自己排好的行动先执行。

供电模式

模组会替你切换电力防御设施。仅尸潮在尸潮期间和基地有僵尸时开启,其余时间关闭;僵尸靠近在有僵尸进入范围(默认 15 米)时开启,连续 10 分钟游戏时间没有僵尸后关闭;常开一直开启;默认交给游戏自己的开关。

单个、同类或全部

点击防御设施可以单独设置它的模式,在「供电」标签页可以设置同类的全部。没有单独设置的跟随它的类型,类型也没有设置的跟随全局模式(默认是仅尸潮)。

「设置」标签页

直接在面板里修改「规划模式」界面按钮、全局供电模式、靠近触发的范围、爬行者闪避概率和防御设施攻击频率。

电锯能打到爬行者

原版游戏中爬行者总能闪避「机械电锯」。本模组把闪避概率降到 25%,每种爬行者的概率都可以在配置里设置。

设置 7

保存在BepInEx\config\com.dev.survivallog.defensemanager.cfg在 Mod Manager 的「模组」界面修改,或在游戏关闭时编辑这个文件。

Combat

[Combat]
CrawlerDodgeChance
数值
默认 0.25
「爬行者丧尸」闪避「机械电锯」攻击的概率,0(每次都命中)到 1(永远打不到)。原版游戏中为 1,电锯刀片完全打不到爬行者。默认 0.25。
范围 0 到 1
Chance that a Crawler Zombie dodges a hit from the Mechanical Chainsaw, from 0 (every hit lands) to 1 (never hit). In the base game it is 1, so the chainsaw blade never hits crawlers.
ArmoredCrawlerDodgeChance
数值
默认 0.25
「重甲爬行者丧尸」闪避「机械电锯」攻击的概率,0(每次都命中)到 1(永远打不到)。原版游戏中为 1。默认 0.25。
范围 0 到 1
The same for the Armored Crawler Zombie.
DeviceAttackRate
数值需重启
默认 1
防御设施攻击的频率:2 为两倍频率,0.5 为一半,1 为游戏原速。用电的防御设施每次攻击都耗电,所以频率越高耗电越多。默认 1,可设为 0.25 到 10。下次启动游戏时生效。
范围 0.25 到 10
How often defense devices strike: 2 strikes twice as often, 0.5 half as often, 1 is the game's own rate. From 0.25 to 10. A powered device uses power on every strike, so a higher rate uses more power. Takes effect at the next game start.

Controls

[Controls]

For PanelKey, the value is a Unity key name, for example F7, F11, Insert or Keypad5. None turns the key off. Esc always closes the open panel and cannot be changed. The panel, the shield button and the Layout screen's Defense list button show the key you pick.

The game is paused while the Layout screen is open, so anything queued from its buttons starts when you leave Layout.

PanelKey
按键
默认 F7
打开和关闭 Defense Manager 面板的按键,默认 F7。设为 None 则停用该按键,屏幕左下角的盾牌按钮仍可打开面板。
Key that opens and closes the Defense Manager panel. None turns the key off; the shield button in the bottom-left corner of the screen still opens the panel.
LayoutControls
开 / 关
默认 开
在游戏「规划模式」界面的顶部中间显示「全部修理」「清除全部损毁」「防御列表」三个按钮。设为 false 则隐藏这些按钮,面板按键和盾牌按钮照常可用。
Shows Repair all, Clear all broken and Defense list buttons at the top middle of the game's Layout screen. false hides them; the panel key and the shield button still work.

Power

[Power]

A defense's own setting wins over its type's, and a type's setting wins over DefaultMode. Those two are set in the panel, not in this file: a defense's own mode when you click it on the yard grid, and a type's mode on the Power tab. They are kept for each save in BepInEx\config\com.dev.survivallog.defensemanager.power.txt, which the mod writes itself; edit it only while the game is closed, or delete it to clear every defense and type setting.

Changing DefaultMode here changes every defense and type that has no setting of its own.

Repairing an electrical defense makes the game switch it on, which costs one tick of power even when its mode has the mod switch it off again straight after.

The defense and type settings belong to a save file. A game that carries on under a new save file name, such as after an ending or in endless mode, starts with none of its own and follows DefaultMode.

DefaultMode
选项
默认 WaveOnly
电力防御设施在该设施及其类型都没有单独设置(在 Defense Manager 面板中设置)时的供电方式。WaveOnly:尸潮期间以及基地有僵尸时开启,其余时间关闭。AlwaysOn:始终开启。Proximity:有活着的僵尸进入 ProximityRange 范围内时开启,范围内连续 10 分钟游戏时间没有僵尸后关闭。Default:本模组不干预,由游戏自身的电源开关决定。
WaveOnlyAlwaysOnProximityDefault
How electrical defenses are powered when neither the defense nor its type has a setting of its own in the panel. WaveOnly: on during waves and while zombies are at the base, off otherwise. AlwaysOn: always on. Proximity: on while a living zombie is within ProximityRange, off once none has been in range for 10 minutes of game time. Default: the mod leaves the defense alone and the game's own power switch decides.
ProximityRange
数值
默认 15
设为 Proximity 的防御设施在活着的僵尸进入多少米范围内时开启。按地面水平距离计算,不计高度。默认 15,可设为 1 到 100。
范围 1 到 100
How close, in meters, a living zombie must come to turn on a defense set to Proximity. Measured along the ground; height does not count. Any number from 1 to 100.

快捷键 2

F7

打开或关闭面板(在家中、已载入游戏且过了序章时)。

Esc

关闭面板。

F7 可以在配置中修改或停用。面板打开时游戏自己的快捷键不起作用。

模组不会往存档里写入任何数据;它的供电设置是它自己的数据,按存档分别保存在 BepInEx\config\com.dev.survivallog.defensemanager.power.txt。它排队的修理和拆除都是真实的:会消耗你的材料,也会拆掉防御设施。你可以随时移除它;防御设施保持原样,每个电力防御设施会保持模组最后一次切换的供电状态,因为游戏会保存这个开关。

支持英文和中文。

安装

  1. 安装 BepInEx (如果之前没有装过其他模组,先启动一次游戏,让 BepInEx 完成初始化,然后退出)。
  2. 可选(改动设置无需重启游戏):用同样的方式安装 Exiled's Toolkit,下载它的压缩包并解压到游戏目录。
  3. 在 Nexus 的「文件」页下载压缩包。
  4. 把压缩包解压到游戏目录(SurvivalLog.exe 所在的文件夹)。压缩包里带有 BepInEx 文件夹,DLL 会自动放到正确位置。如果提示合并文件夹,选择合并。解压后应为:
    C:\Program Files (x86)\Steam\steamapps\common\Survival Log\BepInEx\plugins\DefenseManager.dll

文件位置

Survival Log\
├─ SurvivalLog.exe
└─ BepInEx\
   ├─ plugins\
   │  └─ DefenseManager.dll
   └─ config\
      └─ com.dev.survivallog.defensemanager.cfg   (首次启动时生成)

卸载

从 BepInEx\plugins 文件夹中删除 DefenseManager.dll。每个电力防御设施会保持模组最后一次切换的供电状态;想改的话,用该防御设施自己的菜单切换。

设置

大部分设置可以在面板的「设置」标签页修改。如需修改按键、关闭「规划模式」界面上的按钮,或设置全局供电模式(DefaultMode)和靠近触发的范围(ProximityRange),可以在游戏内 Mod Manager 的「模组」界面修改(立即生效,DeviceAttackRate 在下次启动游戏时生效),也可以在游戏关闭时编辑 BepInEx\config\com.dev.survivallog.defensemanager.cfg。配置文件中每项设置都有中文说明,完整说明见 CONFIG.md(英文)。没装 Exiled's Toolkit 的话,在「模组」界面的改动改为在下次启动游戏时生效。

更新日志 10 个版本

更新日志只有英文版。

  1. 0.7.3Nexus 页面游戏 1.1.19611
    • Less lag when a wave starts or a save loads: defenses now turn on or off one at a time over a few frames instead of all in the same frame.
    • Less stutter between waves: Wave only defenses now just check whether any zombie is around, instead of looking up where every zombie is.
    • Less stutter while the panel is open: picking a defense or a row no longer redraws the top of the panel.
    • Less stutter when you open the panel again: only the defenses that changed since you closed it are sent and redrawn.
    • Less stutter in fights: the crawler dodge chances for the Mechanical Chainsaw are checked once a second instead of once a frame.
    • Less stutter overall: the mod writes its log file in the background.
    • Made for Survival Log 1.1.19611.
  2. 0.7.2游戏 1.1.19611
    • Less lag: the game no longer freezes for a moment the first time the mod reads your defenses after a save loads.
    • Less stutter: while the panel is open, each refresh redraws only the defenses that changed.
    • Less stutter: the power check that runs twice a second skips defenses that use no power, and looks for zombies only when a power mode needs to know where they are.
    • Less stutter on the Layout screen: the Repair all and Clear all broken buttons are redrawn only when their numbers change.
    • Less stutter in fights: the crawler dodge chances for the Mechanical Chainsaw are checked at most once a frame instead of on every swing.
    • Right after a save loads, the panel can show the first letter of a defense's name for a second until its picture is ready.
    • Made for Survival Log 1.1.19611.
  3. 0.7.1游戏 1.1.19611
    • Less stutter: the power check looks up each kind of defense's name once instead of twice a second.
  4. 0.7.0游戏 1.1.19131游戏 1.1.19611
    • A new panel. Your yard shows as its real grid of squares, row by row out from the house, with each defense on the square it stands on, colored by its state. Squares you have not unlocked yet show their Survival Points price.
    • Click a defense to see its condition, repair cost, Repair and Remove, and its power mode. Click a row number to see that row and repair everything in it with Repair row. Click an empty square to see whether it is yours.
    • The side panel lists every defense that needs repair, worst first, under Repair all, and says which materials you are short of.
    • A Power tab sets the power mode for each type of electrical defense, and lists the ones set on their own with a button to put each back on its type's mode.
    • A Settings tab changes the Layout screen buttons, the default power mode, the Proximity range, the crawler dodge chances and the device attack rate from the panel.
    • The panel follows the warm gold look of the game's newer screens.
    • Made for Survival Log 1.1.19131.
  5. 0.6.1游戏 1.1.19131
    • With Exiled's Toolkit 0.6.0 or later, the HUD button lines up neatly with other mods' buttons.
    • After a game update, Mod Manager can tell you if this mod may need an update.
    • Made for Survival Log 1.1.19131.
  6. 0.6.0游戏 1.1.18902游戏 1.1.19131
    • Mod Manager's Mods screen links to this changelog.
    • Settings changed on the Mod Manager's Mods screen take effect at once, except DeviceAttackRate, which takes effect at the next game start.
    • Mod Manager's Mods screen shows the mod's name, description, category and links.
    • Exiled's Toolkit 0.4.0 or newer is optional. With it, settings you change on the Mods screen take effect right away. Without it, they take effect the next time you start the game.
  7. 0.5.0
    • New setting DeviceAttackRate sets how often defense devices strike: 2 strikes twice as often, 0.5 half as often. The default, 1, is the game's own rate.
    • A powered device uses power on every strike, so a higher rate uses more power.
  8. 0.4.0
    • The Mechanical Chainsaw now hits crawler zombies. In the base game they dodge it every time; now they dodge it 25% of the time by default.
    • New settings CrawlerDodgeChance and ArmoredCrawlerDodgeChance set the chance for each kind of crawler, from 0 (every hit lands) to 1 (the game's own behavior).
  9. 0.3.3
    • Repair all no longer stops short. It used to assume every repair costs 10 stamina, and repairs often cost less.
    • Repairs are held back only when you have less than the 10 stamina a repair needs to start, and not at all when actions you queued run first.
    • If your stamina runs out partway, the game refuses the rest.
  10. 0.3.2
    • First release.
    • One panel for the traps and barricades outside your home, opened with F7 or a HUD button.
    • Repair all damaged defenses in one press, clear the broken ones, or repair and remove them one by one.
    • Repair all and Clear all broken are also on the game's Layout screen.
    • Electrical defenses can switch on only while zombies are at the base, only when zombies come near, or always.

帮助

已知问题

  • 尸潮期间无法修理或拆除任何防御设施。
  • 外出探索时,面板、HUD 按钮和「规划模式」界面上的按钮都会隐藏,因为你的防御设施在家里。
  • 「规划模式」界面打开时游戏是暂停的,所以在那里排队的行动会在离开「规划模式」后开始(如果之前已经暂停,则在取消暂停后开始)。
  • 「规划模式」界面上的按钮在屏幕顶部中间。如果在你的屏幕尺寸下挡住了东西,可以在配置中关闭。
  • 「最近优先」按直线距离计算,而不是角色实际走的路线。
  • 不包括机器人修理。
  • 已排队的修理或拆除不能在面板里取消,请在游戏的行动队列中取消。
  • 拆除没有确认框。误拆的可以在行动队列中取消。
  • 除「默认」以外的模式下,你手动切换防御设施的电源后,模组会把它切换回来。想自己切换的话,把它设为「默认」。
  • 「规划模式」界面打开时不会切换任何东西。供电设置按存档保存,所以新游戏要先保存一次才会开始切换。
  • 修理电力防御设施时游戏会把它打开,即使它的模式随后让模组马上关闭它,也会消耗一次电量。
  • 供电设置属于某个存档文件。以新存档文件名继续的游戏(例如结局之后或无尽模式)开始时没有任何单个或类型设置。

获取 Mod Manager,在游戏里设置所有模组。打开 Survival Log 维基,物品、配方、地图一查就有。

发现问题?

发现 bug 或有好点子?欢迎来 Core Directive Discord 打个招呼,或在Nexus 页面的「Posts」标签里发帖。报告 bug 时,请附上 BepInEx\LogOutput.log 和 BepInEx\defense-manager.log。
想直接联系我,可以在 Discord 上给 exiled.dev 发消息,我在 Survival Log 官方 Discord 里。也可以在 X 上找我:@AnExiledDev。