Campaign progression: design and roadmap
メンテナーはふだん 9 日以内に返信
@penev92 がすでに取り組んでいます。
2026年9月17日 から。
評価
この issue はまだ評価されていません。
説明
This writes down the design @pchote and I converged on so campaign progression finally has a canonical plan and future work doesn't restart from scratch. The UI side remains specced by #17067. This issue covers the data/flow architecture and tracks the implementation milestones.
Related (and possibly superseded): #14238, #4492, #7213, #21698.
Agreed design
Two strictly separate data concerns:
- Campaign definitions — campaign metadata in YAML (initially just a list in
mod.yaml?), a per-campaign Lua script that drives progression, and the missions themselves. - Player playthrough progress — everything a playthrough produces: completion/unlock flags, difficulty, completion time, score, later statistics and achievements. Stored per campaign in the support dir. One playthrough per campaign — no multi-playthrough support; replaying arbitrary unlocked missions stays in the existing mission browser.
Progression is driven by Lua, not by the engine:
- No progression rules in YAML, no C# campaign manager. The engine provides primitives; campaign scripts compose them.
- Missions record their outcome to the store on victory/defeat (they may also store/load arbitrary data during gameplay). The campaign's shared Lua script computes the currently available missions from stored state — arbitrary conditions allowed. Linear campaigns can simply chain to the next map.
- Cross-campaign reads are supported (C&C3-style: finish GDI + Nod → unlock Scrin).
UI flow (start simple, fancy later):
- The main menu gets a
Campaignbutton; the existingMissionsbrowser stays untouched (later enhanced to show playthrough info). Campaign→ campaign browser (first implementation - just a list of names - works for ANY mod, including custom ones; later a fancier TD/D2k/RA2 faction picker can be added) → the selected campaign ID is handed to the shellmap's Lua → intro FMVs → mission-selection screen if there's a choice → the mission launches.- The mission-selection screen is a fullscreen panel over the current world (shellmap at campaign start, the just-finished mission mid-campaign) — no dummy maps. Its structure comes from mod widget YAML + logic; Lua supplies the content (available missions, images/animations, clickmap regions, callbacks).
- Post-victory: the victory-conditions code triggers the score screen and runs a callback when it is dismissed. Requires keeping the script context callable after game end.
Milestones
Small PRs; each milestone lands separately and has its own issue:
- #22601 — Persistent state store +
CampaignLua API - #22602 — Standard progress schema + shared campaign Lua boilerplate
- #22603 — Mission browser integration
- #22604 — Post-victory flow
- #22605 — Campaign browser + Lua-driven mission selection
Backlog (designed for, not scheduled)
Fancy per-mod campaign screens and clickmaps (#17639 has ideas), campaign bundles, achievements/statistics UI, an archive screen, campaign-aware save games, an unlock-all option.
Cross-cutting open questions
- Co-op/multiplayer campaigns (#20540) are explicitly out of scope for now; the store is local-player data.
- 主要言語
- C#
- スター
- 17.9k
- フォーク
- 3.1k
- 平均マージ
- 9日 2時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenRA/OpenRA のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 9 日以内に返信
-
Captured Harkonnen Heavy Factories do not unlock Devastators in Atreides missions 7–9対応中かも @Porenutak が 27 日前に担当しました。 オープンBug Dune 2000
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
OpenRA/OpenRA#22679 · コメント 5 件 ·
メンテナーはふだん 9 日以内に返信
-
Map.Save() throws InvalidOperationException when StagedMapFiles contains more than one file対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
OpenRA/OpenRA#22651 · コメント 1 件 ·
メンテナーはふだん 9 日以内に返信
-
Add lighting (and maybe weather) effects to `top-o-the-world`対応中かも @Leo512bit が 142 日前に担当しました。 オープンIdea/Wishlist Red Alert
難易度 2/5 1〜2日 初心者へのやさしさ 68/100
OpenRA/OpenRA#22217 · コメント 1 件 ·
メンテナーはふだん 9 日以内に返信
-
Polish
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OpenRA/OpenRA#18553 · コメント 1 件 ·
メンテナーはふだん 9 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
chris4aker/OfflineDAoC-LivingServer#985 ·
メンテナーはふだん 1 日以内に返信
-
Markdown.Normalize drops fence delimiters on unclosed fenced code blocks対応中かも @nphungthinh2601 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 2 日以内に返信
-
Requests page: movie posters render at 133px wide because of max-height: 200px on .card-poster対応中かも @hackworth が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
SubtitleEdit/subtitleedit#17351 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
elsa-workflows/elsa-foundation#6384 ·
メンテナーはふだん 1 日以内に返信