How sandern/lambdawars works
Lambda Wars is a Source-engine real-time strategy game. Its documented unit workflow runs event-driven AI behaviors and actions, uses the unit navigator to manage routes and avoidance, and relies on Recast meshes for pathfinding; units then act in the game world. Python extends game entities and modes, while CEF supports much of the main menu and some in-game UI. The tree exposes only a few game files, not these core implementations, so several documented subsystems use their observed enclosing directories and their internal wiring is left unspecified.
Main entry points: server Unit navigator · game Python bindings · src CEF interface · Engine_Post_dx9.cpp Custom shaders
Components 15
Game runtime
- Game units
src/game/server - Unit AI
src/game/server - Behaviors and actions
src/game/server - Ragdoll management
src/game/server/ragdoll_manager.cpp - Client ragdoll manager
src/game/client/c_ragdoll_manager.cpp - Engine interfaces
src/common/IRunGameEngine.h
Unit navigation
- Unit navigator
src/game/server - Recast navigation
src/game/server - Navigation obstacles
src/game/server
Game extensions
- Python game code
src/game/server - Python bindings
src/game
Player experience
- CEF interface
src - Custom shaders
src/materialsystem/stdshaders/Engine_Post_dx9.cpp
Other components
- Player
- Source engine
Connections 14
- Player → CEF interface: uses menu
- CEF interface → Python game code: requests game actions
- Python game code → Python bindings: extends through
- Python bindings → Source engine: binds engine code
- Source engine → Game units: runs game
- Game units → Unit AI: uses AI
- Unit AI → Behaviors and actions: selects actions
- Unit navigator → Recast navigation: queries paths
- Unit navigator → Navigation obstacles: accounts for
- Source engine → Unit navigator: dispatches movement
- Source engine → Ragdoll management: updates ragdolls
- Source engine → Client ragdoll manager: updates client ragdolls
- Source engine → Engine interfaces: uses interfaces
- Custom shaders → Source engine: renders effects