Multi Dae

Multi Dae

From BeamNG

WIP Page

Multi-DAE

BeamNG.drive now supports multiple model files per vehicle(as of version 0.3.5.0), meaning vehicle mods can now be provided as an additional model, without the need to change the original model.

Usage

For your added model to load, you'll need to have it in the vehicle folder you wish to edit. From there you'll define the object names within the JBeam's Flexbodies section.

vehicles/common

Wheels and tires are no longer in the vehicles model file, they are all located in vehicles/common. This now means it is possible to put off-road tires on the Ibishu Covet without ever needing to edit the model, or enlarge the wheels by changing a few values for example.

Offset and positioning

Below is an example using the wheels in vehicles/common with an adjusted position to match the JBeam.

	
	"flexbodies": [
		 ["mesh", "[group]:", "nonFlexMaterials"],
		 //Rims
		 ["offroadwheel_01a_17x9", ["wheel_FR","wheelhub_a_FR","wheelhub_b_FR"], [], {"pos":{"x":-0.8375, "y":-1.463, "z":0.46}, "rot":{"x":0, "y":0, "z":180}, "scale":{"x":1, "y":1, "z":1}}],
		 ["offroadwheel_01a_17x9", ["wheel_FL","wheelhub_a_FL","wheelhub_b_FL"], [], {"pos":{"x": 0.8375, "y":-1.463, "z":0.46}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],
		 //Tires
		 ["offroadtire_01a_17x9_33", ["wheel_FR","wheelhub_a_FR","wheelhub_b_FR"], [], {"pos":{"x":-0.8375, "y":-1.463, "z":0.46}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],
		 ["offroadtire_01a_17x9_33", ["wheel_FL","wheelhub_a_FL","wheelhub_b_FL"], [], {"pos":{"x": 0.8375, "y":-1.463, "z":0.46}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],
	],
  • pos - Position is where you position the wheels to match your HubWheels. Measurement is in meters.
  • rot - Rotation is how you'll flip the wheels for each side of the vehicle, by default all wheels are facing to the left, so to make them face right, you will set an offset of 180 on the Z axis.
  • scale - Scale allows you to adjust the size of each wheel, 1 is the default scale for each wheel, 2 would be two times the size. Adjusting all scale values on all axis is needed to keep the wheels proportions.

Example Car split into 3 models

Here is an example of Multi-DAE, this Example Car has been split up into 3 different model files. Download it below.

Sample Car

File:Example car multidae.zip