Garry's Mod

Garry's Mod

Patrol Routes STool
971 kommentarer
meierhans 24. juni kl. 14:25 
@Max Shadow I am a little late, but thank you for your reply anyhow! I fully understand, that you can not maintain addons from nearly 10 years ago of a game you do not play anymore. I also do not understand at all, why they keep breaking things with every update, wish so much one could simply lock down version.
If I find the time, I will unpack the addon, and use some LLM and try to hunt down the bug. It is so sad, right now this stupid bug is the one missing link, that stops me from creating custom interactive scenarios with wiremod. And I can even see it working so wonderfully, just not save..
Sr Floppa 23. juni kl. 10:58 
how i select striders? i cant select them
Iceprince08 24. maj kl. 13:53 
can you fix that?
Max Shadow  [ophavsmand] 3. maj kl. 19:01 
@Iceprince08 make sure you have show chances enabled. If that doesn't work, a GMod update may have broken the mod. It's pretty old

@carterhollywood3 Hold E and shoot a node to select it, and without releasing E shoot another node to connect the selected node to it, in that order. You can do this to connect the last node with the first one and make a loop. Be aware that nodes have specific directions, unless undirected links is enabled
EVIL_SANVICH754332 3. maj kl. 13:32 
how do i make in a loop?
Iceprince08 2. maj kl. 8:40 
i can't see the Chances
Max Shadow  [ophavsmand] 4. mar. kl. 16:51 
Sounds like an update broke something. I don't get why they keep making breaking changes to a 10 year old game. Sadly, I stopped playing the game a very long time ago. It's unlikely I'll fix this anytime soon.
meierhans 4. mar. kl. 16:01 
PS: This is on a dedicated server, I get this error message in console:

[Patrol Routes STool] lua/entities/ent_prwireassigner/cl_init.lua:5: bad argument #1 to 'SetMaterial' (string expected, got userdata)
1. SetMaterial - [C]:-1
2. unknown - lua/entities/ent_prwireassigner/cl_init.lua:5
meierhans 4. mar. kl. 15:59 
I digged into it, and made it work with wiremod. It is great, I can use a wiremod trigger / button to assign in realtime any NPC I like in range to a route. It is so much more flexible than the default assigner, a new world of interactivity. Imagine f.e. you got to bring a keycard to a NPC to make it move further. Or routes depending on the state of the map. I was jumping on my chair.

But then.. I tried to save it with Advanced Duplicator 2. I can not choose the ent_prwireassigner, and if I choose another connected part, like the button, it will just save this. Not the assigner itself.

Also, while the AssignInRange and Range inputs of the assigner are shown in red in the wire tool. the wires themself do not show up. Things are indeed connected, as it works, but I just can not save it.

Is this a limitation of the way Patrol Routes works, aka saving the route on the client, and it can not be saved into the assigner itself? Or is this a bug?

