This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lump_assembly [2009-08-13 15:10] โ Robot: Changing Category:Map Author's Guide dewbot | fs:lump_assembly [2018-10-19 11:40] (current) โ skyjake | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Lump assembly ====== | ||
+ | |||
+ | |||
+ | As the name implies, a //lump assembly// is an assortment of [[lump]]s arranged into an assembly (inside a folder). It is also possible to include a hierarchy of folders inside a Lump Assembly (therefore puting [[lump]]s into " | ||
+ | |||
+ | The [[modding: | ||
+ | directories that contain individual [[data_lump]]s. | ||
+ | directory is called a "lump assembly" | ||
+ | [[wad]] file. Note that a lump assembly can only be loaded via the | ||
+ | [[autoload]] mechanism (but it can be inside a [[pk3]] that is loaded | ||
+ | manually). | ||
+ | |||
+ | So what does that mean? In a nutshell: any folder' | ||
+ | |||
+ | The assembly can be built using a hierarchy of directories. | ||
+ | example the contents of a [[pk3]] might be: | ||
+ | | ||
+ | #assembly/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | a-E2M3.lmp | ||
+ | b-THINGS.lmp | ||
+ | | ||
+ | |||
+ | |||
+ | **# | ||
+ | |||
+ | |||
+ | ===== Lump loading order ===== | ||
+ | |||
+ | |||
+ | By default, the contents of a lump assembly are loaded in alphabetical | ||
+ | order. | ||
+ | specific order (for instance map data). | ||
+ | want to enforce a specific order: | ||
+ | |||
+ | |||
+ | * You can put a [[wad]] inside the assembly. | ||
+ | * You can use //name prefixes// that are used to sort the lumps but are ignored when the [[lump_name]]s are determined. | ||
+ | < | ||
+ | Data\Game\Auto\DirWithPrefix.3\01_LUMPNAME.lmp | ||
+ | </ | ||
+ | The first three characters of the file name are ignored (" | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Assembly loading order ===== | ||
+ | |||
+ | |||
+ | The order in which assemblies are loaded is governed by the [[autoload]] mechanism. In short, all folders and files inside the Auto folder are loaded in alphabetical order. Note that this means that it makes no difference in which order the files containing the assemblies were loaded. | ||
+ | |||
+ | |||
+ | ===== See also ===== | ||
+ | |||
+ | * [[modding: | ||
+ | |||
+ | |||
+ | |||
+ | |||