LuaMachine

Roberto De Ioris - Jan 31, 2019

Add a Lua engine to your projects for scripting and modding

  • Supported Platforms
  • Supported Engine Versions
    4.21 - 4.27
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Unreal Engine 4 Plugin for adding Lua scripting to your projects.


If you want modders to customize your game/project, or you need to allow game designers to script parts of the logic, this plugin is for you.


Contrary to the other Unreal Engine 4 Lua plugins, this one does not try to expose the Unreal Engine 4 api, but completely hides it exposing to the user/scripter only the features the developer decided to include (via Blueprints or C++).


Currently Windows 64bit, Mac, Linux x86_64 (both Runtime and Editor), Linux AArch64, Android 32bit, Android 64bit, iOS (Runtime only) are supported.

Technical Details

Features:

  •  Embedding of multiple Lua virtual machines in the same project
  •  Functions can be exposed to Lua via C++ or Blueprints
  •  Coroutines
  • Access to the Lua Garbage Collector
  • Scripts can be cooked in the build or loaded at runtime from the filesystem
  • Lua Graphical Debugger
  • HTTP, Json and Base64 api exposed to the Lua virtual machine
  • Runtime loading of external .pak files
  • Reflection API
  • Functional tests included
  • UTF8/UTF16/UTF32 support

Code Modules:

  •  LuaMachine, Runtime
  •  LuaMachineEditor, Editor


Number of Blueprints: more than 60 for functional tests

Number of C++ Classes: 8 exposed

Network Replicated: No

Supported Development Platforms:

Windows 64bit

Mac 64bit

Linux 64bit


Supported Target Build Platforms:

Windows 64bit

Mac 64bit

Linux 64bit

Linux AArch64

Android 32bit

Android 64bit

iOS


Documentation:

https://github.com/rdeioris/LuaMachine

https://github.com/rdeioris/LuaMachine/tree/master/Docs


Example Projects/Tutorials:

https://github.com/rdeioris/LuaMachine/blob/master/Tutorials/SimpleDialogueSystem.md

https://github.com/rdeioris/LuaMachine/blob/master/Tutorials/RickAndMortyAPI.md


Discord Channel:

https://discord.gg/eTXDfEU


Important/Additional Notes:

The plugin is open source, i am placing it on the store too as a way for sponsoring development and simplify adoption