API Referenceconsole
bananabench-json Reference
Script defined in `lua/console/bananabench-json.lua`. Runs the bananabench physics benchmark with default settings and saves results to a JSON file.
Script defined in lua/console/bananabench-json.lua. Runs the bananabench physics benchmark with default settings and saves results to a JSON file.
Functions/Exports
None (standalone script).
Usage
# Default output: bananabench.json
beamng -console lua/console/bananabench-json.lua
# Custom output file via args
beamng -console lua/console/bananabench-json.lua output.jsonInternal Notes
- Requires
lua/console/bananabenchmodule - Calls
bench.physics()with defaults (pickup vehicle, 1-40 count) - Uses
jsonWriteFile()to serialize results - Output filename from
args[2]or defaults tobananabench.json
bananabench-csv Reference
Script defined in `lua/console/bananabench-csv.lua`. Runs the full bananabench physics benchmark across ALL vehicles and exports results in CSV format.
bananabench-print Reference
Script defined in `lua/console/bananabench-print.lua`. Simplest bananabench runner - executes the benchmark and prints results to console only.