![]() For this reason, modifying either NDefines or NDefines_Graphics works for changing graphical defines.Ī mod should never contain the 00_a and 00_a files within of itself: these files are commonly changed even in minor game updates, and having a define missing from a file results in the mod being unstable, potentially having a crash on startup.ĭefault start date, base for some durations (e.g. However, since Lua does not create copies of tables by default, the base game's NDefines contains pointers to the actual elements, which are contained within NDefines_Graphics regardless. ![]() In the base game files, the graphical defines are set to be merged into NDefines in the last line of the base game file. ![]() This goes into a separate file set to be loaded after the base game defines. Each of these lines is contained on a separate line and there are no commas separating them, such as the following: ![]() Defines, including graphical defines, are merely a Lua-contained array, and it is possible to modify a single member of the array in Lua using, for example, _DATE = "1936.1.2.12". As a consequence of this, there is no need to copy the entire file to edit it. As defines are Lua code rather than a PDXscript-interpreted file, any Lua code can go in there, however modules allowing to go out of this directory are not available.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |