Posted by: SteveAlt
« on: March 28, 2009, 05:21:21 PM »Quote from: "SteveAlt"
This proved easier than I expected. There is now a new System Location Display Option for All Pops on the Fleet window. When this is selected you can see all populations in the list of destinations. As you select one you get the usual list of move options such as Resupply from Colony, Move to, etc. Except in this case it fills in the intervening transits automatically. This will only work for colonies within four jumps that can be reached by the fleet in question. The code is aware of jump gates and jump engines when it works this out. If it can't work out a route or you select a colony further away than four jumps, you will get a popup stating that no route can be found. If you are 5 jumps away just plot the first transit and then use the auto-route for the rest of the trip. When I get chance I will upgrade the route finding code to handle more than 4 jumps.Quote from: "Kurt"Steve -It is possible, although tricky over longer distances. The civilian and NPR code has to work out the route to various destinations so that could be adapted. It currently has a 4 system max limit though. I agree it would be useful though so I'll add it to my list of important mods.
I know you just released 4.0b, but after plotting out a major colonial effort for a system four jumps away from Earth, I had an idea. I have no idea if it would be hard or easy to program, but it sure would make things easier when giving orders. Would it be possible, when giving movement commands on the task group screen, to change things so that instead of having to give orders like this: "Move to warp point A, transit warp point A, move to warp point B, transit warp point B, move to warp point C, transit warp point C, move to planet D", I could could instead select a destination from a list of my race's populations, and then Aurora would calculate the path from System A to System C, planet D? I know it might be problematic if there are multiple paths, and pathfinding might be problematic even if there is only one, but giving these movement orders is time consuming, and if it could be streamlined it would help reduce the overhead greatly.
I could try and restrict the list to only those pops you can reach but that would involve working out the route to every colony before the list is displayed and that would take a while.
Steve