Testing areaportals with r_showtris

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Testing areaportals with r_showtris

Post 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
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post 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"
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Single

Post 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.
Tom Trude,

Image
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Post by mcunha98 »

Single Player ?!?!

HAHAHA i never think this.
Thanks, i will try
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post 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.
Image
Post Reply