This feature is supported as of BeamNG.tech and .drive version 0.31 to latest.
The cargoStorage section of Jbeam is used to dynamically increase the weight of nodes, and properties of their linked beams, based on their currently stored “cargo”. It is primarily used in career mode delivery gameplay. However, it has a secondary use case: dynamically increasing the weight of nodes on vehicle seats that are occupied.
Any part used for the delivery gameplay in career mode should include “cargo_load_” in its internal name in Jbeam in order to appear in the correct category when purchasing.
Nodes linked to cargoStorage use $volume and $density variables. These directly affect the added weight of the node. The typical values and ranges of these variables can vary depending on the cargo type and the storage capacity. The added weight can be spread between multiple nodes.
gameplay\delivery folder - can range from 1L to 300L - and then multiplied by a random number between 0.9 and 1.1. Volume is linked to the capacity the parcel takes in the storageMinimum 0.9 kg. Maximum is 330kg for single package, maximum stored in a single container differs based on its capacity. Common values:
Depends on the fluid type:
Minimum 0.75 kg. Maximum differs per container. Common values:
Depends on the dry bulk type:
[seat Id]Occupant, for example FLOccupant for seat Id “FL”.Currently supported types: “parcel”, “fluid”, “dryBulk”, “passenger”.
Multiple types at one time are usually supported, except for “passenger” type which cannot be combined with the others.
The unit for the capacity depends on the cargoTypes property. For “parcel”, it is the number of cargo slots. For “fluid” and “dryBulk”, it’s liters. For “passenger”, it’s the maximum advised passenger’s weight in kg (which is not the same as the default weight of the passenger).
For the “parcel” type, the capacity should be a power of 2 value for balancing reasons. Exceptions can be made for very large containers where it is finetuned further for stability.
Parcel boxes
"cargoStorage":[
["groupId","name","cargoTypes","capacity"],
["roofBarsBoxA","Roof Bars Box A",["parcel"], 16],
["roofBarsBoxB","Roof Bars Box B",["parcel"], 16],
],
Liquid tank
"cargoStorage":[
["groupId", "name","cargoTypes", "capacity"],
["RoofbarTank1", "Roffbar Tank",["fluid"], 800],
],
Aggregate box
"cargoStorage":[
["groupId", "name","cargoTypes", "capacity"],
["roofbarAggregate1", "Roofbar Aggregate Box",["dryBulk"], 800],
],
Passenger
"cargoStorage":[
["groupId", "name","cargoTypes", "capacity"],
["driver", "Driver", ["passenger"], 150, {"maxVolumeRate":200}],
],
Was this article helpful?