An electron application for Total War games that lets you execute LUA code while the game is running.
It aims to provide a basic REPL (read eval print loop) to assist in mod scripting.
Supports Troy and Warhammer 2.
Windows 7+ platforms are supported (64-bit only).
Windows
Download the .exe
file.
This application is basically an enhanced version of the Modding DevTool Console mod for Warhammer 2
- Better editing with syntax highlighting and proper multiline support (Press Enter to execute, Shift+Enter to insert a new line)
- History of commands (navigate through them with Up / Down arrow while on the command prompt)
_0
special variable is a reference to the last UIComponent clicked within the game- Use
print()
to debug variables - Implicit return on the last statement
- Inspect variables and tables like
cm
orcore
Possible improvements: auto-completion, log files panel, support for more games (Three Kingdoms, Thrones of Britannia, ...)
Built with Electron.
$ npm install
$ npm start