Help with renaming unknown sectors

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

Post Reply
more-explosions
Posts: 1
Joined: Sun, 17. Feb 19, 20:23

Help with renaming unknown sectors

Post by more-explosions » Sun, 17. Feb 19, 21:40

For some reason i can't get my Unknown sectors to rename

I have the following xml file in the Addon\Director folder

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet href="director.xsl" type="text/xsl" ?>
<director name="Rename_Unknown" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="director.xsd">
  <documentation>
    <author name="author" />
    <content name="Rename Unknown" reference="Rename_Unknown" description="Rename Unknown Sectors" />
    <version number="1" date="" status="test" />
  </documentation>

  <cues>
    <cue name="load_text_1" delay="10s">
      <condition>
        <check_age value="{player.age}" min="10s"/>
      </condition>
      <action>
        <do_all>
          <load_text fileid="9555"/>
          <incoming_message popup="1" text="Text Loaded"/>
          <find_sector name="USRename.sector_1" x="8" y="16"/>
          <find_sector name="USRename.sector_2" x="5" y="11"/>
          <find_sector name="USRename.sector_3" x="13" y="8"/>
		  <find_sector name="USRename.sector_4" x="9" y="7"/>

        </do_all>
      </action>
    </cue>
    <cue name="USRename" delay="10s">
      <condition>
        <cue_is_complete cue="load_text_1"/>
      </condition>
      <action>
        <do_all>
          <set_sector_override sector="USRename.sector_1" textid="1111111"/>
          <set_sector_override sector="USRename.sector_2" textid="1111112"/>
          <set_sector_override sector="USRename.sector_3" textid="1111113"/>
		  <set_sector_override sector="USRename.sector_4" textid="1111114"/>
          <incoming_message popup="1" text="Sector Names Set"/>
        </do_all>
      </action>
    </cue>
  </cues>
</director>
Then i have the following 9555.xml in the Addon\t folder

Code: Select all

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

<page id="350007" title="Boardcomp. Sectornames" descr="Names of all sectors" voice="no">
	<t id="1111111">One</t>
	<t id="1111112">Two</t>
	<t id="1111113">Three</t>
	<t id="1111114">Four</t>
</page>
The director file runs, I get the popups and the 4 sectors i selected *DO* change names, but not to the names I pick. They all say "Sector [Coordinates]"

How do i get it to actually use the text I put in the t id field? is there something i'm missing? or is renaming just not possible in Albion Prelude? are other mods known to interfere with this? I'm running a bunch of QoL mods like boarding transporter and advance jupdrive but i'm not running any of the big ones (litcube XTC etc) that change the world map

At this pint i don't care about it saying the sector name in the computer, just want to be able to set them to my own names.

Post Reply

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