﻿Content of this directory
-------------------------

- StaticContent.Mission: Contains the "spine" the mission.
- RatasAndStukas.Mission: Contains templates of elements that are added to the spine to produce the full body.
- out.Group: Objects and logic instantiated from the templates.
- MyMission.Mission: The mission to run in IL-2.
- *.fs files: source code for the complex mission components
- MissionGenerator.exe: Generated from the *.fs files. Reads the templates and produces out.Group

How to put things together
--------------------------

- Build MissionGenerator.exe. Note: This must be done every time RatasAndStukas is modified, as data from that file is injected into MissionGenerator.exe.
- Run MissionGenerator.exe. This should produce a new file out.Group
- Open StaticContent.Mission in the mission editor.
- Save as "MyMission.Mission". You should get a dialog warning you about overwriting an existing file. Click "Yes".
- From the "File" menu, choose "Import from file..."
- Choose out.Group.
- Look for a node called "Last group done" in the top left corner of the map. Connect it to "mission end msg" as a target (Shift+T) in the bottom left corner.
- Locate and select 10 counter nodes named "Targets destroyed" around the top right-most airfield. Connect all those to "Target groups destroyed" (counter) in the same area.
- Validate the mission (menu Tools), save and you are done.
