In this continuation of phase 1, I am attempting the following:
using the game's in built Track.RouteSearch.FindRoute() to find a valid path through a set of switches.
detecting if an upcomming switch is in the correct position e.g. if heading from Hemingway to Cochran via Alarka Jct, the route will know the switch state must be set to reversed. As the leading end of the locomotive approaches the switch (400m or less) it will check if the switch is set to reverse, and if not, it will stop the locomotive and issue a console message that the switch needs to be changed
Currently a draft PR as the code is still in development
In this continuation of phase 1, I am attempting the following:
Currently a draft PR as the code is still in development