[MD Script] MUS - Marking Unknown Sectors (updated 05-07-2009)

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Fith
Posts: 79
Joined: Sun, 1. Jul 07, 16:54

Post by Fith » Thu, 20. Jan 11, 11:13

There are only 12 sectors in the English 44/t file.... not 16 as in the others. Also the Terran sectors near Ort Cloud are in the wrong order

RustInPieces
Posts: 84
Joined: Mon, 13. Feb 12, 08:22
x4

Post by RustInPieces » Tue, 11. Sep 12, 06:08

Fith wrote:There are only 12 sectors in the English 44/t file.... not 16 as in the others. Also the Terran sectors near Ort Cloud are in the wrong order
Thanks, I was wondering why some of the sectors were still unmarked. I also noticed that 2 unknown sectors did not get changed. I fixed it so that they are.

However, the unknown sectors near Oort cloud are correct.
[ external image ]
The coordinates run from Left to right on the X Axis, and from top to bottom on the Y axis. Oort cloud, for example, would be 07-01. Even though Unknown Sector 07-04 is only one jump away from Oort Cloud, Family Pride (07-02) and Rhonkar's Clouds (07-03) sit between them.

RustInPieces
Posts: 84
Joined: Mon, 13. Feb 12, 08:22
x4

Post by RustInPieces » Tue, 11. Sep 12, 10:35

Here is the fix for the two (six in english version) missing sectors.
Remember, if you use this, You need to change your name to resetmus if you used Marked Unknown Sectors before. Then, change your name to activatemus. Wait 10 seconds and you can change your name back to what you were using.

MarkingUnknownSectors.xml
Spoiler
Show

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="director.xsl" type="text/xsl" ?>
<director name="test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 

xsi:noNamespaceSchemaLocation="director.xsd">
  <documentation>
    <author name="Ketraar" alias="Ketraar" contact="Forums"/>
    <content reference="Marking Unknown Sectors" name="MUS" description="Marking Unknown Sectors" />
    <version number="1.1" date="04/07/2009" status="release"/>
  </documentation>
  <cues>
    <cue name="MUS_toplevel">
      <condition>
        <check_value value="{player.name}" exact="activatemus"/>
      </condition>
      <action>
        <do_all>
          <load_text fileid="9110"/>
          <find_sector name="MUS_toplevel.unknownsector1" x="8" y="8"/>
          <find_sector name="MUS_toplevel.unknownsector2" x="12" y="5"/>
          <find_sector name="MUS_toplevel.unknownsector3" x="16" y="0"/>
          <find_sector name="MUS_toplevel.unknownsector4" x="20" y="5"/>
          <find_sector name="MUS_toplevel.unknownsector5" x="14" y="7"/>
          <find_sector name="MUS_toplevel.unknownsector6" x="18" y="9"/>
          <find_sector name="MUS_toplevel.unknownsector7" x="18" y="10"/>
          <find_sector name="MUS_toplevel.unknownsector8" x="13" y="8"/>
          <find_sector name="MUS_toplevel.unknownsector9" x="3" y="15"/>
          <find_sector name="MUS_toplevel.unknownsector10" x="7" y="15"/>
          <find_sector name="MUS_toplevel.unknownsector11" x="7" y="16"/>
          <find_sector name="MUS_toplevel.unknownsector12" x="18" y="16"/>
          <find_sector name="MUS_toplevel.unknownsector13" x="7" y="4"/>
          <find_sector name="MUS_toplevel.unknownsector14" x="8" y="4"/>
          <find_sector name="MUS_toplevel.unknownsector15" x="7" y="5"/>
          <find_sector name="MUS_toplevel.unknownsector16" x="8" y="5"/>
          <find_sector name="MUS_toplevel.unknownsector17" x="23" y="19"/>
          <find_sector name="MUS_toplevel.unknownsector18" x="10" y="16"/>
        </do_all>
      </action>
      <cues>
        <cue name="MUS_namesectors">
          <condition>
            <cue_is_complete cue="MUS_toplevel"/>
          </condition>
          <timing>
            <time exact="10s"/>
          </timing>
          <action>
            <do_all>
              <set_sector_override sector="MUS_toplevel.unknownsector1" textid="1030001"/>
              <set_sector_override sector="MUS_toplevel.unknownsector2" textid="1030002"/>
              <set_sector_override sector="MUS_toplevel.unknownsector3" textid="1030003"/>
              <set_sector_override sector="MUS_toplevel.unknownsector4" textid="1030004"/>
              <set_sector_override sector="MUS_toplevel.unknownsector5" textid="1030005"/>
              <set_sector_override sector="MUS_toplevel.unknownsector6" textid="1030006"/>
              <set_sector_override sector="MUS_toplevel.unknownsector7" textid="1030007"/>
              <set_sector_override sector="MUS_toplevel.unknownsector8" textid="1030008"/>
              <set_sector_override sector="MUS_toplevel.unknownsector9" textid="1030009"/>
              <set_sector_override sector="MUS_toplevel.unknownsector10" textid="10300010"/>
              <set_sector_override sector="MUS_toplevel.unknownsector11" textid="10300011"/>
              <set_sector_override sector="MUS_toplevel.unknownsector12" textid="10300012"/>
              <set_sector_override sector="MUS_toplevel.unknownsector13" textid="10300013"/>
              <set_sector_override sector="MUS_toplevel.unknownsector14" textid="10300014"/>
              <set_sector_override sector="MUS_toplevel.unknownsector15" textid="10300015"/>
              <set_sector_override sector="MUS_toplevel.unknownsector16" textid="10300016"/>
              <set_sector_override sector="MUS_toplevel.unknownsector17" textid="10300017"/>
              <set_sector_override sector="MUS_toplevel.unknownsector18" textid="10300018"/>
            </do_all>
          </action>
        </cue>
      </cues>
    </cue>
    <cue name="MUS_reset">
      <condition>
        <check_value value="{player.name}" exact="resetmus"/>
      </condition>
      <action>
        <reset_cue cue="MUS_toplevel"/>
      </action>
    </cue>
  </cues>
