back

LUI Editor

LUI stands for "Lua UI", and is the scripting framework used by the Call of Duty engine for all 2D menus, HUDs, 3D waypoints, etc since Black Ops 2. In Black Ops 3, Treyarch released ModTools to allow the modding community they currated back in 2008 to continue modding on new versions of the game engine, unlocking more possibilities. However, this newer release of modtools did not include the ability to modify the game's lua files to run custom UI code. Other modders in the community have since added support, however it is very rudimentary, and frustrating to work with. This rudimentary support leaves several problems including very poor iteration time, no error support from the lua interpreter, and a complicated animation/state system. My LUI editor aims to solve these issues by providing custom content creators the ability to drag & drop UI images in a photoshop-like manner, provide keyframing animation tools, and automatic code generation to streamline the process.

This is a showcase of features I implemented in my tool that I am proud of. Almost all of the code is from-scratch, the only libraries I heavily rely on are Freetype and Harfbuzz.