- Keep the default tactical camera in the projector blackout; lights go out ~2 s after crossing the screen (Pending phase with normal play/grace) - Remove the blackout task HUD (progress card, dots, instructions); replace with close-range world-anchored FBC inspection placards for the screen, phones and the glass case - Fix manual J/K/U presses feeling dead: queue a press while the skill is on cooldown and flash the HUD stamp immediately; clear the queue on autoplay toggle and during the pocket. Add regression test - Add --blackout-near-phone QA hook; update design docs and README
7.4 KiB
FBC: NIGHT SHIFT — The Blackout Ritual (Projector Screen)
Status: implemented (2026-11-24). Scope: a self-contained pocket ritual inside the Projector Room, using the big projector screen as a threshold. New Blender props, a blackout presentation mode, a proximity puzzle, and the Light Switch OoP reward.
1. Design intent
The Projector Room already holds the 20 s briefing-reel ritual, but the projection screen itself had no collision and no purpose — you could walk straight through it. It is now the threshold for the game's strangest Object of Power encounter:
You step into the screen. The fluorescents die. The room is gone. You stand in black space in front of twenty little desks, each carrying a red Hotline phone, all ringing. Walk over every phone. When the last one goes quiet, a glass case with a yellow Board roof appears at the screen. Step inside it and the lights come back — and the Light Switch is yours for the run.
Design pillars it respects:
- No pause screens. The corruption clock keeps running; only the Director's spawns are suspended and the horde freezes outside the pocket. You can still move and Evade.
- Mega Man reward. Completing the ritual grants a permanent OoP (an active skill) for the rest of the run.
- No task list. There is no progress counter, dot row or instruction card. Unanswered phones glow red; answered ones go dark. Progress is read from the room itself. Close-range, world-anchored FBC placards are the only prompt.
2. Experience flow
| Phase | Player sees | Player does | Diegetic cue |
|---|---|---|---|
Idle |
Normal Projector Room | Approach the screen | Placard at the screen: PROJECTOR SCREEN / DO NOT LOOK INTO THE IMAGE |
Pending (2 s) |
Normal room, normal camera, lights still on | Walk into the screen footprint (≈18 × 6 m) and stay | The placard is the last hint |
Active |
Black room, the agent, 20 red-glowing phone tables in a 5 × 4 grid | Walk over every phone (order irrelevant) | Near a desk: FBC HOTLINE / LINE STILL OPEN |
CaseRevealed |
Same dark room; a glass case with a yellow roof appears at the screen, switch inside | Walk into the case | Near it: OBJECT OF POWER / LIGHT SWITCH — CLASS IV |
Complete |
Lights snap back, normal room and horde return | Continue the run | FLUORESCENT skill stamp appears |
Edge cases:
- Claimed once per run. A floor jump (
blackout.reset()) makes it claimable again on L2+; the FLUORESCENT skill unlock persists for the run. - Entering the screen replaces any other in-progress ritual (one ritual at a time). Ritual HUD prompts are suppressed while in the pocket.
- Death during blackout ends the run normally.
- Re-entering the screen after completion does nothing.
3. Puzzle rules
- 20 phones, fixed 5 × 4 grid (7 × 9 m spacing) in front of the screen,
derived from the authored
PropKind::Screenposition infloor01.json— no new level data, no extra anchors, deterministic per floor. - Proximity only (radius 2.2 m), no interact key: the whole game is played by moving. A short 0.3 s debounce prevents one standing spot answering twice.
- No order and no wrong answers. Any unanswered phone can be answered; the grid simply drains from 20 to 0. This keeps the encounter a sweep rather than a memory test, which suits a move-only auto-brawler.
- The last phone reveals the case at the screen mouth. Entering it (2.6 m) completes the ritual: the scene goes back to the normal room and the reward is granted on that transition.
- Reward: FLUORESCENT, a third active skill (
U, gamepad face-left). It floods a 6 m radius with fluorescent light: enemies in range getdamage_taken_mult ×1.25for 10 s, plus a bright flash. Cooldown 14 s. It joins the sameSkillSystemmanual/autoplay path as CONCRETE CALL and WARP, and its HUD stamp only appears once earned.
4. Presentation
Game::blackout.active()clears the 3D target to near-black inmain.cpp.Presenter::draw_scenebranches intodraw_blackout()before any normal environment pass: dim floor slab, the 20 phone tables (unanswered ones with a red ground ring, billboard glow and a pulsing hit-flash), the agent, and the glass case once revealed. Enemies, XP shards, props and post-decay are not drawn.- The normal tactical camera follows the player throughout — no camera
switch on entry or exit. The room stays lit for ~2 s after the screen is
crossed (
BlackoutPhase::Pending); during that grace normal gameplay and spawns continue, then the lights drop and the blackout pass takes over. - Events
BlackoutStart/Phone/Case/Completedrive sparks and containment waves; post FX and the containment clock stay visible throughout. - No blackout HUD. Only the normal objective panel and containment clock remain,
so the clock's pressure stays legible; the puzzle is read from the world.
draw_blackout_labels()projects small FBC placards above the screen, the nearest unanswered phone (within 6 m) and the case (within 9 m).
5. Blender assets (tools/blender/build_blackout_props.py)
| GLB | Contents | Tris | Rendering in game |
|---|---|---|---|
phone_table.glb |
Desk, drawer, red handset, rotary dial, hot indicator, cord | 746 | opaque actor shader, pulsing flash + red glow |
case_frame.glb |
Plinth, brass trim, four posts, yellow Board roof, roof seal | 176 | opaque actor shader, 1.5× scale |
case_glass.glb |
Four translucent panes | 64 | actor shader with new uAlpha uniform (0.30) and depth-mask-free alpha blending |
Conventions: one merged mesh per GLB, painted Color vertex attribute, origin
at feet, facing +Z in engine (-Y in Blender), exports via actor_kit.export_actor.
The existing switch.glb is drawn inside the case (2.2× scale).
Concept: docs/concept/blackout_props_lineup.png.
Source scene: assets/blender/fbc_blackout_props.blend.
6. Implementation map
- Sim:
src/game/blackout.{hpp,cpp}(new),game.{hpp,cpp}ownership, spawn/combat suppression, reward grant, reset on floor jump. - Events:
core/events.hpp+ presenter consumer. - Skills:
SkillType::Fluorescent, unlock flag, buff application. - Models: three
ActorModelentries + paths;uAlphainactor.fs; alpha/blend support inModelBank::draw. - Presenter:
draw_blackout()pass anddraw_blackout_labels()placards — the default camera is retained. - UI: no blackout task card; world-anchored inspection placards, third skill stamp.
- Input:
U/ gamepad face-left (autoplay means no key is required). - Dev hooks:
--blackout-test(start inside the screen),--blackout-auto(answer phones automatically),--blackout-reveal(jump to the glass case for QA),--blackout-near-phone(QA the inspection placard). - Tests:
tests/blackout_test.cpp(CTestblackout_ritual).
7. Verification gates
cmake --build build -j6clean;ctest --test-dir build8/8 pass../build/cntrl --blackout-test --screenshot ... --screenshot-at 4shows the dark room after the 2 s grace, the agent and nearby phone tables in the normal tactical camera.--blackout-test --blackout-reveal --screenshot ...shows the yellow-roofed glass case with the switch inside.--blackout-test --blackout-autocompletes the ritual and restores the lights; the FLUORESCENT stamp appears on the HUD.- A normal
--seed 42 --botrun still reaches the key/door loop unchanged. - No missing-model fallback warnings for the three new GLBs.