Help with hosties

Cpt. Hopi

Famous
Joined
Sep 28, 2008
Messages
429
I add hosties to map but need help with waypoints.

Like I add bots and it waypoints yet the hostages still don't follow when I hit e on them. They make the sounds and move their bodies a bit but they don't follow. It looks like the way points are set but they don't work for hosties but work for bots.

Any help on this?
 
You need info_nodes for hosties, and run a nav_generate for bots and hosties.
 
Its for if you want the NPC to move,place a info_node on the ground where you want it to go just mess around with this for a bit its pretty simple.

I'm unsure how to find it but I know its a point entity check under your entity list for it.
 
Wow I put info_node in did nav_generate and made all the spots but when I hit e on hosties they still don't follow... Do I need to properly edit the info_node, if so how?
 
Read this section I found on Interlopers.net and follow the guide there.
http://www.interlopers.net/tutorials/2194

7. Creating Navigation File
The final step you need to do is to create a navigation file (.nav) for your map. This is a file used for creating waypoints and information for hostages and bots. This will be created in your map directory alongside your map. Eg. cs_mymap.bsp will have a nav file called cs_mymap.nav. Ensure that when you distribute or run your map that this file exists in the directory.

To create your .nav file:
Compile and run your map. If you try to use a hostage you'll find that they don't follow you, this is because the .nav file doesn't exist. In Advanced Options enable the developer console. Press ~ to access the console. Type "sv_cheats 1" which switches on cheats. Type "navedit 1" which enables navigation editor. This can be used for manually adding and changing waypoints in the map. Type "nav_generate". This'll take a few minutes or longer depending on the size of the map. The application will automatically build the .nav file for you and should re-start the map automatically. If not then re-start your map.

Now when you try to use a hostage it should follow you though they may not be particularly clever about it.

10. Hostage Waypoints
In addition to the nav editor you can use the entity info_node to create waypoints for your hostages. This is useful if you find that they're running on ahead of you and getting stuck. These should be placed in line of sight of each other so the hostages can walk from node to node. There are other types of nodes for various situations as with the nav editor.
 
Ugh I do everything it says and yet I still hit e on hostages and yet all they do is say OK lets go and when I move away then like look one way then the other...

What the heck?
 

Latest posts

Back
Top