WOLOLOLABS // AOE2 DE / STEAM
AoE2 Lua scripting. Build on a managed runtime.
Build your own features for Age of Empires II: Definitive Edition with the WololoLabs managed Lua API. Read game state, issue commands, draw interface output and expose settings from one scripting environment.

Game state, commands and rendering.
Query players, objects, map information and resources. Request actions such as moving, training, researching and building. Draw text, shapes, world markers and minimap markers to present the information your script needs.
The API reference documents the available functions, arguments and return values.
A managed script lifecycle.
The environment provides callbacks for initialization, updates, rendering and shutdown. Settings let you configure a feature, while micro-feature packaging supports options, hotkeys and a manifest.
The documentation explains callback behavior and handling unavailable game data across menus, loading and match transitions.
Start with a working example.
Follow the setup guide to load a small script, then choose a complete example close to your goal. Change one part at a time and consult the reference for the functions you use.
Use the documentation for the application release you run. Its homepage records the Lua engine and game target for that release.