Renaming System by script

The place to discuss scripting and game modifications for X4: Foundations.

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

XoSPECTRE

Renaming System by script

Post by XoSPECTRE »

Is there any way to rename original x4 system by some mod or script , i mean when you start new game argon prime will called MYSYSTEM , for example ?
Dr Reed
Posts: 79
Joined: Fri, 30. Nov 18, 00:05
x4

Re: Renaming System by script

Post by Dr Reed »

If you have a look at the gs_split2.xml in the MD folder of the split DLC you can see how Egosoft changes the name of "Fires of Defeat" to "Fires of Victory" in the MD script for the Spear of the Patriarch game start.

Code: Select all

        <find_sector name="$FiresOfSector" macro="macro.cluster_421_sector001_macro"/>
        <set_object_name object="$FiresOfSector.cluster" name="'{20005,5041}'"/>
        <set_object_name object="$FiresOfSector" name="'{20005,5041}'"/>
The sector definition is set in the mapdefaults.xml but it looks like you can then change it later with an MD call.
XoSPECTRE

Re: Renaming System by script

Post by XoSPECTRE »

Thank you sound like it could work will try it

Return to “X4: Foundations - Scripts and Modding”