百科目录
发电机
便携式汽油发电机。只要燃料够用,就可以为一个小家庭提供足够的电力。
属性
兼容性
配件槽位
Spark Plug
按配置中的槽位和列表匹配。游戏脚本还会额外禁止少数组合。
刷新位置
作为战利品刷新于切尔纳鲁斯, 利沃尼亚, 萨哈尔:工业。
| 切尔纳鲁斯 | 利沃尼亚 | 萨哈尔 | |
|---|---|---|---|
| 目标数量 | 80 | 80 | 40 |
| 最低数量 | 50 | 50 | 33 |
| 存在时间 | 7 天 | 7 天 | 7 天 |
| 补充时间 | 0 | 0 | 0 |
| 填充量 | 20–70% | 20–70% | 20–70% |
| 战利品类别 | 工具 | 工具 | 工具 |
| 地点 | 工业 | 工业 | 工业 |
| 等级 | · | · | 等级 2 等级 3 等级 4 |
目标数量是经济系统在地图上保持的数量,最低数量是开始补充的阈值。存在时间是无人触碰的物品被清理前保留的时间。
types.xml
各地图任务文件中的原版条目。粘贴到你的任务 db/types.xml 即可恢复默认值。
types.xml · 切尔纳鲁斯, 利沃尼亚
<type name="PowerGenerator">
<nominal>80</nominal>
<lifetime>604800</lifetime>
<restock>0</restock>
<min>50</min>
<quantmin>20</quantmin>
<quantmax>70</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="PowerGenerator">
<nominal>40</nominal>
<lifetime>604800</lifetime>
<restock>0</restock>
<min>33</min>
<quantmin>20</quantmin>
<quantmax>70</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"/>
<value name="Tier2"/>
<value name="Tier3"/>
<value name="Tier4"/>
</type>
变体
PowerGenerator
PowerGeneratorStatic
同一物品的其他颜色或版本。每个变体都有自己的类名和战利品设置。
配置
- 类名
PowerGenerator- 配置根类
CfgVehicles- 继承自
Inventory_Base›Static›All- 模型
\DZ\gear\camping\power_generator.p3d- 定义位置
Addons/gear_camping.pbo::config.bin

