How to edit the ship name in the editor

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
Lacy
Posts: 4
Joined: Fri, 3. Jun 16, 18:58

How to edit the ship name in the editor

Post by Lacy » Tue, 5. Jul 16, 15:29

Hello , I tried creating a new ship in the tShips file with the X3Editor editor but i cannot figure out how to change the ships name - everytime i click on it it gives me a read only error message , Anyone know how to do that?
!!AWE!!

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Tue, 5. Jul 16, 15:48

All (english) texts are in t\0001-L044.xml in a cat file. Open from VFS to find it (for AP, it's in addon\04.cat).

User avatar
El.
Posts: 103
Joined: Sun, 21. Apr 13, 14:19
x4

Post by El. » Tue, 5. Jul 16, 16:00

If you use built-in "cat manager" plugin there will be no need in searching through .cat files
Ship gallery
LU 1.7.0: Offline Ship Compendium, Larger Font, Player Guide RUS – Google Drive, Mediafire

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Tue, 5. Jul 16, 17:08

Hence my "Open from VFS".

Lacy
Posts: 4
Joined: Fri, 3. Jun 16, 18:58

Post by Lacy » Tue, 5. Jul 16, 20:22

I did manage to open the tships file and copyed an existing ship to make a new one- I cannot change the name of the new ship since it is "read only"
!!AWE!!

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24961
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Tue, 5. Jul 16, 20:30

The name is defined in the main text file on page 17 (i.e. pages 17, 300017, 350017, 380017). Therefore you have to change the "Name id" in the General tab in the Tships entry for your new ship. The name id is the text id on page 17, which contains the name you want to give your ship.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Tue, 5. Jul 16, 20:34

...

Lacy
Posts: 4
Joined: Fri, 3. Jun 16, 18:58

Post by Lacy » Tue, 5. Jul 16, 21:03

In the language file wich adresses may be used/is open?
!!AWE!!

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24961
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Wed, 6. Jul 16, 10:15

You can reference any available text id on the mentioned pages (note that page 380017 is only loaded in X3AP), or create an own text id with the desired text there. The text id can be a number between 1 and a bit over 2 billion, and ideally shouldn't overwrite any existing ids on that page.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

Post Reply

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