Skip to content

Commit

Permalink
Merge pull request TrenchBroom#3098 from Danimaltl/master
Browse files Browse the repository at this point in the history
2901: Updated manual with generic texture folder info
  • Loading branch information
kduske authored Apr 19, 2020
2 parents fe68e3e + c1db1e9 commit 9609b02
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/resources/documentation/manual/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,17 @@ It depends on the game how the texture collection paths are saved in the map fil

![Texture collection editor](images/TextureCollectionDirectoryEditor.png) If the game you are currently editing comes with builtin textures, then these textures are usually stored in the game's assets at a particular path. For example in the case of Quake 2, the textures are stored in the PAK files in subdirectories under the path `textures`. TrenchBroom will find these texture collections and allow you to load them selectively in the texture collection editor. On the left side, TrenchBroom presents you with a list of all the texture collections it has found for the game, and on the right side, it shows a list of all texture collections that have been loaded. You can load a texture collection by selecting it on the left and clicking the "+" button below the list on the right. To remove a texture collection, select it on the right and click the "-" button.

If you want to provide your own custom textures, you need to put them in a subdirectory where TrenchBroom can find them. For Quake 2, this means that you need to create a subdirectory called `textures` in the directory of the mod you're mapping for, or in the baseq2 directory. Then you need to create another subdirectory with a name of your choice. Then you copy your texture files into that directory. TrenchBroom will then find that directory (possibly after restarting the editor) and allow you to load the textures from there.
If you want to provide your own custom textures, you need to put them in a subdirectory where TrenchBroom can find them. For Quake 2, this means that you need to create a subdirectory called `textures` in the directory of the mod you're mapping for, or in the `baseq2` directory. Then you need to create another subdirectory with a name of your choice. Then you copy your texture files into that directory. TrenchBroom will then find that directory (possibly after restarting the editor) and allow you to load the textures from there. Currently, for a generic game you must create a `textures` folder in the game path directory you set in [game configuration](#game_configuration), or in a directory you loaded as a mod.

You need to place your textures in a subdirectory exactly one level deep in the `textures` folder. Any loose images in `textures` will not be detected, nor will any nested in subdirectories of your collection.

The following table lists the texture directories for all supported games.

Game Texture Directory Default
---- ----------------- -------
Quake 2 `<MOD>/textures` `baseq2/textures`
Daikatana `<MOD>/textures` `data/textures`
Generic `<MOD>/textures` `<GamePath>/textures`

## Interacting With the Editor

Expand Down

0 comments on commit 9609b02

Please sign in to comment.