BatSquirrel

Batice77 - Sep 12, 2020
Not Yet Rated

Script your project by using the Squirrel language.

  • Supported Platforms
  • Supported Engine Versions
    4.25
  • 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.

The plugin is made to make you able to script your project by using the  Squirrel language.

You will have to expose what can be used from C++ or Blueprint.

It is inspired of LuaMachine.

It currently only works on Windows 64bit.

Technical Details

Features:

  •  One Squirrel Virtual Machine per inherited class
  •  Expose UFunction (depend on return and parameters type) via C++ or Blueprint
  •  Expose UProperty (depend of property type) + Get and Set function system via C++ or Blueprint
  • Compatible Types: Bool, Int, Float, String, SquirrelValue (use any type value in squirrel), Enum (use integer in squirrel), Byte (use integer in squirrel), Array SquirrelValue, Map String-SquirrelValue
  • Throw Error from exposed function
  • Run From File or String
  • Expose squirrel standard library by bitmask
  • Expose Blueprint Enumerations to the const table
  • VM Events system: OnPrint, OnPrintError, OnDebugHook, OnCompilerError, OnRuntimeError, OnStart, OnDestroy
  • Make and exposed Library Table that can be reused by others VM
  • Expose UObject or Actor as object instance + inheritance system
  • Debugger

Code Modules:

  •  BatSquirrel (Runtime)
  •  BatSquirrelEditor (Editor)

Number of Blueprints: 0

Number of C++ Classes: 17

Network Replicated: No

Supported Development Platforms: Windows 64bit

Supported Target Build Platforms: Windows 64bit

Documentation: https://docs.google.com/document/d/1JFkPC0slDFkx3BsQaG4gAMGCbjD8ByHmfimfWTjh8K0/edit?usp=sharing

Example Project: https://github.com/Batice77/BatSquirrelExample

Video demo example : https://www.youtube.com/watch?v=b1_DDxsTlo8