The table above is the body of a torque list. In a vehicle’s engine
.jbeam file it sits under the motor’s mainEngine section, in place of
the torque list that is already there. .txt is the rows as they are
pasted; .json is the same rows wrapped in mainEngine already.
"mainEngine": {
"type": "electricMotor",
"torque": [
["rpm", "torque"],
[0, 300.0000],
[500, 300.0000],
/* ... the rows from the table above, ending at max RPM ... */
],
"maxRPM": 16000,
/* inertia, friction, cooling...: leave as they are */
},
- Set
maxRPM to the Max RPM you used. The last row of the table is that speed.
- The torque is at the motor, before any gear reduction. Gearing is the vehicle’s
gearbox and differential sections; the
Gear Ratio Calculator shows what a reduction does to road speed.
- This is the usual shape, shown as an example. Key names and the other settings in the section
differ between vehicles and BeamNG versions, so check them against the vehicle you are editing
and BeamNG’s own documentation, which is the authority on its file format.