DayZ
dbo_atv
DeanosBeano  [开发者] 2020 年 4 月 11 日 上午 7:21
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
< >
正在显示第 1 - 3 条,共 3 条留言
JungleChili 2020 年 11 月 21 日 上午 9:24 
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 2021 年 7 月 20 日 下午 5:21 
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 2023 年 10 月 31 日 下午 7:57 
You guys are awesome, thank you.
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50