This feature is supported as of BeamNG.tech and .drive version 0.8.0 to latest.
Energy storage is used to identify a tank of fuel, a set of batteries, a tank of nitrous, or a truck air tank.
Used for fuel weight simulations.
All of the nodes in this group will gain equal amounts extra weight, totalling to the weight of the fuel in the tank.
"fuel": {"[engineGroup]:":["fuel"]},
The N2O tank is used along with the nitrous power adder.
Electric battery refers to the main power battery of electric cars.
Pressure tank is used along with the air compressor and other pneumatic systems. It stores compressed air on semi trucks and other large vehicles which is used in pneumatic brake systems among other things.
Typical fuel tank. Note the variable used for the starting fuel capacity
"energyStorage": [
["type", "name"],
["fuelTank", "mainTank"],
],
"mainTank": {
"energyType":"gasoline",
"fuelCapacity": 45,
"startingFuelCapacity": "$fuel",
"fuel": {"[engineGroup]:":["fuel"]},
"breakTriggerBeam": "fuelTank",
},
10 pound nitrous bottle
"energyStorage": [
["type", "name"],
["n2oTank", "mainBottle"],
],
"mainBottle": {
"capacity": 4.54,
"startingCapacity": 4.54,
},
50 kWh battery
"energyStorage": [
["type", "name"],
["electricBattery", "mainBattery"],
],
"mainBattery": {
"energyType":"electricEnergy",
"batteryCapacity": 50,
"startingCapacity": "$fuel",
},
50L air tank
"energyStorage": [
["type", "name"],
["pressureTank", "mainAirTank"],
],
"mainAirTank": {
"capacity": 0.050,
"startingPressure": "$=$startAir*6895",
"pneumaticPTOConsumerCouplerNodeNames":["fwk2","pintle"]
"isPrimarySupply":true
"breakTriggerBeam": ["airTankR","airTankL"],
"tankDamageDeformGroup":"airtank_damage"
},
Was this article helpful?