Jump to content

Mods.RogueTrader.Overwatch/SPEC: Difference between revisions

From MindAttic Docs
md2wiki: sync from MindAttic.Docs
 
md2wiki: sync from MindAttic.Docs
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:


== 1. Product definition ==
== 1. Product definition ==
In <code>docs/ECOSYSTEM.md</code> (the workspace's source), this repo is a product in the Mods family, a Rogue Trader mod whose common build code comes from Mods.RogueTrader.Shared.


An Owlcat-format mod for Warhammer 40,000: Rogue Trader that gives every gun a way to hold ground: Reflex Shot, Overwatch, Suppression, Hustle and Hunker Down, for heroes and enemies alike, built on the overwatch engine Owlcat shipped but never exposed. It is for Rogue Trader players who want XCOM-style reaction fire. The finished product is those five abilities working with every ranged weapon (sniper rifles included), in all 8 UI languages, in single player and multiplayer, published as 7.0.0 on Nexus Mods mod 677.
An Owlcat-format mod for Warhammer 40,000: Rogue Trader that gives every gun a way to hold ground: Reflex Shot, Overwatch, Suppression, Hustle and Hunker Down, for heroes and enemies alike, built on the overwatch engine Owlcat shipped but never exposed. It is for Rogue Trader players who want XCOM-style reaction fire. The finished product is those five abilities working with every ranged weapon (sniper rifles included), in all 8 UI languages, in single player and multiplayer, published as 7.0.0 on Nexus Mods mod 677.
Line 113: Line 115:
* <strong>S3.4.3 Publish-state baseline</strong> — RTO-T116 — built
* <strong>S3.4.3 Publish-state baseline</strong> — RTO-T116 — built


=== E4. Ability fixes — RTO-T125 — MS-55 ===
<strong>Build-up comb (MAT-T484).</strong> Built: RTO-T155 (icons load from PNG at ApplyContent, under F3.2, eaeb1cf); built membranes RTO-T153 (the mod entry, joining E1, E2 and E3, R17) and RTO-T154 (the per-frame visuals driver joining F1.2 and F1.3). Debt: RTO-T156 (party grant out of the entry), T157 (shared rules apart from cone and party patches), T158 (one ability GUID registry), T159 (the pinned-AI rule beside Suppression, requires T158), T160 (Suppression owns its hit-chance cut), T161 (Shared ModLog everywhere), T162 (one line-material helper). Fixes found by reading: RTO-T163 (Hustle once per first turn), T164 (seven translations behind enGB), T165 (Overwatch window on game time), T166 (Reflex Shot picks a valid target). RTO-T13, T56, T80 seated under F1.2; T65, T84 under F1.3.
 
=== E4. Abilities behave as described — RTO-T125 — MS-55 ===


==== F4.1 Sniper rifle activation — RTO-T126 — MS-55 ====
==== F4.1 Sniper rifle activation — RTO-T126 — MS-55 ====
Line 121: Line 125:
==== F4.2 Cone outline look — RTO-T127 — MS-55 ====
==== F4.2 Cone outline look — RTO-T127 — MS-55 ====


* <strong>T4.2.1 3D-look cone lines</strong> — RTO-T107 — MS-55 Acceptance: Then the Overwatch cone outline uses the same 3D-look lines as Reflex Shot's circle.
* <strong>T4.2.1 3D-look cone lines</strong> — RTO-T107 — MS-55 Acceptance: Then the Overwatch cone outline uses the same 3D-look lines as Reflex Shot's circle. (The reference is gone since RTO-T111; the owner restates the look, noted on the ticket.)
* <strong>Membrane</strong> — RTO-T167: a sniper-armed Overwatch draws its cone with the restated outline.


=== E5. Hunker Down — RTO-T128 — MS-55 ===
=== E5. Hunker Down — RTO-T128 — MS-55 ===
Line 134: Line 139:
==== F5.2 Hunker Down text and docs — RTO-T130 — MS-55 ====
==== F5.2 Hunker Down text and docs — RTO-T130 — MS-55 ====


* <strong>T5.2.1 Strings and docs</strong> — RTO-T133 — MS-55: all 8 locales, DESIGN and TESTING sections, and <code>docs/overview.md</code> brought up to date (five abilities, Reflex Shot as redesigned in RTO-T111).
* <strong>T5.2.1 Strings and docs</strong> — RTO-T133 — MS-55: all 8 locales, DESIGN and TESTING sections, and <code>docs/overview.md</code> brought up to date (five abilities, Reflex Shot as redesigned in RTO-T111). Requires RTO-T164 and RTO-T121.
* <strong>Membrane</strong> — RTO-T168: every Hunker Down string the player sees matches what the ability does.


=== E6. Nexus 7.0.0 release (polish and release) — RTO-T131 — MS-55 ===
=== E6. Nexus 7.0.0 release (polish and release) — RTO-T131 — MS-55 ===
Line 141: Line 147:


* <strong>T6.1.1 Page header art</strong> — RTO-T137 — MS-55: <code>assets/Header.png</code> replaced with Rogue Trader art.
* <strong>T6.1.1 Page header art</strong> — RTO-T137 — MS-55: <code>assets/Header.png</code> replaced with Rogue Trader art.
* <strong>T6.1.2 Bump and release 7.0.0</strong> — RTO-T134 — MS-55 Acceptance: Given the 7.0.0 build, when the owner runs <code>docs/TESTING.md</code> in game (all five abilities, sniper rifle, save and load), then it passes and the 7.0.0 file is live on Nexus mod 677.
* <strong>T6.1.2 Bump and release 7.0.0</strong> — RTO-T134 — MS-55 Acceptance: Given the 7.0.0 build, when the owner runs <code>docs/TESTING.md</code> in game (all five abilities, sniper rifle, save and load), then it passes and the 7.0.0 file is live on Nexus mod 677. Requires the membranes RTO-T167, T168.
* <strong>Membrane</strong> — RTO-T169: the live Nexus page shows the Rogue Trader header and serves the 7.0.0 file.


== 5. Non-functional requirements ==
== 5. Non-functional requirements ==
Line 152: Line 159:
== 6. Interfaces and dependencies ==
== 6. Interfaces and dependencies ==


* <strong>Platform (per <code>docs/ECOSYSTEM.md</code>):</strong> common code: Mods.RogueTrader.Shared (the 7.0.0 release, RTO-T134, requires its v1.0.0 tag, RTS-T19); shipping: the GitHub release that uploads to Nexus; the plan: MindAttic.Tickets.
* <strong>Mods.RogueTrader.Shared</strong>: props, targets, <code>ModLog</code>, <code>Sprites</code>; the build checks Bundles, settings sections and string enums.
* <strong>Mods.RogueTrader.Shared</strong>: props, targets, <code>ModLog</code>, <code>Sprites</code>; the build checks Bundles, settings sections and string enums.
* <strong>Game</strong>: <code>Code.dll</code> overwatch engine, blueprints from <code>WhRtModificationTemplate.tar</code>, Harmony patches.
* <strong>Game</strong>: <code>Code.dll</code> overwatch engine, blueprints from <code>WhRtModificationTemplate.tar</code>, Harmony patches.
Line 170: Line 178:
| Specification written from overview, BIBLE, DESIGN, RELEASE, the code and the ticket history; built work filed as epics RTO-T139, T145, T148; RTO-T137 (header art) added to the release; RTO-T133/T134 now target docs/overview.md
| Specification written from overview, BIBLE, DESIGN, RELEASE, the code and the ticket history; built work filed as epics RTO-T139, T145, T148; RTO-T137 (header art) added to the release; RTO-T133/T134 now target docs/overview.md
| MAT-T388
| MAT-T388
|-
| 2026-11-30
| MAT-T462 single-source pass: 5 renamed (RTO-T106, T107, T110, T137, T125; the "Ability fixes" epic reworded as the outcome "Abilities behave as described"), 0 buckets dissolved, 6 requires added (1 cross-repo: RTO-T134 after RTS-T19), 0 platform re-points
| MAT-T474
|-
| 2026-12-01
| Build-up plan phase: comb 14 of 16 to 16 of 16 by reading (plus blueprints, localization and manifests seated, R69); built RTO-T153 to T155; debt T156 to T162; fixes T163 to T166; membranes T167 to T169
| MAT-T484
|}
|}



