SYSTEM DIRECTIVE: MASTER BLUEPRINT FOR OFFLINE ARENA LOOP
1. System Context & Hardware Constraints
Target Platform: Low-Tier Mobile Hardware
Graphics API: Unity Universal Render Pipeline (URP)
Core Objective: Build a 10-Player Offline Standalone Match Loop (1 Local Human Operator + 9 Automated CPU Bot Agents) with an unmanaged, high-performance data footprint. Main-thread execution time for gameplay logic must stay below 0.4ms.
CRITICAL ARCHITECTURE POLICIES:
- Zero Network Dependency: Use localized loop simulation transports. Drop all remote API handshakes.
- Memory Isolation: Enforce zero runtime heap allocations during match ticks. Maximize unmanaged structs.
- Prohibited Elements: Absolute exclusion of biometric/local profile validation checks on the HUD or weapon systems to support immediate pick-up mechanics.
2. Integrated Mobile Optimization Architecture
Track 1: Job-System Bot Batching (CPU Optimization)
- Core Logic: Implement a parallelized utility-AI framework for the 9 bot agents using Unity C# Job System (
IJobParallelFor) and the Burst Compiler.
- Operation: Move environment vision scanning, raycasts, line-of-sight tracking, and utility weight calculations off the main thread onto background worker threads.
- Execution Rate: Perception updates calculate on an unmanaged schedule every 200ms; navigation targets pass directly to localized NavMesh vectors on a constant tick.
Track 2: Local Binary Serialization (Storage & RAM Optimization)
- Core Logic: Replace text-based storage parsing loops with an unmanaged binary stream formatter.
- Operation: Serialize match records, player profile states, and weapon equipment loadouts directly as structured primitive bitstreams.
- Target Location: Route direct local I/O operations through
Application.persistentDataPath using a compact local SQLite binary container. Bypasses standard heap string allocations to eliminate garbage collection micro-stutters.
Track 3: Memory-Mapped Asset Pre-Caching (I/O Optimization)
- Core Logic: Deploy an Addressables asset pre-warming routine during the initial scene entry phase.
- Operation: Pre-load and warm all 10 character meshes, weapon models, audio clip buffers, and visual shader layers directly into non-fragmented blocks of memory prior to match execution. Bypasses runtime asset-streaming entirely to prevent mid-game frame dropping.
3. Secure Metadata Multimedia Pipeline (SMMP)
VRAM Ephemeral Ring-Buffer
- Operation: Allocate an isolated circular memory block entirely within volatile VRAM via a custom URP Scriptable Render Pass.
- Boundaries: Max memory ceiling fixed strictly at 500MB. Zero persistent cold-storage physical disk writes.
- Active Defense Kill-Switch: If system integrity or synchronization faults occur, trigger a destructive unmanaged purge of the volatile VRAM block within less than 2 milliseconds.
Aether Telemetry Mutation Layer
- Operation: Intercept runtime match state records and active stream headers dynamically.
- Mutation Timing: Execute a dynamic cryptographic signature and identifier rotation exactly every 5 processing cycles (
iteration_count % 5 == 0) to invalidate external memory inspection tools or automated scraping vectors.
Metadata Isolation Box
- Operation: Capture match telemetry events into a custom unmanaged atom sub-box structure labeled
sov_meta_sig.
- Security: Secure structural state records using authenticated AES-256-GCM data signatures.
Glassmorphic Control HUD Panel
- UI Visuals: High-contrast premium glassmorphism layout accented exclusively with neon-cyan and orange telemetry trackers.
- Pipeline Optimization: Render UI elements via single-pass mobile blitting as an on-tile post-processing pass. Camera stacking is strictly prohibited to preserve GPU fillrate budgets.
4. Projection-Mapping Network (PMN) Highlights Engine
Match Lifecycle Configuration
- Total Match Duration: Fixed 180-second countdown lifecycle loop.
Automated Highlights Engine
- Logic: Embed a processing module that scans the VRAM Ephemeral Ring-Buffer continuously during runtime.
- Culling: Strip out "dead air" and inactive positioning maps. Extract, trim, and stitch a highly compressed 15-second visual recap loop at match completion.
- Playback Ceiling: Restrict replay playback to a hard maximum limit of 5 cycles to prevent redundant memory looping and excessive processing draw.
Environmental Projection Fallback Hierarchy
When projecting visual highlights onto in-game physical environments, dynamically query local structural tags and adapt rendering density down this strict fallback order:
- Primary Nodes: High-tier structural facades (Skyscrapers).
- Secondary Nodes: Mid-tier surface barriers (Villa Walls).
- Tertiary Nodes: Low-tier structural anchors (Respawn and Recall Towers).
5. Combat Subsystem: TRIDENT-X Ultra-Compact Carbine Specifications
Chassis Form Factor
- Mass Threshold: Max target weight of 2.35 kg.
- Access Logic: Zero biometric authentication layers. Open weapon logic allows rapid battlefield weapon-swap mechanics for new users.
Support Delivery System (Med-Pistol Utility)
Implement a dedicated support fire mode governed by the following mechanical boundaries:
- Round Capacity: Base capacity of 2 tracking projectiles before initiating a cooling state.
- Cooldown Loop: Fixed 8-second thermal recovery window per shot consumption.
- Close-Range Impact: Direct hit delivers a 40 HP base payload to target vectors.
- Range Attenuation & Cutoff: Apply an aggressive 90% performance efficiency reduction at mid-to-long ranges. Scale payload strength down linearly starting from 15m out to 30m. Enforce a hard terminal cutoff threshold at exactly 45m (all projectiles dissolve beyond this distance).
- Redirection Logic: If a raycast fire action fails to intersect a valid teammate or hostile collider vector, automatically redirect the payload vector back to the user to execute an instantaneous localized self-heal utility event.
SYSTEM DIRECTIVE: MASTER BLUEPRINT FOR OFFLINE ARENA LOOP
1. System Context & Hardware Constraints
Target Platform: Low-Tier Mobile Hardware
Graphics API: Unity Universal Render Pipeline (URP)
Core Objective: Build a 10-Player Offline Standalone Match Loop (1 Local Human Operator + 9 Automated CPU Bot Agents) with an unmanaged, high-performance data footprint. Main-thread execution time for gameplay logic must stay below 0.4ms.
CRITICAL ARCHITECTURE POLICIES:
2. Integrated Mobile Optimization Architecture
Track 1: Job-System Bot Batching (CPU Optimization)
IJobParallelFor) and the Burst Compiler.Track 2: Local Binary Serialization (Storage & RAM Optimization)
Application.persistentDataPathusing a compact local SQLite binary container. Bypasses standard heap string allocations to eliminate garbage collection micro-stutters.Track 3: Memory-Mapped Asset Pre-Caching (I/O Optimization)
3. Secure Metadata Multimedia Pipeline (SMMP)
VRAM Ephemeral Ring-Buffer
Aether Telemetry Mutation Layer
iteration_count % 5 == 0) to invalidate external memory inspection tools or automated scraping vectors.Metadata Isolation Box
sov_meta_sig.Glassmorphic Control HUD Panel
4. Projection-Mapping Network (PMN) Highlights Engine
Match Lifecycle Configuration
Automated Highlights Engine
Environmental Projection Fallback Hierarchy
When projecting visual highlights onto in-game physical environments, dynamically query local structural tags and adapt rendering density down this strict fallback order:
5. Combat Subsystem: TRIDENT-X Ultra-Compact Carbine Specifications
Chassis Form Factor
Support Delivery System (Med-Pistol Utility)
Implement a dedicated support fire mode governed by the following mechanical boundaries: