Please or Register to create posts and topics.

Useful console commands for mappers.

PreviousPage 2 of 6Next
Vordwann wrote:
What console command controls depth of view blurring?
Code: Select all
] find dof
"mat_dof_enabled" = "1" client                                                 
"mat_dof_far_blur_depth" = "1000.0" client                                     
"mat_dof_far_blur_radius" = "5.0" client                                       
"mat_dof_far_focus_depth" = "250.0" client                                     
"mat_dof_max_blur_radius" = "10"                                               
"mat_dof_near_blur_depth" = "20.0" client                                       
"mat_dof_near_blur_radius" = "10.0" client                                     
"mat_dof_near_focus_depth" = "100.0" client                                     
"mat_dof_override" = "0" client                                                 
"mat_dof_quality" = "0"

mat_dof_quality" = "0"                                                         
] find depth
...
"mat_debugdepth" = "0"                                                         
"mat_debugdepthmode" = "0"                                                     
"mat_debugdepthval" = "128.0f"                                                 
"mat_debugdepthvalmax" = "256.0f"                                               
"mat_depth_blur_focal_distance_override" = "-1.0"                               
"mat_depth_blur_strength_override" = "-1.0"   
...

That any use? I have my graphics set to fairly basic, so I've never noticed the DOF blur :)

Very useful! bookmarking!

I have a few suggestions:

vcollide_wireframe 1: shows collision meshes for all vphysics-enabled models
showtriggers_toggle: makes triggers visible

r_simpleworldmodel_drawforrecursionlevel_fullscreen -1: removes drawing distance restrictions on (world) portals for all video settings. (Best served by trigger_auto->OnMapSpawn with "remove on fire" disabled.)

Sendificate series: Sendificate | A Beam Too Far | Airtime | 302
Other Portal 2 maps: Medusa Glare
Portal 1 maps: Try Anything Twice | Manic Mechanic

I am missing the console command that let's you see the visleaves. Forgot its name though.

The Aperture Alpha
A map pack coming soon. - click for more information
Image
Brainstone wrote:
I am missing the console command that let's you see the visleaves. Forgot its name though.

mat_leafvis? [Wouldn't it be easier to load the portal file in Hammer?]

@Brainstone:
BEARD! (awesome name ) beat me to it, but I've included that command anyway with the various options. (mat_leafvis 1, mat_leafvis 3). Never knew about that one till you asked :)
https://developer.valvesoftware.com/wiki/Visleaf

@HMW:
All three of those look super handy! vcollide_wireframe especially when looking for map 'sploits :)

Adding those now!

A thought just occurred to me: did you include the command to show faith plate (trigger_catapult) trajectoies? I can never remember that one myself! EDIT: A quick google suggests that it's ent_bbox trigger_catapult

Well mappers always want to take fancy screenshots of their levels, right? So surely crosshair 0 and r_drawviewmodel 0 are musts?

Current Community Contributor status: not a community contributor. Lost it. :(

Kill?

Big Mood
portal2tenacious wrote:
Kill?

kill.

anyway, I want to teleport my buddy in coop into a goo pit :lol: . already got it planned:

ent_teleport red, and point it at the ceiling over goo.

My YouTube Channel: https://www.youtube.com/user/Camben24
Aperture Science: We do our science asbestos we can!

@BEARD!
Cheers, that looks really handy too ^^

@RubbishyUsername
Cheers, already had r_drawviewmodel, but with the wrong value.
Didn't know the crosshairs one though :)

@portal2tenacious & CamBen
Kill & Ent_Teleport are pretty well covered, but I'll add a wee bit extra. Ty.

PreviousPage 2 of 6Next