Mission Editor

From STModWiki

Jump to: navigation, search

Contents

[edit] File Menu

  • Run Legacy - Launches the game
  • Exit - Exits the editor

[edit] Edit Menu

  • Configuration - Used to locate your copy of Visual Studio. The editor uses an installation of Visual Studio to compile the missions.

[edit] Missions Menu

  • Create New Missions - Used to create files for a new mission that are mod ready. Mission names can only contain alpha-numeric characters, and mission paths may only be STL00 through STL99. Essentially copies STL12.
  • Delete Mission - Used to remove a mission from the Front-End tool. By clicking yes on the first prompt box, you will remove the instance of the mission from the LegacyMissions.xml file, however this will still leave references of the mission in the game folder. By clicking yes on the second box you can remove these references as well.
  • Edit Objectives - Allows you to modify existing objectives. These means you can modify the text of an objective, its point value, or set its initial visibility. Also you can create and delete objectives from this menu. To create an objective simply press the 'insert' key on your keyboard. This will add the bare-bones objective template to the list, from there you would modify as if you were modifying any other objective. To delete an objective simply highlight using your mouse and press the 'delete' key on your keyboard. Double-click on any field except for name to edit its contents.
  • Build - Once you have modified your mission so that you have created everything you wanted, simply use this option to build the mission so that it can be used in the game! Note - If you don’t have Visual C++, you can’t build missions from this tool (though you can manually build them with any compiler capable of making Win32 DLLs).
  • Export - So you've made the perfect mission, now share it! This option will package your mission into a .mission file that you can post online and share with everyone! The binary .mission file contains the information about the mission from the LegacyMissions.xml file, a copy of the drl, dsl, sol, and objectives files, and a list of all labels whose IDs begin with the short form of the mission name (for example, STL12_OBJECTIVES_OBJECTIVE_PRIMARY_PRIMARY0).

[edit] Help Menu

  • Wiki - Links you to here. Hi....
  • About - Brings up the EULA

[edit] Basic Operation

  • Editing the Mission Name - Simply double click the mission name in the front-end tool and a dialog box will show asking what you would like to change the name to. Note - Alpha-numeric characters only.
  • Edit the Mission Map - Double click the the mission's .sol file that you would like to change. This will launch Legacy's map editor.
  • Editing a Mission's Rules - Double click the mission's .rul file that you would like to edit. This will bring up an editor window that contains the contents of the rule file. From here you can edit the rule file's contents and save your changes.
  • Editing a Mission's Scripts - Double click the mission's .scp file that you would like to edit. This will bring up an editor that contains the contents of the script file. From here you can edit the script file's contents and save your changes.
  • To edit a Missions Date, Number of Ships, Hero Ship, Skip Points, or Free CPs - simply double click that mission's corresponding cell and edit the contents to your new desired value.
  • Editing a Mission's Objectives - In addition to the menu item in the Mission menu, you can also double click the row header (grey column on the left) for any mission to bring up the objectives editor.
Personal tools