Debian Codegraph @

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

raw symbols SCIP
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8"/>
5 <title>Error Checker - 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; Tools &rsaquo; Error Checker</nav>
10 <h1>Error Checker</h1>
11 <p>Opens via <strong>Tools &rsaquo; Error Checker</strong>. Also runs automatically
12 before saving when issues are present.</p>
13 <p>Scans the entire mission for structural problems, design errors, configuration
14 warnings, and potential issues. Results are listed by severity with a description
15 of each problem found.</p>
16
17 <h2>Controls</h2>
18 <table>
19 <tr><th>Control</th><th>Description</th></tr>
20 <tr><td>Rerun</td><td>Runs the check again. Use this after making fixes to confirm
21 they are resolved.</td></tr>
22 <tr><td>Check Potential Issues</td><td>When checked, Potential Issue entries are
23 included in the results alongside errors and warnings. When unchecked,
24 potential issues are silently omitted.</td></tr>
25 <tr><td>Apply Auto-Corrections</td><td>When checked, FRED automatically corrects
26 issues it can resolve without user input each time a check runs. Only applies
27 to correctable errors and warnings; Critical Errors are never auto-corrected.
28 Auto-corrections are applied before results are displayed.</td></tr>
29 <tr><td>Status bar</td><td>Shows a summary of the most recent check: the total
30 number of entries found, or <em>No check has been run yet</em> before the
31 first run.</td></tr>
32 </table>
33
34 <h2>Severity levels</h2>
35 <table>
36 <tr><th>Severity</th><th>Meaning</th></tr>
37 <tr><td>Critical Error</td><td>A serious structural problem that FRED cannot
38 automatically correct. The mission may fail to load or behave unpredictably
39 in-game. Must be fixed manually before the mission is usable.</td></tr>
40 <tr><td>Error</td><td>A mission design problem that must be fixed. The mission may
41 not play correctly.</td></tr>
42 <tr><td>Warning</td><td>A problem that can be (or has been) auto-corrected. Review
43 the change before saving.</td></tr>
44 <tr><td>Potential Issue</td><td>A situation that may be intentional but is worth
45 reviewing. Only shown when <strong>Check Potential Issues</strong> is
46 checked.</td></tr>
47 </table>
48
49 <h2>What is checked</h2>
50 <p>The checker inspects the following areas of the mission:</p>
51 <ul>
52 <li>Object list integrity and name uniqueness</li>
53 <li>Ships — SEXPs, AI goals, anchor references, docking configuration, and loadout
54 weapon availability</li>
55 <li>Wings — structure, SEXPs, AI goals, anchor references, wave thresholds, and
56 accepted orders consistency</li>
57 <li>Player starts and player wing membership</li>
58 <li>Waypoint path names for conflicts with object names</li>
59 <li>Reinforcement name references</li>
60 <li>Mission events and mission objectives — SEXP validation</li>
61 <li>Briefings — icon ID uniqueness</li>
62 <li>Debriefings — SEXP validation</li>
63 <li>Asteroid field target ship name validity</li>
64 <li>Initially-docked groups — must have exactly one non-false arrival cue</li>
65 <li>Team loadout — weapons used in starting wings must be present in the
66 team loadout pool</li>
67 </ul>
68
69 <h2>Pre-save mode</h2>
70 <p>When saving a mission that has unresolved errors, the Error Checker opens
71 automatically in pre-save mode. In this mode three additional buttons appear at the
72 bottom of the dialog:</p>
73 <table>
74 <tr><th>Button</th><th>Description</th></tr>
75 <tr><td>Cancel</td><td>Aborts the save and returns to the editor so issues can be
76 addressed.</td></tr>
77 <tr><td>Save As Is</td><td>Saves the mission despite the reported issues.</td></tr>
78 <tr><td>Fix and Save</td><td>Applies all available auto-corrections and then saves.
79 Only available when <strong>Apply Auto-Corrections</strong> is
80 checked.</td></tr>
81 </table>
82
83 <h2>Preferences</h2>
84 <p>The <strong>Check Potential Issues</strong> and <strong>Apply Auto-Corrections</strong>
85 settings are also found in <strong>File &rsaquo; Preferences &rsaquo; Error
86 Checker</strong>. They share the same stored value — changing one updates the other.
87 Use Preferences to set the default behavior for all future check runs.</p>
88 </body>
89 </html>