Episode One follows scientist Gordon Freeman and his companion Alyx Vance as they fight in humanity's continuing struggle against the transhuman race known as the Combine. When the story begins, Gordon wakes up outside the enemy's base of operations, the Citadel, after being left unconscious from the concluding events of Half-Life 2. During the course of the game, Gordon travels with Alyx as they attempt to evacuate the city.

Post tutorial Report RSS Willgames' NPC Level Based Paths

How do you make paths for NPCs to walk in, in the Hammer editor? This article answers that question!

Posted by on - Basic Level Design/Theory

First make your map, which is kind of obvious how to do if youre at this point, now place down your NPCs, create something that can activate the NPCs to even follow the path, whether it be right when the game starts or something like a trigger or a func_button. Now add path_corners, they are entities that define points where the NPCs walk now add them along your path, now tell each node to go to the other node, then give them names so its much easier to reference them in the outputs. Now just set it up to where your NPC goes to the points (ie: given a name, told to do so by some other entity) and that's pretty much it, your npc can now follow paths you lay out, this is good for patrolling NPCs and much other stuff.

Path corner.png

For more information on the path_corner entity go here: Developer.valvesoftware.com

Post comment Comments
Guest
Guest - - 690,469 comments

This comment is currently awaiting admin approval, join now to view.

Post a comment

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