Jump to content

Mods.Cyberpunk2077.ShootDodge/SPEC

From MindAttic Docs

Mods.Cyberpunk2077.ShootDodge — Product specification

The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished mod 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 standalone Cyberpunk 2077 mod; no Cyberpunk shared kit exists.

ShootDodge is a Cyber Engine Tweaks (Lua) mod for Cyberpunk 2077, with a little redscript, that recreates Max Payne 2's Shootdodge and bullet-time hourglass in first person. Shift + Space dives V in a low flat leap while the world slows to 5% and V, her aim and her weapon stay at full speed; a separate Bullet Time mode runs off an hourglass meter. It is for PC players who want Max Payne's gunplay in Night City. The finished mod is 3.0.0 on Nexus Mods: the gameplay is complete, and only the page and upload remain.

2. Scope boundary

2.1 In the product

  • The Shootdodge: combo detection, dive state machine, one launch push into the game's own arc, landing on feet (or the optional lie-and-fire landing).
  • Weapons in the dive: every ranged weapon, Double Trouble dual pistols, lethal headshots mid-dive.
  • Bullet time: dive slow-mo with player and weapon exemption, Bullet Time mode, a saved hourglass meter.
  • Max Payne flavour: MP2 outfit and loadout, a once-per-save text from Max Payne, a Vortex-ready zip.

