Wormholes
Making them work on custom maps
from
Sins Forums
Hiya, new poster, new player and all that. I couldn't find a post that explains this, so i'd thought i'd have a shot at it.
After a lot of fussing around with GalaxyForge last night, creating simple maps and the like, I think I've finally understood how the interstarConnectionCount thing works.
As the guide at the top tells us, loading any map in GalaxyForge then saving it instantly sets the interstarConnectionCount to 0, and removes any text from it's section in the .galaxy file. This means that any wormhole connections between stars need to be set up after finishing everything you want to do in Galaxy Forge.
If you have two seperate star systems, you will need to create a new planet in both, and set it's type to "Wormhole", and create some phaselanes to connect them to their neighbours. Setting a design name for your wormholes may help you pick them out during a later step.
Now, fire up the .galaxy file you've saved in notepad and scroll down to where it says "interStarConnectionCount 0". From looking at a couple of other galaxy files, this needs to be set to the number of wormhole connections you need. In a simple map with two stars, this can be set to "1".
Underneath, you need to add this;
interStarConnection
starIndexA 0
planetIndexA 20
starIndexB 1
planetIndexB 12
spawnProbability 1.0
type "Wormhole"
For every connection.
starIndexA is the origin star determined from it's location in the list of stars for your map. 0 is the first, 1 is the second and so on.
planetIndexA is the origin planet, this should be the wormhole that you created which should lie in the planets list further up the file. In this example, the wormhole is the 21st planet in the list for the first star.
starIndexB is the destination star, determined in the same way as the above. This example has the second star in the list.
planetIndexB is the destination planet, which should be the other wormhole you've created, in this example, the wormhole is the 13th planet which belongs to the second star.
I presume that the "spawnProbability" allows you to add some variance to the connection, but I haven't tested this yet. The "type" needs to be left as "Wormhole".
If you add further links, make sure to keep incrementing interstarConnectionCount for each link added. Hopefully, functionality may be added or the mod tools will make adding these in manually obsolete.
In the meantime, I hope those budding map creators find something useful in here.
- Quin, oh so bored
After a lot of fussing around with GalaxyForge last night, creating simple maps and the like, I think I've finally understood how the interstarConnectionCount thing works.
As the guide at the top tells us, loading any map in GalaxyForge then saving it instantly sets the interstarConnectionCount to 0, and removes any text from it's section in the .galaxy file. This means that any wormhole connections between stars need to be set up after finishing everything you want to do in Galaxy Forge.
If you have two seperate star systems, you will need to create a new planet in both, and set it's type to "Wormhole", and create some phaselanes to connect them to their neighbours. Setting a design name for your wormholes may help you pick them out during a later step.
Now, fire up the .galaxy file you've saved in notepad and scroll down to where it says "interStarConnectionCount 0". From looking at a couple of other galaxy files, this needs to be set to the number of wormhole connections you need. In a simple map with two stars, this can be set to "1".
Underneath, you need to add this;
interStarConnection
starIndexA 0
planetIndexA 20
starIndexB 1
planetIndexB 12
spawnProbability 1.0
type "Wormhole"
For every connection.
starIndexA is the origin star determined from it's location in the list of stars for your map. 0 is the first, 1 is the second and so on.
planetIndexA is the origin planet, this should be the wormhole that you created which should lie in the planets list further up the file. In this example, the wormhole is the 21st planet in the list for the first star.
starIndexB is the destination star, determined in the same way as the above. This example has the second star in the list.
planetIndexB is the destination planet, which should be the other wormhole you've created, in this example, the wormhole is the 13th planet which belongs to the second star.
I presume that the "spawnProbability" allows you to add some variance to the connection, but I haven't tested this yet. The "type" needs to be left as "Wormhole".
If you add further links, make sure to keep incrementing interstarConnectionCount for each link added. Hopefully, functionality may be added or the mod tools will make adding these in manually obsolete.
In the meantime, I hope those budding map creators find something useful in here.
- Quin, oh so bored