From 3946de8413606670e56c0805626134ea391708f2 Mon Sep 17 00:00:00 2001 From: Quentin BOUTEILLER Date: Sun, 26 Apr 2020 22:04:33 +0200 Subject: [PATCH] Updated documentation regarding meshes generation --- README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a75e00d..292fbcd 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file