I have been working on getting a scenario created for the last couple of days. I have created a scenario in West Coast USA around the race track with one other car. I have modded cars, the (FR16-17) race cars. Now, I have not finished this yet, but I started to work on the other car AI in the .lua file. I launched my game, got in, and got error messages stating that the .lua is messed up among other things. I then proceeded to restart my game, and I got this when trying to load back up into my scenario: Also, I am very inexperienced with this, so I am very confused. Any help would be very much appreciated! EDIT: I have worked on the scenario a little bit, and now the AI car spawns in and starts to drive in the scenario start screen, or revs its engine. When I hit go, it despawns and my car sometimes drives forwards and for some reason, I cannot reverse. This came up in the error logs: Any help would be much appreciated!
I cannot help you as the information are quite limited. You would have to show your LUA file probably to better see what is happening. This error should not be related to your issue, is an UI app throwing some random error. It should not affect the actual vehicle logic / simulation.
Thank you for responding! I will attach my .Lua file here: And on a side note, Beamng drive is one of my favorite games!
I tried this out in my own scenario, and the Lua works. You mentioned that the AI vehicle despawns; maybe there's a vehicle error? Try to swap in a stock vehicle for the AI.
Ok, I tried that and it worked perfectly! I re-installed the mod, and the vehicle error did not pop up anymore. I'm assuming the mod got messed up somehow. Thank you both for your amazing help!