It's an attempt to force generate a topology through code.
Basically, I get a list of all the gates in a system, choose one, then get the rest of the gates to a bigger list of all ungated gates in the topology. Then I use objGateTo with the ungated gates until there is nothing left in the big list.
There are a couple issues beside it not working well:
1. going through every gate means I go through every node twice

2. I can't seem to get past the New Beyond star systems (on the galactic map)-- I wonder if the new map has something to do with it :/
I keep getting this error:
Code: Select all
02/06/2012 21:36:36 Unable to find destination stargate Inbound in destination system.
02/06/2012 21:36:36 Unable to continue due to program error.
program state: OnAnimate
program state: enter stargate, loading destination system
game state: leaving stargate
Please contact [email protected] with a copy of Debug.log and your save file. We are sorry for the inconvenience.
02/06/2012 21:36:37 End logging session