*.ltx
About
LTX files are basically *.ini files with some custom additions. They are located all over the gamedata/configs
and are used for, well, configs.
#include "tables/gun_*.ltx"
[some_nice_gun]
recoil = 0.8
boosts = a, b, c, d ; list
fancy_feature = {=is_night()} true, false
[some_other_gun]
...
*.ltx features
#include
preprocessor command. This command basically merges the file into this config. Many of the configs are included intosystem.ltx
this way, so you can access almost all sections throughini_sys
handler.- Wildcard imports -
*
in include statement corresponds to any text, so the given include will include bothgun_ak.ltx
andgun_m4.ltx
. This feature was developed for Anomaly, so you may not find it in other mods. - Name of the section in square brackets - this is referred in scripts as
section_name
or justsection
. - Key-value pairs. Values may include comma-separated lists.
- Comments start with
;
. fancy_feature
uses something called “condlist”. Refer to condlists manual to understand this bs.
Programs editing this file
- Any text editor
- There are also extensions for VSCode for *.ltx (LTX Support Extension by AziatkaVictor)