Do what Diablo 2 does, before trying anymore to make pathing work
Funcom,
Pathing for pets sucks, plain and simple. I'm sure you are aware of the problem. But as a software developer, I know how difficult path finding is. Stop pussyfooting around and give us proven workarounds used by lots of other games, instead of trying to make it work. You can make pathfinding work later, but make changes that help us NOW.
Here is the list of rooms that give MP pets a really hard time:
Office type dungeon:
1. Room with the long conference table + chairs, overhead lights, and 4 exits. Pets get stuck on the table/chair.
2. Room with the circle machine with the spinning arm. Pets get stuck not knowing how to get around.
3. Tight corners cause pets to get stuck.
Brown cave dungeon type:
1. Main room where there is green slime and a catwalk. Pets get stuck in the green slime.
2. Straight room with 2 exits, and deep water (where you have to swim across). Pets don't cross water.
3. Corner room with 2 exits, and deep water (where you have to swim across). Again, pets don't cross water.
4. Brown room with broken metal grate on the floor, where the grate is in 2 pieces, one of them at a 45' incline. Pet gets stuck navigating the little ramp.
5. Tiny blue room with water in the middle, and some pipes on the ground. Pets can't navigate around pipes.
Since your level designers did not build many of the rooms of missions with pet pathfinding mind, please make the following changes to pets (some of it is used by Diablo 2):
1. If a pet is supposed to move to a certain room, but after 3 seconds, has not moved more than X units (X is to be determined - but basically the pet doesn't move too far), teleport the pet to one of the doors to the room where it should be. The door that the owner last entered through is a good choice.
2. If a pet can't draw line of sight to a target in a room, where it is supposed to be (i.e. fighting a mob, or healing something), teleport the pet to where the target is. If you can't teleport it, make the pet pass through all walls and obstacles unhindered (like mobs).
Forget making pathfinding work until you do these two changes. Make the game playable, and forget "tweaking" the pathfinding because other companies that specialize in pathfinding (Blizzard), have "fallbacks" when pathfinding takes too many CPU cycles or plain doesn't work.
Argh. 6 months after the game is out and this still doesn't work.
Tim