Alien Swarm with a twist. Better AI, new mutations, new mapper tools.

Report RSS The making of a node graph

Ever wonder how aliens know where to go? They don't see the world like you do. Meet the node graph.

Posted by on

If you play an Alien Swarm map, you see something like this:

In-game view of Area 9800 Landing Zone

If you're a mapper, you see something like this:

However, if you're an alien or a marine bot, you see something like this:

Node graph from Area 9800 Landing Zone

Today, I'll explain the third view. The one you don't see unless you're actually part of the game. The little yellow boxes (nodes) tell the AI "you can go here". The game automatically connects nearby nodes to form a node graph. It's like a street map, but there are no houses and streets can appear and disappear at any time if something blocks a path between nodes.

Hammer view of Area 9800 Landing Zone without propsHammer view of Area 9800 Landing Zone with props

On the left is a room with the props removed. On the right is the same picture, but with the props. Open them in tabs and flip back and forth a few times if you can't connect them in your head.

There are two main problems with this layout: there are no hints for marine bots and some of the nodes are inside obstacles. For example, the forklift, dumpster, crates, and shelves are on top of some of the nodes. Those nodes are effectively nonexistent because they're always blocked.

Hammer view of Area 9800 Landing Zone without propsHammer view of Area 9800 Landing Zone with props

In this picture, the marines have places to stand and the nodes aren't blocked by obstacles. Since the marines aren't allowed under the shelves or past the forklift, there are no positioning hints on the right. If there were, the marines could choose to stand there and try to walk where they can't. This is an example of a good layout for AI nodes.

In a game like Swarm Director 2 that depends heavily on AI, a good node graph is very important.

Post comment Comments
vfn4i83
vfn4i83 - - 692 comments

If you can make the marines bots a little bit smarter, so they can actually resolve some puzzles and open doors, would be sweet.

Reply Good karma Bad karma+2 votes
BenLubar Author
BenLubar - - 50 comments

They can do Landing Bay on their own :)

Moddb.com

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: