Supreme Commander Wiki
Register
Advertisement

General[]

Lua is the language used by Supreme Commander for most of the high-level game code. SupCom uses a slightly modified version of Lua 5.0.

SupCom's low-level engine is written in C++ and is not accessible to modders.

Official Lua 5.0 documentation

LUADOC[]

A list of engine functions can be dumped to the debug log window by typing "LUADOC" in the console.

  • LUADOC 1.0.3223 - SupCom Lua function reference for SupCom version 1.0.3223
  • LUADOC 1.1.3251 - SupCom Lua function reference for SupCom version 1.1.3251
  • SupCom v1.1.3269 has no changes to lua code.
  • LUADOC 1.5.3596 - SupCom - FA Lua function reference for SupCom - FA version 1.5.3596
  • LUADOC 1.5.3599 - SupCom - FA Lua function reference for SupCom - FA version 1.5.3599
  • LUADOC_2.0.0 - SupCom 2 - Lua function reference for SupCom 2 version 2.0.0891

Modding[]

Systems[]

Internals[]

  • Networking
  • Rendering
  • Movie Playback
  • Audio Playback
Advertisement