Advanced Public Transport AI Completely standalone, no framework or resources needed

smurfs smurfs Started 2 replies 740 views
#1
----------------------------------------------------------------------------------
[Resource Name] Advanced Public Transport AI Completely standalone, no framework or resources needed
[Resource Description] Add custom routes Open config.lua and create a new route like in the example. IMPORTANT NOTES: always add the route at the end of the Config.Routes table when adding a new stop in the busStops array, avoid to get the position in the middle of a crossroad Once you’ve done it, restart the resource and use the command /bake routeId, where routeId is the position of the route in the Config.Routes table. As soon as the bake is done (check client console for errors), you will see on the map some blips indicating the route just calculated (for few seconds) and a file will be saved in /bake_data/baked_routes/. Do a /refresh since there are a new files, and /restart publictransprot. You are done. Everything should start working fine. Tip: once you have done baking the new routes, remove from the fxmanifest.lua file 'client/bake.lua' line, so no one will be able to run the /bake [Resource Preview] [Resource Download] http://q.gs/FUL23 ---------------------------------------------------------------------------------- (editado)
[IMG alt="Imagem"]https://media.discordapp.net/attachments/850399525868273699/1022413014357520415/1.JPG?width=400&height=281[/IMG][/resource][/resource][/resource][/resource]
#1
ty
#2
Thank you