Export/import scripts between games (Page 1 of 1)

If like you me you have a bunch of old scripts you wish to import into X3TC/AP, then its a fairly easy process. To import a script you need to change its script version otherwise the script engine will ignore the script. So open up your script with a normal text editor.

So to import the script will need to change the engineversion to the collect value. Please note, if your script uses commands from a newer script engine it may not work because of additions/changes to the command list. Anyway, scroll down to this section;

<engineversion>44</engineversion>

In the above, the engineversion is set to 44 (Terran Conflict). Change this to 33 for X3, 44 for X3TC or 53 for X3AP. Now we need to change one more entry. Later in the file you will see the following;

<sval type="array" size="10">
<sval type="string" val="Find.Ships"/>
<sval type="int" val="44"/>
<sval type="string" val="Description"/>

Now change the sval type="int" val="44" to the same number. If all goes well, then your script should show up in the script-editor.

« Back to editing section.