• About node limit
    2 replies, posted
There is node limit in Garry's Mod (set in ai_network.h at line 46). I was making a map with relatively big walkable space, that required a lot of navigation detail for standard NPC (ie. Half-Life 2 ones) and bumped into this limitation. So, I was wondering: Why is it in place, and why is it set to 1500. Can it be changed, what would be the consequences? Will it be changed? Thanks in advance.
It's in place to allocate an array of nodes of a fixed size. Source typically uses these over vectors/resizeable arrays for performance. Yes, and none that I can see - you'll just have a larger array of nodes. Maybe if you ask nicely.
Thanks a lot!
Sorry, you need to Log In to post a reply to this thread.