User Tools

Site Tools


modding:resource_uris

Table of Contents

URI stands for “Uniform Resource Identifier”. URIs are used to define paths into the engine's internal file system, to reference any and all resources available both internally and via the public API.

Syntax

{{Identifier|scheme:}} path

Depending on the usage context, it is not always necessary to declare a scheme. Often the scheme is implicitly defined by the type of resource being referenced and can be omitted. Sometimes however a scheme is necessary in order to unambiguously reference a resource (for example, two textures with the same name in different namespaces).

Schemes

Doomsday presently defines the following resource schemes:

===== Resource classes ===== * Defs * Flats * Fonts * Graphics * Lightmaps * Maps * Models * Music * Packages * Patches * Sfx * Textures ===== Texture namespaces ===== * Details * Flaremaps * Flats * Lightmaps * Masks * ModelReflectionSkins * ModelSkins * Patches * Reflections * Sprites * System * Textures
===== Font namespaces ===== * Game * System ===== Material namespaces ===== * Flats * Sprites * System * Textures

Examples

fonts:largefont
flats:floor0_6
textures:bigdoor1
lumps:playpal
lumpdir:004

See also

modding/resource_uris.txt · Last modified: 2014-12-03 11:57 (external edit)