You don't need to recompile anything - one DLL for all models in Lua You can create your model as a standalone DLL or use DLL and Lua script together while prototyping You can write your own Lua ...