Help me connect these wormholes

ok I have read all the posts concerning the manual text editing required to connect my wormholes that reside in seperate star systems .

yet I cant seem to get it to work. from what I understand .to find out what planet is the particular one to list in the file . i count down the list of planets in each star. , for example the wormhole in star 0 is the 5th down that stars list
but it is named planet 32(confusing me yes)

and the wormhole in star 1 is 24th in its list and it is named planet34


so I went ahead and tried to modify the galaxy file heres what i added . please note that I added the text from above and below the particular interstar connection entry. just in case i have some format wrong there.



        planetIndexB 2
        spawnProbability 1.000000
        type "PhaseLane"
    connection
        planetIndexA 2
        planetIndexB 3
        spawnProbability 1.000000
        type "PhaseLane"
    connection
        planetIndexA 3
        planetIndexB -1
        spawnProbability 1.000000
        type "PhaseLane"
    connection
        planetIndexA 4
        planetIndexB 1
        spawnProbability 1.000000
        type "PhaseLane"
    interStarConnectionCount 1
        interStarConnection
                starIndexA 0
                planetIndexA 24
                starIndexB 1
                planetIndexB 5
                spawnProbability 1.000000
                type "Wormhole"
playerCount 8
player
    designName "NewPlayer0"
    inGameName "NewPlayer0"
    overrideRaceName ""
    teamIndex -1
    startingCredits 3000
    startingMetal 800
    startingCrystal 250
    isNormalPlayer TRUE
    isRaidingPlayer FALSE
    isInsurgentPlayer FALSE
    themeGroup ""


so I assumed this was the correct way to add a wormhole connection between stars. but apparently i went astray somewhere. so what I need to know is what I did wrong and If possible someone please paste an example of an correctly edited galaxy file and also show me how to recognize the exact value to add to connect the correct planet/wormhole/ect..
thanks
3,158 views 3 replies
Reply #1 Top
1) You wrote: "the wormhole in star 0 is the 5th down that stars list
but it is named planet 32(confusing me yes)", "and the wormhole in star 1 is 24th in its list"
But in the code its exact the other way round:
--------------------------
starIndexA 0
planetIndexA 24
starIndexB 1
planetIndexB 5
---------------------------
i dont know if its just a typo or the actual error, without seeing the rest of the file.
(by the way. The counter names the planets always incremental , even if you deleted some planets meanwhile. So the number in the name is not necessarily the true one of the planet)
2) All Programming languages i know (whichever is used here) beginn counting from zero.
So if the 5th "planet" in star0 is the wormhole it is 0,1,2,3, 4!
Overall i think it should be:
-------------------------------------------------
interStarConnectionCount 1
interStarConnection
starIndexA 0
planetIndexA 4
starIndexB 1
planetIndexB 23
spawnProbability 1.000000
type "Wormhole"
-------------------------------------------------

Good luck!
Reply #2 Top
I made a simple example yesterday:
------------------------------------------------------------
TXT
versionNumber 0
isBrowsable TRUE
browsePictureName ""
browseDescription "TODO - Add Description Here."
isFirstCapitalShipIsFlagship TRUE
planetArtifactDensity 0.150000
planetBonusDensity 0.400000
homePlanetUpgradeLevel:Population 3
homePlanetUpgradeLevel:CivilianModules 1
homePlanetUpgradeLevel:TacticalModules 0
homePlanetUpgradeLevel:Home 1
homePlanetUpgradeLevel:ArtifactLevel 10
homePlanetUpgradeLevel:Infrastructure 2
recommendedGameTypeCount 0
metersPerGalaxyUnit 25000.000000
pixelsPerGalaxyUnit 1.280001
useRandomGenerator FALSE
galaxyWidth 928.000000
galaxyHeight 612.000000
nextStarNameUniqueId 2
nextPlanetNameUniqueId 5
starCount 2
star
designName "Star0"
inGameName ""
type "RandomStar"
pos [ 112 , 102 ]
radius 100.000000
planetCount 2
planet
designName "Planet0"
inGameName ""
type "TerranHome"
pos [ 22 , 108 ]
owner "NewPlayer0"
isHomePlanet TRUE
startingUpgradeLevelForPopulation 0
startingUpgradeLevelForCivilianModules 0
startingUpgradeLevelForTacticalModules 0
startingUpgradeLevelForArtifacts 0
planetItems
templateName ""
subTemplates 0
groups 0
spawnProbability 1.000000
useDefaultTemplate TRUE
planet
designName "Planet4"
inGameName ""
type "Wormhole"
pos [ 188 , 107 ]
owner ""
isHomePlanet FALSE
startingUpgradeLevelForPopulation 0
startingUpgradeLevelForCivilianModules 0
startingUpgradeLevelForTacticalModules 0
startingUpgradeLevelForArtifacts 0
planetItems
templateName ""
subTemplates 0
groups 0
spawnProbability 1.000000
useDefaultTemplate TRUE
connectionCount 1
connection
planetIndexA 0
planetIndexB 1
spawnProbability 1.000000
type "PhaseLane"
spawnProbability 1.000000
star
designName "Star1"
inGameName ""
type "RandomStar"
pos [ 347 , 108 ]
radius 100.000000
planetCount 2
planet
designName "Planet2"
inGameName ""
type "Terran"
pos [ 431 , 108 ]
owner "NewPlayer1"
isHomePlanet TRUE
startingUpgradeLevelForPopulation 0
startingUpgradeLevelForCivilianModules 0
startingUpgradeLevelForTacticalModules 0
startingUpgradeLevelForArtifacts 0
planetItems
templateName ""
subTemplates 0
groups 0
spawnProbability 1.000000
useDefaultTemplate TRUE
planet
designName "Planet3"
inGameName ""
type "Wormhole"
pos [ 264 , 107 ]
owner ""
isHomePlanet FALSE
startingUpgradeLevelForPopulation 0
startingUpgradeLevelForCivilianModules 0
startingUpgradeLevelForTacticalModules 0
startingUpgradeLevelForArtifacts 0
planetItems
templateName ""
subTemplates 0
groups 0
spawnProbability 1.000000
useDefaultTemplate TRUE
connectionCount 1
connection
planetIndexA 0
planetIndexB 1
spawnProbability 1.000000
type "PhaseLane"
spawnProbability 1.000000
interStarConnectionCount 1
interStarConnection
starIndexA 0
planetIndexA 1
starIndexB 1
planetIndexB 1
spawnProbability 1.0
type "Wormhole"
playerCount 2
player
designName "NewPlayer0"
inGameName "NewPlayer0"
overrideRaceName ""
teamIndex -1
startingCredits 300000
startingMetal 80000
startingCrystal 25000
isNormalPlayer TRUE
isRaidingPlayer FALSE
isInsurgentPlayer FALSE
themeGroup ""
themeIndex 0
pictureGroup ""
pictureIndex 0
player
designName "NewPlayer1"
inGameName "NewPlayer1"
overrideRaceName ""
teamIndex -1
startingCredits 300000
startingMetal 80000
startingCrystal 25000
isNormalPlayer TRUE
isRaidingPlayer FALSE
isInsurgentPlayer FALSE
themeGroup ""
themeIndex 0
pictureGroup ""
pictureIndex 0
templates 0
-----------------------------------------------
It works that way, but you cant see the the connection in forge-tools. When you try the map you'll see the wormhole works properly.(don't forget to reseach wormholenavigation though)
Reply #3 Top
maybe thats my problem. i keep looking for the wormhole connections in forge.