How wubly/velocity works
Velocity is a Counter-Strike 2 game modification with combat assistance, visual overlays, movement and world changes, and a configurable in-game menu. Its visible runtime workflow is the render context: on presentation it checks game state, invokes rendering features, and draws the menu. The tree also shows hooks, game-state systems, and item customization as major subsystems. Several domain modules are unsampled, so their internal calls and their wiring to hooks are not asserted; the documented render dispatches and excerpted UI/rendering relationships are shown where supported.
Main entry points: context.cpp Present context · menu.ragebot.cpp Feature menu · cheat.cpp Game hooks · xui.cpp UI toolkit
Components 19
Combat assistance
- Ragebot
cs2/velocity-cs2/project/core/features/combat/impl/rage.cpp - Legitbot
cs2/velocity-cs2/project/core/features/combat/impl/legit.cpp - Combat utilities
cs2/velocity-cs2/project/core/features/combat/impl/shared.cpp
Visual features
- Player ESP
cs2/velocity-cs2/project/core/features/esp/player/player.overlay.cpp - Item ESP
cs2/velocity-cs2/project/core/features/esp/item/item.overlay.cpp - Projectile ESP
cs2/velocity-cs2/project/core/features/esp/projectile/projectile.overlay.cpp
Gameplay changes
- Movement features
cs2/velocity-cs2/project/core/features/movement/impl/airstrafe.cpp - World changes
cs2/velocity-cs2/project/core/features/world/impl/scene.cpp - Misc features
cs2/velocity-cs2/project/core/features/misc/impl/impacts.cpp - Item customization
cs2/velocity-cs2/project/core/features/changer/impl/econ_item_system.cpp
Runtime and game state
- Game hooks
cs2/velocity-cs2/project/core/hooks/impl/cheat.cpp - Game systems
cs2/velocity-cs2/project/core/systems/impl
Rendering and interface
- Present context
cs2/velocity-cs2/project/core/rendering/impl/context.cpp - Feature menu
cs2/velocity-cs2/project/core/rendering/impl/menu/menu.ragebot.cpp - Feature settings
cs2/velocity-cs2/project/core/settings.hpp - UI toolkit
cs2/velocity-cs2/project/external/xdraw/xui/xui.cpp - Drawing engine
cs2/velocity-cs2/project/external/xdraw/xdraw.cpp - Render shaders
cs2/velocity-cs2/project/external/xdraw/dependencies/shaders.hpp
Other components
- CS2 game
Connections 15
- CS2 game → Game hooks: hosts hooks
- Game hooks → Present context: dispatches present
- Present context → Game systems: checks game state
cs2/velocity-cs2/project/core/rendering/impl/context.cpp - Present context → Misc features: calls render features
cs2/velocity-cs2/project/core/rendering/impl/context.cpp - Present context → Ragebot: calls render
cs2/velocity-cs2/project/core/rendering/impl/context.cpp - Present context → Legitbot: calls render
cs2/velocity-cs2/project/core/rendering/impl/context.cpp - Present context → Item ESP: calls render
cs2/velocity-cs2/project/core/rendering/impl/context.cpp - Present context → Projectile ESP: calls render
cs2/velocity-cs2/project/core/rendering/impl/context.cpp - Present context → Player ESP: calls render
cs2/velocity-cs2/project/core/rendering/impl/context.cpp - Present context → Movement features: calls render
cs2/velocity-cs2/project/core/rendering/impl/context.cpp - Present context → Feature menu: draws menu
cs2/velocity-cs2/project/core/rendering/impl/context.cpp - Feature menu → Feature settings: reads settings
cs2/velocity-cs2/project/core/rendering/impl/menu/menu.ragebot.cpp - Feature menu → UI toolkit: builds controls
cs2/velocity-cs2/project/core/rendering/impl/menu/menu.ragebot.cpp - UI toolkit → Drawing engine: draws widgets
cs2/velocity-cs2/project/external/xdraw/xui/xui.cpp - Drawing engine → Render shaders: loads shader data
cs2/velocity-cs2/project/external/xdraw/xdraw.cpp