Updated documentation regarding meshes generation

This commit is contained in:
Quentin Bouteiller 2020-04-26 22:04:33 +02:00
parent 06b902e268
commit 3946de8413

View File

@ -16,10 +16,28 @@ Once installed, do not forget to generate the navigation meshes file.
## Generating the navigation meshes file
Open the server console and execute :
Open CS:GO console and execute :
map de_abandoned_hospital
sv_cheats 1
nav_generate
Wait a few minutes until the file is generated. The server may become unresponsive during that generation.
Now that the standard mesh file is generated, we need to check for missing floors (upper floors and ladders). See this [Valve wiki page](https://developer.valvesoftware.com/wiki/Navigation_Meshes#Explicitly_marking_walkable_areas_.28i.e:_.22There.27s_no_mesh_upstairs.22.29) for more details.
To do so, execute the following commands :
sv_cheats 1
nav_edit 1
To mark a floor as walkable, execute :
nav_mark_walkable
Once all floors are marked as walkable, rebuild the navigation meshes file :
nav_generate
If the meshes are correctly generated, add all ladders then save the file :
nav_build_ladder
nav_save