服务器工具启动器服务器列表百科 登录 Discord 聊天 下载
百科目录

卡车电池

12 伏卡车充电电池的容量比普通汽车电池大。如果连接正确,它可以用来给其他电器供电。

类名 TruckBattery
重量
18 千克
背包占用
5×3 15 格
耐久度
240
刷新地图
切尔纳鲁斯, 利沃尼亚, 萨哈尔

属性

修理工具

兼容性

配件槽位

Metal Wire

按配置中的槽位和列表匹配。游戏脚本还会额外禁止少数组合。

刷新位置

作为战利品刷新于切尔纳鲁斯, 利沃尼亚, 萨哈尔:工业。 也会出现在其他物品上或其中:帶雨蓬的 M3S。

切尔纳鲁斯利沃尼亚萨哈尔
目标数量 20 20 13
最低数量 10 10 8
存在时间 8 小时 8 小时 8 小时
补充时间 6 分钟 6 分钟 6 分钟
填充量 20–100% 20–100% 100–100%
战利品类别 工具 工具 工具
地点 工业 工业 工业
等级 · · ·

目标数量是经济系统在地图上保持的数量,最低数量是开始补充的阈值。存在时间是无人触碰的物品被清理前保留的时间。

一同刷新

刷新时带有 0% 到 35% 的损坏。

出现在这些物品上或其中

来自原版地图的 cfgspawnabletypes.xml:该物品可能按其中设定的概率挂载在这些物品上或出现在其货物中。

types.xml

各地图任务文件中的原版条目。粘贴到你的任务 db/types.xml 即可恢复默认值。

types.xml · 切尔纳鲁斯, 利沃尼亚
<type name="TruckBattery">
    <nominal>20</nominal>
    <lifetime>28800</lifetime>
    <restock>360</restock>
    <min>10</min>
    <quantmin>20</quantmin>
    <quantmax>100</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    <category name="tools"/>
    <usage name="Industrial"/>
</type>
types.xml · 萨哈尔
<type name="TruckBattery">
    <nominal>13</nominal>
    <lifetime>28800</lifetime>
    <restock>360</restock>
    <min>8</min>
    <quantmin>100</quantmin>
    <quantmax>100</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    <category name="tools"/>
    <usage name="Industrial"/>
</type>
cfgspawnabletypes.xml · 切尔纳鲁斯, 利沃尼亚, 萨哈尔
<type name="TruckBattery">
    <damage min="0" max="0.35"/>
</type>

配置

类名
TruckBattery
配置根类
CfgVehicles
继承自
Inventory_Base › Static › All
模型
\dz\vehicles\parts\battery_truck.p3d
定义位置
Addons/vehicles_parts.pbo::config.bin
背包槽位
TruckBattery, LargeBattery