load text: id = <Var/Number>

This forum serves as MSCI Reference at EGOSOFT. It's Read-Only for non MSCI Group members.

Moderators: Scripting / Modding Moderators, MSCI Moderators

Locked
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

load text: id = <Var/Number>

Post by mark_a_condren » Thu, 9. Sep 10, 17:12

load text: id = <Var/Number>


<Var/Number> = The page id number for the XML text file you want to load.


Loads in an XML language file.
The filename is made from a combination of the language code of the player's copy of X3–TC is, combined with a four digit number <Var/Number>.
The language code is actually the international telephone prefix for the language's country of origin.


Example:

load text: id = 21

A load text instruction with an id of 21 on an English version of X3-TC would load in the file 0021-L044.xml.

It should be noted, the 'L0' only appears in the file name. In the file itself the language reference used is only the 2 digit language code itself ( 1 in the case of Russian). ie '44', '49', '39' etc.

Code: Select all

<language id="44">

All language files are stored in the <X3-TC>/t directory, where <X3-TC> is the directory where X3-TC is installed.

Code Language
L07 Russian (note, there is no '0' prefix in this language code)
L033 French
L034 Spanish
L039 Italian
L042 Czech
L044 English
L048 Polish
L049 German


Command Location:
Last edited by mark_a_condren on Wed, 29. Sep 10, 19:27, edited 4 times in total.

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

[TiP][49] 286554

Post by X2-Illuminatus » Wed, 29. Sep 10, 00:10

load text: id = <Var/Number>


<Var/Number> = Die page id Zahl der XML Textdatei, die du laden möchtest.


Lädt eine XML Sprachdatei.
Der Dateiname ist eine Kombination des Sprachcodes der X3-TC Kopie des Spielers in Verbindung mit einer vier stelligen Zahl <Var/Number>.
Der Sprachcode ist genau genommern die Internationale Telefon-Vorwahl für das Ursprungsland der Sprache.


Beispiel:

Ein load text Befehl mit der id 21 in einer englischen Version von X3-TC würde die Datei 0021-L044.xml laden.

Man sollte zudem beachten, dass das "L0" nur im Dateinamen auftaucht. In der Datei selbst wird nur mit dem zwei stelligen (1 stellig für Russisch) Sprachcode auf die entsprechende Sprache verwiesen, z.B. 44', '49', '39'.

Code: Select all

<language id="44" 


Alle Sprachdateien sind im Verzeichnis <X3-TC>/t gespeichert, wobei <X3-TC> das Verzeichnis ist, in dem X3-TC installiert ist.

Code Sprache
L07 Russisch (beachte, dass es in diesem Sprach-Code keinen '0' Präfix gibt)
L033 Französisch
L034 Spanisch
L039 Italienisch
L042 Tschechisch
L044 Englisch
L048 Polnisch
L049 Deutsch


Zu finden unter:
Last edited by X2-Illuminatus on Sat, 1. Jan 11, 16:29, edited 1 time in total.

User avatar
Capux
Posts: 2456
Joined: Sat, 31. Oct 09, 21:17
x4

[39]286554

Post by Capux » Wed, 29. Sep 10, 15:38

load text: id = <Var/Number>


<Var/Number> = Il numero ID della pagina del file XML che vuoi caricare.


Carica un file di lingua XML.
Il nome del file è una combinazione del codice lingua della copia di X3TC del giocatore, insieme al numero di 4 cifre <Var/Number>.
Il codice lingua attualmente è il prefisso telefonico internazionale della nazione di origine (per esempio, l'Italia è 39).


Esempio:

load text: id = 21

Una istruzione load text con id = 21 di una copia italiana di X3TC caricherà il file 0021-L039.xml.

Da notare, "L0" appare solo nel nome del file. Nel file stesso ciò che identifica il linguaggio sono le due cifre ( 1 per il russo). Per esempio '44', '49', '39' etc.

Code: Select all

<language id="44">
Tutti i file lingua sono salvati nella cartella <X3-TC>/t, dove <X3-TC> è la cartella dove X3-TC è installato.

Codici Lingua
L007 Russo
L033 Francese
L034 Spagnolo
L039 Italiano
L042 Ceco
L044 Inglese
L048 Polacco
L049 Tedesco



Posizione dell'istruzione nella lista:
Last edited by Capux on Wed, 29. Sep 10, 20:48, edited 1 time in total.

Locked

Return to “MSCI Reference”