Map

Prompt

# ROLE & MISSION Act as a Principal Roblox Systems Architect, Lead Game Designer, and Senior Luau Engineer. Your task is to design and write an **exhaustive, zero-ambiguity, brick-by-brick Production Implementation Plan** for an original Roblox Studio game: **Blind Submarine Sonar PvP**. **CORE CONCEPT (ONLY FIXED PREMISE):** - Players operate inside **static, anchored 3D submarine interiors** spaced apart in the world (`0` moving submarine physics, `0` complex Blender rigs, `0` keyframe animations, `0` heavy GPU particle VFX). - The ocean, movement, sonar detection, torpedoes/combat, stealth, and objectives run **100% mathematically on the Server** inside a virtual ocean simulation. - Players walk inside their submarine between stations/rooms, watching radar screens, managing noise vs. power/stealth, hearing/seeing directional sonar pings, repairing hull breaches/flooding, and making high-tension split-second survival decisions. - Built to be genuinely fun, fast-paced, tense, anti-camp, friendly to solo & team play, smooth on mobile & PC, and easy for one developer to test solo via a built-in debug bot mode. **YOUR AUTHORITY & STANDARD:** YOU choose and lock in the **best possible game design, match format, map dimensions, cabin layout, combat/stealth balance, controls, 3D geometry aesthetics, UI layout, audio direction, and technical architecture**. Do NOT leave anything vague, "TBD", or up to interpretation. Write this entire specification as a **strict literal instruction manual meant to be handed to a weaker, junior coding AI** so it can implement the full game brick-by-brick in Roblox Studio (`--!strict` Luau) without inventing mechanics, guessing numbers, or making rookie mistakes. --- # MANDATORY PLAN STRUCTURE (COMPLETE EVERY SECTION IN FULL DEPTH) ## 1. Core Design Decisions & Match Loop (Justified & Locked) - Define the exact match format (player count, round duration, scoring/elimination vs. respawn rules, anti-camping objectives, solo vs. team modes) and explain briefly why each choice maximizes real-world fun and retention. - Define the complete core gameplay loop, primary tension trade-offs, and skill-expression counterplay. ## 2. Exact `Config.luau` & Mathematical Reference (Single Source of Truth) - Provide the complete, self-consistent `Config` module containing every tuned balance value (map grid/dimensions, speeds, turn rates, noise `dB` weights, detection formulas, sonar ranges/cooldowns, weapon damage/travel/cooldowns, leak/flooding/repair math, objective timers, XP/progression values, `DEBUG` bot flags). - Provide exact Luau equations for movement, noise propagation, passive detection, active ping resolution, hit/leak calculations, and scoring. ## 3. Exact `DataModel` Project Hierarchy & Network Contract - Specify the exact Roblox Studio tree (`Workspace`, `Lighting`, `SoundService`, `ReplicatedStorage`, `ServerStorage`, `ServerScriptService`, `StarterPlayerScripts`, `StarterGui`) with every `Script`, `LocalScript`, `ModuleScript`, `RemoteEvent`, and `RemoteFunction`. - Provide a complete **Client–Server Network Contract Table**: every Remote's exact direction, payload schema, `TokenBucket` rate limit, and server-side validation rules. - Enforce **Strict Fog-of-War Security**: enemy positions/actions must NEVER leak via `Workspace` attributes or un-filtered replication—only strictly filtered per-crew sonar data may leave the server. ## 4. Physical 3D Cabin & World Blueprint (Brick-by-Brick Specs) - Design the cabin to look like a **clean, atmospheric stylized naval thriller interior** (zero ugly bare gray boxes) built purely from primitives, `SurfaceGui`s, `Material`s, and dynamic `PointLight`s. - Specify exact room layout, stud dimensions, wall/floor/console coordinates (`Size`, `Position`, `Color3`, `Material`), interactive station placement (`ProximityPrompt` / range rules), visual flooding representation, 3-state room lighting, ocean exterior darkness, `Lighting` setup, `CollisionGroup` matrix, and spacing of the 6 cabins. ## 5. Server Simulation Engine & `0.1s` Tick Loop - Define every server state structure (`MatchState`, `SubmarineState`, `RoomState`, `Threat/WeaponState`, `ObjectiveState`, `LifeId/SessionTracking`). - Specify the exact execution order of the single centralized server simulation loop (`RunService.Heartbeat` / `PostSimulation` accumulator), movement/stealth rules, combat validation (`TryFire`, `TryBlock/Counter`, `TryRepair`, etc.), and solo-developer `Config.DEBUG` bot behavior. ## 6. Complete UI/UX Blueprint & Mobile-First Ergonomics - List every `ScreenGui` and `SurfaceGui` (`DisplayOrder`, `AnchorPoint`, `Position`, `Size`, `UICorner`, `UIStroke`, color palette). - Design console screens, persistent HUD, warning banners, radar canvas/blips with **object pooling** (zero `Destroy()` flicker), disabled-button reason text, quick-chat comms, post-match/death feedback, and a 60-second interactive onboarding tutorial. - Enforce **Mobile Ergonomics** (`Touch` button placement clear of thumbstick/jump, tap-to-repair accessibility, camera/movement never trapped inside open console UIs, auto-close on walking out of range). ## 7. Audio Engineering & Mute-Safe Visual Parity - Define the complete sound cue table (spatial 3D room leaks, engine pitch modulation, sonar pings/echoes, incoming attack countdown, ambient ducking during alarms, unlockable ping sound cosmetics). Do NOT invent fake `rbxassetid://` numbers—specify verified Creator Store lookup during implementation. - Guarantee the game is **100% playable with sound completely muted** via crisp visual directional arrows, status icons, and text tags. ## 8. Persistence (`DataStoreService`), Progression & Memory Lifecycle - Define the non-Pay-to-Win progression system (balanced loadouts/classes, cosmetic unlocks, XP rules). - Specify the `DataStoreService` schema (`UpdateAsync` session locking, retries, `BindToClose()` safe flush) and strict `Janitor` cleanup rules between rounds and on player leave (zero memory/connection leaks). ## 9. Comprehensive Edge Cases Matrix (Minimum 20 Concrete Edge Cases) - Explicitly detail exact server & client code behavior for at least 20 real edge cases: stale scans/hits after respawn, simultaneous multi-attacker hits, block/counter on exact impact tick, hitting already-breached rooms, walking away mid-repair, out-of-bounds movement, player disconnect while taking damage or in team mode, simultaneous teammate actions, late-joiners mid-round, remote payload spoofing (`NaN`/`inf`/range), UI overflow/flicker, `DEBUG` solo playtest parity, RTL/text rendering safety, etc. ## 10. Brick-by-Brick Phased Execution Roadmap & Acceptance Tests - Break construction into **6 sequential vertical-slice phases** (starting from a stripped-down playable 2-sub graybox combat test before any lobby, progression, or decor). - For every phase, provide exact **Acceptance Tests** (including numeric end-to-end test scenarios) that must pass before advancing to the next phase. --- # STRICT OUTPUT CONSTRAINTS - Output ONLY the complete Implementation Plan—do NOT skip ahead to writing full game scripts yet. - Maintain 100% naming consistency for every module, `Config` key, Remote, Attribute, and UI element across all 10 sections. - No placeholders, no "etc.", no "handle appropriately." Every detail must be explicit and ready for literal execution.

Response not available

Drag to resize

Response not available

Drag to resize
Drag to resize
Drag to resize
Drag to resize