*.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.
info
#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
#includepreprocessor command. This command basically merges the file into this config. Many of the configs are included intosystem.ltxthis way, so you can access almost all sections throughini_syshandler.- Wildcard imports -
*in include statement corresponds to any text, so the given include will include bothgun_ak.ltxandgun_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_nameor justsection. - Key-value pairs. Values may include comma-separated lists.
- Comments start with
;. fancy_featureuses something called "condlist". Refer to condlists manual to understand this bs.