Hi, in the old X games there was a file which listed all the possible Mission Director commands (i.e. tags) with their parameters, etc.
Is there something similar for XR, or should I explore the existing MD files to find them on my own?
MD command list?
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 2897
- Joined: Sun, 17. Jul 11, 21:03
MD command list?
XR mods: Log Everything
TC/AP scripts: Automatic Rank Variation Checker - Aran Finder - Missile Transformer - Station Hacking Software
[ external image ]
TC/AP scripts: Automatic Rank Variation Checker - Aran Finder - Missile Transformer - Station Hacking Software
[ external image ]
-
- Posts: 585
- Joined: Thu, 26. Feb 04, 00:08
If you extract the entire game you get a file called scriptproperties.xml that you can load and search in a browser (firefox seems the only one I can make work).
Also:
Look in /libraries at the *.xsd files - these list all the scripting commands for MD and AI as well as details of type defs etc. common.xsd contains commands iirc
If you use an XML editor you should make it point to these *.xsd files and you should get tool tip documentation and schema auto-complete and error/semantics checking.
Also:
Look in /libraries at the *.xsd files - these list all the scripting commands for MD and AI as well as details of type defs etc. common.xsd contains commands iirc
If you use an XML editor you should make it point to these *.xsd files and you should get tool tip documentation and schema auto-complete and error/semantics checking.
-
- Posts: 2897
- Joined: Sun, 17. Jul 11, 21:03
Excellent! Thank you!
XR mods: Log Everything
TC/AP scripts: Automatic Rank Variation Checker - Aran Finder - Missile Transformer - Station Hacking Software
[ external image ]
TC/AP scripts: Automatic Rank Variation Checker - Aran Finder - Missile Transformer - Station Hacking Software
[ external image ]
-
- Posts: 2963
- Joined: Tue, 18. Nov 14, 16:23
There's also a lot of documentation on commands available in:
libraries\common.xsd (for commands for both md and aiscripts),
libraries\md.xsd (commands for md)
and libraries\aiscripts.xsd (commands for aiscripts)
scriptproperties.html is occasionally useful too.
edit: should've read wysiwyg's post after I've had more coffee in me.
libraries\common.xsd (for commands for both md and aiscripts),
libraries\md.xsd (commands for md)
and libraries\aiscripts.xsd (commands for aiscripts)
scriptproperties.html is occasionally useful too.
edit: should've read wysiwyg's post after I've had more coffee in me.
-
- Posts: 2774
- Joined: Tue, 29. Oct 13, 21:59
As a further help I'd recommend using visual studio 2013 community edition for your xml needs. It's free and will give you handy tooltips on commands and tell you if you've used incorrect parameters if you specify the path properly for your extracted XR files. In my case this looks like
Code: Select all
<aiscript name="YAT.mining.ship.collect" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="c:\temp\rebirth\libraries\aiscripts.xsd" version="5">
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
-
- Posts: 2897
- Joined: Sun, 17. Jul 11, 21:03
Thank you all!
@YorrickVander: yeah, I used VS for TC/AP too, very useful
@YorrickVander: yeah, I used VS for TC/AP too, very useful

XR mods: Log Everything
TC/AP scripts: Automatic Rank Variation Checker - Aran Finder - Missile Transformer - Station Hacking Software
[ external image ]
TC/AP scripts: Automatic Rank Variation Checker - Aran Finder - Missile Transformer - Station Hacking Software
[ external image ]
-
- Posts: 2897
- Joined: Sun, 17. Jul 11, 21:03
Another question: to create a simple menu with a "text area", I have to use UI modding in Lua, right? Or am I missing something?
XR mods: Log Everything
TC/AP scripts: Automatic Rank Variation Checker - Aran Finder - Missile Transformer - Station Hacking Software
[ external image ]
TC/AP scripts: Automatic Rank Variation Checker - Aran Finder - Missile Transformer - Station Hacking Software
[ external image ]
-
- Posts: 2774
- Joined: Tue, 29. Oct 13, 21:59