About [SDK-Like] NPC Navmesh Navigation
From Steam Workshop## English ``` NPC Navmesh Navigation On maps without AI nodes, HL2 NPCs mostly stand still. This addon lets them take cover, flank, chase and retreat on those maps as on node maps, using the…
## English
```
[SDK-Like] NPC Navmesh Navigation
On maps without AI nodes, HL2 NPCs mostly stand still. This addon lets them take cover, flank, chase and retreat on those maps as on node maps, using the navmesh. No new behaviour is added.
Credits
Inspired by NPC Navmesh Navigation by Zenlenafelex and [2]-Brainless-[4], whose author allows re-uploads crediting [2]-Brainless-[4]. A rewrite: parts of the original code were referenced or modified. Written in Lua with AI (Anthropic's Claude), following the Source SDK 2013 NPC code; testing and decisions by the uploader.
How it works
The navmesh becomes navigation points. When the game's search for cover, a firing spot or a path fails for lack of nodes, the addon runs the SDK's search there and walks the NPC along it; the NPC then continues its own plan. NPCs that can jump (antlions, fast zombies, hunters) get the SDK's jump routes with each type's own limits, and NPCs open doors as in the SDK.
Supports
HL2 NPCs, Half-Life: Source NPCs, VJ Base, ZBase, Zelus' SNPC base (Half-Life 2 Leak SNPCs (Fixed)), other SNPCs built on GMod's base_ai.
Performance
Per server tick (15 ms), sdklike_bench on a flat map: 39 HL2 NPCs avg 0.21 ms; 21 VJ Base NPCs avg 0.10-0.15 ms. Idle on node maps. Q menu > Performance: Simplify NPC decisions (default on) about halves this addon's work; timing and details become close to a node map, not the same. Below it: how many spots the cover and firing-spot searches check (default 12). Off: exact. Keep the measuring tools (sdklike_perf_profile, sdklike_alloc_measure) off in normal play.
Limits
- Needs a navmesh (nav_generate). Vehicle drivers (the APC), map-placed goals and hint-based behaviours are not handled.
- Not possible without AI nodes: flying / swimming NPCs' node routes, striders (they walk only along AI nodes) and climbing (fast zombies need the map's climb nodes). On node maps the game does these itself.
- About 40 HL2 NPCs at once can crash Garry's Mod (also without this addon).
- Some VJ / ZBase NPCs start moving a moment after spawning.
- Don't use with the original NPC Navmesh Navigation.
Other AI addons
- Addons that order NPCs (Dynamic NPC Squads, Combat Intelligence AI, NPC Realism Enhancement) and addons that check what an NPC is doing: work automatically.
- Addons that test "can it reach this spot?" (Realistic Combine Soldier AI): set sdklike_compat_navtest 2 (1 = lighter, 3 = heaviest, 0 = off, default).
- If an NPC stands still with some addon at 1-3, set it back to 0.
- Realistic Combine uses fixed schedule numbers: after loading a map, spawn a Combine before other HL2 NPCs.
- Several AI addons on the same NPC override each other; one is best.
- NPCs spawned with long-distance sight (e.g. NPC Groups' "NPCs can see long distance") shoot every enemy they see and do not chase: the game's own rule, also on node maps.
Commands
Q menu > Utilities > "sdk_like NPC navigation" has buttons for all.
- sdklike_active 0/1 - stop / resume
- sdklike_compat_navtest 0-3 - path-test answers
- sdklike_node_spacing 0-600 - point spacing on open areas (default 200; next map)
- sdklike_log 0/1/2 - logging (default 0)
- sdklike_perf_report, sdklike_bench (add lite for the cost as players get it), sdklike_behavior_check - admin tools
```
## 한국어
```
[SDK-Like] NPC Navmesh Navigation
AI 노드가 없는 맵에서 HL2 NPC 는 대부분 가만히 서 있습니다. 이 애드온은 navmesh 를 써서 그런 맵에서도 노드 맵처럼 엄폐, 측면 이동, 추격, 후퇴를 하게 합니다. 새 행동은 더하지 않습니다.
크레딧
Zenlenafelex, [2]-Brainless-[4] 의 NPC Navmesh Navigation 에서 영감을 얻었습니다. 원작자는 [2]-Brainless-[4] 를 적으면 재업로드를 허락했습니다. 새로 쓴 것으로, 원작 코드 일부를 참고하거나 수정했습니다. Source SDK 2013 NPC 코드를 기준으로 AI (Anthropic 의 Claude) 와 함께 Lua 로 만들었고, 테스트와 결정은 업로더가 했습니다.
원리
navmesh 를 이동 지점으로 바꿉니다. 게임의 엄폐 / 사격 위치 / 경로 탐색이 노드가 없어 실패하면 SDK 와 같은 탐색을 대신 해서 NPC 를 데려가고, NPC 는 하던 계획을 이어 갑니다. 점프할 수 있는 NPC (앤트라이언, 패스트 좀비, 헌터) 는 SDK 의 점프 경로를 종류별 한계 그대로 쓰고, 문도 SDK 처럼 엽니다.
지원
HL2 NPC, Half-Life: Source (하프라이프 소스) NPC, VJ Base, ZBase, Zelus SNPC 베이스 (Half-Life 2 Leak SNPCs (Fixed)), 그 밖의 GMod base_ai 로 만든 SNPC.
성능
서버 tick (15 ms) 당, 평지 맵에서 sdklike_bench: HL2 NPC 39 명 평균 0.21 ms; VJ Base NPC 21 명 평균 0.10~0.15 ms. 노드 맵에서는 쉽니다. Q 메뉴 > 성능 의 NPC 판단 단순화 (기본값 켬) 는 계산을 절반 정도로 줄이고, 시점과 세부가 노드 맵과 가깝게 됩니다. 그 아래에서 엄폐 / 사격 위치 탐색이 검사할 위치 수를 정합니다 (기본값 12). 끄면 똑같이. 측정 도구 (sdklike_perf_profile, sdklike_alloc_measure) 는 평소에는 꺼 두세요.
한계
- navmesh 필요 (nav_generate). 차량 운전 NPC (APC), 맵에 놓인 목표, 힌트 기반 행동은 처리하지 않습니다.
- AI 노드 없이는 안 되는 것: 날거나 헤엄치는 NPC 의 노드 경로, 스트라이더 (AI 노드로만 걷습니다), 기어오르기 (패스트 좀비는 맵의 기어오르기 노드가 필요). 노드 맵에서는 게임이 직접 합니다.
- HL2 NPC 약 40 명을 한꺼번에 소환하면 Garry's Mod 가 튕길 수 있습니다 (이 애드온 없이도 생김).
- 일부 VJ / ZBase NPC 는 소환 후 잠깐 뒤에 움직이기 시작합니다.
- 원작 NPC Navmesh Navigation 과 함께 쓰지 마세요.
다른 AI 애드온
- NPC 에게 명령하는 애드온 (Dynamic NPC Squads, Combat Intelligence AI, NPC Realism Enhancement) 과 NPC 행동을 묻는 애드온: 자동으로 호환됩니다.
- "그 자리에 갈 수 있나?" 를 검사하는 애드온 (Realistic Combine Soldier AI): sdklike_compat_navtest 2 로 두세요 (1 = 가벼움, 3 = 가장 무거움, 0 = 끔, 기본값).
- 1~3 에서 어떤 애드온과 NPC 가 제자리에 서 있으면 0 으로 되돌리세요.
- Realistic Combine 은 고정 행동 번호를 씁니다: 맵을 연 뒤 다른 HL2 NPC 보다 콤바인을 먼저 소환하세요.
- AI 애드온 여러 개가 같은 NPC 에 명령하면 서로 덮어씁니다. 하나만 쓰는 것이 좋습니다.
- 먼 거리 시야로 소환한 NPC (예: NPC Groups 의 "NPCs can see long distance") 는 보이는 적을 모두 쏘고 쫓아가지 않습니다: 노드 맵에서도 같은 게임 자체 규칙입니다.
명령어
Q 메뉴 > Utilities > "sdk_like NPC 내비게이션" 에 모두 버튼이 있습니다.
Highlights
From source dataFootprint
Rated a light load on a server.
Last update
Its author last shipped an update 38d ago.
[SDK-Like] NPC Navmesh Navigation on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Garry's Mod servers. We download it from Steam Workshop, place it, and restart the server.
- Server load
- light
- Smallest plan we suggest
- Garry's Mod — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 2026-10-24, released 2026-10-24
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| Workshop |
From 4 recorded builds of [SDK-Like] NPC Navmesh Navigation.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 2026-10-24 | 2026-10-24 | n/a | Workshop |
| 2026-10-22 | 2026-10-22 | n/a | Workshop |
| 2026-10-21 | 2026-10-21 | n/a | Workshop |
| 2026-10-20 | 2026-10-20 | n/a | Workshop |
Run [SDK-Like] NPC Navmesh Navigation on a Garry's Mod server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogCreatures & NPCs
Adds or changes creatures, NPCs and how they behave.
Compatibility
- Game
- Garry's Mod
Verified at the source
- ✓Steam WorkshopOfficial listing, checked 2026-10-24Open ↗
- ✓Authornope, as published on Steam Workshop
- ✓LicenseNot published by the sourceFree
