JBeam file sections

Jbeam files are divided into multiple sections which each represent one type of element in a vehicle’s structure.

Basic structural elements

These are the main elements of any jbeam, and handle the shape and collisions of a vehicle.

For more information you can read the intro to jbeam

  • Nodes : The first element in a node/beam structure. They are point masses and handle most of a jbeam’s colisions along with the weight of the structure.
  • Beams : Conectors between nodes. Beams allow for flexibility and deformation in a jbeam structure, and define how the different elements are connected to each other.
  • Triangles : Surfaces defined between nodes. Triangles are used for aero calculations, and for colisions between vehicles.

Advanced structural elements

These elements allow for more advanced structural elements, and can be very useful in specific applications

  • Hydros : Beams whose length can be changed on command.
  • Rails and slidenodes : Allows the definition of nodes that slide along a rail. Used for things like steering racks, rigidifying some structures, etc
  • Thrusters : Allows to propel structures directly. Used for testing purposes, jato and others.
  • Torsion bars : Creates a torsion resistance between two lever arms. Used for sway bars and to rigidify some structures.
  • Torsion hydros : Similar to hydros, but insteads changes the angle between 2 lever arms. Used for some steering systems, and other types of actuators.

Part slot system

These elements are mostly used within the part/slot system , either to define some additional information related to the part, or the slots within a part.

  • Information : Defines a few basic parameters associated to the component, like it’s display name in the part selector.
  • Slots : Defines the list of slots within a component, along with the default selection.

Graphical and sound elements

These elements handle the various

  • Flexbodies : Defines the models that will be used to graphically represent your vehicle, and how they are tied to the nodes for deformation.
  • Glowmaps : Allows the definition of materials that can switch on demand. Mostly used to switch the material of lights to an emmissive material when the lights are turned on.
  • Soundscape : Defines sound effects to be played when certain conditions are met, along with the node used as an emitter.
  • Cameras : Defines the position and angle of the various cameras in the vehicle, including exterior and interior cameras.
  • Props : Animated 3d elements that do not deform with the jbeam structure. Used for things like gauges, pedals, steering wheels, etc.

Powertrain

The last section is the elements related to powertrain components, like powertrain definitions and wheels.

  • Powertrain : Used to define the different powertrain elements within a vehicle’s powertrain.
  • Pressure Wheels : Allows to define wheels with a pressured tire model.
  • Rotators : Alternative to pressure wheels in specialised applications, where power needs to be sent to something other than a wheel like a propeller.

Others

  • Variables : Allows the definition of adjustable parameters for a vehicle, usually adjustable suspension and drivetrain components.
  • Triggers : Defines set triggers that the player can activate with the mouse to control different functions of a vehicle.
  • Refnodes : Set of nodes which define the central coordinate system of a vehicle
  • Controller : Used to add special functions to a vehicle, like police lightbars, electronics assists, etc.

Section use

Here is how often the various sections show up in the jbeam of all vanilla content.

Keep in mind that some of those sections, like “mainEngine”, do not really correspond to a jbeam section, but are instead part of an other section that got defined separately for clarity. Those mostly happen with controllers and more complex powertrain elements.

