Modder’s Resources

Local Variable Object Support

In the standard X3AP Game the following objects supported script local variables: In LU (Since version 1.3.2) the following objects support local variables: In LU 1.3.3 Race objects gained support for local variables, example: $Race = [Argon] $Race->set local variable: name=’test’ value=42 $Value = $Race->get local variable: name=’test’ write to player logbook $Value Output: 42

Local Variable Object Support Read More »

Signal Targeted

A long wanted feature by scripters, and a feature that has seen many different implementations in the past. LU includes [SIGNAL_TARGETED] (since version 1.3.0) [SIGNAL_TARGETED] functions the same way as standard game signals and can be registered as both a global signal, and a local signal. The signal itself has a 3 second internal re-fire delay, meaning if

Signal Targeted Read More »

Modder’s Resource: Registering Export/Imports

It is strongly recommend using X-Studio with these instructions. If your mod has globals or other data that needs to be exported or imported using LU’s system, read this thing. Basics There’s three scripts you’ll have to copy: setup.EI.TemplateZ.EmpireCopy.Template.ExportZ.EmpireCopy.Template.Import Copy the files. Template in these files should be renamed to a name that will be consistent with

Modder’s Resource: Registering Export/Imports Read More »

Scroll to Top