</director>



9110-L033.xml (French)
Spoiler
Show

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<language id="33">

  <page id="350007" title="Boardcomp. Sectornames" descr="Names of all sectors (spoken by Boardcomputer)" voice="yes">
    <t id="1030001">{7,1020000} 8-8</t>
    <t id="1030002">{7,1020000} 12-5</t>
    <t id="1030003">{7,1020000} 16-0</t>
    <t id="1030004">{7,1020000} 20-5</t>
    <t id="1030005">{7,1020000} 14-7</t>
    <t id="1030006">{7,1020000} 18-9</t>
    <t id="1030007">{7,1020000} 18-10</t>
    <t id="1030008">Le HUB</t>
    <t id="1030009">{7,1020000} 3-15</t>
    <t id="10300010">{7,1020000} 7-15</t>
    <t id="10300011">{7,1020000} 7-16</t>
    <t id="10300012">{7,1020000} 18-16</t>
    <t id="10300013">{7,1020000} 7-4</t>
    <t id="10300014">{7,1020000} 7-5</t>
    <t id="10300015">{7,1020000} 8-4</t>
    <t id="10300016">{7,1020000} 8-5</t>
    <t id="10300017">{7,1020000} 23-19</t>
    <t id="10300018">{7,1020000} 10-16</t>
  </page>
</language>

9110-L039.xml (Italian)
Spoiler
Show

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<language id="39">

  <page id="350007" title="Boardcomp. Sectornames" descr="Names of all sectors (spoken by Boardcomputer)" voice="yes">
    <t id="1030001">{7,1020000} 8-8</t>
    <t id="1030002">{7,1020000} 12-5</t>
    <t id="1030003">{7,1020000} 16-0</t>
    <t id="1030004">{7,1020000} 20-5</t>
    <t id="1030005">{7,1020000} 14-7</t>
    <t id="1030006">{7,1020000} 18-9</t>
    <t id="1030007">{7,1020000} 18-10</t>
    <t id="1030008">Il HUB</t>
    <t id="1030009">{7,1020000} 3-15</t>
    <t id="10300010">{7,1020000} 7-15</t>
    <t id="10300011">{7,1020000} 7-16</t>
    <t id="10300012">{7,1020000} 18-16</t>
    <t id="10300013">{7,1020000} 7-4</t>
    <t id="10300014">{7,1020000} 7-5</t>
    <t id="10300015">{7,1020000} 8-4</t>
    <t id="10300016">{7,1020000} 8-5</t>
    <t id="10300017">{7,1020000} 23-19</t>
    <t id="10300018">{7,1020000} 10-16</t>	
  </page>
