百科目录
电池充电器
用于插入正在运转的电网,为卡车或汽车电池充电。
类名
BatteryCharger
- 分类
- 装备
- 重量
- 5 千克
- 背包占用
- 3×3 9 格
- 耐久度
- 90
- 刷新地图
- 切尔纳鲁斯, 利沃尼亚, 萨哈尔
属性
- 修理工具
兼容性
按配置中的槽位和列表匹配。游戏脚本还会额外禁止少数组合。
刷新位置
作为战利品刷新于切尔纳鲁斯, 利沃尼亚, 萨哈尔:工业。
| 切尔纳鲁斯 | 利沃尼亚 | 萨哈尔 | |
|---|---|---|---|
| 目标数量 | 30 | 20 | 13 |
| 最低数量 | 20 | 10 | 18 |
| 存在时间 | 7 天 | 7 天 | 7 天 |
| 补充时间 | 6 分钟 | 6 分钟 | 6 分钟 |
| 填充量 | · | · | · |
| 战利品类别 | 工具 | 工具 | 工具 |
| 地点 | 工业 | 工业 | 工业 |
| 等级 | · | · | · |
目标数量是经济系统在地图上保持的数量,最低数量是开始补充的阈值。存在时间是无人触碰的物品被清理前保留的时间。
types.xml
各地图任务文件中的原版条目。粘贴到你的任务 db/types.xml 即可恢复默认值。
types.xml · 切尔纳鲁斯
<type name="BatteryCharger">
<nominal>30</nominal>
<lifetime>604800</lifetime>
<restock>360</restock>
<min>20</min>
<quantmin>-1</quantmin>
<quantmax>-1</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="BatteryCharger">
<nominal>20</nominal>
<lifetime>604800</lifetime>
<restock>360</restock>
<min>10</min>
<quantmin>-1</quantmin>
<quantmax>-1</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="BatteryCharger">
<nominal>13</nominal>
<lifetime>604800</lifetime>
<restock>360</restock>
<min>18</min>
<quantmin>-1</quantmin>
<quantmax>-1</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>
配置
- 类名
BatteryCharger- 配置根类
CfgVehicles- 继承自
Inventory_Base›Static›All- 模型
\dz\gear\camping\battery_charger.p3d- 定义位置
Addons/gear_camping.pbo::config.bin

