DayZ
Blackouts Truck Wrecks
฿Ⱡ₳₵₭ØɄ₮₴  [开发者] 2020 年 11 月 28 日 下午 5:15
Installation Instructions for Server Admins
The Mod folder includes everything you need and instructions in the files. (Look at the comments in the files.) If you don't know how to install mods on your server this is not the right tutorial for you. I'm just putting together some simple instructions. You can find complete tutorials on installing mods on your server on YouTube.

Copy the mod to your server.

Add the mod reference to your startup.

Copy the Blackouts.bikey key file found in the mod Keys folder to your keys folder.

Yes this does require admin configuration to the xml files. :steammocking:

  1. Update cfglimitsdefinition.xml (This is critical to get the loot around the wrecks.)

  2. Update events.xml

  3. Update mapgroupproto.xml

  4. Update types.xml (Here you will add the truck types but you will also add the following to all the types of loot you want to spawn at the wrecks.

    <usage name="TruckWreck"/>

    Here is an example of wanting CarRadiator to spawn at the wreck. Notice the TruckWreck usage at the bottom:

    <type name="CarRadiator"> <nominal>60</nominal> <lifetime>28800</lifetime> <restock>0</restock> <min>40</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"/> <tag name="floor"/> <usage name="Industrial"/> <usage name="TruckWreck"/> </type>

  5. Update cfgeventspawns.xml
最后由 ฿Ⱡ₳₵₭ØɄ₮₴ 编辑于; 2020 年 11 月 28 日 下午 5:17
< >
正在显示第 1 - 4 条,共 4 条留言
Flakster 2021 年 5 月 25 日 上午 6:56 
The mapgroupproto.xml in your Mod folder is for Livonia too?
฿Ⱡ₳₵₭ØɄ₮₴  [开发者] 2021 年 6 月 1 日 上午 7:34 
引用自 Flakster
The mapgroupproto.xml in your Mod folder is for Livonia too?

Well kind of.... The mapgroupproto.xml is simply the placement of items around the trucks. The placement of the actual trucks is controlled using cfgeventspawns.xml and....Yes the mod works on both Chernarus and Livonia.
Emerson5 2021 年 9 月 19 日 下午 2:45 
The truck is spawning, but no loot. Server complains about:
[CE][SpawnRandomLoot] DE "StaticTruckCrash" is set to spawn loot, but there is no group configure

Can anyone help please?
฿Ⱡ₳₵₭ØɄ₮₴  [开发者] 2021 年 11 月 10 日 上午 7:28 
引用自 Emerson5
The truck is spawning, but no loot. Server complains about:
[CE][SpawnRandomLoot] DE "StaticTruckCrash" is set to spawn loot, but there is no group configure

Can anyone help please?


I don't know your exact issue but have you added the "usage"
<usage name="TruckWreck"/>
to the items you want to spawn at the wreck? See below for the example.

<!-- ************** Add this usage to any type you want to be included at the truck wrecks. ***************-->

<!-- EXAMPLE ONLY: See the TruckWreck usage at the bottom. This will make the CarRadiator spawn at the truck wrecks but you will need to update your types.xml for all the types you want to spawn -->

<!-- <type name="CarRadiator">
<nominal>60</nominal>
<lifetime>28800</lifetime>
<restock>0</restock>
<min>40</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"/>
<tag name="floor"/>
<usage name="Industrial"/>
<usage name="TruckWreck"/>
</type> -->


<!-- <type name="Truck_01_WheelDouble">
<nominal>40</nominal>
<lifetime>28800</lifetime>
<restock>0</restock>
<min>30</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="vehiclesparts"/>
<usage name="TruckWreck"/>
</type> -->
最后由 ฿Ⱡ₳₵₭ØɄ₮₴ 编辑于; 2021 年 11 月 10 日 上午 7:29
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50