</language>

9110-L044.xml (English)
Spoiler
Show

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<language id="44">

  <page id="350007" title="Boardcomp. Sectornames" descr="Names of all sectors (spoken by Boardcomputer)" voice="yes">
    <t id="1030001">{7,1020000} 8-8</t>
    <t id="1030002">{7,1020000} 12-5</t>
    <t id="1030003">{7,1020000} 16-0</t>
    <t id="1030004">{7,1020000} 20-5</t>
    <t id="1030005">{7,1020000} 14-7</t>
    <t id="1030006">{7,1020000} 18-9</t>
    <t id="1030007">{7,1020000} 18-10</t>
    <t id="1030008">The Hub</t>
    <t id="1030009">{7,1020000} 3-15</t>
    <t id="10300010">{7,1020000} 7-15</t>
    <t id="10300011">{7,1020000} 7-16</t>
    <t id="10300012">{7,1020000} 18-16</t>
    <t id="10300013">{7,1020000} 7-4</t>
    <t id="10300014">{7,1020000} 7-5</t>
    <t id="10300015">{7,1020000} 8-4</t>
    <t id="10300016">{7,1020000} 8-5</t>
    <t id="10300017">{7,1020000} 23-19</t>
    <t id="10300018">{7,1020000} 10-16</t>
  </page>
</language>

9110-L049.xml (Deutsche)
Spoiler
Show

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<language id="49">

  <page id="350007" title="Boardcomp. Sectornames" descr="Names of all sectors (spoken by Boardcomputer)" voice="yes">
    <t id="1030001">{7,1020000} 8-8</t>
    <t id="1030002">{7,1020000} 12-5</t>
    <t id="1030003">{7,1020000} 16-0</t>
    <t id="1030004">{7,1020000} 20-5</t>
    <t id="1030005">{7,1020000} 14-7</t>
    <t id="1030006">{7,1020000} 18-9</t>
    <t id="1030007">{7,1020000} 18-10</t>
    <t id="1030008">Der HUB</t>
    <t id="1030009">{7,1020000} 3-15</t>
    <t id="10300010">{7,1020000} 7-15</t>
    <t id="10300011">{7,1020000} 7-16</t>
    <t id="10300012">{7,1020000} 18-16</t>
    <t id="10300013">{7,1020000} 7-4</t>
    <t id="10300014">{7,1020000} 7-5</t>
    <t id="10300015">{7,1020000} 8-4</t>
    <t id="10300016">{7,1020000} 8-5</t>
    <t id="10300017">{7,1020000} 23-19</t>
    <t id="10300018">{7,1020000} 10-16</t>	
  </page>
</language>

Full credit to Ketraar, all I did was add a few lines. He can release this as a patch, or if he gives me permission I'll upload a zip in this topic.
Last edited by RustInPieces on Tue, 11. Sep 12, 22:55, edited 1 time in total.

User avatar
Ketraar
EGOSOFT
EGOSOFT
Posts: 11825
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Tue, 11. Sep 12, 17:14

The idea of MUS was to provide means to people editing the names of US and possibly also other sectors. Think I and others explained how it works and given the simplicity of it I think anyone can do the changes to fit their needs.

If you or anyone wants to make adjustments and put up for others to use, feel free I have no objections to it. That was the spirit of it in the first place. :-)

Only suggestion I'd make is to host any version of it at XDownloads so they can be stored at same place.

MFG

Ketraar
Image

RustInPieces
Posts: 84
Joined: Mon, 13. Feb 12, 08:22
x4

Post by RustInPieces » Tue, 11. Sep 12, 23:24

Thanks. I'm having problems registering for XDownloads.
Here is a link for it. I changed the version number to 1.2 and also updated the readme to include instructions for activatemus / resetmus. If you want to upload it to x1tp and update the original post, that would be awesome.


