I've spent many months learning the ways Beamng handles bus routes through trial and error, and I still don't quite understand all of it. But I have learned enough to make four new routes for Spearleaf Island. Starting out at the Royal Bank (Transfer Center) and ending at the Lighthouse, Route 7 connects the main island to the Spearleaf Island. This route is intended any tourists who want to visit the new Lighthouse. Starting out at the Dockyards Train Station and ending at Shuffleboard Logistics and Distribution, Route 10 connects all of the little businesses around the island together. I made these routes compatible with the 65ft Wentward bus mod as well as the Gigatransit variant of the Capsule bus. So, you should be able to use many variants. The parking at each stop is a little tighter than the stock Beamng routes. That's because I wanted it to be more realistic so that you stop right up against the curb instead of allowing you to stop a couple feet away from the curb. For technical reasons, this probably won't be on the mod repository. The installation isn't as easy as drag-and-drop but the extra work only takes a couple minutes. We need to install the bus stops themselves manually and I don't think the Beamng devs designed the mod system to be able to customize the default maps. Installation Instructions: Locate your versions folder. This will most likely be in AppData/Local/Beamng.Drive. Drag and drop the two folders (mods and levels) inside the "SpearleafIslandBusRoutesFinal.zip" into the "latest" folder shortcut. OPTIONAL: Inside Beamng, you can check to make sure the four routes loaded properly by going to "Bus Routes --> Select Map --> West Coast, USA" You should imminently see Route 10, scrolling down a little more should reveal Route 7. Loading into these routes will error out, so don't play them yet. Go to Freeroam --> West Coast, USA --> Refinery. I like to load into the refinery because it is slightly more convenient to see if the assets are loaded in correctly. Enter the World Editor by pressing F11 on your keyboard. You may have to complete some first-time tour prompts. Navigate to Window --> Asset Browser. The Browser should take around about 40ish seconds to load, depending on your hardware. On the left, open the west_coast_usa folder by clicking the angled bracket. In the folder, you should see another folder labeled "PART2". Click "PART2". You'll see two .prefab.json files. These contain the stops, the trigger zones, and some waypoints to help the AI guide you correctly to the next stop. This was by far the hardest part of the project. Making the arrows go where you want them is very buggy and it's still not perfect. Right click on either one and click "Spawn Prefab at Origin" You should see a folder with a box icon show up in the scene tree on the left side of your screen. Do the same with the other prefab. For convenience, drag the "BusAssets" prefab into the "busstops" folder at the top of the scene tree. Do the same for the "NavHelp" prefab but into the "AIWaypointsGroup" folder. Starting with the "NavHelp" prefab, right click the prefab and click "Unpack" Select all of its contents by other holding Shift and selecting the first and last file inside, or you can select all of them by holding down your left click for a second, and then dragging your mouse to select all of the contents. Drag those contents out of the prefab and into the "AIWaypointsGroup" Do the same for the "BusAssets" but into the "busstops" folder Since the prefabs should now be empty, you can delete them from the scene tree to clean up the scene tree a bit. If you free cam over to the Lighthouse, you should see two bus shelters behind the Lighthouse. Save pressing Control+S or go up to File --> Save Level F11 to exit the World Editor Restart Beamng Now the Routes should be playable TROUBLESHOOTING The main thing that's going to go wrong is the game not being able to find the busstops. This will give some Lua 288 error when you load in one of the routes. Just make sure all of the busstops are the busstops folder and that there's not one floating around outside of the busstops folder. OTHER NOTES: As I mentioned in step 8, this is very buggy. I'm trying to do something I don't think the devs intended for anyone to do. As you approach a stop, the arrows will more times than not, start directing your backwards on the spot. If you see the red corners dictating the bus stop zone, then don't follow the arrows. If anyone knows how I can put all of the assets and waypoints into one mod folder to avoid all of the messy work, please let me know. I really hope you enjoy my mod and I might consider adding another route to the map in the future.
Hi, since you have the knowledge on how to add custom bus stops along with custom bus routes, i figured i´d ask you this. I´m currently creating custom Bus routes for the beamng mod isola rocciosa (https://www.beamng.com/resources/isola-rocciosa.24863/), but the bus routes just wont show up in the bus routes menu. I´ve organized all of the Lua Triggers just how they´re supposed to be, as well as modified the italy bus routes json, but it just won´t work. Mind helpin?
Yes! I'd be more than happy to help. Would you mind sending over what you currently have for me to take a look? (Either through DMs or this thread). I remember having that issue. It's been a hot minute since I've done some Beaming Bus Routes.
I think it´s a better idea to do it in this thread, just incase someone else has this issue too. Heres what I did as of right now. Just the Isola Rocciosa map modified for bus routes:https://drive.google.com/file/d/1rbdC30Ru0PVzax5fntZOPkTRwQL13jxq/view?usp=sharing Also, thank you so much for helping me out
I was just troubleshooting on a different laptop, so I didn't test it. There's also an unnecessary comma near the end. Also, try using thumbnails from other bus routes, as place holders, and include them in your code. I'll try more in depth troubleshooting later today.
Unfortunately it´s neither of those. I will check wether it´s a issue with the map. Highly unlikely, but slightly possible
Just so I'm not leaving you hanging, I got caught up with school work. Looking at the official documentation, it looks like there needs to be an additional json in the scenarios folder, but that still didn't work. So I'll be troubleshooting that tonight. -Brady
Got it working! I moved all of the additional files to its own mod folder, just to keep things organized. The mod folder (isola_bus.zip be sure to extract it into its own folder) will go in your "unpacked" folder in your mods folder, and you'll make all your changes to the buslines.json file from there. The isolarocciosa.zip will go into your mods/repo folder. The additional json file in the scenarios folder is just letting the game know that this map has bus routes, no need to change anything in there. To adjust the starting position, change the x,y,z to 0 for the rotAngAxisF, and then change the w to rotate the bus so it's in the right direction. In the buslines.json file, you included bus stops that I don't see in World Editor. Hope this works!