VECTRA: The Matrix TUBAF Simulation
An immersive first-person 3D cinematic Matrix game built in Unity C#, featuring CUDA-accelerated Suno Bark AI voice generation, real-time Ollama LLM Operator integration, and cryptographic mainframe puzzles.
📖 Story Overview & Synopsis
Phase 1: The Construct
Intro StageYou awaken inside the Construct facing Morpheus. A 49-second cinematic hostage intro locks your body while setting the mood. Morpheus presents the fundamental choice:
Quit the game immediately and return to your peaceful ignorance.
Enter the simulation, examine the rules on the vintage TV, and call the Operator on the phone to transition into the mainframe.
Phase 2: TUBAF Informatik Mainframe
Mainframe ArenaYou land directly inside the corrupted TUBAF Informatik Faculty Mainframe:
- The Oracle: Speaks to you about trust, choices, and the impending purge. As she finishes, she fades out, and the ambient soundtrack
doomed.mp3begins playing softly in the background. - Agent Smith: Spawns into the arena. Listen to his taunts, then strike him 5 times using the E key (or left-click) to sever his proxy connection and defeat him.
- Trinity: Spawns and fades in after Agent Smith's defeat. She provides the encrypted security payload:
V ungr Zngurzngvpf. - The Operator (Phone AI): Press Q near the phone to chat with Tank, the Operator AI (powered by Ollama Local LLM), to decrypt the ROT13 cipher or get tactical advice.
- The Laptop Terminal: Press E near the laptop to open the Cyberpunk ROT13 Mainframe Terminal. Decipher the key (
V ungr Zngurzngvpf→I hate Mathematics), submit it, and purge the mainframe! - Victory Screen: Plays
ending.mp3and presents the final credits overlay with developer links and music soundtrack copyright information.
If you heard Trinity with a man's voice earlier, it was because she was hacked and edited badly by Agent Smith. This was totally done on purpose!
🛠️ System Architecture & Tech Stack
| System / Component | Technology | Description |
|---|---|---|
| 3D Models & Assets | Meshy.ai | Generative 3D AI Mesh models for Morpheus, TV, Phone, Oracle, Smith, Trinity, and Laptop. |
| Game Engine | Unity 3D (C#) | First-Person Vector Controller, Raycasting, Physics, and Dynamic Scene Management. |
| Voice AI Generation | Suno Bark TTS | CUDA-accelerated float16 text-to-speech generation for Morpheus, Oracle, Smith, and Trinity. |
| Operator AI Link | Ollama LLM API | Local LLM integration (llama3 / mistral) powering real-time chat with Operator via REST API. |
| Cryptography | ROT13 Cipher | Cryptographic terminal validation system (V ungr Zngurzngvpf ↔ I hate Mathematics). |
| UI Architecture | Runtime Vector GUI | Vector CRT Matrix overlay system generated entirely at runtime without prefabs. |
🎮 Controls & Interaction Shortcuts
| Action | Shortcut Key | Description |
|---|---|---|
| Move Body | W A S D | Walk around the simulation environment. |
| Camera Look | Mouse Move | Rotate camera view freely (remains active during dialogue). |
| Interact / Talk / Hit | E | Talk to Morpheus/Oracle/Trinity, hit Agent Smith (5 times), open Laptop Terminal. |
| Call Operator AI | Q | Open/Close the Operator Ollama AI Chat Terminal near the Phone. |
| Close UI / Terminal | ESC | Close any active terminal window and return to game. |
🎙️ Voice Generation Scripts (Bark TTS)
The voice lines for game characters are generated using Python scripts utilizing CUDA TensorFloat32 acceleration with Suno Bark TTS:
# 1. Morpheus Voices Generation
python main.py
# 2. Agent Smith Voices Generation
python generate_smith_voices.py
# 3. Trinity Voices Generation
.\venv\Scripts\python.exe generate_trinity_voices.py
🎵 Music Soundtrack & Copyright Credits
👨💻 Developer & Creator Credits
Designed, written, and engineered by Parsa Besharat.