[ external image ]
http://www.gamefront.com/files/22242853 ... s_v1.2.zip

RustInPieces
Posts: 84
Joined: Mon, 13. Feb 12, 08:22
x4

Post by RustInPieces » Sat, 22. Sep 12, 21:55


oddgit
Posts: 416
Joined: Sun, 20. Nov 05, 02:38
x4

Post by oddgit » Tue, 4. Dec 12, 16:28

Hi, i first off want to thank everyone in this tread for their hard work, i was able to rename some of my sectors to better names and actually have betty say them. I did find something that may integrated into a buggy script, but it seems to the rename function seems to work very well. You can even add your own sector descriptions.
http://forum.egosoft.com/viewtopic.php?t=243791
In "scripters.readme.txt" included with the script there is talks about a tool in the script editor...
"2. renaming sectors with plugin.sto.renamesector:
- changing every sector name is possible, just use one of the determined ids (1-28) in page 7 of 7410. Using id=0 will reset the sector.
- adding own names/descriptions should is possible, if you add ids from 29 onwards, STO will display the newly added names, also the renamesector-script will work, it just has to be a continous list of ids"
It works with standard sectors, the XRM renamed sectors and the expanded sectors spawned by the script.
Unfortunately the main script does not work very well anymore buggy and does not play nice with XRM. Its a pitty i loved that script. i wish i was good enough at debugging to repair it.

albazeus
Posts: 76
Joined: Fri, 21. Feb 14, 17:21
x3ap

Post by albazeus » Thu, 27. Mar 14, 15:01

This script changes the wrong sectors in my game. I'm playing AP and my map looks like this one.
So I tried to fix it:

9110-L044.xml

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<language id="44">

  <page id="350007" title="Boardcomp. Sectornames" descr="Names of all sectors (spoken by Boardcomputer)" voice="yes">
    <t id="1030001">{7,1020000} 16,0</t>
    <t id="1030002">{7,1020000} 7,4</t>
    <t id="1030003">{7,1020000} 8,4</t>
    <t id="1030004">{7,1020000} 7,5</t>
    <t id="1030005">{7,1020000} 8,5</t>
    <t id="1030006">{7,1020000} 9,7</t>
    <t id="1030007">{7,1020000} 13,8</t>
    <t id="1030008">{7,1020000} 5,11</t>
    <t id="1030009">{7,1020000} 17,11</t>
    <t id="10300010">{7,1020000} 9,16</t>
  </page>
</language>
MarkingUnknownSectors.xml

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="director.xsl" type="text/xsl" ?>
<director name="test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="director.xsd">
  <documentation>
    <author name="Ketraar" alias="Ketraar" contact="Forums"/>
    <content reference="Marking Unknown Sectors" name="MUS" description="Marking Unknown Sectors" />
    <version number="1.3" date="27/03/2014" status="release"/>
  </documentation>
  <cues>
    <cue name="MUS_toplevel">
      <condition>
        <check_value value="{player.name}" exact="activatemus"/>
      </condition>
      <action>
        <do_all>
          <load_text fileid="9110"/>
          <find_sector name="MUS_toplevel.unknownsector1" x="16" y="0"/>
          <find_sector name="MUS_toplevel.unknownsector2" x="7" y="4"/>
          <find_sector name="MUS_toplevel.unknownsector3" x="8" y="4"/>
          <find_sector name="MUS_toplevel.unknownsector4" x="7" y="5"/>
          <find_sector name="MUS_toplevel.unknownsector5" x="8" y="5"/>
          <find_sector name="MUS_toplevel.unknownsector6" x="9" y="7"/>
          <find_sector name="MUS_toplevel.unknownsector7" x="13" y="8"/>
          <find_sector name="MUS_toplevel.unknownsector8" x="5" y="11"/>
          <find_sector name="MUS_toplevel.unknownsector9" x="17" y="11"/>
          <find_sector name="MUS_toplevel.unknownsector10" x="9" y="16"/>
        </do_all>
      </action>
      <cues>
        <cue name="MUS_namesectors">
          <condition>
            <cue_is_complete cue="MUS_toplevel"/>
          </condition>
          <timing>
            <time exact="10s"/>
          </timing>
          <action>
            <do_all>
              <set_sector_override sector="MUS_toplevel.unknownsector1" textid="1030001"/>
              <set_sector_override sector="MUS_toplevel.unknownsector2" textid="1030002"/>
              <set_sector_override sector="MUS_toplevel.unknownsector3" textid="1030003"/>
              <set_sector_override sector="MUS_toplevel.unknownsector4" textid="1030004"/>
              <set_sector_override sector="MUS_toplevel.unknownsector5" textid="1030005"/>
              <set_sector_override sector="MUS_toplevel.unknownsector6" textid="1030006"/>
              <set_sector_override sector="MUS_toplevel.unknownsector7" textid="1030007"/>
              <set_sector_override sector="MUS_toplevel.unknownsector8" textid="1030008"/>
              <set_sector_override sector="MUS_toplevel.unknownsector9" textid="1030009"/>
              <set_sector_override sector="MUS_toplevel.unknownsector10" textid="10300010"/>
            </do_all>
          </action>
        </cue>
      </cues>
    </cue>
    <cue name="MUS_reset">
      <condition>
        <check_value value="{player.name}" exact="resetmus"/>
      </condition>
      <action>
        <reset_cue cue="MUS_toplevel"/>
      </action>
    </cue>
  </cues>
