Skip to content

SQL Modifier General

leszekd25 edited this page Sep 1, 2019 · 1 revision

SQL Modifier general info

In addition to GameData.cff and various game assets, you can also add and edit scripts to alter the gameplay. SQL Modifier provides interface for modifying some of the important visual gameplay data - for example, coop game monster spawn types or item models displayed in game.

However, SpellForce.exe distributes its scripts in a compiled form, which means you're unable to edit the scripts in a text editor. To solve this problem, SpellForce Editor comes with Lua Decompiler 4.01, which can turn these compiled scripts into (relatively) readable and editable - but most importantly, working - Lua scripts.

See the following pages about SQL Lua scripts editable from the editor:

All of the above use scripts from game directory script folder. If the scripts are not found, they're first extracted and decompiled.

See the following page to understand how decompiler works:

Written with StackEdit.

Clone this wiki locally