Fandom

Supreme Commander Wiki

Lua

736pages on
this wiki
Add New Page
Talk0 Share

General Edit

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 Edit

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 Edit

Systems Edit

Internals Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.