For compatibility with the 03/03/2023 patch, use version >= 1.0.3.
Performs compilation of Lua scripts using the Black Ops III Havok Script compiler.
I use this for testing and comparing compiler output with my in-house compiler that I am working on which will match the features and capabilities of the Call of Duty Lua compiler.
Download the source to a folder within mods
in the root Black Ops III folder.
The folder name may only contain lowercase letters, underscores, and digits.
Then run build.bat
. It will build the mod and the DLL. The script requires a
64-bit Visual C++ compiler to be installed on the machine.
Add your Lua scripts to the folder tests
. The mod will find any files ending
with .lua
within that directory tree and compile them.
Once the mod is loaded in-game, press RUN LUA COMPILER TESTS
to compile all
test files.
Compiler errors are printed to error.log
.