How all-of-us-mods/crewmeleon-redrawn works
Crewmeleon-Redrawn is an Among Us game-mode mod centered on Chameleon hide-and-seek, with hiders who camouflage by painting and seekers who hunt them. The main flow is round setup and role assignment, timed hiding/seeking, player actions, then death or infection updates. Painting has its own brush, canvas, color-picking, zoom, and stroke-sync responsibilities; seeker combat and spectating are separate gameplay branches. The excerpts show several direct links, while other subsystem connections are supported only by the source index, so uncertain relationships are omitted or marked dashed.
Main entry points: ChameleonGameMode.cs Game mode · ChameleonGameModeManager.cs Round manager · PlayerCanvasComponent.cs Player canvas · BrushPanel.cs Brush controls
Components 26
Round and roles
- Game mode
Crewmeleon-Redrawn/GameMode/ChameleonGameMode.cs - Round manager
Crewmeleon-Redrawn/GameMode/ChameleonGameModeManager.cs - Mode options
Crewmeleon-Redrawn/GameMode/ChameleonOptions.cs - Gameplay settings
Crewmeleon-Redrawn/Options/GameplayOptions.cs - Round intro
Crewmeleon-Redrawn/GameMode/ChameleonIntro.cs - Round timers
Crewmeleon-Redrawn/GameMode/ChameleonTimer.cs - Taunt timer
Crewmeleon-Redrawn/GameMode/TauntTimer.cs - Player tracker
Crewmeleon-Redrawn/GameMode/PlayerTracker.cs - Hider role
Crewmeleon-Redrawn/Roles/HiderRole.cs - Seeker role
Crewmeleon-Redrawn/Roles/SeekerRole.cs
Painting and UI
- Player canvas
Crewmeleon-Redrawn/Components/PlayerCanvasComponent.cs - Brush settings
Crewmeleon-Redrawn/Components/BrushSettings.cs - Paint strokes
Crewmeleon-Redrawn/Components/PaintStroke.cs - Painting state
Crewmeleon-Redrawn/Modifiers/PaintingModifier.cs - Color picker
Crewmeleon-Redrawn/Buttons/Hider/PickColorButton.cs - Brush controls
Crewmeleon-Redrawn/UI/BrushPanel.cs - Zoom camera
Crewmeleon-Redrawn/Components/ZoomCameraController.cs
Hunt and spectate
- Shotgun action
Crewmeleon-Redrawn/Networking/ShotgunRpc.cs - Paint splatter
Crewmeleon-Redrawn/Components/SplatterComponent.cs - Spectating
Crewmeleon-Redrawn/Modifiers/SpectatingModifier.cs
Mod runtime and sync
- Plugin setup
Crewmeleon-Redrawn/CrewmeleonPlugin.cs - Game assets
Crewmeleon-Redrawn/CrewmeleonAssets.cs - RPC messages
Crewmeleon-Redrawn/Networking/CrewmeleonRpc.cs - Stroke sync
Crewmeleon-Redrawn/Networking/RpcSendStroke.cs - Undo sync
Crewmeleon-Redrawn/Networking/RpcUndoStroke.cs
Other components
- Players
Connections 25
- Players → Game mode: plays
- Game mode → Round manager: starts
Crewmeleon-Redrawn/GameMode/ChameleonGameMode.cs - Game mode → Round intro: shows
Crewmeleon-Redrawn/GameMode/ChameleonGameMode.cs - Game mode → Hider role: assigns
Crewmeleon-Redrawn/GameMode/ChameleonGameMode.cs - Game mode → Seeker role: assigns
Crewmeleon-Redrawn/GameMode/ChameleonGameMode.cs - Round manager → Round timers: updates
Crewmeleon-Redrawn/GameMode/ChameleonGameModeManager.cs - Round manager → Taunt timer: updates
Crewmeleon-Redrawn/GameMode/ChameleonGameModeManager.cs - Round manager → Player tracker: updates
Crewmeleon-Redrawn/GameMode/ChameleonGameModeManager.cs - Round manager → Mode options: reads
Crewmeleon-Redrawn/GameMode/ChameleonGameModeManager.cs - Mode options → Gameplay settings: exposes
Crewmeleon-Redrawn/GameMode/ChameleonOptions.cs - Hider role → Player canvas: enables
Crewmeleon-Redrawn/Roles/HiderRole.cs - Players → Color picker: selects color
Crewmeleon-Redrawn/Buttons/Hider/PickColorButton.cs - Color picker → Brush settings: sets color
Crewmeleon-Redrawn/Buttons/Hider/PickColorButton.cs - Brush controls → Brush settings: edits
Crewmeleon-Redrawn/UI/BrushPanel.cs - Brush controls → Color picker: uses
Crewmeleon-Redrawn/UI/BrushPanel.cs - Player canvas → Brush settings: reads
Crewmeleon-Redrawn/Components/PlayerCanvasComponent.cs - Player canvas → Paint strokes: records
Crewmeleon-Redrawn/Components/PlayerCanvasComponent.cs - Player canvas → Stroke sync: sends
Crewmeleon-Redrawn/Components/PlayerCanvasComponent.cs - Player canvas → Undo sync: sends
Crewmeleon-Redrawn/Components/PlayerCanvasComponent.cs - Painting state → Zoom camera: toggles display
Crewmeleon-Redrawn/Modifiers/PaintingModifier.cs - Painting state → Players: resyncs transform
Crewmeleon-Redrawn/Modifiers/PaintingModifier.cs - Shotgun action → Paint splatter: creates
Crewmeleon-Redrawn/Networking/ShotgunRpc.cs - Shotgun action → RPC messages: uses
Crewmeleon-Redrawn/Networking/ShotgunRpc.cs - Players → Spectating: spectates
- Plugin setup → Brush controls: initializes
Crewmeleon-Redrawn/CrewmeleonPlugin.cs