Debian Codegraph @

qtfred/help-src/doc/dialogs/MissionGoalsDialog.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8"/>
5 <title>Mission Goals - 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> &rsaquo; Mission &rsaquo; Mission Goals</nav>
10 <h1>Mission Goals</h1>
11 <p>Opens via <strong>Editors &rsaquo; Mission Goals</strong>.</p>
12 <p>Defines the goals shown to the player at the end of the briefing and tracked on
13 the HUD during the mission. When a goal is completed or failed a HUD popup notifies
14 the player. Goals are hidden during the briefing if the
15 <em>Toggle Showing Goals In Briefing</em> flag is set in
16 <a href="MissionSpecsDialog.html">Mission Specs</a>.</p>
17
18 <div class="note">The UI uses the term <em>Objective</em> in some places (such as
19 the <strong>New Obj.</strong> button) interchangeably with <em>Goal</em>. The
20 canonical term is <strong>Goal</strong>, which matches the SEXP operator naming
21 convention.</div>
22
23 <h2>Goal types</h2>
24 <p>Goal type is a classification that affects how goals are displayed and which music
25 plays on completion or failure. The actual consequences of a goal being met or failed
26 , which debriefing stage the player sees, whether the campaign advances, are
27 determined by SEXPs in the
28 <a href="DebriefingDialog.html">Debriefing Editor</a> and the
29 <a href="CampaignEditorDialog.html">Campaign Editor</a>, which can query goal state
30 using operators like <code>goal-true</code> and <code>goal-false</code>.</p>
31 <table>
32 <tr><th>Type</th><th>Description</th></tr>
33 <tr><td>Primary</td><td>Shown to the player from the start of the mission.
34 Completion or failure triggers the primary goal music stinger. By convention
35 these are the core objectives designers tie campaign progression and debriefing
36 outcomes to.</td></tr>
37 <tr><td>Secondary</td><td>Shown to the player from the start of the mission.
38 Completion or failure triggers the secondary goal music stinger. Designers
39 typically use these for optional objectives whose state is queried in the
40 debriefing or campaign for bonus outcomes.</td></tr>
41 <tr><td>Bonus</td><td>Hidden from the player until the goal is achieved, at which
42 point the goal text appears on the HUD. Their state is queryable by SEXPs the
43 same as any other goal type.</td></tr>
44 </table>
45
46 <h2>Goal list</h2>
47 <p>The main area displays all goals as <a href="../concepts/sexps.html">SEXP</a>
48 trees. The dropdown at the top filters the list to show one type at a time;
49 Primary, Secondary, or Bonus. Use <strong>New Obj.</strong> to append a new goal
50 of the currently filtered type.</p>
51
52 <h2>Goal properties</h2>
53 <table>
54 <tr><th>Field</th><th>Description</th></tr>
55 <tr><td>Type</td><td>Primary, Secondary, or Bonus. Changing this moves the goal
56 into the corresponding type group.</td></tr>
57 <tr><td>Name</td><td>Internal identifier used in SEXPs such as
58 <code>goal-true</code> and <code>goal-false</code>, and in mission log
59 entries. Not shown to the player.</td></tr>
60 <tr><td>Goal text</td><td>Text displayed to the player in the briefing goal list
61 and HUD objective display.</td></tr>
62 <tr><td>Score</td><td>Points awarded when this goal is completed.</td></tr>
63 <tr><td>Team</td><td>In multiplayer missions, the team this goal belongs
64 to.</td></tr>
65 </table>
66
67 <h2>Goal flags</h2>
68 <table>
69 <tr><th>Flag</th><th>Description</th></tr>
70 <tr><td>Objective Invalid</td><td>Marks the goal as invalid from the start of
71 the mission. Invalid goals are not shown to the player and are not evaluated.
72 Goals can also be marked valid or invalid at runtime by SEXPs, making this
73 useful for goals that are conditionally activated during play.</td></tr>
74 <tr><td>Don't Play Completion Music</td><td>Suppresses the event music stinger
75 that normally plays when this goal is completed or failed.</td></tr>
76 </table>
77 </body>
78 </html>