Is there a way to update t-files while ingame?

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

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

Post Reply
User avatar
peroxyde
Posts: 2230
Joined: Sun, 2. Apr 06, 00:12
x3tc

Is there a way to update t-files while ingame?

Post by peroxyde » Mon, 14. Jun 21, 14:54

Hello there...
Is there a way to reload also t-files without exit the game?
i didnt find any command in the common.xsd that might look like the "Load text : id=XXXX" from the MSCI in old time...
The /reloadui & /refreshai seems working but don't do this job and /refreshmd freeze the game (i reload the save instead, but it doesn't reload t-files)
Does i miss something?
(i never script with MD, so i learn slowly...)

Thank you!


Euclid wrote:Please do not revive years old threads. For the future just make a new post ;-)
Sorry for that! I thought it was relevant to post in this post, in order to update the list in the OP.
[ external image ]
"On apprend en faisant des erreurs, mais le problème c'est qu'en explosifs, l'erreur est fatale." Aldébaran v10
[ external image ]<-- Clef Des Toilettes Privées Du Forum Français décernée par Thoto le 23/06/07

DeadAirRT
Posts: 1008
Joined: Fri, 25. Jan 19, 03:26
x4

Re: Is there a way to update t-files while ingame?

Post by DeadAirRT » Mon, 14. Jun 21, 19:19

Sadly I don't believe there is.

User avatar
peroxyde
Posts: 2230
Joined: Sun, 2. Apr 06, 00:12
x3tc

Re: Is there a way to update t-files while ingame?

Post by peroxyde » Tue, 15. Jun 21, 02:51

:cry:

Thanks anyway...

I miss the MSCI so much...
[ external image ]
"On apprend en faisant des erreurs, mais le problème c'est qu'en explosifs, l'erreur est fatale." Aldébaran v10
[ external image ]<-- Clef Des Toilettes Privées Du Forum Français décernée par Thoto le 23/06/07

User avatar
peroxyde
Posts: 2230
Joined: Sun, 2. Apr 06, 00:12
x3tc

Re: Is there a way to update t-files while ingame?

Post by peroxyde » Thu, 17. Jun 21, 23:56

Hey everyone... Me again! :P

I found this :

Code: Select all

<textdb source="../t/0001-l044.xml" /> 
at the very beginning of scriptproperties.xml
But when i use it in the mdscript, it isn't recognised...

in scriptproperties.xsd, i also found :

Code: Select all

<xs:complexType name="textdb">
    <xs:annotation>
      <xs:documentation>
        Provides a path to the TextDB XML file to support format string conversion of imported text strings
      </xs:documentation>
    </xs:annotation>
    <xs:attribute name="source" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>
          Path to a TextDB XML file
        </xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  
And there nothing like this in md.xsd. So i've tried to use in my md script

Code: Select all

<xs:include schemaLocation="common.xsd" />
that i found in ./librarie/md.xsd (which is not the same as ./md/md.xsd :doh: ) with scriptproperties.xsd instead of common.xsd
But it' does'nt work at all (in this case the xml is corrupted)

I'm continuing to search. But since for me MD is not logical, if you see what i'm missing or have an idea, please tell me! i will be very gratefull!
[ external image ]
"On apprend en faisant des erreurs, mais le problème c'est qu'en explosifs, l'erreur est fatale." Aldébaran v10
[ external image ]<-- Clef Des Toilettes Privées Du Forum Français décernée par Thoto le 23/06/07

Post Reply

Return to “X4: Foundations - Scripts and Modding”