Help with t file 441369

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

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

marc5477
Posts: 73
Joined: Sat, 18. Jun 05, 07:03
x2

Help with t file 441369

Post by marc5477 »

With the search engine down i cant do any searches on this topic. Im having trouble with the 441369.xml file in my mod. Everything seems fine when i load the mod through doubleshadows editor but in the game all the new wares, ships, and sectors show up as 'Readtext'##_### or something like that.

What i have done was simply edit deadly's file from his own ship mod. I did add 1 new ship using a unique number for both the name and description but that was it. The rest of the file is basically the same save for different names and descriptions for the existing ships. Again, everything works 100% fine in X2-Editor but is messed up ingame.

Anyone have any ideas on how to remedy this?
User avatar
Burianek
Posts: 2981
Joined: Mon, 29. Dec 03, 03:29
x3tc

Post by Burianek »

you need to tell X2 to use the file.
The command is something like:

Code: Select all

load text, id = 1369
(you don't need the 44, all english files start with 44)

Put it in your setup script so that it just gets loaded once at the beginning of the game load. Then the text will be available to use in other scripts.
Cheers.
"Nature's first green is gold" . . . stay golden.
marc5477
Posts: 73
Joined: Sat, 18. Jun 05, 07:03
x2

Post by marc5477 »

Worked like a charm thanks.

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