View Single Post
  #10  
Old 09-07-2010, 03:38 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by Brewhaus View Post
Also, I was noding rooms with columns to try and make it so mobs could path every possible way through the room, is that not necessary? For example a room that looks like the following:

X = column
O = node


Code:
__________________________________________
|    O      O       O       O       O    |
|                                        |
|   XX     XX      XX      XX      XX    |
|O  XX  O  XX   O  XX   O  XX   O  XX   O|
|                                        |
|   O       O       O       O       O    |
|                                        |
|   XX     XX      XX      XX      XX    |
|O  XX  O  XX   O  XX   O  XX   O  XX   O|
|                                        |
|    O      O       O       O       O    |
|                                        |
|   XX     XX      XX      XX      XX    |
|O  XX  O  XX   O  XX   O  XX   O  XX   O|
|                                        |
|    O      O       O       O       O    |
------------------------------------------
This would allow the mob to take the shortest route to you no matter where you are at. You could remove a large number of nodes and still have LOS to a node no matter where in the room you are but unless I'm missing something it could create weird pathing in some cases with fewer nodes.
For a room like that, my first reaction would be to lay out the nodes like this to provide full coverage with the fewest nodes:
Code:
__________________________________________
| O     O       O       O       O      O |
|                                        |
|   XX     XX      XX      XX      XX    |
|   XX     XX      XX      XX      XX    |
|                                        |
| O     O       O       O       O      O |
|                                        |
|   XX     XX      XX      XX      XX    |
|   XX     XX      XX      XX      XX    |
|                                        |
| O     O       O       O       O      O |
|                                        |
|   XX     XX      XX      XX      XX    |
|   XX     XX      XX      XX      XX    |
|                                        |
| O     O       O       O       O      O |
------------------------------------------
but you are right that this might look 'unnatural' with the mobs running straight lines and making 90 degree turns rather than taking diagonal paths
which would be shorter and look more intelligent, so yes, your placement is probably the best in that scenario
Reply With Quote