| 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="UTF-8"/> |
| 5 | <title>Quickstart - QtFRED Help</title> |
| 6 | <link rel="stylesheet" type="text/css" href="css/help.css"/> |
| 7 | </head> |
| 8 | <body> |
| 9 | <nav class="breadcrumb"><a href="index.html">QtFRED Help</a> › Quickstart</nav> |
| 10 | <h1>Quickstart: Your First Mission</h1> |
| 11 | |
| 12 | <p>This guide walks you through creating a simple flyable mission from scratch. By the |
| 13 | end you will have a player ship and a hostile wing to fight. The whole thing takes |
| 14 | about five minutes.</p> |
| 15 | |
| 16 | <h2>1. Open a new mission</h2> |
| 17 | <p>Launch QtFRED. Go to <strong>File › New</strong>. The viewport shows empty |
| 18 | space with a reference grid. QtFRED automatically places one ship, this is your |
| 19 | player start.</p> |
| 20 | |
| 21 | <h2>2. Put the player in Alpha wing</h2> |
| 22 | <p>Click the player ship in the viewport to select it, then click the |
| 23 | <strong>Form Wing</strong> button in the toolbar. Type <kbd>Alpha</kbd> and click |
| 24 | <strong>OK</strong>. The ship is renamed <em>Alpha 1</em>.</p> |
| 25 | <div class="note">The player ship must be in Alpha wing. The engine looks for Alpha 1 |
| 26 | as the default player start.</div> |
| 27 | |
| 28 | <h2>3. Add enemies</h2> |
| 29 | <p>Use the ship class drop-down in the toolbar to select a hostile ship class. It |
| 30 | will appear in red. Hold <kbd>Ctrl</kbd> and left-click in the viewport twice to place |
| 31 | two ships. Select both of them (drag a box or shift-click), then click |
| 32 | <strong>Form Wing</strong> again. Name the wing <kbd>Epsilon</kbd>. The ships are |
| 33 | renamed Epsilon 1 and Epsilon 2 and are hostile by default.</p> |
| 34 | |
| 35 | <h2>4. Optionally add more waves</h2> |
| 36 | <p>With Epsilon wing selected, open <strong>Editors › Wings</strong> to open the |
| 37 | <a href="dialogs/WingEditorDialog.html">Wing Editor</a>. Increase |
| 38 | <strong>Number of waves</strong> to 2 and set a short delay between waves. A second |
| 39 | wave will jump in after the first is destroyed.</p> |
| 40 | |
| 41 | <h2>5. Fill in Mission Specs</h2> |
| 42 | <p>Open <strong>Editors › Mission Specs</strong>. Give the mission a |
| 43 | <strong>Title</strong> and a short <strong>Description</strong>. These appear in the |
| 44 | mission selection screen. Set music tracks if desired.</p> |
| 45 | |
| 46 | <h2>6. Add a mission goal</h2> |
| 47 | <p>Open <strong>Editors › Mission Goals</strong>. Add a primary goal with a |
| 48 | description such as <em>Destroy all hostiles</em>. Set the completion condition to a |
| 49 | SEXP that evaluates to true when Epsilon wing is destroyed, for example |
| 50 | <code>is-destroyed-delay</code>. See <a href="concepts/sexps.html">SEXPs</a> for an |
| 51 | overview of the scripting system.</p> |
| 52 | |
| 53 | <h2>7. Save and play</h2> |
| 54 | <p>Press <kbd>Ctrl+S</kbd> to save. QtFRED saves to your mod's |
| 55 | <code>data/missions/</code> folder by default. Launch FreeSpace Open, go to the |
| 56 | Tech Room › Mission Simulator › Single Missions, and your mission will |
| 57 | appear there.</p> |
| 58 | |
| 59 | <h2>Next steps</h2> |
| 60 | <ul> |
| 61 | <li>Script dynamic events with the <a href="dialogs/MissionEventsDialog.html">Mission Events</a> editor.</li> |
| 62 | <li>Add a pre-mission briefing in the <a href="dialogs/BriefingEditorDialog.html">Briefing Editor</a>.</li> |
| 63 | <li>Give ships patrol routes with the <a href="dialogs/WaypointEditorDialog.html">Waypoint Editor</a>.</li> |
| 64 | <li>Chain missions together in the <a href="dialogs/CampaignEditorDialog.html">Campaign Editor</a>.</li> |
| 65 | </ul> |
| 66 | </body> |
| 67 | </html> |