I seem to have a problem here.
I have a really fucking big map I'm working on, and while it's not specifically designed for a gamemode, I'm still trying to make it conform as best I can to a certain WIP gamemode a friend of mine is making. The thing is though, that this gamemode relies heavily on NPCs, and thus, AI Nodes. My problem, however, is that my map is very large and it seems that the node graph can only support around 2000 nodes. Is there ANY possibly way around this, to bring that number up a bit? Is there some console command I can change for the max graph size? A setting I can change in the Hammer registry? Perhaps something Garry can do to the nodegraph generator in Gmod?
Does you map really need more than 2000 nodes? Because remember all NPCs need these for is to get around things, so you really only need them at places like corners and intersections; I'd recommend you put in the essential ones first, then go back and use any remaining ones to fill up big empty spaces and/or for hints for stuff like crouching to your preference.
Unless of course you made some huge almost-grid-limit possibly multi-level indoor map that actually requires all the 2000 for the essential intersections and whatnot. In that case you'll have to wait for someone else to help or just edit the map.
Nodes are needed at far more than just essential intersections. NPCs need them to navigate long distances and basically to get around anywhere. They're used for avoiding objects but also for telling the NPCs what's a clear path between those objects. They don't have to be as dense as a nav mesh, but try making a map with a few nodes at "just essential intersections" and have a fast zombie chase you (from a distance) across a gap in the graph - they won't be able to.
Anyone know of any other solutions?
If you have a flatgrass type of map, go ahead and make it 1 node every 1024+ units, there isn't a need for anything more. You could easily lay down 10-20 nodes for a map that's half the grid (granted that it's empty space) Then go ahead and put down 3-6 for each major turn
That doesn't work unfortunately robmaister, there's a minimum distance to the connections between nodes, apparently around 720 units. That and my map is far from flatgrass-type, it's got quite a lot of variation in terrain and many more complex indoor and outdoor areas.
I found a somewhat acceptable solution, what I've done is I removed all the nodes in the map and re-noded it from scratch, this time as efficiently as I possibly could. It seems that the limit is actually around 1500 nodes, and I just barely hit that, so I'm good but I can't expand it. I suppose it will have to do, though.
Sorry, you need to Log In to post a reply to this thread.