Resource list (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) mNo edit summary |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
A RES file for a map called {{path|example|bsp}} containing a custom skybox called `mysky` would look like this: | A RES file for a map called {{path|example|bsp}} containing a custom skybox called `mysky` would look like this: | ||
{{codeblock|lang=res|src=example.res|<nowiki>gfx/env/myskyup.tga | {{codeblock|lang=res|src=maps/example.res|<nowiki>gfx/env/myskyup.tga | ||
gfx/env/myskydn.tga | gfx/env/myskydn.tga | ||
gfx/env/myskylf.tga | gfx/env/myskylf.tga |
Revision as of 11:03, 24 December 2023
A Resource list (.res file) accompanies a map. When the map is running, it directs the server to push arbitrary files to connecting clients. This is necessary for providing custom assets other than WAD textures, such as models, skyboxes, or sounds, as only WAD textures can be packed into the BSP.
A RES file for a map called example.bsp
containing a custom skybox called `mysky` would look like this:
RESGen can be used to generate resource lists automatically.