So weirdly the AI are being counted as a player in scenario's and trying to figure this out when they get to a checkpoint and if it's lap 2 and beyond the game seams to bug out and make me get 2nd place regardless as well as mess up the checkpoint and lap counters allowing me to see what lap and checkpoint they are on each time they get to one but regardless I'm in 2 position or not it says i failed and that i was in 2nd no matter even if i was in 5th i get 2nd if i get 1st place the game bugs out when i finish the scenario and if i hit another checkpoint it makes me go another causing me to fail. posting the .lua and .json files below. I do know this mod/scenario is someone else's but i wanna get help and fix it for my own use. So i can make my own from then on.
Hey, try to add the other vehicles to the vehicles objects in the json file by adding the following line to it: Code: "*": {"playerUsable": false} Also you had some parsing errors in the json file. I'll attach the fixed version.
It means that the json file cannot be read if you have issues in the syntax. You must not have a comma after the last item in a list (e.g. line 12). Whereas you need to have commas to separate multiple items (e.g. line 19) A text editor like Sublime Text helps you to find these errors.