nav_gen_max_edge_len Command

Explore usage, syntax, and examples for the nav_gen_max_edge_len CS2 developer console command.

nav_gen_max_edge_len

CS2 Only

Command

nav_gen_max_edge_len

<Edge Length>

Sets the maximum length of edges when generating navigation meshes in-game. This controls how large nav mesh edges can be during map generation.

<Edge Length>

Maximum length (in units) allowed for each navigation mesh edge.

sv_cheats Required

Yes

Client or Server Command

Unspecified

Default Value

512

nav_gen_max_edge_len Generator

Command

nav_gen_max_edge_len

<Edge Length>
0/1 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

nav_gen_max_edge_len Examples

Command

nav_gen_max_edge_len

300

Set the maximum nav mesh edge length to 300 units.

Command

nav_gen_max_edge_len

1024

Set the maximum nav mesh edge length to 1024 units to allow larger nav areas without extra divisions.