Is there maybe a fixed version I missed.
R.K. suerte 20. feb. kl. 9:18 
Is there a way to make VJ base vehicle SNPCs follow the nodes?
meierhans 14. feb. kl. 14:08 
Is there any way to save and auto load routes? I tried Permaprops and MMM, but both sadly fail. It would be so great if we could start a map and the NPC´s start moving without any clicky clacky.
🖤Mars🖤 4. feb. kl. 10:31 
Hey, I have a problem with this mod every time I load a save the auto-assigner orbs disappear and I have to redo them all over again which is very annoying. Even if they stayed after the save their range is now 0.
SpookyBain I COG 27. dec. 2024 kl. 2:32 
hey man i have a tiny list of questions and i need some assistance, if you dont mind taking my friend request that would be realy cool!
Kamil Hussar 1 21. dec. 2024 kl. 11:07 
There were no obstacles, I was just trying to make 1 guard patrol 1 corridor, from corner to corner, but turns out the place was too big and game save decided to delete the set patrol route by itself the next day.
Max Shadow  [ophavsmand] 21. dec. 2024 kl. 9:47 
That's probably because the map you're playing on doesn't have a nodegraph. NPCs use AI nodes to navigate, if there are no AI nodes, they can only move a short distance, and are unable to pathfind around obstacles.
Kamil Hussar 1 20. dec. 2024 kl. 11:12 
And now the NPC doesn't to go through the route, unless the nodes are covering only half of the "500" range.
Kamil Hussar 1 20. dec. 2024 kl. 10:50 
Nevermind, turns out the route was too big for autoassigner with range set to 500 even.
Kamil Hussar 1 20. dec. 2024 kl. 8:17 
Okay, idk what's going on, but my NPC stops at the 2nd node everytime and then I have to rickclick on him again, but he walks back to the 1st node, instead of walking to the 3rd one. I wanted to make a real route, with like 6 nodes at least, but my NPC does this all the time instead and nothing works.
Petra 26. nov. 2024 kl. 9:19 
does this work for hammer?
unnamed 17. nov. 2024 kl. 21:05 
the npc patrol mod is giving me a error\
LosCartuchos5566 24. aug. 2024 kl. 10:13 
the npc will get out of the patrol route and attack a threat?
Bobbymansツ 20. aug. 2024 kl. 2:27 
Hi I was wondering why only the first NPC follows the path but when I want to assign a 2nd NPC, the 2nd NPC goes back and forth once but then just stands still.
glutton 17. aug. 2024 kl. 17:11 
autoassigner works but its REALLY malfunctional, like the NPC sometimes doesn't even want to follow the paths' lines
Max Shadow  [ophavsmand] 17. aug. 2024 kl. 6:52 
Make sure the autoassigner filter is empty. Otherwise it only affects NPCs with classnames listed there (separated by commas)
Sn1perHUN 17. aug. 2024 kl. 6:31 
Combine soldiers, Barney ect. Just stand
Sn1perHUN 17. aug. 2024 kl. 6:26 
Autoassigner only works with citizens
Cynix 10. aug. 2024 kl. 10:58 
it still works 100% for me so I dont know.
Max Shadow  [ophavsmand] 2. aug. 2024 kl. 6:42 
It should but that mod is really old, I haven't updated it in many years, and there's a chance a GMod update broke it at some point.
sleepydriedtomatoes 2. aug. 2024 kl. 0:08 
another question, does this conflict with stealth 2.1? i know it probably works with your original stealth mod.
sleepydriedtomatoes 2. aug. 2024 kl. 0:04 
some yes. i will disable certain mods when making patrol routes/stealth saves i guess if that's the sacrifice i have to make
Max Shadow  [ophavsmand] 1. aug. 2024 kl. 13:17 
Do you have any AI mod installed? Those work by giving "orders" to NPCs, just as this mod, so they conflict.
sleepydriedtomatoes 1. aug. 2024 kl. 12:39 
for whatever reason, when i clear a patrol route and make a new one, the assigned npc completely abandons the route i gave them and just wanders off? why is this happening?
BrainySaucer898 20. juli 2024 kl. 20:26 
it don't work with striders
NormalPolishBoy 9. juni 2024 kl. 2:36 
Right clicking on an NPC does nothing. how fix?
Max Shadow  [ophavsmand] 11. apr. 2024 kl. 9:13 
Make sure the radius is big enough, and also clear the NPC filter field, otherwise it only affects NPCs with those classnames
Soup Can 11. apr. 2024 kl. 4:15 
The Autoassigner wont work for some reason and the npcs just stay in place
Max Shadow  [ophavsmand] 6. apr. 2024 kl. 11:59 
Nope. One way to implement that would be to have a toggleable option that automatically connects newly placed nodes with any other node in a certain radius and in line of sight. That would be useful for a waypoint system. Sadly, I haven't played GMod in a while, so it's very unlikely I'll ever update this mod.
HOOVY 6. apr. 2024 kl. 11:39 
I have a question, is there some sort of easy way to connect alot of Patrol-Nodes with eachother? Something like, you can set that all Patrol-Nodes in a specific Radius connect to eachother or that 1 Patrol-Node connects with all others
Max Malevich 7. jan. 2024 kl. 5:35 
@AmisAuto, Pretty easy to set that up by disabling "back and forth". This will make an NPC complete its patrol (works best with a one-direction line) and stop at the end.
AmisAuto 1. jan. 2024 kl. 13:51 
Can I make NPC to abandon their route after he reached his last point? I'd like them to go somewhere, and then act on their own.
Detiplays 29. dec. 2023 kl. 6:25 
Combine Faction NPC's don't work. They just stand in place when assigned to a route.
Nietabs 24. nov. 2023 kl. 20:11 
@Wesker1991 just watched your npc battles, very epic. thank you for showing me this :steamhappy:
Wesker1991 29. okt. 2023 kl. 14:06 
SNPCs do work well with this. I have made many YouTube battles with this mod, wouldn't play Garry's Mod without it.
Max Shadow  [ophavsmand] 21. okt. 2023 kl. 8:58 
Your current map probably doesn't have a nodegraph. Either search for the nodegraph on the workshop, or try a different map. You can also build it with one of Silverlan's tools, but it takes time.
Poor Lazlo 21. okt. 2023 kl. 8:47 
for some reason, npcs will either crowd around node 1 and not move or just not go onto the nodes at all, even though they are in the auto assigner range
Max Shadow  [ophavsmand] 12. okt. 2023 kl. 19:41 
No, sorry. I haven't played GMod in a long time. I think there's a mod called NPC Tools (not the one made by Silverlan) with some kind of NPC patrol feature, but I doubt it will work with SNPCs.
Anti-Mesh 12. okt. 2023 kl. 12:57 
Do you suggest any addons that do this similarly but compatible for DRGBASE SNPCS? If not, I'm not sure what to do but try to work with this.
Max Shadow  [ophavsmand] 12. okt. 2023 kl. 5:09 
This mod was made for vanilla Half Life NPCs and reskins. SNPCs and Nextbots work differently, they ignore regular move orders.
Anti-Mesh 11. okt. 2023 kl. 21:35 
How come the patrol doesn't work on DRG Base NPCs? I tried it and did everything it told me to do in the description but nothing worked.
penguino 7. okt. 2023 kl. 20:58 
I've been trying to get it to work because everytime i reload the save the "Wire Assigner" resets the inputs. Im using trigger and the wire and it works fine its just that the wire assigner doesnt work with saves. Any help is appreciated.