Closed Gordon-Dry closed 4 years ago
The reason for the problem was it didn't have the functionality to read ground station configurations in the setting file.
It is now added. Please test your setting patches on this develop build.
Do let me know if it works and I will close this issue as completed
It works.
This GameData\CommNetConstellation\cnc_settings.cfg (that I already used before and tried to make work):
CommNetConstellationSettings
{
PublicRadioFrequency = 0
DefaultPublicName = Kerbin Comm
DefaultPublicColor = 0.286,0.388,0.475,1
DistanceToHideGroundStations = 8000000
Constellations
{
Constellation
{
frequency = 0
name = Public Broadcasting
color = 1,1,1,1
visibility = True
}
Constellation
{
frequency = 1
name = Solar Comm & Relay
color = 0.995999992,0.834999979,0.0120000001,1
visibility = True
}
Constellation
{
frequency = 2
name = Moho Comm & Relay
color = 0.486000001,0.400000006,0.344999999,1
visibility = True
}
Constellation
{
frequency = 3
name = Moho Stations
color = 0.586000025,0.400000006,0.344999999,1
visibility = True
}
Constellation
{
frequency = 4
name = Moho Bases
color = 0.586000025,0.5,0.344999999,1
visibility = True
}
Constellation
{
frequency = 5
name = Eve Comm & Relay
color = 0.407999992,0.298000008,0.552999973,1
visibility = True
}
Constellation
{
frequency = 6
name = Eve Stations
color = 0.508000016,0.298000008,0.552999973,1
visibility = True
}
Constellation
{
frequency = 7
name = Eve Bases
color = 0.508000016,0.398000002,0.552999973,1
visibility = True
}
Constellation
{
frequency = 8
name = Gilly Comm & Relay
color = 0.524999976,0.467000008,0.404000014,1
visibility = True
}
Constellation
{
frequency = 9
name = Gilly Bases & Stations
color = 0.425000012,0.467000008,0.404000014,1
visibility = True
}
Constellation
{
frequency = 10
name = Kerbin Comm
color = 0.286000013,0.388000011,0.474999994,1
visibility = True
}
Constellation
{
frequency = 11
name = Kerbin Relay
color = 0.386000007,0.388000011,0.474999994,1
visibility = True
}
Constellation
{
frequency = 12
name = Kerbin Stations
color = 0.386000007,0.488000005,0.474999994,1
visibility = True
}
Constellation
{
frequency = 13
name = Mun Comm & Relay
color = 0.31400001,0.321999997,0.317999989,1
visibility = True
}
Constellation
{
frequency = 14
name = Mun Stations
color = 0.414000005,0.321999997,0.317999989,1
visibility = True
}
Constellation
{
frequency = 15
name = Mun Bases
color = 0.414000005,0.421999991,0.317999989,1
visibility = True
}
Constellation
{
frequency = 16
name = Minmus Comm & Relay
color = 0.73299998,0.991999984,0.893999994,1
visibility = True
}
Constellation
{
frequency = 17
name = Minmus Stations
color = 0.633000016,0.991999984,0.893999994,1
visibility = True
}
Constellation
{
frequency = 18
name = Minmus Bases
color = 0.633000016,0.89200002,0.893999994,1
visibility = True
}
Constellation
{
frequency = 19
name = Kerbin Backup Comm
color = 0.286000013,0.488000005,0.474999994,1
visibility = True
}
Constellation
{
frequency = 20
name = Duna Comm
color = 0.647000015,0.282000005,0.160999998,1
visibility = True
}
Constellation
{
frequency = 21
name = Duna Relay
color = 0.546999991,0.282000005,0.160999998,1
visibility = True
}
Constellation
{
frequency = 22
name = Duna Stations
color = 0.546999991,0.381999999,0.160999998,1
visibility = True
}
Constellation
{
frequency = 23
name = Duna Bases
color = 0.546999991,0.481999993,0.160999998,1
visibility = True
}
Constellation
{
frequency = 24
name = Ike Comm & Relay
color = 0.250999987,0.250999987,0.250999987,1
visibility = True
}
Constellation
{
frequency = 25
name = Ike Stations
color = 0.351000011,0.250999987,0.250999987,1
visibility = True
}
Constellation
{
frequency = 26
name = Ike Bases
color = 0.351000011,0.351000011,0.250999987,1
visibility = True
}
Constellation
{
frequency = 27
name = Dres Comm & Relay
color = 0.501999974,0.501999974,0.501999974,1
visibility = True
}
Constellation
{
frequency = 28
name = Dres Stations
color = 0.601999998,0.501999974,0.501999974,1
visibility = True
}
Constellation
{
frequency = 29
name = Dres Bases
color = 0.601999998,0.601999998,0.501999974,1
visibility = True
}
Constellation
{
frequency = 30
name = Jool Comm & Relay
color = 0.458999991,0.677999973,0.305999994,1
visibility = True
}
Constellation
{
frequency = 31
name = Jool Stations
color = 0.559000015,0.677999973,0.305999994,1
visibility = True
}
Constellation
{
frequency = 32
name = Laythe Comm & Relay
color = 0.344999999,0.361000001,0.416000009,1
visibility = True
}
Constellation
{
frequency = 33
name = Laythe Bases & Stations
color = 0.444999993,0.361000001,0.416000009,1
visibility = True
}
Constellation
{
frequency = 34
name = Vall Comm & Relay
color = 0.549000025,0.620000005,0.626999974,1
visibility = True
}
Constellation
{
frequency = 35
name = Vall Bases & Stations
color = 0.648999989,0.620000005,0.626999974,1
visibility = True
}
Constellation
{
frequency = 36
name = Tylo Comm & Relay
color = 0.736999989,0.70599997,0.658999979,1
visibility = True
}
Constellation
{
frequency = 37
name = Tylo Bases & Stations
color = 0.637000024,0.70599997,0.658999979,1
visibility = True
}
Constellation
{
frequency = 38
name = Bop Comm & Relay & Bases & Stations
color = 0.39199999,0.337000012,0.298000008,1
visibility = True
}
Constellation
{
frequency = 39
name = Pol Comm & Relay & Bases & Stations
color = 0.933000028,0.808000028,0.596000016,1
visibility = True
}
Constellation
{
frequency = 40
name = Eeloo Comm & Relay
color = 0.783999979,0.80400002,0.787999988,1
visibility = True
}
Constellation
{
frequency = 41
name = Eeloo Bases & Stations
color = 0.684000015,0.80400002,0.787999988,1
visibility = True
}
}
GroundStations
{
GroundStation
{
ID = Kerbin: Baikerbanur
Color = 1,0,0,1
OptionalName =
Frequencies
{
Frequency = 0
Frequency = 10
}
}
GroundStation
{
ID = Kerbin: Crater Rim
Color = 0.843137264,0.552941203,0.435294122,1
OptionalName =
Frequencies
{
Frequency = 0
}
}
GroundStation
{
ID = Kerbin: Harvester Massif
Color = 0.309803933,0.541176498,0.431372553,1
OptionalName =
Frequencies
{
Frequency = 0
}
}
GroundStation
{
ID = Kerbin: KSC
Color = 0.329411775,0.43921569,0.607843161,1
OptionalName =
Frequencies
{
Frequency = 0
Frequency = 10
Frequency = 11
Frequency = 12
Frequency = 13
Frequency = 14
Frequency = 15
Frequency = 16
Frequency = 17
Frequency = 18
Frequency = 19
}
}
GroundStation
{
ID = Kerbin: Mesa South
Color = 0.529411793,0.580392182,0.603921592,1
OptionalName =
Frequencies
{
Frequency = 0
Frequency = 10
Frequency = 11
Frequency = 19
}
}
GroundStation
{
ID = Kerbin: North Station One
Color = 0.509803951,0.56078434,0.721568644,1
OptionalName =
Frequencies
{
Frequency = 0
Frequency = 10
Frequency = 11
Frequency = 19
}
}
GroundStation
{
ID = Kerbin: Nye Island
Color = 0.329411775,0.603921592,0.603921592,1
OptionalName =
Frequencies
{
Frequency = 0
Frequency = 10
}
}
}
}
in a fresh Sandbox game, only a few mods:
AntennaHelper\
CommNetAntennasInfo\
CommNetConstellation\
Squad\
SquadExpansion\
ModuleManager.4.1.3.dll
results to this:
The syntax of the GameData\CommNetConstellation\cnc_settings.cfg and of what is saved in the persistent.sfs is the same.
But there is a difference: When ingame I can add a frequency to a ground station and it looks like this in the persistent.sfs
but this inside the cnc_settings.cfg does not work
it behaves like if it would be an MM patch with @Frequency or %Frequency - it overwrites the 0 with a 10 and only one entry is left then:
and besides that the Color is also set to default 1,0,0,1