What is the command to show vis areas in game?
Posted Jun 27, 2011
I know there is a command that either makes the walls semitransparent or makes everything all wireframe but I CANT FOR THE LIFE OF ME FIND IT! I have searched everywhere, here, the wiki, google, and all I get are descriptions of what view fustrums are without telling me how to see them in game.
Basically, I want to know the cheat code to see through walls so I can debug my map and see all the areas it is rendering when it shouldn't be. I remember back in the counterstrike beta days there was a command gl_zmax 0 to make all brush faces semitransparent, but that doesn't seem to work here.
Registered users don’t see ads!
Register now!
Posted Jun 27, 2011
Replied
3 minutes
later
mat_wireframe 1 will make everything wireframe.
Requires sv_cheats to be set to 1 before using.
Posted Jun 27, 2011
Replied
1 hour
later
you are probably looking for 'cl_drawleaf 1' this will draw the current leaf you're in. If you change it to either 2 or 3, it will draw all the leafs if I remember correctly.
Registered users don’t see ads!
Register now!
Posted Jun 27, 2011
Replied
15 minutes
later
excellent thanks you guys. Both of those commands should help a lot =)
EDIT: cl_drawleafs at any number didn't seem to do anything, even with wireframe on