Quote:
Originally Posted by SA_RTCW
I can add nodes and paths, but the bot don't seem to want to follow them, even when they spawn on top of one. I did some reading and realized that I need to put some goals into the map, but being a deathmatch arena, there are no goals to speak of.
Then I tried putting some roam/patrol actions and that stopped the complaints about no goals, but the bots still don't follow the paths.
I had also put teleport devices into the map, in places like the floor heating vents and the toilet. The player/bot is teleported to one of several locations, randomly. Can I place a node at the destination and have it link up with a main "path"?
Any help would be appreciated. Hopefully once I get the hang of a simple map, I'll be able to work on some of my favorite ones as well.
|
Using roam actions is the best way to get them to roam around the map - your on the right track.
Normal Wolf didn't have teleporters, so I never added logic to understand/use them. You could try connecting the nodes that lead into the teleporters and see if they work, but your results may vary - the bots calc their path based on dist between nodes, so may never use the teleporter if they consider it too long a path, and a shorter one is available.
That the destination of each teleporter is random makes things more difficult: the bots need to be able to find a direct path, and you can't do that with random movement. However, they are smart enough to realize when they've ventured off their path, and will look for a new one to their goal. It would prolly be best to minimize the bot use of teleporters as much as possible, because I'm not sure how much they'll like them.
Make sure there is a unbroken path from all nodes, to the actions your using. Also, make sure the closest node for each action is correct (use "node_drawhud 2" in the console to find out).