Came up with the idea for using the Cargo ship waterway system to make a similar system that only works on paved ground with Semi-Trucks, trucks, and cars.
It would need to use a tighter turning circle then the default one for ships and trains but other then that I think all the programming is already here on the Cargo ships code working perfectly!
Just need to edit a few parameters and create some sprites, not sure how difficult tightening the radius of rail turns is going to be though.
I'm aware AAI Vehicles exist and I would not want to replace that ideally AAI should be able to connect and disconnect from a road network in the future once everything else is worked out and running smooth, the point of this is that AAI uses Biter pathing which gets really derpy as soon as it enters a factory because the path finding is design to navigate the Natural terrain and eat through a factory not navigate through a factory, while the rail system with a slightly tighter turning radius to accommodate the smaller entities and environment would handle that situation perfectly with the added bonus of being able to employ road trains also know as Semi-trailers which AAI as far as I'm aware is unable to do.
AAI for offroad operations, Road trains/B-Doubles(also known as semi-trucks outside of Australia.) for on road/internal factory operations.
Trains for high speed long distance transport.
Cargo ships for cross water transport.
to keep trains from being replaced by road trains/trucks there should be an alternate recipe for railroads that uses concert for the sleepers instead of wood to make mass production more viable, it is genuinely strange to me as an Australian to see sleepers made of wood, concert is the standard here.
(sleepers are the beam underneath the rail that supports and fixes it in place.)
Came up with this idea while talking to Robot256 about his shipping container and Vehicle wagon mods:
https://mods.factorio.com/mod/VehicleWagon2/discussion/684e66b531a674b50a23aaf1