DayZ
dbo_cars
DeanosBeano  [developer] 15 Dec, 2018 @ 10:58am
types.xml code
for adding to types.xml

<type name="dbojeep">
<nominal>0</nominal>
<lifetime>3</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>
< >
Showing 1-6 of 6 comments
Quignon baveux 15 Jan, 2019 @ 10:49am 
You need put your "lifetime" at 3888000 bro !
Quignon baveux 15 Jan, 2019 @ 10:50am 
I need add the code in the .init ? For the car spawn "liquid full" right ? ^^
Quignon baveux 15 Jan, 2019 @ 10:52am 
TStringArray jeepcomponents = { "jeepWheel","jeepWheel","jeepWheel","jeepWheel","jeepWheel", "jeepWheel","CarBattery","CarRadiator","EngineBelt","SparkPlug","HeadlightH7","HeadlightH7"};
CreateVehicle dbojeep = new CreateVehicle ("dbojeep","253 0 253");
dbojeep.addVehicleFuel(100);
dbojeep.addVehicleOil(1000);
dbojeep.addVehicleWater(1000);
dbojeep.addVehicleBrake(1000);
dbojeep.addVehicleComponents(jeepcomponents);


empty jeep

Car oCar = Car.Cast( GetGame().CreateObject( "dbojeep", "5091.625977 9.999998 4512.878417", false, false ) );


All this code in my main ?
And the car spawn ful level, ready to go ?
DeanosBeano  [developer] 15 Jan, 2019 @ 11:04am 
Spawn code is your friend :) Look Spawn code New code

Mission files included in Download :)
Last edited by DeanosBeano; 15 Jan, 2019 @ 11:04am
how do i refuel the cars
DeanosBeano  [developer] 21 Jan, 2019 @ 9:12am 
Behind the passenger seat
< >
Showing 1-6 of 6 comments
Per page: 1530 50