Mission Editor – Progress Single
Editor sub-module for viewing a **single mission's progress** - unlocked stars, attempt history, and raw save data.
Editor sub-module for viewing a single mission's progress - unlocked stars, attempt history, and raw save data.
Overview
Displays unlocked star counts (default and total), individual star checkboxes, a per-progress-key attempt table, and an optional raw JSON editor for the mission's saveData.
Class Methods
| Method | Signature | Description |
|---|---|---|
C:init | (missionEditor) | Stores editor reference, sets tab name "Progress Single". |
C:setMission | (mission) | Caches mission instance, formats save data via gameplay_missions_progress.formatSaveDataForUi. |
C:drawProgress | () | Renders star unlock summary, progress key combo, and attempt table. |
C:draw | () | Header + raw toggle + Reload button; delegates to drawProgress or raw editor. |
Star Unlock Display
Default Stars unlocked: X / 3Total Stars unlocked: X / N- Per-star checkboxes showing
(Default Star)or(Bonus Star)labels
Attempt Table
Dynamic columns from formattedProgressByKey[key].attempts.labels, rows display text per cell.
Progress Key Selection
- Shows default key from
missionInstance.defaultProgressKey - Combo to switch between all available progress keys
- Falls back to
'default'if no keys exist
Usage Example
local singleTab = require('extensions/editor/missionEditor/progressSingle')(missionEditorRef)
singleTab:setMission(mission)
singleTab:draw()
-- Reload button refreshes data from diskSee Also
- Mission Editor - Additional Attributes - Related reference
- Mission Editor - Career Setup - Related reference
- Mission Editor - Conditions - Related reference
- World Editor Guide - Guide
Mission Editor – Progress Setup
Editor sub-module for viewing and editing **mission progress setup** data. Provides a raw JSON editor for the mission's `saveData`.
Mission Editor – Setup Modules
Editor sub-module for configuring mission **setup modules**: Vehicles, Traffic, and Environment. These define how the mission configures player vehicles, traffic spawning, and environmental conditions