- Open your Counter-Strike 1.6 file directory
- Open "cstrike" folder
- Find out "userconfig.cfg" inside the folder.
- If you found it, open "userconfig.cfg" and should be appear like this
- Now, scroll down until you found "// custom" line :
- Copy the scripts and paste it. It should showed like this :
Functionality of those scripts
Navigation Mesh Editing
Each of the following "bot_nav_*" commands operate on the navigation mesh, allowing hand-tuning of the automatically learned data. It is recommended that these commands be bound to keys for ease-of-use while editing. Note that there is no "undo" operation, so save your navigation mesh frequently!
bot_nav_edit [0, 1]
Setting this CVar to 1 allows hand-tuning of the bot's navigation mesh. Once edit mode has been activated, the "bot_nav_*" commands can be used.
bot_nav_zdraw [height value]
This value determines how high above the ground to draw the navigation "mesh" when in navigation edit mode. If the terrain is very irregular or highly sloped, it can be useful to increase this value to 10 or 15. The default value is 4.
Marks the currently selected navigation area for later operations.
Warps (teleports) your view to the currently marked navigation mesh. Note that you must be in "Free Look" spectator mode for this command to function.
Deletes the currently selected navigation area.
Splits the currently selected navigation area into two new navigation areas, along the white split line.
Merges the currently selected navigation area and a previously marked navigation area into a new, single navigation area. The merge will only occur if the two areas are the same size along the merge line.
Creates a "one-way" link from the currently marked area to the currently selected area, telling the bots they can walk "from" the marked area "to" the selected area. For most areas, you will want to connect the areas in both directions. However, for some "jump down" areas, you will want the bots to be able to move one way, but not be able to get back to the other.
Disconnects all connections from the currently marked area to the currently selected area.
These two commands allow the creation of new navigation areas. "bot_nav_begin_area" marks one corner of the area. "bot_nav_end_area" marks the opposite corner of the area and creates it. To cancel the operation, issue the "bot_nav_begin_area" command again.
Creates a new navigation area between the currently marked area and the currently selected area, and bidirectionally connects the new area. This command is especially useful for creating sloped navigation areas.