- Apr 23, 2013
- 165
- 74
I must be either really stupid or I must be missing something crucial, but despite Alias' explanation, I still have a tough time figuring out where to put my nav_avoids.
From what I understood, a carrier bot will always try to find the shortest way to the hatch, unless you block off the shortest way with nav_avoids, forcing him to take another path.
Consider these very simplified blueprints.
Case 1
The grey areas are the bot spawnzones and the black squares and rectangles are obstacles (rocks, walls, etc)
There are two spawns as you can see. From here, two paths are possible: the blue one and the red one. If I want to force the carrier to take the blue path for example, would I have to direct it by adding nav_avoids at the spots marked by blue X's? Same goes for red path: if I want to direct it to the red path, would the avoids at the red X's spots be correct?
Basically, I block all possible access areas so that he has no choice but to follow the path I want him to take?
Case 2
The grey part is an elevated ledge from which you can jump off to the lower white area. These ledges are connected to the lower level (white area) with stairs. The carrier can take the ledge, but I want to make sure he doesn't jump off. I know how to block the stairs of the green path: just put a nav_avoid (dark green X) on them. But how do I make sure he doesn't jump off the ledge as indicated with the light green arrows?
Same goes for orange path. he runs up the ledge and I want to make sure he doesn't jump back down.
How is that achieved?
From what I understood, a carrier bot will always try to find the shortest way to the hatch, unless you block off the shortest way with nav_avoids, forcing him to take another path.
Consider these very simplified blueprints.
Case 1
The grey areas are the bot spawnzones and the black squares and rectangles are obstacles (rocks, walls, etc)
There are two spawns as you can see. From here, two paths are possible: the blue one and the red one. If I want to force the carrier to take the blue path for example, would I have to direct it by adding nav_avoids at the spots marked by blue X's? Same goes for red path: if I want to direct it to the red path, would the avoids at the red X's spots be correct?
Basically, I block all possible access areas so that he has no choice but to follow the path I want him to take?
Case 2
The grey part is an elevated ledge from which you can jump off to the lower white area. These ledges are connected to the lower level (white area) with stairs. The carrier can take the ledge, but I want to make sure he doesn't jump off. I know how to block the stairs of the green path: just put a nav_avoid (dark green X) on them. But how do I make sure he doesn't jump off the ledge as indicated with the light green arrows?
Same goes for orange path. he runs up the ledge and I want to make sure he doesn't jump back down.
How is that achieved?