| 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="UTF-8"/> |
| 5 | <title>Campaign Editor - 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> › Narrative › Campaign Editor</nav> |
| 10 | <h1>Campaign Editor</h1> |
| 11 | <p>Opens via <strong>File › Campaign Editor</strong>. The Campaign Editor opens |
| 12 | as its own window rather than a modal dialog.</p> |
| 13 | <p>Links individual missions into a branching campaign. Each mission is a node in a |
| 14 | graph; directed edges between nodes carry SEXP conditions that determine which mission |
| 15 | the player flies next.</p> |
| 16 | |
| 17 | <p><strong>Use retail campaign file format</strong> - saves the campaign in the older |
| 18 | retail-compatible format. Leave unchecked for new campaigns. |
| 19 | <strong>Check campaign</strong> runs the error checker against the current |
| 20 | campaign. Both controls are available on both tabs.</p> |
| 21 | |
| 22 | <h2>Campaign Specs tab</h2> |
| 23 | |
| 24 | <h3>Identity</h3> |
| 25 | <table> |
| 26 | <tr><th>Field</th><th>Description</th></tr> |
| 27 | <tr><td>Name</td><td>Campaign name shown in the campaign selection |
| 28 | screen.</td></tr> |
| 29 | <tr><td>Type</td><td>Single player, multiplayer co-op, or multiplayer team |
| 30 | vs. team.</td></tr> |
| 31 | <tr><td>Description</td><td>Long-form campaign description shown in the |
| 32 | selection screen.</td></tr> |
| 33 | <tr><td>Reset tech room</td><td>When checked, the player's tech room is cleared |
| 34 | at the start of the campaign and only ships and weapons unlocked during |
| 35 | play are available.</td></tr> |
| 36 | <tr><td>Custom data</td><td>Opens the Custom Data dialog for attaching arbitrary |
| 37 | key-value pairs to the campaign file, used by scripting and |
| 38 | mods.</td></tr> |
| 39 | </table> |
| 40 | |
| 41 | <h3>Starting ships and weapons</h3> |
| 42 | <p>Check which ships and weapons are available to the player at the very start of |
| 43 | the campaign, before any missions have been completed.</p> |
| 44 | |
| 45 | <h2>Campaign Flow tab</h2> |
| 46 | |
| 47 | <h3>Mission list</h3> |
| 48 | <p>Lists all <code>.fs2</code> mission files available to add to the campaign. |
| 49 | Select a mission from the list then right-click in the graph view to add it as a |
| 50 | node.</p> |
| 51 | |
| 52 | <h3>Mission properties</h3> |
| 53 | <p>Select a mission node in the graph to edit its properties:</p> |
| 54 | <table> |
| 55 | <tr><th>Field</th><th>Description</th></tr> |
| 56 | <tr><td>Briefing cutscene</td><td>Video played before the briefing for this |
| 57 | mission.</td></tr> |
| 58 | <tr><td>Debriefing persona</td><td>Index of the debriefing persona used after |
| 59 | this mission.</td></tr> |
| 60 | <tr><td>Mainhall</td><td>Which main hall is shown between missions.</td></tr> |
| 61 | <tr><td>Substitute mainhall</td><td>Preferred main hall to use if present in |
| 62 | the currently loaded mod, analogous to alt music.</td></tr> |
| 63 | </table> |
| 64 | |
| 65 | <h3>Branches</h3> |
| 66 | <p>Shows all outgoing branches from the selected mission. Each branch has a |
| 67 | <a href="../concepts/sexps.html">SEXP</a> condition; the first branch whose condition |
| 68 | is true is the one taken. New branches are automatically given a <code>true</code> |
| 69 | formula. Use the <strong>up/down arrows</strong> to reorder branch priority.</p> |
| 70 | |
| 71 | <table> |
| 72 | <tr><th>Branch type</th><th>Description</th></tr> |
| 73 | <tr><td>Branch to Mission</td><td>Proceeds to another mission in the campaign. |
| 74 | The SEXP dot is black.</td></tr> |
| 75 | <tr><td>Branch to Campaign Loop</td><td>An optional loop the player can accept |
| 76 | or skip. The SEXP dot is blue.</td></tr> |
| 77 | <tr><td>Repeat Mission</td><td>Loops back to the current mission, allowing the |
| 78 | player to retry it. The SEXP dot is black.</td></tr> |
| 79 | <tr><td>End Campaign</td><td>Ends the campaign. The SEXP dot is |
| 80 | black.</td></tr> |
| 81 | </table> |
| 82 | |
| 83 | <p>Selecting a <strong>loop branch</strong> reveals additional fields:</p> |
| 84 | <table> |
| 85 | <tr><th>Field</th><th>Description</th></tr> |
| 86 | <tr><td>Loop description</td><td>Text shown on the loop accept/skip screen |
| 87 | in-game.</td></tr> |
| 88 | <tr><td>Animation</td><td>Animation played on the loop screen.</td></tr> |
| 89 | <tr><td>Voice file</td><td>Narration audio for the loop screen.</td></tr> |
| 90 | </table> |
| 91 | |
| 92 | <h3>Graph view</h3> |
| 93 | <p>Missions appear as boxes; drag connectors between them to create branches:</p> |
| 94 | <table> |
| 95 | <tr><th>Connector</th><th>Creates</th></tr> |
| 96 | <tr><td>Blue → Green</td><td>A normal branch. The SEXP condition determines |
| 97 | whether this path is taken.</td></tr> |
| 98 | <tr><td>Orange → Green</td><td>A loop branch. The player is given the option to |
| 99 | accept or skip the loop before it executes.</td></tr> |
| 100 | <tr><td>Blue → End Campaign node</td><td>An end-of-campaign branch. The campaign |
| 101 | ends when this branch is taken. The same SEXP priority rules |
| 102 | apply.</td></tr> |
| 103 | </table> |
| 104 | <p>The End Campaign node is created automatically. Right-click a node in the graph |
| 105 | for additional options, including <strong>Add Repeat Mission</strong>, which creates |
| 106 | a branch that loops back to the same mission, the standard way to let the player |
| 107 | retry a mission after failure.</p> |
| 108 | </body> |
| 109 | </html> |