Assorted Reference
Module defined in `lua/common/jbeam/sections/assorted.lua`. Post-processes miscellaneous vehicle sections: engine water damage node groups and soundscape table restructuring.
Module defined in lua/common/jbeam/sections/assorted.lua. Post-processes miscellaneous vehicle sections: engine water damage node groups and soundscape table restructuring.
Exports
Functions
M.process(vehicle)
Processes engine water damage nodes (merging _group_nodes and _engineGroup_nodes into waterDamage.nodes) and converts the soundscape section from array to name-keyed dictionary.
- Parameters:
vehicle- table - Assembled vehicle data
- Returns:
self(module table, for chaining)
Internal Notes
- Must run after
resolveGroupLinks(which populates_group_nodesand_engineGroup_nodes). - Soundscape entries must have a
namefield, which becomes their key in the restructured table. vehicle.engine.waterDamageis initialized to{}if missing.
Variables Reference
Module defined in `lua/common/jbeam/variables.lua`. Handles JBeam variable system: collecting, scoping, resolving, and applying `$variable` references and `$=expression` evaluations across the part tr
Camera Reference
Module defined in `lua/common/jbeam/sections/camera.lua`. Processes camera definitions from JBeam data, handling onboard, relative, and onboard2 camera types with retrocompatibility upgrades.