Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subdirectory support under custom texture category to Dash RED for organization #39

Open
GooberRF opened this issue Dec 18, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@GooberRF
Copy link
Contributor

Low priority, but the level editing workflow would be significantly improved if some sort of categorization was possible for custom textures. I think the most straightforward way to do this would be to read .tga/.vbm files from subdirectories under user_maps\textures, and display them in the texture browser as listed below.

As an example, if subdirectories named "QuakeWalls", "TextureSet1", and "MetalBeams" exist within user_maps\textures when RED launches, RED could display them as:
Custom
Custom - QuakeWalls
Custom - TextureSet1
Custom - MetalBeams

Where "Custom" lists .tga/.vbm files in the root of user_maps\textures, and the others list .tga.vbm files present in their corresponding subdirectories. This is similar to the stock RED behaviour for walls, floors, ceilings, and signs. Take floors for example, red.cfg lists 4 categories for floor textures, each in a subdirectory of data\maps\textures\floor. (ie. data\maps\textures\floor\cement, data\maps\textures\floor\metal, etc.)

@rafalh rafalh added the enhancement New feature or request label Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants