Page 1 of 1

Testing areaportals with r_showtris

Posted: Mon Jun 11, 2007 3:16 pm
by mcunha98
Hello,

I start the "final" stage of current map (improve FPS using areaportals technique), in past i call some friends and start a server for verify bugs relatives of visibility of sections of the map.

But reading some tutorials i see the command "r_showtris2" for use in game for see the effect of portals. Same using the command line: "C:\Arquivos de programas\EA GAMES\MOHAA\MOHAA.exe" +set developer 1 +set cheats 1 +set thereisnomonkey 1 +set ui_console 1 i dont cannot use the r_showtris directive, the console say: r_showtris is a cheat protected.

So, how i use this command ?

Another question, i bind the key "F" to call r_showtris, is correct this code ?

Code: Select all

alias showtrisoff "r_showtris 0;bind f showtris"
alias showtris "r_showtris 2;bind f showtrisoff"
Edit:
i used as reference this tutorial: http://gronnevik.se/rjukan/index.php?n=Main.Areaportals

Posted: Mon Jun 11, 2007 4:20 pm
by wacko
start in SP mode...

and - in case u didn't set the 1st bind command - do

Code: Select all

bind f "showtris"
//...
// and further down
//...
alias showtrisoff "r_showtris 0;bind f showtris"
alias showtris "r_showtris 2;bind f showtrisoff"
or, to get both showtris modes

Code: Select all

bind f "showtr1"
//...
// and further down
//...
alias showtr1 "r_showtris 1; bind f showtr2"
alias showtr2 "r_showtris 2; bind f showtr0"
alias showtr0 "r_showtris 0; bind f showtr1"

Single

Posted: Mon Jun 11, 2007 6:24 pm
by tltrude
Yes, you must play the map in singleplayer -- no cheats allowed in multiplayer!

There is a hidden menu that you can bring up. It has Tris 1 and Tris 2.

bind F8 "togglemenu leveldesign"

I think you can just type togglemenu leveldesign in the console too.

Posted: Mon Jun 11, 2007 9:08 pm
by mcunha98
Single Player ?!?!

HAHAHA i never think this.
Thanks, i will try

Posted: Tue Jun 12, 2007 9:17 pm
by jv_map
You can perfectly do it in mp as well (in fact falling back to sp will not remedy the problem), just (explicitly) start the map with 'devmap' in the console, do not use the maplist or the start-a-server-screen.