Jump to content

Mods.RogueTrader.Overwatch/BIBLE

From MindAttic Docs

RogueTrader.Overwatch — Project Bible

Single source of truth for what Overwatch IS, is NOT, and the rules that keep it coherent. README says how to build and run it; this says how to think about it. The finish line lives in docs/RELEASE.md.

1. The one sentence

Overwatch gives every gun in Warhammer 40,000: Rogue Trader a way to hold ground (Reflex Shot, Overwatch, Suppression, Hustle), for heroes and enemies alike, built on the overwatch engine Owlcat shipped but never exposed.

2. The product promise

  • Any party member with a ranged weapon gets the abilities on the action bar; enemies with pistols, rifles or heavy weapons use them too.
  • Every shot is the weapon's own attack with its own hit chance, plus one clearly stated modifier per ability.
  • Works in all 8 official UI languages, survives save and load, and stays in sync in multiplayer.

3. What it is NOT

  • Not a rebalance of the base game's combat, weapons or talents.
  • Not a Unity project: no asset bundles, no new meshes.
  • Not for pets: they never get the abilities.

4. Architecture canon

mod/ (blueprints, patches, localization) --+
assets/ (PNG icons)                      --+--> dotnet build --> Modifications\RogueTrader.Overwatch
src/RogueTrader.Overwatch (Harmony C#)   --+        (+ Release: dist/RogueTrader.Overwatch-<v>.zip)
                                              ^
                    ../Mods.RogueTrader.Shared (props, targets, ModLog, Sprites)

4.1 Modules

  • mod/Blueprints/*.jbp and *.jbp_patch: abilities, buffs and patches to game blueprints.
  • mod/Localization/<locale>.json: strings for enGB, frFR, deDE, esES, ruRU, zhCN, jaJP, trTR.
  • src/RogueTrader.Overwatch/: Abilities, ReflexShot, OverwatchCone, Suppression, Hustle, EnemyAi, ActionBar, AbilityOutline, HitChancePreview, DamageInterrupt, OverwatchDebuff, Icons.

4.2 Domain model

Caster, ranged weapon, ability (Reflex Shot, Overwatch cone, Suppression, Hustle), buff (shots left, Overwatched, Suppressed), attack of opportunity.

4.3 Key services

Trigger on enemy move or act, take the shot, spend the reaction budget, break on damage, draw the area outline.

5. The Laws

Inherits MindAttic.HouseRules.md by reference.

  1. Build on the engine's own overwatch mechanic; patch only what blueprints cannot express.
  2. Never reference a blueprint with Meta.ShadowDeleted: true; copy what is needed into the mod.
  3. Ship the Bundles folder (with mod/Bundles/.keep) and the bundle sections in OwlcatModificationSettings.json; write enum values in *.jbp_patch as strings (Shared's build checks these).
  4. Use simulation ticks, never wall-clock time, for anything that decides game state (RTO-T105).
  5. Every player-facing string goes into all 8 locale files.
  6. Versions go up a whole number per release; Version in mod/OwlcatModificationManifest.json names the zip.

6. Verified state

  • Four abilities implemented and played in game during development (3.0.0 uploaded to Nexus mod 677).
  • Repo at 6.0.0; nexus.json (modId 677, fileId 2710) and .github/workflows/publish.yml in place.
  • Vortex Bundles fix (RTO-T104) and multiplayer desync fix (RTO-T105).

7. Active frontier

See docs/RELEASE.md: the two reported bugs, Hunker Down, and the 7.0.0 Nexus release.

8. Quality bar

A feature is done when it builds clean, its rule is in docs/DESIGN.md, its strings are in all 8 locales, its check is in docs/TESTING.md, and it behaves in game for both party and enemies.

9. Glossary

  • AoO: attack of opportunity; Overwatch, Suppression and Reflex Shot shots count as one.
  • Owlcat-format mod: a Modifications\<Name> mod with manifest and settings JSON, versus a UMM mod.
  • Deflection: the game's armour stat that Hunker Down boosts.
From Mods.RogueTrader.Overwatch/docs/BIBLE.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.