Stand help: SDK Source: how to make paths for NPC’s in Hammer. - Help.com

dylanjraub
offline Verified (2 years, 8 months) Visit dylanjraub's shoutbox
Plover, WI, US

SDK Source: how to make paths for NPC’s in Hammer.

I want to make paths that npc’s follow , so they don’t just stand there or follow the player, but I’m not sure how or what to do.

This open post was written 1 year ago | V/U/S: 642, 2, 2 | Edit Post | Leave a reply | Report Post


Reciprocity (0) Reciprocation Failure -- The poster has NOT helped anyone else yet!

Since writing this post dylanjraub may have helped people, but has not within the last 4 days. dylanjraub is a verified member, has been around for 2 years, 8 months and has 106 posts and 623 replies to their name.

Post Tags (5)

Replies (2)

Where were you?

Click and drag to move the map around. FAQ: How we place people on this map »
You can also watch events on Help.com as they happen
Mouse over the map for 2 seconds to see an expanded, interactive view

dylanjraub offline Verified User (2 years, 8 months) Long Term User Shouts: 3 #
Plover, WI, US | 1 year ago (3 minutes after post)

Or at least tell me a good place where there is tons of tutorials JUST for hammer.
Thanks.

Quote this reply Report this reply to moderators
Christian Clavet offline Verified User (6 months, 1 week) Long Term User Shouts: 0 #
An Unknown Location | 6 months, 1 week ago (6 months after post)

First thing to do:
Try to put some “info_nodes” on the ground so the character will know where to walk.

If then you don’t want them to stay there are really move. Name each of them, then use a “trigger” or a “logic_auto” entity to send them into patrol.

To do this:
Name each NPC using a pattern like this: citizen1, citizen2, citizen3, etc.

On your trigger OUTPUT tab, define a rule like this:
ON TRIGGER -> citizen* -> StartPatrol

The * will take into account every entity that start with the name “citizen”

If you’re not sure what is a trigger, it’s a brush entity. Create a box using the creation and convert it in an entity. Select TRIGGER_ONCE as the entity type.

One the character(player) will enter that invisible box in the game, the NPC will start on patrol.

If you need that have them patrolling when you start your level here is another solution instead of using a Trigger, we’ll use a LOGIC_AUTO entity (point entity)

Create one and go to the OUTPUT TAB:
Create that rule in the output tab:
ON MAP SPAWN -> citizen* -> StartPatrol

Quote this reply Report this reply to moderators

Invite Others to Help

A logged in and verified Help.com member has the ability to setup a Friends List and invite others to help with posts.