- UID
- 468
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
As of X³:Reunion 2.5 the Mission Director is available to all modders who wish to use it. The Mission Director is active only in modified games, so the script editor or a mod must be active in that save game.
What is the Mission Director
The Mission Director, MD for short, is a new tool designed to create mission content in X³:Reunion. It uses an XML based mission-design framework which is editable outside of the game and acts like a plug-in. The MD is not a programming language. Programmers may find they need to think a little differently when creating missions, and newcomers may find it easier to learn than a whole language. If you understand the structure of the X-Universe, you may find the lines of code self explanatory.
Comparing the Mission Director to the Script Editor
You may be asking how the MD differs from the Script Editor, and other programming languages for that matter. You will find that some of the actions in the MD will look very similar to some of the commands used in the SE. Beyond some basic logic that is where the similarities end. If you attempted to create mission in the script editor you would be met with limitations which made development either impossible or painfully time consuming. The simple answer is that the script editor is not designed for mission development.
The Current State of the Mission Director
The Mission Director is open to you to develop and disseminate throughout the modding community, much like the Scripts and Mods. At this stage of its development the Mission Director is unsupported by Egosoft. Assistance can be obtained from volunteers on the forum, but any problems with coding or schemas will not be fixed. There are a number of known minor issues, but none of these should significantly affect your use of the Mission Director.
How to Install The Mission Director
The Mission Director files can be downloaded here: X³:Reunion Mission Director support files
The folder ‘director’ goes in the X3 Reunion directory. The folder will have no mission inside it but there are some samples in the ‘sample’ folder. They must be moved into the ‘director’ folder for use ingame.
How to Edit Mission Files
Like scripts, mission files are XML files. Unlike scripts they are edited outside of the game, so a XML editing tool is needed. We strongly recommend Microsoft Visual Web Developer 2008 Express Edition, which is available for free. Visual Studio.NET 2005/2008 and Visual Web Developer 2005 are also fine for those who already have them.
The provided Mission Director schema files help you create the XML file by displaying all available nodes and attributes as you edit the XML. This functionality is only available if the schema files are in the same folder as the XML you are editing.
The file ‘director.htm’ can be opened in any browser but it works best in IE due to limitations in XML and javascript support in other browsers. This will display all condition, action and variable documentation, as well as well as lists for several things you may need such as sound effects, pilot faces and voice numbers.
There is PDF guide provided in the director folder. This holds a full description of the Mission Directors aims, features and functionality.
[ 本帖最后由 HammerSun 于 2008-1-3 01:59 编辑 ] |
|