Architecture
The framework follows a modular architecture with several key components:Entry Point: MAIN.cfg
TheMAIN.cfg file serves as the user-facing configuration hub where players customize their experience:
Core Logic: logic.cfg
Thelogic.cfg file contains the main framework logic, implementing:
- Alias system for dynamic keybind switching
- Radio wheel mechanics for interactive UI
- Zeroing system for precise angle alignment
- Sensitivity management for auto line-ups
- State management for different game modes
The framework is designed to work on official Valve servers, FaceIt, and other competitive platforms. All features use only commands available under
sv_cheats 0.Component Loader
The loader system (addons/loader.cfg) initializes framework components in a specific order:
Module System
The framework organizes features into modules:maps/- Map-specific line-ups and configurationsmovement/- Movement configurations (null binds, desubtick)crosshair/- Pro crosshairs and follow-recoilpractice_mode/- Practice mode with guides and teleportsaddons/- Advanced features and ticker system
Alias System
The framework leverages CS2’salias command to create dynamic, context-aware keybinds. This allows a single key to perform different actions based on the current state.
Dynamic Hotkey Switching
Example fromlogic.cfg:6-11:
- Phase 1: First key press opens the radio wheel with labels
- Phase 2: Second key press executes the selected command
This two-phase approach allows the same key to both open the selection menu and confirm the choice, creating an intuitive user experience.
State Management
The framework maintains state through alias chains:Sensitivity System
For auto line-ups to work accurately, the framework uses a standardized sensitivity:- Saves the player’s original sensitivity (defined in
MAIN.cfg) - Switches to standard sensitivity for angle calculations
- Automatically restores player sensitivity after line-up execution
Initialization and Loading
The framework is loaded via launch options:- Configuration loads before entering any server
- Ticker system initializes properly (required for advanced features)
- All aliases are registered before use
The framework echoes a confirmation message on successful load: