removing textures from level

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

SchutzeSepp

FNG / Fresh Meat
Sep 23, 2006
1,540
8
0
36
i have some trouble with my maps, as they keep some textures from the myLevel file, even when they are not in use.
i had made a texture package with all the textures in use on several maps myLevel files, to save people from downloading the same textures from each map, and to reduce the map filesize.
but the problem is that after replacing all the myLevel textures with the ones from the official package, that they still show in the myLevel, and it doesn't allow me to "remove texture from level" it says "texture in use"
im almost certain that it is because some of the old textures are still in use on the faces of bsp brushes that are hidden between other brushes, and so you can't see or select them in any way, and so not delete them either.
not by selecting "matching textures" or "textures matching brush", it doesn't select the hidden faces

anyone has an idea on how to remove myLevel textures that are in use?
 
Last edited:

Slyk

FNG / Fresh Meat
Feb 17, 2006
1,277
10
0
www.after-hourz.com
I had similar issues one time and all that I can think of is to suggest: compile, save, close editor, restart editor, re-open map and then try to remove them again. At some point I was able to remove unwanted textures but can't remember the exact process. Good luck and maybe post back the solution if you find it. Next suggestion is to wade through "Beyond Unreal" and see if you can dredge up something helpful.
 

[TW]DrGuppy

Tripwire Interactive Staff
Nov 22, 2005
1,039
36
0
36
Atlanta, Georgia
Try this first;

Find any old surface and put the texture on it, then with the surface selected press Shift + T and change the texture to something different. Doing this should swap any known instances of it.
 

Murphy

FNG / Fresh Meat
Nov 22, 2005
7,069
743
0
34
liandri.darkbb.com
Try this first;

Find any old surface and put the texture on it, then with the surface selected press Shift + T and change the texture to something different. Doing this should swap any known instances of it.
I could be wrong, but that doesn't affect the "hidden" ones between brushes. There are no visible faces there that could be selected but the brush still has textures assigned to it.

The Texture Cull command should help you. It removes textures that are in the map-file but aren't really in use, such as textures that are only assigned to invisible brush surfaces. Here is some more info on it:
http://www.wiki.beyondunreal.com/Legacy:Texture_Cull
Save your map before you do this.