User Tools

Site Tools


modding:resource_uris
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


modding:resource_uris [2014-12-03 09:57] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +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 ======
 +
 +
 +{{Optional|{{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
 +
 +
 +<code>
 +lumps:playpal
 +lumpdir:004
 +</code>
 +
 +
 +====== See also ======
 +
 +  *  [[internal_file_system]]
 +
 +
  
modding/resource_uris.txt · Last modified: 2014-12-03 09:57 by 127.0.0.1