
How to install a vehicle mod
- Open data/careerVehicles.xml with a text editing application (eg. Notepad)
- Locate the xml definition file of the vehicle you want to add (eg. 'data/vehicle/myVehicle.xml')
- Add a new line just before the last line '</careerVehicles>':
<vehicle filename="data/vehicles/myVehicle.xml" xPosition="143" yOffset="0.5" zPosition="193" yRotation="0"/>
Replace 'data/vehicle/myVehicle.xml' by the name/path of your xml - Adjust the values of the added line
- xPosition: world position x-axis
- yOffset: position offset y-axis
- zPosition: world position z-axis
- yRotation: Rotation y-axis
<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<careerVehicles>
...
<vehicle filename="data/vehicles/myVehicle.xml" xPosition="143" yOffset="0.5" zPosition="193" yRotation="0"/>
</careerVehicles>
<careerVehicles>
...
<vehicle filename="data/vehicles/myVehicle.xml" xPosition="143" yOffset="0.5" zPosition="193" yRotation="0"/>
</careerVehicles>
