Renameing sectors and fineding galaxy editer.

The place to discuss scripting and game modifications for X²: The Threat.

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

grahamrawlings
Posts: 4
Joined: Sun, 1. Oct 06, 21:51
x3

Renameing sectors and fineding galaxy editer.

Post by grahamrawlings »

Hello all can some pne please help me out with the renameing scriped as im having dificulty understanding it.

Basicly what i want to do is change names the unknown sectors i have taken over near wastlands ok i know there is one behined a xenon sector as i had to fly my titon trought it with a triplex scanner to fined the gate then use me jumpdrive to jump out and then in next to the gate leading to it and the other one damages your ships hull when you fly through the blue cloud.

if you can please make it simple say like type it down on hear so that i can follow it i have slight learning dificaltys and its more complicated than the player ship scriped if all scripts could be like that on simple.

one more thing i can't fined the galaxy editer how do i fined that as i don't know how to fined it id be very greatfull because i could rebuild the Earth gate in brennens triumph and then creat the Earth sector on the other side. thanks. :?
shamas_the_wise_shaman
Posts: 39
Joined: Fri, 11. Aug 06, 08:13
xr

Post by shamas_the_wise_shaman »

You can access the Galaxy Editor by typing Thereshallbewings at the starting menu (Start, Load, Options, etc) before doing anything else. Note the capital letter. I have found that for some reason this only works if you toggle Caps on and off before typing.

As for the rest, I am only just learning myself, hopefully someone else can help.

Regards
-Shamas the wise Shaman
User avatar
Chris Gi
Posts: 960
Joined: Wed, 20. Sep 06, 09:57
x3tc

Post by Chris Gi »

There are also galaxy editors that were made by X2 users:
-XeHonk's galaxy editor
-Doubleshadow's X2Editor
Look in the stickies for the links. I personally use Doubleshadow's X2Editor (and the in-game editor).

To change the name of the unknown sector right behind Wasteland for example, you have to do the following:

Get the coordinates of the sector, in this case it's x = 17, y = 7. These coordinates are important for the id code of the sector which you need to rename it. The id code of the sector is always build of 7 digits:
the first three digits are 102, followed by the y-coordinate + 1 (always two digits, and at last the x-coordinate + 1 (two digits). The id code you get for the example sector is therefore "1020818".

Next you need a xml-file in the t-folder (or change the standard LC001.xml). LC is your language code, "44" for english, "49" for german etc. I prefer to create a new one. Let's give it the name of the sector: 1707. Because I'm a German, I like the xml-file to be german, so I name it 490505.xml, since 49 is the language code for german.

Here is the xml:

Code: Select all

<?xml version="1.0"?>
<language id="49">

 <page id="7" title="Boardcomp. Sectornames" descr="Names of all sectors (spoken by Boardcomputer)">
   <t id="1020818">Renamed Sector</t>
 </page>
</language>
One last thing to do (if you don't use the standard 49001.xml): you need a setup.- or init.-script to load your text with the following line:

Code: Select all

load text: id=1707
The next time you start X2, the "Unknown Sector" at x=17 and y=7 is named "Renamed Sector".

But I'm not sure if you want the renaming in a more dynamically way, to rename the sector, when something has happened. Am I right or was this the info you searched for ?

Greetings
Chris Gi
grahamrawlings
Posts: 4
Joined: Sun, 1. Oct 06, 21:51
x3

Post by grahamrawlings »

Thank you i will give it a try before i was looking in script for namechanges which is for me looking at it is just mined boggeling i already know about script editer because i used it to get a fleet of titan and colossus ships to rebuild presidents end after the Kha'ak invaded i now have controle of 6 sectors all with fleats of destroyers and carriers my main ship is a colossus with 130 ships i use it to store transports for the factorys as well as fighters not theat i use them much i just wanted my own starfleet i wish you could land on the planets though i tryed it out of qureosity and burned up in argon primes atmospher.
Pogi
Posts: 522
Joined: Thu, 13. Apr 06, 12:35
x2

Post by Pogi »

One of the best ways to learn how to do it is to study someone elses work...If you have downloaded one of my mods you will find in the t folder two .xml files:

441341.xml and 441342.xml...If you right click one of them and hit edit, you will see how sectors are named as well as objects on the map.

You can rename any sector on the map from these files. these files are easily edited in notepad.

@grahamrawlings..Are you playing the normal map and normal Egosoft game or modded version?..If you tell me the names you want for those two sectors I could probably post something that you could download and install that would work for you.
X3..The most fun a man can have...With his clothes on.
grahamrawlings
Posts: 4
Joined: Sun, 1. Oct 06, 21:51
x3

Post by grahamrawlings »

Im playing the normal game and was looking to rename sectors that i tkae from pirets and the unknown sectors. its a shame that the peaple who created the game,s x2 and 3 did'nt give the player the option to clame the sectors in there name if they are unknown ore if the sectors have been captured from pirets and as with zenon 347 and 472 which i sent my fleet in to take as they were destroying my merchant ships.
User avatar
Chris Gi
Posts: 960
Joined: Wed, 20. Sep 06, 09:57
x3tc

Post by Chris Gi »

Yes, it's a pity, this isn't possibly. Obviously Egosoft didn't expect a community so full of ideas :)

Technically, renaming seems to be possible. Think of the Khaak ships: they're all called "Unknown Enemy Ship" until you get the Khaak data.
But the difference to a sector is, renaming is unambiguous. Every name of a ship or sector has a spoken equivalent.

Renaming sectors needs a different approach to how the written text is connected to the spoken text. This different approach is missing, so the way it works seems to be the consequences of the chosen connection between the written and spoken text.
E.R.Hyland
Posts: 277
Joined: Sun, 4. Apr 04, 00:08
x2

Post by E.R.Hyland »

The game not letting you rename, or capture a system makes perfect sense.

If there are enemy in the map thay will come back.

You can't charge taxes, so no money to be made.

And if it was really your system would you be willing to pay the bounty on enemy kills?

So why bother :?:

:o

Return to “X²: The Threat - Scripts and Modding”