</director>
This works well apart from that damn Unknown Sector 9,16, the one near Unseen Domain. :evil:
I tried to change line but same result: name doesn't change.
It seems correct to me. Is this sector involved in some plot mission?
I've built some spacefuel factory with complex cleaner in it.

Any advice?
Thanks in advance

User avatar
Ketraar
EGOSOFT
EGOSOFT
Posts: 11825
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Thu, 27. Mar 14, 16:12

Code: Select all

<set_sector_override sector="MUS_toplevel.unknownsector10" textid="10300010"/> 
Try

Code: Select all

<set_sector_override sector="MUS_toplevel.unknownsector10" textid="1030010"/> 
One less 0 in the middle.

MFG

Ketraar
Image

albazeus
Posts: 76
Joined: Fri, 21. Feb 14, 17:21
x3ap

Post by albazeus » Thu, 27. Mar 14, 17:20

Hi Ketraar, thanks for the quick response.

I already tried what you suggest but didn't work.

I also tried to use another entry (I think it was MUS_toplevel.unknownsector6) to modify the name of this sector, but still remains 'Unknown Sector'.
I think it has something to do with this particular sector.
I have isntalled LazCorp Claim Sector / Unknown Sector mod (among others).

Another question: what should the 'resetmus' actually do? Because if it should rename the sectors back to the their original names, well that's not my case.
:gruebel:

albazeus
Posts: 76
Joined: Fri, 21. Feb 14, 17:21
x3ap

Post by albazeus » Thu, 27. Mar 14, 19:46

My bad: that sector has coordinates (8,16), not (9,16). :oops:
Maybe my map is different from the one I posted? :?
Strange.

Anyway thanks.

User avatar
Ketraar
EGOSOFT
EGOSOFT
Posts: 11825
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Thu, 27. Mar 14, 21:09

albazeus wrote:Another question: what should the 'resetmus' actually do? Because if it should rename the sectors back to the their original names, well that's not my case.
:gruebel:
Its just there so you can go at it again if you like, it wont change anything back, just allows you to make changes after it ran.

Glad you found the issue, its always a tiny thing like that.

MFG

Ketraar
Image

Bossie
Posts: 3
Joined: Sun, 21. Oct 12, 11:56
x3ap

Post by Bossie » Fri, 25. Sep 15, 14:00

Firstly: Humble apology for this necromancy, but...
Second: Thanks Ketraar and others for this posting. What must be forgotten memories for you, is an exciting discovery for me!
I managed today to rename Unknown Sector 8-8 to "Avarice", AND has Betty saying the name :D correctly.
Eureka

Thanks again
:lol: :D

User avatar
Ketraar
EGOSOFT
EGOSOFT
Posts: 11825
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Fri, 25. Sep 15, 15:25

No worries, glad to have made a small contribution towards your happiness. :-)

MFG

Ketraar

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”