Garry's Mod

Garry's Mod

Nodegraph Editor+
161 Comments
Ligma 31 Aug @ 9:33am 
hello again! the next time i loaded the map, it somehow worked without problem, leaving me kind of embarrassed. i can only guess that maybe starting the game from the start might have helped, but since i had already tried that, i'm at a loss... thanks again for your help!
TheBlackVoid  [author] 31 Aug @ 8:53am 
No problem at all. I recently tested out the map, and the custom nodegraph I've made works correctly without problem. After you created your custom nodegraph and installed it correctly, the game shouldn't rebuild the nodegraph. You can try recreating your nodes from txt and resave, as the tool will attempt to update the nodegraph with the latest map version which prevents nodegraph rebuilding.
Ligma 31 Aug @ 7:06am 
thank you for the fast reply! i forgot to mention it, but i did try that as well with the same file path format in it and having norebuildgraph enabled (otherwise it does just that). just in case, i tried again, but to no avail. i noticed that the tool shows the error "the nodegraph file in data/nodegraph differs from the map's nodegraph", which i guess means that the map keeps replacing it with its own. sorry for the trouble!
TheBlackVoid  [author] 31 Aug @ 4:16am 
@Ligma The tool did correctly detect that the map is nodeable. I've checked the map's bsp myself and there is no embedded nodegraph file inside. This is probably another case of custom nodegraph files being replaced by the map's addon files as there is an empty nodegraph file uploaded alongside the map. If you read the Usage section in the description, you can fix this issue by placing your custom nodegraph file inside addons folder instead of directly in the maps/graphs folder. If it still doesn't work, let me know.
Ligma 30 Aug @ 7:12am 
hello, i've been having problems with a particular map, https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=797619787 . the map's description says that it is already ai noded, but checking in game it seems to not have any nodes, node-using addons don't work (e.g. zombie/npc invasion+), and the tool says it is already nodeable. however, when i generate a nodegraph for it, rename it and put it in the graphs folder, and reload the map, it always has the empty nav mesh. i've also noticed in my various attempts that it often says that it's rebuilding the mesh, and even if i put the no rebuild command or make the navmesh read-only it still doesn't have any nodes. uninstalling and reinstalling the map didn't help, either.
other than perhaps some help with this, i would like to ask, could you make it so you can make a nodeable version of the map regardless of if the tool detects it as nodeable or not? thanks!
Skidrow 27 Aug @ 6:16pm 
Nvm, I just found out that the nodes were saving in another hard drive that my GMod files used to be.
benmulcahy 21 Aug @ 12:14am 
now
benmulcahy 21 Aug @ 12:14am 
strider work ?:steamhappy:
Skidrow 19 Aug @ 10:10pm 
Saving a nodegraph on maps (at least for me) isn't possible anymore. It worked fine at first, but now whenever I save, it says it successfully saved, but there's nothing in the nodegraph folder. The map I was trying to save is already nodeable. Even trying it on other nodeable maps won't save the txt file. It could be an addon conflict but I don't know if any of the addons I installed conflict with this one.
Райдер 5 Aug @ 11:17pm 
@TheBlackVoid Thank you, everything started to work.
TheBlackVoid  [author] 5 Aug @ 2:51am 
@Райдер I recently updated the tool, and I hope this resolves your issue. Please try again.
Райдер 4 Aug @ 8:45am 
@TheBlackVoid As soon as I free up, I will send the video.
TheBlackVoid  [author] 4 Aug @ 8:43am 
Okay. I never came across this issue at all, so I can't really give you a solution. Maybe you can send me a video recording or something so I can probably understand more what happened.
Райдер 4 Aug @ 8:29am 
@TheBlackVoid This happens on any map.
TheBlackVoid  [author] 4 Aug @ 8:28am 
I'm not sure what the problem is, really. You can add me and send me the map link and the nodegraph (.ain) file, so I can look into it.
Райдер 4 Aug @ 8:13am 
@TheBlackVoid I can't load the AI nodes at all. Everything is within the limit.
TheBlackVoid  [author] 4 Aug @ 8:07am 
This error happens when the node count is below 0 or above the maximum limit. The limit was increased from 4096 to 8192 in the latest update, so please make sure your game server/client are fully updated.
Nikolay 4 Aug @ 6:01am 
AI node graph maps/graphs/anomaly_server_2.ain is corrupt

what the error?

(game crash and open window error)
Smelly (Afraid of Women) 3 Aug @ 4:44am 
@Райдер Probably a really bad addon conflitct, or the mod just didn't load correctly.
Have you tried restarting the game yet? If that doesn't help disable all your mods except for this one, close and open the game again and load into a map
Райдер 2 Aug @ 10:59pm 
I take the tool in my hands and until the moment of loading the AI nodes, there is a strong infinite lag, which prevents me from closing the task manager in Garry's Mod.
An_Unknown_Player[FIN] 1 Aug @ 3:24pm 
This tool is for creating nodegraphs (aka AI Nodes), which are used by base G-Mod NPCs as well as NPCs from other bases like VJ Base. While DRG Base NPCs (or NextBots) rely on a navmesh to function. There are two different navigation systems due to NPCs and NextBots using different kind of AI.
Smelly (Afraid of Women) 1 Aug @ 3:13pm 
@AKASO EK7000 Pro 4K
I think that you want a navmesh and not a nodegraph, because as far as I know DRGbase NPCs are technically nextbots that don't use nodes at all

