Team Fortress 2

Team Fortress 2

49 ratings
Improved Navigation Mesh
By Asteur
Valve officially supports a select few maps in their 'Offline Training' mode on Team Fortress 2. However, this guide includes fully working and fixed Navigation Mesh for most official maps. If you're interested, subscribe to the comments on this guide, as I will be updating and adding new maps as they come to my attention and/or are requested.
6
3
   
Award
Favorite
Favorited
Unfavorite
What's this for?


As you might know, Team Fortress 2 has support for AI bots. You are able to play with these bots by using the "Offline Practice" menu, or through commands while on your own server. Valve also handily added an automated way to generate a Navigation Mesh for bots on maps that don't have any; 'nav_generate'.

The 'nav_generate' command is quite useful, as it automatically creates a file for the user to easily play with bots, however if you've used 'nav_generate' a few times in the past, you might have noticed that it has many flaws. If you've run into this issue, you've likely just given up playing on said map with bots.

You can find a link to the latest '.nav' files in the "Downloads" section of this guide.

For a more general overview, such as which maps are/aren't added, you can check those below.

If you have any issues or want to suggest official or custom maps to be added (please make sure the map isn't listed in the "Unsupported Maps" section of the guide!), please feel free to in the comments, I'm subscribed to the discussion so I will receive a notification when you comment.
Supported Maps



Control Points (Attack/Defend)

cp_5gorge
cp_altitude
cp_ambush_event
cp_badlands
cp_coldfront
cp_degrootkeep*
cp_dustbowl
cp_egypt_final
cp_fastlane
cp_freight_final1
cp_gorge
cp_gorge_event
cp_gravelpit
cp_junction_final1
cp_manor_event
cp_mercenarypark
cp_metalworks
cp_mossrock
cp_mountainlab
cp_powerhouse
cp_process_final
cp_snakewater_final1
cp_standin_final
cp_sunshine_event
cp_well
cp_yukon_final

*cp_degrootkeep - Map requires 'tf_bot_melee_only 1' command



King of the Hill

koth_badlands
koth_bagel_event
koth_brazil
koth_cascade
koth_harvest_event
koth_harvest_final
koth_highpass
koth_lakeside_final
koth_lazarus
koth_los_muertos
koth_maple_ridge_event
koth_megalo
koth_moonshine_event
koth_nucleus
koth_probed
koth_sawmill
koth_slasher
koth_slaughter_event
koth_suijin
koth_synethetic_event
*koth_undergrove_event
koth_viaduct

*koth_undergrove_event - Bots that stumble into the 3v3 portal won't fight. They'll either walk off the edge or be ejected once the timer ends.



Payload

pl_badwater
pl_barnblitz
pl_bloodwater
pl_breadspace
pl_cactuscanyon
pl_chilly
pl_coal_event
pl_enclosure_final
pl_fifthcurve_event
pl_goldrush
pl_hasslecastle
pl_hoodoo_final
pl_millstone_event
pl_pier
pl_precipice_event_final
pl_rumble_event
pl_snowycoast
pl_terror_event
pl_thundermountain
pl_upward



Capture the Flag

ctf_2fort
ctf_2fort_invasion
ctf_doublecross
ctf_doublecross_snowy
ctf_landfall
ctf_sawmill
ctf_snowfall_event
ctf_well

Community Maps


!!! NOTICE !!! THERE ARE CURRENTLY NO LISTED COMMUNITY MAPS; COMMUNITY MAPS WILL COME SOON

NOTE: .bsp map files are not included, those must be retrieved from the original creator.

Control Point (Attack/Defend)

Payload

King of the Hill
Unsupported Maps

NOTE: This list is not final, and could change multiple times. If you wish to keep up-to-date on what maps are supported or otherwise, subscribe to the comment thread of this guide, as I will be commenting whenever I have updated Nav Mesh files.

Unsupported Gamemodes
Currently, there are several gamemodes that Valve has not added bot support for, including:
  • Arena
  • Mann vs. Machine
  • Mannpower
  • PASS Time
  • Payload Race
  • Player Destruction
  • Special Delivery
There are no plans to create improved navmesh for these maps.

Unplayable maps
Although these maps are on supported gamemodes, through testing, bots have major issues playing on these maps, making them unenjoyable and/or impossible to play on with bots.

Control Point (Attack/Defend):

cp_snowplow - (Bots don't seem to understand what to do and walk around the train)

cp_steel - (Bots move between first and last point, not getting much done.)

Payload:

pl_swiftwater_final1 - (RED Bots have trouble navigating when BLU gets to last point.)

pl_wutville_event (BLU bots have trouble pushing the cart.)
Development Roadmap

You can view a roadmap of this project here: https://trello.com/b/d9FkzUrg
Downloads


Below is a list of all available files to download. Some files may not be yet available.

If you're unsure which file to download, just choose the (RELEASE) version under Official Maps.

GitHub: https://github.com/Asteurisk/TF2-ImprovedNavMesh

Downloads
Official Maps | VPK File
ImprovedNavmesh_V1.4.5 Hotfix 1[github.com]
Includes all Official TF2 maps from all Supported Gamemodes (Not including Offline Practice maps)

Practice Maps | VPK File
ImprovedNavmesh_PracticeMaps_V1.0.0[github.com]
Includes only Official TF2 maps from the Offline Practice menu

Alternate Downloads
MapCycle File | TXT File
bot_mapcycle[github.com]
Mapcycle file which cycles through all supported, non-event, maps

Offline Practice HUD+ | VPK File
ImprovedNavmesh_HUD-V1.1.0[github.com]
HUD modification that adds Supported Maps to the Offline Practice menu

How to Install
Installation | VPK Files
1) Right-click Team Fortress 2 within your Steam Library
2) Hover over manage, click "Browse Local Files"
3) Double-click 'tf' folder, double-click 'custom' folder
4) Drag .vpk file into the folder

