connecting intersteller wormholes

I made a large 3 system map with 2 wormholes in each system.  I'm wanting to have each wormhole going to one of the other two systems. 

Galaxy 1

Planet 115 wormhole to 113

116 to 111

Gal 2

113 to 115

114 to 112

Gal 3

111 to 116

112 to 114

If someone could write that for me where i could just copy and paste that would be awsome, if they need a copy of the file i can msg it or email it.  Ive looked around a little bit but even if i did find out how I'm not sure my brain could implement it.

7,520 views 12 replies
Reply #1 Top
ok i got into someone elses map and tried to copy what they did, this is what i came up with

interStarConnectionCount 3
interStarConnection
starIndexA 0
planetIndexA 115
starIndexB 1
planetIndexB 113
spawnProbability 1.0
type "Wormhole"
interStarConnection
starIndexA 0
planetIndexA 116
starIndexB 2
planetIndexB 111
spawnProbability 1.0
type "Wormhole"
interStarConnection
starIndexA 1
planetIndexA 114
starIndexB 2
planetIndexB 112
spawnProbability 1.0
type "Wormhole"

I put this code in after the last of the connection info before the player info like i saw on his map still this does not work someone plz give me a break and help me out, ive tried a dozen different things all week with no luck.
Reply #2 Top
I also can't find a way to make wormholes lead to a different star. I assumed it was currently not possible.
Reply #3 Top
its possible but its a heavily guarded secret. in my searches every thread that looks like it talks about it is deleted or a bad link or something. ive downloaded someone else map and messaged them about it with no response. ive played their map and it does work, i just cant seem to duplicate it.
Reply #4 Top
It's not any closely guarded secret, there are a few pre-made maps that do it for you to poke in, and when the GF editor was first released IC actually pointed people to it to look at. Alas, I don't remember what it is now :( And I'm not much of a mapmaker..
Reply #5 Top
Ok, the problem may be that if the planet is named "planet115" it is not necessarily the 115th planet in this star system(if you delete a planet meanwhile eg.). The true number of the planet is the position in the planetlist of the star. Could be fun to count around 100 planets :D. If you count mind that all programs start counting with 0!!! So the third planet would be e.g. planetIndexA 2.
Another way is to create one 'dummy' connection from the wormhole to another newly added planet as last action and save afterwards. When you open the map with a texteditor look for the last connection in the list. Its the one you just created. Make sure you are at the right Starsystem(Its helpful to give the system a name. That way you can find the right one easily in the textfile). E.g.:

connection
planetIndexA 3
planetIndexB 8
spawnProbability 1.000000
type "PhaseLane"

As the higher count must be our new created planet. Planet 3 must be our wormhole!
Now you know the number of the Wormhole so write it down. Delete the 'dummy' connection and the dummy planet (the last in the star-list) and proceed with the second wormhole in the same way.
Lets say the second wormhole is the 10th planet of the third star.
Now you have your two numbers and use them this way.
interStarConnectionCount 1
interStarConnection
starIndexA 0
planetIndexA 3
starIndexB 2
planetIndexB 9
spawnProbability 1.000000
type "Wormhole"

Of course you have to increase the counter for each wormhole (no counting of 0 here!)
You cannot see the connection in ForgeTools but if works just fine if you send a ship through.
Good luck.
Reply #6 Top
grottenolm you are awsome, ive been pulling my hair out in tuffs trying to crack the code. every map i make im gonna name a star or a home planet after you!
Reply #7 Top
Np. Rofl, the Grottenolm Star :D
Btw, If you have a dubious looking connection like:
connection
planetIndexA 3
planetIndexB -1
spawnProbability 1.000000
type "PhaseLane"
Don't start looking for a strange "-1" Planet. All connections to the local sun are "-1"-connections.
Reply #8 Top
If you count mind that all programs start counting with 0!!!
End of quote


Strange... I thought of that, but when I checked one of the wormhole connections for Vorkul's Labyrinth, the wormhole position was 1, but it was the first planet in the list. So shouldn't it have been 0? or wouldn't it work if it was?

Reply #9 Top
Ok, lets have a look at vorkul's first connection:


interStarConnection
starIndexA 0
planetIndexA 4
starIndexB 3
planetIndexB 1
spawnProbability 1.0
type "Wormhole"


star0:


star
designName "Star0"
inGameName ""
type "RandomNonGreenStar"
pos [ 357 , 50 ]
radius 20.000000
planetCount 7
planet
designName "Planet0"
inGameName "Hezekiah"
type "DesertHome"
pos [ 349 , 40 ]
owner "NewPlayer"
isHomePlanet TRUE
startingUpgradeLevelForPopulation 0
startingUpgradeLevelForCivilianModules 0
startingUpgradeLevelForTacticalModules 0
startingUpgradeLevelForArtifacts 0
planetItems
templateName ""
subTemplates 1
template "Start"
groups 0
spawnProbability 1.000000
useDefaultTemplate FALSE
planet
designName "Planet1"
inGameName ""
type "Wormhole"
pos [ 372 , 55 ]
owner ""
isHomePlanet FALSE
startingUpgradeLevelForPopulation 0
startingUpgradeLevelForCivilianModules 0
startingUpgradeLevelForTacticalModules 0
startingUpgradeLevelForArtifacts 0
planetItems
templateName ""
subTemplates 0
groups 0
spawnProbability 1.000000
useDefaultTemplate TRUE
planet
designName "Planet2"
inGameName ""
type "Ice"
pos [ 350 , 63 ]
owner ""
isHomePlanet FALSE
startingUpgradeLevelForPopulation 0
startingUpgradeLevelForCivilianModules 0
startingUpgradeLevelForTacticalModules 0
startingUpgradeLevelForArtifacts 0
planetItems
templateName ""
subTemplates 0
groups 0
spawnProbability 1.000000
useDefaultTemplate TRUE
planet
designName "Planet3"
inGameName ""
type "RandomTrueNonIce"
pos [ 364 , 61 ]
owner ""
isHomePlanet FALSE
startingUpgradeLevelForPopulation 0
startingUpgradeLevelForCivilianModules 0
startingUpgradeLevelForTacticalModules 0
startingUpgradeLevelForArtifacts 0
planetItems
templateName ""
subTemplates 0
groups 0
spawnProbability 1.000000
useDefaultTemplate TRUE
planet
designName "Planet5"
inGameName ""
type "Wormhole"
pos [ 360 , 68 ]
owner ""
isHomePlanet FALSE
startingUpgradeLevelForPopulation 0
startingUpgradeLevelForCivilianModules 0
startingUpgradeLevelForTacticalModules 0
startingUpgradeLevelForArtifacts 0
planetItems
templateName ""
subTemplates 0
groups 0
spawnProbability 1.000000
useDefaultTemplate TRUE




so "planet5" is actually "planetIndexA 4"

Now star 3(the 4th in list. Nr 2 is missing)


star
designName "Star4"
inGameName ""
type "RandomNonGreenStar"
pos [ 50 , 260 ]
radius 20.000000
planetCount 7
planet
designName "Planet30"
inGameName ""
type "Asteroid"
pos [ 47 , 243 ]
owner ""
isHomePlanet FALSE
startingUpgradeLevelForPopulation 0
startingUpgradeLevelForCivilianModules 0
startingUpgradeLevelForTacticalModules 0
startingUpgradeLevelForArtifacts 0
planetItems
templateName ""
subTemplates 0
groups 0
spawnProbability 1.000000
useDefaultTemplate TRUE
planet
designName "Planet31"
inGameName ""
type "Wormhole"
pos [ 58 , 246 ]
owner ""
isHomePlanet FALSE
startingUpgradeLevelForPopulation 0
startingUpgradeLevelForCivilianModules 0
startingUpgradeLevelForTacticalModules 0
startingUpgradeLevelForArtifacts 0
planetItems
templateName ""
subTemplates 0
groups 0
spawnProbability 1.000000
useDefaultTemplate TRUE





Looks like "planet31" is "planetIndexB 1"(2nd in list 0,1)

Pretty much like i expected it to be.
Reply #10 Top
Ironclad said in another post that the next version of Galaxy Forge would include interstar wormhole.
Reply #12 Top
Np