Talk:Introduction to AI

From Valve Developer Community
Revision as of 02:42, 17 August 2005 by JJacobo (talk | contribs)
Jump to: navigation, search

info_nodes don't actually form a roadmap in Source (or at least if they do, it's not used for the same thing). They are unless I'm mistaken to give positions to perform actions from and to, and as reference points if the destination is too far away to efficiently calculate on the fly. --TomEdwards 14:51, 30 Jun 2005 (PDT)

They do seem to make a basic 'roadmap', as enemies basically can't navigate far at all if there aren't any nodes and everything goes Super Brainy if there's a decent network of them. But I imagine you've noticed that already by now... ;-]
My question is - what sort of nodes do Manhacks use? They seem to navigate round perfectly well with just ground nodes, which I found a bit surprising. But they also navigate round with just air nodes - do they use a combination, checking which is most appropriate for where they want to go? --Cargo Cult 02:17, 2 Aug 2005 (PDT)
  • How exactly to NPCs "see" other NPCs? We're building a targeting system so that players are constantly "looking" for other players within a range relative to their current position and limited by their angles range. Does the NPC AI already do this? If so we merely need to add the code to our targeting system. Thanks in advance.