Here's the easy navmesh editor:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=527885257&searchtext=navmesh+editor
AKASO EK7000 Pro 4K 1 Aug @ 3:09pm 
does drg base work with this, if not what nodegraph editor does
zoto1739 12 Jul @ 6:23am 
alright thanks
TheBlackVoid  [author] 12 Jul @ 12:50am 
The button is only visible when the map is not nodeable.
zoto1739 11 Jul @ 10:01pm 
am i blind? i can't find the "Create Nodeable Map" button anywhere
Judge 30 Jun @ 10:40am 
Can't wait for the updated tool, this allows much more meticulous nodegraph creation now.
TheBlackVoid  [author] 25 Jun @ 11:01pm 
I rarely play GMod nowadays, but thank you for letting me know. I will update the tool once the update is released.
Cpt. Hazama 25 Jun @ 7:15pm 
idk if you saw but the upcoming GMod update features 8192 as the max node count
Vodizx 20 Jun @ 10:24pm 
like how i can use Create Nodeable Map?
Vodizx 20 Jun @ 10:14pm 
iam having a problem. after the ,ain process and saving and using ainorebuildgraph 1 the npcs freezes and stop working
TheBlackVoid  [author] 14 Jun @ 11:41pm 
Enter the command "ai_norebuildgraph 1" before loading into the map to stop the game from rebuilding the non-existent nodegraph.
An_Unknown_Player[FIN] 14 Jun @ 2:10pm 
I know what to do, but no matter what I do the nodes don't show up after creating the .ain file (and reloading the map). I'm not sure if I'm doing something wrong or if it's the map itself.
identitychanged 7 Jun @ 12:31am 
the addon doesnt save the nodegraph and the "garrysmod\data\nodegraph" (specifically the nodegraph folder) does not exist
TheBlackVoid  [author] 19 May @ 11:30pm 
That's why Create Nodeable Map feature exists. :)
Impulse 19 May @ 11:28pm 
Got it thanks.
Only problem now is map devs who compile their map with a 1kb.ain file that prevents you from using AI nodes.
God forbid Map makers take the effort to compile a cubemap.
Putting 1kb.ain into the map is a bigger sin because thats just a conscious choice
TheBlackVoid  [author] 19 May @ 11:26pm 
For hint nodes, put the hint node json in the same directory as the .ain file (maps/graphs). Make sure HintNode Loader addon is installed, and then set both ConVar "sv_enable_init_hint_hook" and "sv_enable_hint_json_load" to 1, and reload the map.

Also, the addon sets "ai_norebuildgraph" to 1 for some reason. So, if you wonder there's no nodegraph on maps that's supposed to have, disable the addon and set "ai_norebuildgraph" to 0, and reload the map.
Impulse 19 May @ 11:22pm 
Got the AI nodes to load now, going to run through the map with some of my npcs chasing me to check if all the hunts and climb nodes work
Impulse 19 May @ 11:17pm 
Alright, also I realized the damn .ain didn't get replaced because my stupid computer didn't let me move the file because of insufficient access bs.
Reloading it now, lasty. I dont see in the desc, do we do anything with the hintnode.json?
TheBlackVoid  [author] 19 May @ 11:16pm 
Try entering "ai_norebuildgraph 1" into your console before loading into the map.
Impulse 19 May @ 11:10pm 
Yeah, I've used it before.
Also, so I just renamed the .txt to .ain and it didn't load the AI nodes or anything?
I know the map doesnt have a .ain file in it so im not sure what the deal is
TheBlackVoid  [author] 19 May @ 11:08pm 
The button you're looking for in the menu is Recreate Nodes. Sorry, forgot to mention that in the previous reply.
Impulse 19 May @ 11:02pm 
oh yeah, no I think I just simply forgot to rename the .txt
It had been a full year since I did that so that was why.
Impulse 19 May @ 10:59pm 
No, I've done this before.
I just couldnt find the panel that is mentioned in the popup.
Ive successfully made AI nodes for maps before that worked but with your version of the tool its not loading the AI nodes and doesn't bake them.
TheBlackVoid  [author] 19 May @ 10:44pm 
What I meant by control panel is the tool menu. Please read the usage section in the description, especially if you're new. I know that this tool seems to be quite complicated for the average user, so I plan to create a full guide later, explaining every feature and how to use them.
Impulse 19 May @ 8:22pm 
actually, whats funny is I noded gm_windswept which you seem to have made a nav for before.
I was going to do it sooner but ive been so busy and I needed a better map to test on.
Gray's able to replace the nodegraph with it and add your Navmesh too if you'd like (from what I remember though Navmesh adds a huge loadtime / file load to the map.
Impulse 19 May @ 8:19pm 
@TheBlackVoid
The nodegraph file in data/nodegraph differs from the map's nodegraph (Map has none, no .ain)
You can reload the .txt nodegraph in the control panel to update it

What control panel?
Also, is there a way to bake the nodegraph as .ain for bsps?
nelmalynlucanas 13 May @ 10:23pm 
thx for being my fist friend tho:steamhappy::steamhappy::steamhappy::steamhappy:
TheBlackVoid  [author] 11 May @ 7:31pm 
Yes. Put your old nodegraph file as .txt in the data/nodegraph folder. Then, simply press Recreate Nodes button in the tool.
MagicalFruitBasket 11 May @ 4:00pm 
Is it possible at all to re-save an outdated nodegraph?