[Question] Where are sector names associated with their cluster?
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 73
- Joined: Wed, 5. Dec 18, 07:04
[Question] Where are sector names associated with their cluster?
I've been digging through the cluster/galaxy/sector files for a little while, and I can't seem to find where the sectors are associated with the localization files. Does anyone have any ideas or are the connections between sector names and cluster id's stored internally?
-
- Posts: 3
- Joined: Tue, 4. Dec 18, 21:22
Re: [Question] Where are sector names associated with their cluster?
Hi,
I've been digging through them myself and think that the names are referrenced by the libraries/mapdefaults.xml
IDs with 20003 are cluster names, 20004 are sector names. In this example that's the Black Hole Sun cluster.
Looking at the English translation file in t/0001-L044.xml
Maybe that helps you out 
I've been digging through them myself and think that the names are referrenced by the libraries/mapdefaults.xml
Code: Select all
...
<dataset macro="Cluster_06_macro">
<properties>
<identification name="{20003,60001}" description="{20003,60002}" />
<sounds>
<music ref="music_cluster_06" />
</sounds>
<area sunlight="1" economy="0.5" security="0.5" />
</properties>
</dataset>
<dataset macro="Cluster_06_Sector001_macro">
<properties>
<identification name="{20004,60011}" description="{20004,60012}" />
<sounds>
<music ref="music_cluster_06_sector_01" />
</sounds>
</properties>
</dataset>
<dataset macro="Cluster_06_Sector002_macro">
<properties>
<identification name="{20004,60021}" description="{20004,60022}" />
<sounds>
<music ref="music_cluster_06_sector_02" />
</sounds>
</properties>
</dataset>
...
Looking at the English translation file in t/0001-L044.xml
Code: Select all
...
<page id="20004" title="Sectors" descr="Names and descriptions of sectors" voice="yes">
<t id="10011">{20003,10001} {20402,1}(Grand Exchange I)</t>
<t id="10012">{20006,302}(No information available)</t>
<t id="10021">{20003,10001} {20402,3}(Grand Exchange III)</t>
<t id="10022">{20006,302}(No information available)</t>
<t id="10031">{20003,10001} {20402,4}(Grand Exchange IV)</t>
<t id="10032">{20006,302}(No information available)</t>
<t id="20011">{20003,20001}(Eighteen Billion)</t>
<t id="20012">{20003,20002}</t>
<t id="30011">{20003,30001} {20402,9}(Memory of Profit IX)</t>
<t id="30012">Hanging in low orbit of Haarii, a Teladi Company executive wished to see the sector and entire system recolonised after it was rediscovered during the Jump Gate realignment.\n\nWell-connected and relatively secure from all major threats in the Jump Gate network, this sector was a perfect target for a colonisation program, for the Teladi Company to prove that despite the hardship the Teladi had faced in the wake of recent historical events, they were still united and strong, and able to generate a profit.</t>
<t id="40011">{20003,40001} {20402,2}(Nopileos' Fortune II)</t>
<t id="40012">{20006,302}(No information available)</t>
<t id="40021">{20003,40001} {20402,6}(Nopileos' Fortune IV)</t>
<t id="40022">{20006,302}(No information available)</t>
<t id="50011">{20003,50001}(Path to Profit)</t>
<t id="50012">{20003,50002}</t>
<t id="60011">{20003,60001} {20402,4}(Black Hole Sun IV)</t>
<t id="60012">{20006,302}(No information available)</t>
<t id="60021">{20003,60001} {20402,5}(Black Hole Sun V)</t>
<t id="60022">{20006,302}(No information available)</t>
...

-
- Posts: 73
- Joined: Wed, 5. Dec 18, 07:04
Re: [Question] Where are sector names associated with their cluster?
So I've found through digging that the sector's ID is stored in the save file next to the player, it has a form like {20004,*****}, I'm building a table of the names and ID's now. It may have to wait though, I really should do homework for a while
-
- Posts: 3
- Joined: Tue, 4. Dec 18, 21:22
Re: [Question] Where are sector names associated with their cluster?
Would you mind and explain what you want to achieve in the end?
-
- Posts: 73
- Joined: Wed, 5. Dec 18, 07:04
Re: [Question] Where are sector names associated with their cluster?
Originally I was trying to find the names so I could make a mod to make the PHQ spawn in another system than grand exchange, but I figure that having a list as a modder's resource would be helpful
-
- Posts: 15
- Joined: Mon, 18. Nov 13, 21:56
Re: [Question] Where are sector names associated with their cluster?
I would really appreciate a copy of the list you have mapped so far (as it is time consuming).
Here are a few that I have already tracked down when I was experimenting with modding:
Cluster_04 - Nopileos' Fortune II
Cluster_05 - Path to Profit
Cluster_06 - Black Hole Sun V
Cluster_17 - Matrix 9
Cluster_22 - Pious Mists II
Cluster_24 - Holy Vision
Cluster_40 - Second Contact VII
Here are a few that I have already tracked down when I was experimenting with modding:
Cluster_04 - Nopileos' Fortune II
Cluster_05 - Path to Profit
Cluster_06 - Black Hole Sun V
Cluster_17 - Matrix 9
Cluster_22 - Pious Mists II
Cluster_24 - Holy Vision
Cluster_40 - Second Contact VII
-
- Posts: 1
- Joined: Fri, 4. Jan 19, 01:47
Re: [Question] Where are sector names associated with their cluster?
Necro but there are no other references to sector id's I could find and someone else will be looking for this one day. I, too, was looking to change the location of my PHQ.
In the top of your save file, your location is referenced in a line that reads something like
<player name="ExploringQQ" location="{20004,310011}" money="52148466"/>
But in a mod file, the location you want your player or PHQ to start in looks like
<location galaxy="xu_ep2_universe_macro" zone="zone001_cluster_31_sector001_macro">
<position x="28685" y="-1240" z="10695"/>
<rotation yaw="-115" pitch="0" roll="0" />
</location>
The cluster reference you're looking for is given in the first 1 or 2 digits of the second location identifier. Sector seems to be the second to last number in the second location identifier (for systems with 2 small hexes in the big hex). The very last number seems to be zones. I found enough to do what I needed and moved on, I'm sure there's more to it.
So in the example of the save location above, {20004, 310011} shows the player at cluster 31, sector 1, zone 1. (Which happens to be Heretic's End)
{20004, 60012} would be cluster 6, sector 1, zone 2
{20004, 60022} would be cluster 6, sector 2, zone 2 (which happens to be both the Black Hole Sun sub-hexes)
iirc there are 47 clusters with the initial release and there doesn't seem to be any pattern in how they numbered them. Just fly to where to what you're looking for and make a save file to reference until someone make a full chart.
Hope this helps someone down the road!
In the top of your save file, your location is referenced in a line that reads something like
<player name="ExploringQQ" location="{20004,310011}" money="52148466"/>
But in a mod file, the location you want your player or PHQ to start in looks like
<location galaxy="xu_ep2_universe_macro" zone="zone001_cluster_31_sector001_macro">
<position x="28685" y="-1240" z="10695"/>
<rotation yaw="-115" pitch="0" roll="0" />
</location>
The cluster reference you're looking for is given in the first 1 or 2 digits of the second location identifier. Sector seems to be the second to last number in the second location identifier (for systems with 2 small hexes in the big hex). The very last number seems to be zones. I found enough to do what I needed and moved on, I'm sure there's more to it.
So in the example of the save location above, {20004, 310011} shows the player at cluster 31, sector 1, zone 1. (Which happens to be Heretic's End)
{20004, 60012} would be cluster 6, sector 1, zone 2
{20004, 60022} would be cluster 6, sector 2, zone 2 (which happens to be both the Black Hole Sun sub-hexes)
iirc there are 47 clusters with the initial release and there doesn't seem to be any pattern in how they numbered them. Just fly to where to what you're looking for and make a save file to reference until someone make a full chart.
Hope this helps someone down the road!