Civs Free - Navmesh Testing

  • Submitted by:
  • Uploaded: 2 years ago
  • Updated: 2 years ago
  • Type: NPC
  • Downloads: 727 (2 last 7 days)
  • Views: 1,721 (7 last 7 days)
  • Size: 7.73 KB
  • Tags: nav, swep, tool, npc, civ
This is a FREE version of Civs.
Included:
  • A dummy NPC which will wander around the navmesh using a simplified version of Civs's path computing algorithm.
  • A navmesh editing SWEP, which makes editing navmeshes a lot easier.
Once you've got your navmesh set up, please consider buying the full version from ScriptFodder.com, which includes plenty of neat features: https://scriptfodder.com/scripts/view/2092


Tips:
  • If your console says "No valid walkable seed positions.  Cannot generate Navigation Mesh." when generating a navmesh, walk to a place on the ground and run 'nav_mark_walkable' in the console, then try again.
  • Set 'nav_split_place_on_ground 1' to create sloped nav areas.
  • Use 'nav_begin_drag_selecting' and 'nav_end_drag_selecting' to select large groups of nav areas. Then use a one-click nav tool to take that action, such as the delete tool.
  • Use the splice tool to easily correct misgenerated stairs. You can run 'nav_check_stairs' to update stair status without having to reload.
  • For your final save, set 'nav_quicksave 0' to make sure everything compiles correctly.

This download looks like an addon. You need to extract the downloaded zip and put the addon folder in your Garry's Mod addons folder. You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • addons
            • civs_free <-- Addon folder!
              • e.g.
              • lua
              • maps
              • materials
              • models
              • etc

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • civs_free/
    • lua/
      • entities/
        • npc_civ_free.lua
      • weapons/
        • weapon_nav_editor.lua
  • !NAVMESH INSTRUCTIONS.txt

BBCode:

HTML:

Social: