Garry's Mod

Garry's Mod

2,207 vurderinger
NPC Navmesh Navigation
21
12
17
4
2
7
3
5
5
9
2
7
6
4
2
3
3
3
2
2
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
Filstørrelse:
Offentliggjort:
Opdateret:
109.020 KB
23. dec. 2022 kl. 10:17
28. maj 2023 kl. 4:38
16 ændringsbemærkninger ( vis )

Abonner for at downloade
NPC Navmesh Navigation

I 1 samling af 1
[2]-Brainless-[4]'s mods
17 genstande
Beskrivelse
This mod allows NPCs to use the navigation mesh as an alternative to AI nodes.
This means you can play on pretty much any map with NPCs.
All you need to do is ensure the map has a navmesh, If not you can use the nav_generate console command to generate one.

How It Works

The navigator will monitor all the NPCs in the game and detect if they want to move to somewhere. If the navigator detects that the NPC can't reach its destination, The navigator will then take control and try to guide the NPC to its destination using the navmesh.

Features

* Compatible with maps that have or don't have AI nodes.

* Customizable settings in the spawnmenu.

* You can disable the entire mod in one click of a button using the spawnmenu.

* NPCs can actually use dropdowns on the navmesh, Which can lead to some more advanced movement which they could not do easily with AI Nodes.

* A debug tool, ( Found in your tools section of the spawn menu ) This lets you preview the path an NPC is following VIA the navmesh.

Additional Information

* For better mod performance, Its a good idea to edit the navmesh with nav_edit 1 console command. ( Not required but encouraged )
This tool could help with that....
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=527885257


* You may notice that some NPCs may be opressive when using the navmesh.
This is because without AI nodes, NPCs have slightly reduced AI behaviour.
I have done my best to override this and keep them close to their original AI behaviour as possible.

* The Navigator pathfinder prefers smaller navmesh nodes since NPCs have a better time with smaller nodes.

* If NPCs get stuck near tight spaces, You may need to tweak the navmesh slightly with nav_edit, But normaly things should be fine.

* No, This does not support VJ Base NPCs for now... Because they use a different way of marking the destination.

Please note, i am no longer working on this mod. If anyone would like to take over, feel free and go ahead. but i recommend doing a code rewrite just to keep it clean.

Credits

Zenlenafelex and [2]-Brainless-[4]

If anyone wants to make an expansion on this they can, I am a bit busy trying to step away from gmod now, So i can't work on this as much.

You may and can reupload this mod to the workshop, Providing you credit ( [2]-Brainless-[4] )
Populære diskussioner Vis alle (12)
20
19. jan. kl. 1:15
FASTGJORT: FAQ
1
4
27. dec. 2022 kl. 8:40
Are you a brain surgeon?
uncommon saucers
2
3. dec. 2023 kl. 1:25
With this mod npc jumping and teleporting behind you
Lebyash
336 kommentarer
7H3_HuN73R-03 14. sep. kl. 12:54 
Men, this is perfect for, well, anything
re 5. sep. kl. 12:50 
bro why this is extremely laggy
SstarLit56 24. aug. kl. 16:27 
Insane lag spikes at times noe, this seems to really need maintaining, as standing on guard rails over ledges on many maps just deletes the framerate. Ive seen it happen with antlions and combine, i really appreciated this mod though :blockhead:
SomeRandomGuy 14. aug. kl. 11:29 
@Franky listen here pal just because someone doesn’t read the description doesn’t mean you should get butthurt about it. Seriously, you told a random ass person to kts as WolfBite just said and then thought you were the toughest guy in the comment section. And you called him an idiot which is probably the dumbest thing I heard from a hypocrite like you.
WolfBite 10. aug. kl. 0:17 
The guy named franky below me is the true dumbass. Yes Wizard should learn to not skim descriptions before asking questions. But what are we five? Telling someone to kts' is childish af. Show the world how angry you are little man. Awesome mod btw! <3
Poolsup (TH) 2. aug. kl. 11:53 
umm the antion bug caught the game lag up
DoubleBungus 26. juli kl. 14:14 
Resetting all settings, Unsubcribing, and then resubscribing seems to have maybe possibly done something?
DoubleBungus 26. juli kl. 13:48 
This mod is making all of my combine soldiers jump, not walk or run, just jump. No matter the settings enabled or disabled, they just fucking hop like rabbits. Awesome.
Geisteskrankenchan 22. juli kl. 3:17 
Hoping you could fix the lag when the NPCs can't find how to reach you. It's usually the worst when you're standing or flying above them
Mr. Spamton 10. juli kl. 15:36 
Rude