DayZ
dbo_cars
DeanosBeano  [开发者] 2018 年 12 月 15 日 上午 10:58
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>
< >
正在显示第 1 - 6 条,共 6 条留言
Quignon baveux 2019 年 1 月 15 日 上午 10:49 
You need put your "lifetime" at 3888000 bro !
Quignon baveux 2019 年 1 月 15 日 上午 10:50 
I need add the code in the .init ? For the car spawn "liquid full" right ? ^^
Quignon baveux 2019 年 1 月 15 日 上午 10:52 
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  [开发者] 2019 年 1 月 15 日 上午 11:04 
Spawn code is your friend :) Look Spawn code New code

Mission files included in Download :)
最后由 DeanosBeano 编辑于; 2019 年 1 月 15 日 上午 11:04
how do i refuel the cars
DeanosBeano  [开发者] 2019 年 1 月 21 日 上午 9:12 
Behind the passenger seat
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50