Costume textures and cubemaps

LuisReefTank

L1: Registered
Feb 25, 2011
14
0
Ok, so, i have been told to pakrat the cosutme textures, and only then recompile the cubemaps, my question is, how do i do this?:huh:
So step by step:
1.Compile the map
2.pakrat the costume textures
3.???? Should i go in-game and load up the map and type "buildcubemaps" or something? Or s it a hammer option?


Thanks in advance!
 

LeSwordfish

semi-trained quasi-professional
aa
Aug 8, 2010
4,102
6,597
Building cubemaps is done by entering game and typing commands, yeah. It is (or at least this has always worked for me) mat_specular 0, buildcubemaps, run a diffrent map, and then run yor map again.

This turns reflections off, builds the cubemaps, and forces the game to run the maps with the cubemaps in.
 

Vincent

&#128296 Grandmaster Lizard Wizard Jedi &#128296
aa
Sep 5, 2009
912
684
Use PakBSP http://technofovea.com/blog/projects/packbsp to pack your map. It's loads better than PakRat.

And yes you have it in the right order. Compile, Pack, Cubemaps. For building cubemaps check out http://forums.tf2maps.net/showthread.php?t=16452

-map <mapname>(Load your map)
-mat_specular 0
-buildcubemaps
-mat_specular 1
-disconnect
-map <mapname>(Load a different level; clears texture cache)
-map <mapname>(Load you map again)

Thats a little extensive, but it works. If you don't feel like loading a new map reload_materials 1 works too. Or was it reload_allmaterials 1. Eh, I forget but that's the general idea.