DayZ
dbo_atv
DeanosBeano  [developer] 11 Apr, 2020 @ 7:21am
XML Generator
https://thurston.pw/public/cartypes.php
thanks to Thurston for hosting this tool for us.
This tool is for those of us needing to generate the xml files, trader txt and cot json files for vehicles.
Simply input the classnames for your vehicle and parts (if the classname is a new classname, ensure to tick "Is New"), then select which files you want to generate.
You will be met with a series of editable text areas where you can make adjustments to the files, with each file having a download button that allows you to save the data from that editable area
< >
Showing 1-3 of 3 comments
JungleChili 21 Nov, 2020 @ 9:24am 
Types

<type name="dbo_atv">
<nominal>0</nominal>
<lifetime>3888000</lifetime>
<restock>1800</restock>
<min>0</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"/>
</type>
<type name="atv_wheel">
<nominal>0</nominal>
<lifetime>10800</lifetime>
<restock>0</restock>
<min>0</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"/>
<tag name="floor"/>
<usage name="Industrial"/>
</type>
<type name="CarBattery">
<nominal>0</nominal>
<lifetime>10800</lifetime>
<restock>0</restock>
<min>0</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"/>
<tag name="floor"/>
<usage name="Industrial"/>
</type>
<type name="CarRadiator">
<nominal>0</nominal>
<lifetime>10800</lifetime>
<restock>0</restock>
<min>0</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"/>
<tag name="floor"/>
<usage name="Industrial"/>
</type>
<type name="SparkPlug">
<nominal>0</nominal>
<lifetime>10800</lifetime>
<restock>0</restock>
<min>0</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"/>
<tag name="floor"/>
<usage name="Industrial"/>
</type>
<type name="HeadlightH7">
<nominal>0</nominal>
<lifetime>10800</lifetime>
<restock>0</restock>
<min>0</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"/>
<tag name="floor"/>
<usage name="Industrial"/>
</type>


cfgeventspawns

<!-- Adjust this and add more as desired -->
<event name="Vehicledbo_atv">
<pos x="0" z="0" a="0" />
</event>


cfgspawnabletypes

<type name="dbo_atv">
<attachments chance="1.00">
<item name="atv_wheel" chance="1.00" />
<item name="atv_wheel" chance="1.00" />
<item name="atv_wheel" chance="1.00" />
<item name="atv_wheel" chance="1.00" />
<item name="HeadlightH7" chance="1.00" />
<item name="HeadlightH7" chance="1.00" />
<item name="SparkPlug" chance="0.40" />
<item name="CarRadiator" chance="0.40" />
<item name="CarBattery" chance="0.40" />
</attachments>
</type>

TraderConfig

<Category> Vehicles
dbo_atv, VNK, 50000, 25000

<Category> Vehicle Parts
SparkPlug, *, 60, 40
CarBattery, *, 100, 50
CarRadiator, *, 200, 100
HeadlightH7, *, 30, 15
atv_wheel, *, 500, 100


TraderVehicleParts

<VehicleParts> dbo_atv
SparkPlug
CarBattery
CarRadiator
HeadlightH7
HeadlightH7
atv_wheel
atv_wheel
atv_wheel
atv_wheel


COT Vehicles
{
"VehicleName": "dbo_atv",
"DisplayName": "dbo_atv",
"Parts": [
"SparkPlug",
"CarBattery",
"CarRadiator",
"HeadlightH7",
"HeadlightH7",
"atv_wheel",
"atv_wheel",
"atv_wheel",
"atv_wheel",
]
}
Red Dragon 20 Jul, 2021 @ 5:21pm 
cfgspawnabletypes

<type name="dbo_atv">
<attachments chance="1.00">
<item name="atv_wheel" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="atv_wheel" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="atv_wheel" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="atv_wheel" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="CarRadiator" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="CarBattery" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="SparkPlug" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HeadlightH7" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="HeadlightH7" chance="1.00" />
</attachments>
</type>
Lilypie 31 Oct, 2023 @ 7:57pm 
You guys are awesome, thank you.
< >
Showing 1-3 of 3 comments
Per page: 1530 50