Version 0.31.3.0 uses the following sections:
Name
Count
Name
information
Count
15631
Name
slotType
Count
15630
Name
flexbodies
Count
12066
Name
beams
Count
8678
Name
nodes
Count
8197
Name
slots
Count
5097
Name
triangles
Count
4193
Name
pressureWheels
Count
3398
Name
variables
Count
2354
Name
props
Count
2087
Name
mainEngine
Count
1287
Name
controller
Count
1131
Name
powertrain
Count
979
Name
sounds
Count
823
Name
torsionbars
Count
722
Name
slidenodes
Count
670
Name
rails
Count
653
Name
vehicleController
Count
597
Name
glowMap
Count
537
Name
soundConfigExhaust
Count
482
Name
triggers
Count
445
Name
soundConfig
Count
408
Name
triggerEventLinks
Count
404
Name
events
Count
400
Name
gauge
Count
309
Name
globalSkin
Count
292
Name
cameraExternal
Count
271
Name
refNodes
Count
270
Name
differential_R
Count
264
Name
soundscape
Count
256
Name
n2o
Count
242
Name
skinName
Count
216
Name
gearbox
Count
187
Name
hydros
Count
171
Name
torsionReactorF
Count
162
Name
energyStorage
Count
156
Name
turbocharger
Count
155
Name
clutch
Count
155
Name
camerasInternal
Count
139
Name
licenseplateFormat
Count
133
Name
input
Count
132
Name
cameraChase
Count
130
Name
cargoStorage
Count
125
Name
differential_F
Count
116
Name
torsionHydros
Count
109
Name
quads
Count
101
Name
torqueConverter
Count
89
Name
hoodCatchCoupler
Count
89
Name
hoodLatchCoupler
Count
85
Name
trunkCoupler
Count
77
Name
torsionReactorR
Count
71
Name
mainTank
Count
70
Name
supercharger
Count
69
Name
powertrainDamage
Count
69
Name
hPattern
Count
68
Name
analogOdometer
Count
66
Name
driveModes
Count
52
Name
actionsEnabled
Count
51
Name
triggerEventLinks2
Count
49
Name
triggers2
Count
49
Name
tailgateCoupler
Count
46
Name
singleAxisLever
Count
46
Name
mainBottle
Count
46
Name
ties
Count
42
Name
shiftLights
Count
40
Name
scaledragCoef
Count
38
Name
doorFRCoupler
Count
27
Name
doorRLCoupler
Count
27
Name
doorRRCoupler
Count
27
Name
doorFLCoupler
Count
27
Name
doorRCoupler
Count
24
Name
doorLCoupler
Count
24
Name
brakeControl
Count
22
Name
electrics
Count
20
Name
motorTorqueControl
Count
20
Name
scalenodeWeight
Count
17
Name
sequentialLever
Count
17
Name
rotators
Count
15
Name
tractionControl
Count
14
Name
adaptiveFrontDamper
Count
14
Name
transfercaseControl
Count
14
Name
powertrainHydros
Count
12
Name
sliderLatch
Count
11
Name
mainAirTank
Count
11
Name
adaptiveRearDamper
Count
11
Name
autoAdjust
Count
10
Name
licenseplate_path
Count
10
Name
frontBypass
Count
8
Name
differential_RR
Count
8
Name
torsionReactorRR
Count
8
Name
trunkCouplerR
Count
7
Name
trunkCouplerL
Count
7
Name
fueltank_L
Count
6
Name
hoodLatchCouplerL
Count
6
Name
differential_R_1
Count
6
Name
differential_R_2
Count
6
Name
hoodLatchR
Count
6
Name
fueltank_R
Count
6
Name
mirrors
Count
6
Name
rearBypass
Count
6
Name
kingpin
Count
6
Name
tailgateCatch
Count
6
Name
dynDecalMaterials
Count
6
Name
vehicleData
Count
6
Name
hoodLatchCouplerR
Count
6
Name
rightDoorCoupler
Count
5
Name
leftDoorCoupler
Count
5
Name
soundConfigFront
Count
5
Name
thrusters
Count
5
Name
fifthwheel
Count
5
Name
driveshaft_2
Count
5
Name
mainBattery
Count
5
Name
frontMotor
Count
5
Name
transfercase
Count
4
Name
hoodLatchL
Count
4
Name
hoodCatch
Count
4
Name
differential_M
Count
4
Name
rearLeftDoorCoupler
Count
4
Name
airbagBeamData
Count
4
Name
hoodLatchF
Count
4
Name
canopyCoupler
Count
4
Name
door_FL_coupler
Count
4
Name
soundConfigRear
Count
4
Name
door_FR_coupler
Count
4
Name
rearRightDoorCoupler
Count
4
Name
rearMotor
Count
4
Name
pump1
Count
4
Name
toolboxCoupler
Count
4
Name
adaptiveFrontSwayBar
Count
4
Name
hydraulicsData
Count
4
Name
airbagBeamSoundData
Count
3
Name
destsign
Count
3
Name
rearDoorCoupler
Count
3
Name
adaptiveRearSwayBar
Count
3
Name
bedCoverCoupler
Count
3
Name
auxTank
Count
3
Name
camperShellLatch
Count
3
Name
cabLatch
Count
3
Name
airbags
Count
3
Name
cabinetDoorLCoupler
Count
3
Name
esc
Count
3
Name
shiftLights_digidash
Count
3
Name
reverseWarn
Count
3
Name
hPatternColumn
Count
3
Name
mainTankR
Count
3
Name
sleeperDoorLCoupler
Count
3
Name
cabinetDoorRCoupler
Count
3
Name
scalebeamDamp
Count
3
Name
mainTankL
Count
3
Name
scalebeamSpring
Count
3
Name
rightRearDoorCoupler
Count
2
Name
lidT2Coupler
Count
2
Name
hydraulicsMotor
Count
2
Name
tailgateLatch
Count
2
Name
engine
Count
2
Name
airbrakes
Count
2
Name
roofboxCoupler
Count
2
Name
doorCoupler
Count
2
Name
wheelhubR
Count
2
Name
airCompressor1
Count
2
Name
hoodCatchL
Count
2
Name
rangeboxControl
Count
2
Name
rightFrontDoorCoupler
Count
2
Name
spareholderCoupler
Count
2
Name
sleeperDoorRCoupler
Count
2
Name
gauges
Count
2
Name
dumplocks
Count
2
Name
value
Count
2
Name
absControl
Count
2
Name
frontLockControl
Count
2
Name
hydraulicsControl
Count
2
Name
airbrakes_F
Count
2
Name
tirePressureControl
Count
2
Name
lidT1Coupler
Count
2
Name
AVAS
Count
2
Name
bullbarLatch
Count
2
Name
hoodCoupler
Count
2
Name
lidBCoupler
Count
2
Name
doorBeamData
Count
2
Name
retractPinFR
Count
1
Name
motor
Count
1
Name
liftCoupler
Count
1
Name
rampRCoupler
Count
1
Name
doorBeamSoundData
Count
1
Name
rearTank
Count
1
Name
tiltLocks
Count
1
Name
lidBCoupler_R
Count
1
Name
mainTankFL
Count
1
Name
mainTankFR
Count
1
Name
mainMotor
Count
1
Name
frontTank
Count
1
Name
general
Count
1
Name
scalebeamDeform
Count
1
Name
rampLCoupler
Count
1
Name
doors
Count
1
Name
engineDoorCoupler
Count
1
Name
supportPinRR
Count
1
Name
step_coupler
Count
1
Name
ram2
Count
1
Name
retractPinFL
Count
1
Name
decklidCoupler
Count
1
Name
torsionReactor_M
Count
1
Name
backGlassLatch
Count
1
Name
remoteAccumulator
Count
1
Name
motorBottom
Count
1
Name
soundConfigBottom
Count
1
Name
splitterControl
Count
1
Name
cargoDoorRLCoupler
Count
1
Name
BoxDoorLCoupler
Count
1
Name
supportPinRL2
Count
1
Name
supportPinRL
Count
1
Name
supportPinMR2
Count
1
Name
supportPinML2
Count
1
Name
soundConfigTop
Count
1
Name
supportPinRR2
Count
1
Name
supportPinMR
Count
1
Name
motorTop
Count
1
Name
nextstop
Count
1
Name
tailgateBoxCoupler
Count
1
Name
storageboxDoors
Count
1
Name
ram1
Count
1
Name
retractPinRR
Count
1
Name
leftDoorRCouplerR
Count
1
Name
retractPinRL
Count
1
Name
scalebeamStrength
Count
1
Name
lockCoupler
Count
1
Name
ambulanceSideDoorCoupler
Count
1
Name
absLegacy
Count
1
Name
jato
Count
1
Name
bus
Count
1
Name
lidT1Coupler_R
Count
1
Name
airbrakes_R
Count
1
Name
supportPinML
Count
1
Name
retractPinML
Count
1
Name
doorDisconnectL
Count
1
Name
slots2
Count
1
Name
rearLockControl
Count
1
Name
rightDoorRCouplerR
Count
1
Name
BoxDoorRCoupler
Count
1
Name
lidT2Coupler_R
Count
1
Name
tailgateDoorCoupler
Count
1
Name
retractPinMR
Count
1
Name
doorDisconnectR
Count
1
Name
cargoDoorRRCoupler
Count
1
Last modified: 25/12/2021 14:53

Any further questions?

Join our discord