I'm having trouble getting my custom engine for an Acura mod I'm making (based on ETK) to work When I try to load the vehicle it gives me this in beamng.log: 212.15780|D|libbeamng.lua.V.default.init|spawning vehicle vehicles/etkss/ 212.27516|D|libbeamng.lua.V.default.init| using partconfig filename vehicles/etkss/s6tx_a.pc - path:vehicles/etkss/ 212.32149|E|libbeamng.lua.V.jbeam.loadDirectories|unable to decode JSON: vehicles/etkss/etk_engine.jbeam 212.32152|E|libbeamng.lua.V.jbeam.loadDirectories|JSON decoding error: lua/common/json.lua:219: attempt to compare number with nil 212.32322|E|libbeamng.Lua.Exception| What did I do wrong in my code?
Here's the file. Fixed the issue with the vehicle not loading, but now the 3.5-litre V-6 won't show up in the parts menu. Configs with the V-6 are broken.
The line that error is referring to is this from the Json.lua file "while (ch >= 97 and ch <= 122) or (ch >= 65 and ch <= 90) or (ch >= 48 and ch <= 57) or ch == 95 do -- [a z] [A Z] or [0 9] or _"