Latest revision as of 17:51, 1 December 2026

Mods.RogueTrader.Overwatch — Product specification

The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree. docs/RELEASE.md says which part of this the current milestone delivers.

1. Product definition

In docs/ECOSYSTEM.md (the workspace's source), this repo is a product in the Mods family, a Rogue Trader mod whose common build code comes from Mods.RogueTrader.Shared.

An Owlcat-format mod for Warhammer 40,000: Rogue Trader that gives every gun a way to hold ground: Reflex Shot, Overwatch, Suppression, Hustle and Hunker Down, for heroes and enemies alike, built on the overwatch engine Owlcat shipped but never exposed. It is for Rogue Trader players who want XCOM-style reaction fire. The finished product is those five abilities working with every ranged weapon (sniper rifles included), in all 8 UI languages, in single player and multiplayer, published as 7.0.0 on Nexus Mods mod 677.

2. Scope boundary

2.1 In the product

  • Five abilities: Reflex Shot, Overwatch, Suppression, Hustle, Hunker Down.
  • Who gets them: every party member's action bar; enemies with pistols, rifles or heavy weapons through their AI.
  • Shared rules: weapon hit chance plus one stated modifier per ability, attacks of opportunity, one reaction budget, damage breaks concentration, ammo gating, heavy weapons +1 AP.
  • Eight UI languages, save and load, multiplayer sync.
  • A Unity-free Owlcat package built by dotnet build, published to Nexus by a GitHub release.

2.2 Never in the product

  • Abilities beyond the five: the mod is complete after Hunker Down (charter, 2026-11-27). A new ability idea starts a new charter, not a ticket here.
  • A rebalance of the base game's combat, weapons or talents (BIBLE §3).
  • Unity asset bundles or new meshes (BIBLE §3).
  • Abilities for pets: they never get them (BIBLE §3).
  • Open-ended "exhaustive bughunt" passes (RTO-T123, wont-do): real bugs found in play get their own fix ticket.
  • Multiplayer-specific features beyond keeping the abilities in sync.
  • The original waiting, facing-based Reflex Shot (RTO-T5, RTO-T21, RTO-T96): replaced by the immediate random shot of RTO-T111.

3. Users and roles

  • Player: casts the abilities from the action bar and expects them to behave as described on the Nexus page.
  • Enemy AI: uses Overwatch, Reflex Shot and Suppression on its own turns.
  • Owner: builds, plays the docs/TESTING.md checklist and cuts the Nexus release.

4. Requirements

Status is built (closed ticket, with evidence) or MS-55: the milestone in §7 that delivers it.

E1. Holding-ground abilities — RTO-T139 — built

The four shipped abilities and the rules they share.

F1.1 Reflex Shot — RTO-T140 — built

  • S1.1.1 Immediate random shot — RTO-T111 — built As a player, I want Reflex Shot to end my turn and fire one real shot at a random enemy in range and line of sight, so that a gun is never idle at the end of a turn. Acceptance: Given an enemy in range and line of sight, when I cast Reflex Shot, then my turn ends and one shot fires at a randomly chosen such enemy. Evidence: 897233d, ReflexShot.cs.
  • S1.1.2 Cost and damage — RTO-T82 — built As a player, I want Reflex Shot to cost 1 AP and deal 33% of the weapon's damage, so that it is a cheap, weak reaction rather than a free full shot. Acceptance: Given any ranged weapon, when I cast Reflex Shot, then it costs 1 AP and its shot deals 33% damage.

F1.2 Overwatch cone — RTO-T141 — built

  • S1.2.1 Cursor-sized cone — RTO-T6 — built As a player, I want to aim a cone whose size follows the cursor, so that I trade width for reach. Acceptance: Given the cursor close to me, then the cone is short and wide (3 cells, 90°); far, it is long and narrow (up to weapon range, 20°).
  • S1.2.2 Snap-shot penalty and Overwatched debuff — RTO-T54 — built As a player, I want a penalty that grows with the cone's reach and a debuff on everyone inside, so that I can see who is covered and at what cost. Acceptance: Given a cone, then shots carry -1 at the shortest reach down to -15 at full range, and units inside show Overwatched.
  • S1.2.3 Shot count — RTO-T91 — built As a player, I want up to 2 shots, one per attack the AP left after casting would pay for, so that Overwatch is never better than shooting directly.
  • S1.2.4 Target order — RTO-T83 — built As a player, I want the first shot at the enemy caught moving and the second at the next-closest enemy in the cone, so that fire spreads across the threat.
  • S1.2.5 Attacks of opportunity — RTO-T85 — built As a player, I want Overwatch shots to count as attacks of opportunity, so that my AoO talents apply.

F1.3 Suppression — RTO-T142 — built

  • S1.3.1 Pin one enemy — RTO-T8 — built As a player, I want to suppress one enemy so it takes a ranged attack of opportunity whenever it leaves its square, so that I can hold it in place.
  • S1.3.2 Any way it leaves — RTO-T27 — built Acceptance: Given a Suppressed enemy, when it walks, charges, jumps or is pushed out of its square, then it takes one attack per move or ability, not per square.
  • S1.3.3 Real attacks of opportunity — RTO-T50 — built Acceptance: Given AoO talents, then they apply to Suppression's real shot.
  • S1.3.4 Suppressed penalty — RTO-T87 — built Acceptance: Given a Suppressed unit, then its own ranged attacks keep 75% of their final hit chance, shown in the hit-chance gauge.
  • S1.3.5 Pinned AI — RTO-T90 — built Acceptance: Given a Suppressed AI unit, then it prefers to stay put and shoot back rather than move.
  • S1.3.6 Firing pose — RTO-T69 — built Acceptance: Given an active Suppression, then the suppressor holds a firing pose toward its target (a red line for weapons with no projectile), a visual cue that never hits.

F1.4 Hustle — RTO-T143 — built

  • S1.4.1 Catch-up move — RTO-T109 — built As a player, I want a once-per-battle free move as far as the farthest party member, so that a straggler can rejoin the fight. Evidence: e039ba0, Hustle.cs.

F1.5 Shared ability rules — RTO-T144 — built

  • S1.5.1 Heavy weapons cost more — RTO-T51 — built Acceptance: Given an active Heavy weapon, then Overwatch and Suppression cost 1 AP more.
  • S1.5.2 Damage breaks concentration — RTO-T67 — built Acceptance: Given a unit with Overwatch, Reflex Shot or Suppression active, when it takes damage, then the ability ends at once.
  • S1.5.3 Ammo gating — RTO-T93 — built Acceptance: Given a weapon with no rounds chambered, then Reflex Shot and Overwatch are greyed out.
  • S1.5.4 One reaction budget — RTO-T94 — built Acceptance: Given a unit that already reacted this round, then it gets no second free reaction.
  • S1.5.5 Area outlines — RTO-T76 — built Acceptance: While aiming, thin 50%-transparent lines trace the area (yellow for Reflex Shot, blue for Overwatch) and each enemy inside shows the hit-chance gauge.

E2. Who gets them — RTO-T145 — built

F2.1 Party action bar — RTO-T146 — built

  • S2.1.1 Every party member — RTO-T4 — built As a player, I want every party member with a ranged weapon to get the buttons, so that nobody needs setup.
  • S2.1.2 Bar placement — RTO-T18 — built Acceptance: Then the buttons sit in the last free slots of the first row, else rows 2 and 3, and a removed button stays removed.
  • S2.1.3 Second-row placement — RTO-T112 — built Acceptance: Then granted abilities sit at the end of the second action bar row.

F2.2 Enemy AI — RTO-T147 — built

  • S2.2.1 Enemies overwatch — RTO-T11 — built As a player, I want enemies with guns to overwatch and suppress on their own, so that the abilities cut both ways.
  • S2.2.2 No routing around areas — RTO-T88 — built Acceptance: Then enemies move as they would anyway and get caught by the shots.

E3. Languages, packaging and publishing — RTO-T148 — built

F3.1 Eight UI languages — RTO-T149 — built

  • S3.1.1–S3.1.7 One story per locale — RTO-T38 (frFR), RTO-T39 (deDE), RTO-T40 (esES), RTO-T41 (ruRU), RTO-T42 (zhCN), RTO-T43 (jaJP), RTO-T44 (trTR) — built As a player, I want ability and buff text in my game's language, so that the mod reads like the base game.

F3.2 Owlcat package without Unity — RTO-T150 — built

  • S3.2.1 Build without Unity — RTO-T3 — built
  • S3.2.2 Release zip — RTO-T15 — built
  • S3.2.3 Deployed DLL time — RTO-T57 — built
  • S3.2.4 Bundles survives Vortex — RTO-T104 — built Acceptance: Given a Vortex install, then every blueprint loads (the Bundles folder ships a real file).

F3.3 Multiplayer sync — RTO-T151 — built

  • S3.3.1 Tick-based decisions — RTO-T105 — built Acceptance: Given a multiplayer session, then host and client queue the same Suppression shots (simulation ticks, never wall-clock time). Evidence: 05fe06e.

F3.4 Nexus publishing — RTO-T152 — built

  • S3.4.1 Publish workflow — RTO-T113 — built
  • S3.4.2 Nexus IDs — RTO-T115 — built
  • S3.4.3 Publish-state baseline — RTO-T116 — built

Build-up comb (MAT-T484). Built: RTO-T155 (icons load from PNG at ApplyContent, under F3.2, eaeb1cf); built membranes RTO-T153 (the mod entry, joining E1, E2 and E3, R17) and RTO-T154 (the per-frame visuals driver joining F1.2 and F1.3). Debt: RTO-T156 (party grant out of the entry), T157 (shared rules apart from cone and party patches), T158 (one ability GUID registry), T159 (the pinned-AI rule beside Suppression, requires T158), T160 (Suppression owns its hit-chance cut), T161 (Shared ModLog everywhere), T162 (one line-material helper). Fixes found by reading: RTO-T163 (Hustle once per first turn), T164 (seven translations behind enGB), T165 (Overwatch window on game time), T166 (Reflex Shot picks a valid target). RTO-T13, T56, T80 seated under F1.2; T65, T84 under F1.3.

E4. Abilities behave as described — RTO-T125 — MS-55

F4.1 Sniper rifle activation — RTO-T126 — MS-55

  • T4.1.1 Overwatch with a sniper rifle — RTO-T106 — MS-55 Acceptance: Given a sniper rifle equipped, then Overwatch is enabled and fires like any other ranged weapon.

F4.2 Cone outline look — RTO-T127 — MS-55

  • T4.2.1 3D-look cone lines — RTO-T107 — MS-55 Acceptance: Then the Overwatch cone outline uses the same 3D-look lines as Reflex Shot's circle. (The reference is gone since RTO-T111; the owner restates the look, noted on the ticket.)
  • Membrane — RTO-T167: a sniper-armed Overwatch draws its cone with the restated outline.

E5. Hunker Down — RTO-T128 — MS-55

F5.1 Hunker Down ability — RTO-T129 — MS-55

  • S5.1.1 Hunker Down — RTO-T110 — MS-55 As a player, I want to skip my next turn for boosted Deflection and HP regeneration by cover, so that a unit under fire can dig in.
    • RTO-T119 the ability (skips the next turn, registered like the others)
    • RTO-T121 boosted Deflection buff while active
    • RTO-T120 HP regen by cover type (none/half/full) when it ends Acceptance: Given half cover, when Hunker Down ends, then HP regenerates by the half-cover amount and Deflection returns to normal.

F5.2 Hunker Down text and docs — RTO-T130 — MS-55

  • T5.2.1 Strings and docs — RTO-T133 — MS-55: all 8 locales, DESIGN and TESTING sections, and docs/overview.md brought up to date (five abilities, Reflex Shot as redesigned in RTO-T111). Requires RTO-T164 and RTO-T121.
  • Membrane — RTO-T168: every Hunker Down string the player sees matches what the ability does.

E6. Nexus 7.0.0 release (polish and release) — RTO-T131 — MS-55

F6.1 Release 7.0.0 — RTO-T132 — MS-55

  • T6.1.1 Page header art — RTO-T137 — MS-55: assets/Header.png replaced with Rogue Trader art.
  • T6.1.2 Bump and release 7.0.0 — RTO-T134 — MS-55 Acceptance: Given the 7.0.0 build, when the owner runs docs/TESTING.md in game (all five abilities, sniper rifle, save and load), then it passes and the 7.0.0 file is live on Nexus mod 677. Requires the membranes RTO-T167, T168.
  • Membrane — RTO-T169: the live Nexus page shows the Rogue Trader header and serves the 7.0.0 file.

5. Non-functional requirements

  • Platform: Warhammer 40,000: Rogue Trader on Windows (Steam), Owlcat mod loader; installs by hand or with Vortex.
  • No Unity: dotnet build against the game's DLLs; depends on Mods.RogueTrader.Shared as a sibling checkout.
  • Save and load safe; multiplayer deterministic (simulation ticks only, RTO-LAW-4).
  • Every player-facing string in all 8 locales (RTO-LAW-5). Never references a ShadowDeleted blueprint (RTO-LAW-2).

6. Interfaces and dependencies

  • Platform (per docs/ECOSYSTEM.md): common code: Mods.RogueTrader.Shared (the 7.0.0 release, RTO-T134, requires its v1.0.0 tag, RTS-T19); shipping: the GitHub release that uploads to Nexus; the plan: MindAttic.Tickets.
  • Mods.RogueTrader.Shared: props, targets, ModLog, Sprites; the build checks Bundles, settings sections and string enums.
  • Game: Code.dll overwatch engine, blueprints from WhRtModificationTemplate.tar, Harmony patches.
  • Nexus Mods: mod 677 through .github/workflows/publish.yml (nexus.json).

7. Release sequence

  1. MS-55 "Overwatch 7.0.0 on Nexus, working" (active, docs/RELEASE.md): epics RTO-T125, RTO-T128, RTO-T131, ending with the Nexus 7.0.0 release. This is the finished product: the docs define the mod as complete after Hunker Down, so no later milestone follows.

8. Change log

Date Change to scope Ticket
2026-11-30 Specification written from overview, BIBLE, DESIGN, RELEASE, the code and the ticket history; built work filed as epics RTO-T139, T145, T148; RTO-T137 (header art) added to the release; RTO-T133/T134 now target docs/overview.md MAT-T388
2026-11-30 MAT-T462 single-source pass: 5 renamed (RTO-T106, T107, T110, T137, T125; the "Ability fixes" epic reworded as the outcome "Abilities behave as described"), 0 buckets dissolved, 6 requires added (1 cross-repo: RTO-T134 after RTS-T19), 0 platform re-points MAT-T474
2026-12-01 Build-up plan phase: comb 14 of 16 to 16 of 16 by reading (plus blueprints, localization and manifests seated, R69); built RTO-T153 to T155; debt T156 to T162; fixes T163 to T166; membranes T167 to T169 MAT-T484
From Mods.RogueTrader.Overwatch/docs/SPEC.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.