Easy Navigation Meshing Scripts Pack for CS 1.6

A Config Script for Counter-Strike 1.6

28 lines | 793 bytes | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Custom navigation meshing scripts. Install it in "userconfig.cfg"
// By Micro-Storm

bind f1 "bot_nav_edit 1"
bind f2 "bot_nav_edit 0"
bind f3 "bot_nav_save"
bind f4 "bot_nav_mark"
bind f5 "bot_nav_connect"
bind f6 "bot_nav_disconnect"
bind f7 "bot_nav_no_jump"
bind f8 "bot_nav_jump"
bind f9 "bot_nav_crouch"
bind f10 "bot_nav_toggle_place_mode"
bind f11 "bot_nav_toggle_place_painting"
bind p "bot_nav_mark_unnamed"
bind v "bot_nav_split"
bind i "bot_nav_splice"
bind j "bot_nav_delete"
bind l "bot_nav_merge"
bind / "bot_nav_precise"
bind \ "bot_nav_analyze"
bind alt "bot_nav_warp"
bind del "bot_quicksave 1"
bind pgup "bot_nav_begin_area"
bind pgdn "bot_nav_end_area"
bind = "bot_nav_precise;wait;bot_nav_no_jump"
bind home "bot_stop 1"
bind end "bot_stop 0"

Installation

  1. Open your Counter-Strike 1.6 file directory
  2. Open "cstrike" folder
  3. Find out "userconfig.cfg" inside the folder.
  4. If you found it, open "userconfig.cfg" and should be appear like this
  5. Now, scroll down until you found "// custom" line :
  6. 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.

bot_nav_mark
Marks the currently selected navigation area for later operations.

bot_nav_warp
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.

bot_nav_delete
Deletes the currently selected navigation area.

bot_nav_split
Splits the currently selected navigation area into two new navigation areas, along the white split line.

bot_nav_merge
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.

bot_nav_connect
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.

bot_nav_disconnect
Disconnects all connections from the currently marked area to the currently selected area.

bot_nav_begin_area
bot_nav_end_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.

bot_nav_splice
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.
Sign up to access this!

Posts

  • D-Wanderer avatar
    D-Wanderer username pic Joined 4y ago
    Gone playing..
    2,130 points Ranked 2448th
    25 medals 2 legendary 7 rare
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twelve Winner! Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Fourteen Winner! Medal icon
    • Returned 1000 times Medal icon
    • Returned 1000 times Medal icon
    9mo
    Nice! Now I don't have to load a cs map from Condition Zero in order to edit its nav mesh.

    10

    • Agree x 1
    • Thanks x 1
    If only I wasn't so lazy.. avatar
    Mantra
    If only I wasn't so lazy..
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
Micro-Storm avatar Complicated Inc. Flag
Affiliation
Complicated Inc.
Micro-Storm username pic Joined 2y ago
Offline
Complicated Inc. Flag Affiliation: Complicated Inc.
583 points Ranked 8578th
15 medals 2 rare
  • Submitted 20 Maps Medal icon
  • Submitted 20 Gamefiles Medal icon
  • Submitted 5 Maps Medal icon
  • Became a Studio Leader Medal icon
  • Thanked 5 submitters Medal icon
  • Submitted 1 Tool Medal icon
Navigation Mesh Expert

Submitter

Micro-Storm avatar
Micro-Storm username pic Joined 2y ago
Paused
Complicated Inc. Flag Affiliation: Complicated Inc.
583 points Ranked 8578th
15 medals 2 rare
  • Submitted 20 Maps Medal icon
  • Submitted 20 Gamefiles Medal icon
  • Submitted 5 Maps Medal icon
  • Became a Studio Leader Medal icon
  • Thanked 5 submitters Medal icon
  • Submitted 1 Tool Medal icon

Micro-Storm avatar
Micro-Storm
Complicated Inc. Flag
Affiliation
Complicated Inc.

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

cc logo

Attribution-NonCommercial-NoDerivatives 4.0 International

(CC BY-NC-ND 4.0)



Attributes

Language
CFG/Config

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 3.5k Views
  • 2 Posts
  • 9moSubmitted
  • 9moModified

Scores

90 bScore
10 Rating

1 voter

Sign up to access this!

WiPs by Submitter

More Configs Scripts

bcp.crwdcntrl.net tracking pixel