Installation | Mapcycle Files
Listen Servers
1) Right-click Team Fortress 2 within your Steam Library
2) Hover over manage, click "Browse Local Files"
3) Double-click 'tf' folder, double-click 'cfg' folder
4) Drag .txt file into the folder

Dedicated Servers
1) Open your Team Fortress 2 Dedicated Server directory
2) Double-click 'steamapps' folder
3) Double-click 'common' folder
3) Double-click 'Team Fortress 2 Dedicated Server' folder
4) Double-click 'tf' folder
5) Double-click 'cfg' folder
6) Drag .txt file into the folder
Issue Reporting

How to Report an Issue

Trello: https://trello.com/b/d9FkzUrg

If you encounter an issue, use the format below and put it in the comments of this guide.

Format:

----------
Project Version: Version you downloaded
Map: mapname
Issue: Describe your issue here, make sure to be clear and detailed!

Extra:
Use this area to add links to images, videos, GIFs, in-game demos, and nav-mesh area #'s. See below for more information about adding these.
----------

Adding Images/Videos/Demos/etc. to Your Report
Activate cheats by typing "sv_cheats 1" into console, then "nav_edit 1" so that you can clearly show where and what the issue is!

Images/GIFs

You can use a website like Imgur to upload your image or GIF, make sure the affected area is clearly visible.

Videos

YouTube is the best place to upload videos. Make sure the video is Unlisted or Public. If possible, demonstrate the issue by showing how bots act in the affected area.

In-game Demos

Demos can be sent as a better alternative to Videos, sites like Dropbox and Google Drive would be best to use to send the .dem file. Make sure the file is public, not private.

Demos can be recorded using the "record demoname" command. Demos are located in the "Team Fortress 2/tf" folder by default.

Nav-Mesh Area #

Every block of navigation mesh has an ID. These IDs are viewable by activating cheats with "sv_cheats 1" and entering the "nav_edit 1" command into console. Hovering your cursor over a nav-mesh block will briefly display "Area #" followed by the ID. You can provide this ID to give an exact location of the issue.
Credits
Images:

Gamemode images via Team Fortress 2 Wiki
TF Workshop Image via Team Fortress 2 Official Website

People:

My dearest - For helping playtest

Sleepy AI - For their guide on how to edit Navigation Mesh - https://steamcommunity.com/sharedfiles/filedetails/?id=143779904


Subscribe to the comment thread to be notified of updates!
53 Comments
Poochy 1 hour ago 
Can you get banned for this? Like can I still play online, or will I get banned?
shiteater3425 Apr 6 @ 4:39am 
still good navmeshes tho, appreciated
shiteater3425 Apr 6 @ 4:38am 
me when no pl_borneo :(
Asteur  [author] Feb 21 @ 5:09pm 
@Benpage11 The link has been corrected, you can find it in "Downloads". Thanks for letting me know!
Benpage11 Feb 21 @ 3:50pm 
The MapCycle File is down
Citalopram Jul 16, 2023 @ 10:10am 
you can make the bots cap points in cp_steel but they stop after point d...it appears they can't see the platforms to walk on
Asteur  [author] Apr 24, 2023 @ 2:44pm 
@Zeroman04 Very sorry! The issue has been resolved.
Zeroman95 Apr 23, 2023 @ 8:53pm 
The main VPK file is no longer available, can you fix it?
Asteur  [author] Apr 18, 2023 @ 6:46pm 
@Tiny Desk Engineer There are a few official maps that don't currently have Navmesh, I am planning to add any missing maps in an update eventually, although the next coming update will include just holiday maps
Tiny Desk Engineer Apr 18, 2023 @ 1:21pm 
No navmesh for pl_borneo?