2.2 Never in the product

  • Animation, mesh or archive edits (DESIGN "Open question: animation fidelity"): vanilla items by TweakDB ID only.
  • A third-person camera.
  • Akimbo built from scratch (C2SD-T28 research: the game's own Double Trouble dual wield is used instead).
  • Hard dependencies on TweakXL, ArchiveXL, Codeware or RED4ext for ShootDodge's own code; optional extras compile to nothing when absent (C2SD-LAW-4).
  • Per-frame pushes on V during the dive (C2SD-LAW-2).
  • Open-ended "exhaustive bughunt" passes (C2SD-T78).

3. Users and roles

  • Player (PC, Cyberpunk 2077 2.x with CET and redscript): dives, uses Bullet Time mode, tunes it in the overlay.
  • Owner: works through docs/TESTING.md in game, creates the Nexus page by hand, signs off the release.
  • Nexus visitor: reads the page, installs with Vortex or by hand.

4. Requirements

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

E1. The Shootdodge — C2SD-T88 — built

F1.1 Dive and landing — C2SD-T89 — built

  • S1.1.1 Combo detection — C2SD-T5 — built, now Shift + Space (C2SD-T51).
  • S1.1.2 Dive state machine — C2SD-T6 — built. NONE > DIVING > AIRBORNE > landing > NONE, with a debug overlay.
  • S1.1.3 Dive trigger — C2SD-T7 — built. V leaps in the held direction, or forward with none held.
  • S1.1.4 Shift + Space — C2SD-T51 — built.
  • S1.1.5 One launch push — C2SD-T63 — built. No per-frame pushes; a fall or 0.1 s of stillness ends the dive.
  • S1.1.6 Low flat dive — C2SD-T65 — built. Evidence: c3d5ad0.
  • S1.1.7 Land on feet, momentum kept — C2SD-T62 — built.
  • S1.1.8 Optional lie-and-fire landing — C2SD-T68 — built. Evidence: 403766f.
  • Remove the dead mid-air pushes (debt) — C2SD-T100 — built. Evidence: 6ed83ad.

F1.2 Weapons in the dive — C2SD-T90 — built

  • S1.2.1 Every ranged weapon — C2SD-T57 — built. Hip fire or ADS; melee and unarmed stay blocked.
  • S1.2.2 Double Trouble dual pistols — C2SD-T30 — built.
  • S1.2.3 Lethal headshots mid-dive — C2SD-T56 — built. Removed the frame the dive ends.
  • Membrane: the mod runs as one — C2SD-T95 — built. Evidence: 403766f, b40eafb (init.lua, Session.lua): one state machine, one frame order and one real-save gate join E1, E2 and E3.
  • One player glue module (debt) — C2SD-T96 — built. Evidence: 77024df (PlayerGlue.lua).
  • Each driver draws its own overlay section (debt) — C2SD-T97 — built. Evidence: 7368610.
  • Split the redscript key listener (debt) — C2SD-T101 — MS-87. The / key and the Shootdodge's Shift read in their own systems; needs a redscript compile against the game.

E2. Bullet time — C2SD-T91 — built

F2.1 Slow-mo and the hourglass — C2SD-T92 — built

  • S2.1.1 Dive slow-mo — C2SD-T8 — built. The world slows to 5% for the dive.
  • S2.1.2 V and weapon at full speed — C2SD-T55 — built. Per-entity time dilation exempts V.
  • S2.1.3 Hourglass meter — C2SD-T15 — built. Drains in Bullet Time mode, refills on kills, saved with the game.
  • S2.1.4 Bullet Time mode key — C2SD-T37 — built. / by default with Input Loader, CET binding as fallback.
  • S2.1.5 Mode deepens with kills — C2SD-T66 — built. 0.35 down to 0.10 as the sand turns yellow.
  • S2.1.6 Mode muffle cues — C2SD-T67 — built.
  • S2.1.7 Camera and audio polish — C2SD-T14 — built. FOV pull-back, whoosh, low-pass.

E3. Max Payne flavour and install — C2SD-T93 — built

F3.1 Loadout, text and package — C2SD-T94 — built

  • S3.1.1 MP2 outfit and loadout — C2SD-T4 — built, granted once per save.
  • S3.1.2 Text from Max Payne — C2SD-T27 — built, once per save, with the Vortex-ready zip.
  • S3.1.3 Phone Extension guarded — C2SD-T29 — built. Compiles to nothing without it.
  • S3.1.4 Docs set — C2SD-T17 — built. Usage guide, docs/NEXUS_PAGE.md, docs/TESTING.md.
  • S3.1.5 Zip rebuilt on every commit — C2SD-T70 — built. Pre-commit hook runs tools/package.ps1.
  • S3.1.6 Release 3.0.0 — C2SD-T44 — built. Evidence: dist/ShootDodge-3.0.0.zip.

E4. Nexus release — C2SD-T79 — MS-87

F4.1 Nexus page current — C2SD-T80 — MS-87

  • T4.1.1 Changelog and status — C2SD-T82 — MS-87. The held-key release fix (C2SD-T73) is in the 3.0.0 changelog in docs/NEXUS_PAGE.md, and docs/overview.md Status says 3.0.0 is ready to publish.
  • T4.1.2 Page screenshots — C2SD-T83 — MS-87. The in-game screenshots listed under Images, in assets/.

F4.2 Nexus publish — C2SD-T81 — MS-87

  • T4.2.1 nexus.json, workflow, upload — C2SD-T84 — MS-87. After the owner creates the page: publish pipeline as in Mods.RogueTrader.Overwatch, GitHub release v3.0.0, the file live.

5. Non-functional requirements

  • PC Cyberpunk 2077 2.x; CET and redscript required; Phone Extension (with Codeware) and Input Loader optional.
  • Every effect (slow-mo, FOV, muffle, headshot bonus) is reverted on every exit path (C2SD-LAW-3).
  • No game calls in the main menu or before the session settles (C2SD-T45).
  • The zip is built from the git index by the pre-commit hook (C2SD-LAW-5).

6. Interfaces and dependencies

  • Platform (per docs/ECOSYSTEM.md): shipping: the Nexus auto-publish workflow (C2SD-T84); the plan: MindAttic.Tickets.
  • Cyber Engine Tweaks (logic and overlay), redscript (phone contact, Bullet Time key listener), Input Loader (the / action), Phone Extension and Codeware (the text, optional).
  • Mods.RogueTrader.Overwatch: the model for nexus.json and the publish workflow.
  • Nexus Mods: the page (created by the owner) and the uploaded file.

7. Release sequence

  1. MS-87 — ShootDodge 3.0.0 on Nexus, working (active): E4 Nexus release, whose publish feature is the release step. Reaching it finishes the mod: the gameplay is complete and nothing more is planned.

8. Change log

Date Change to scope Ticket
2026-11-30 Specification written from the overview, BIBLE, DESIGN, NEXUS_PAGE, TESTING and the ticket history; the finished mod is the 3.0.0 release. MAT-T400
2026-11-30 MAT-T462 single-source pass: 0 renamed, 0 buckets dissolved, 0 requires added, 0 platform re-points MAT-T474
2026-11-30 Build-up comb (MAT-T484): the composition root and session gate recorded as the built membrane joining E1 to E3 (C2SD-T95); debt C2SD-T96 (copied game reads), C2SD-T97 (every overlay panel in init.lua), C2SD-T100 (dead per-frame pushes), C2SD-T101 (two inputs in one redscript system) C2SD-T95
From Mods.Cyberpunk2077.ShootDodge/docs/SPEC.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.