may I have the DTD for the x2 scripts?

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

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

User avatar
_nox_
Posts: 245
Joined: Tue, 3. Feb 04, 09:52
x4

may I have the DTD for the x2 scripts?

Post by _nox_ »

I think that's what I am looking for.

I want to be able to effectively edit scripts with third party editors, use good source code control and have a real IDE.

please?
No good deed goes unpunished.
User avatar
oolon
Posts: 406
Joined: Sun, 8. Jun 03, 14:43
x3tc

Post by oolon »

It would not do you much good. you see x2 scripts have 2 sections, an "Readable" version of the code (not used). And a binary array. There is no DTD for what the binary array represents, just the overall XML.

James
User avatar
_nox_
Posts: 245
Joined: Tue, 3. Feb 04, 09:52
x4

Post by _nox_ »

that second section I believe is just opcodes - compiled on demand.

Think java.


So, no answer from devs? Hi, I need the data dictionary.
No good deed goes unpunished.
User avatar
oolon
Posts: 406
Joined: Sun, 8. Jun 03, 14:43
x3tc

Post by oolon »

I think your find its the other way round, the program uses the binary array at all times, the ascii part is so you can read it outside X2. You only have to look at the data entry system to see that, and when moding existing ! scripts to make them editable again. Think Spectrum basic!

James

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