Ok so this is a continuous post to my previous one.
There's not much to it so I'll try to make it simple. I'll be using Port Skandia for this explanation.
When we look at walking in the game, there are 3 important files for each map:
*.fsmp
*.smp
*.pgm
The PGM file holds the pathfinding data, it's a set of "spiderwalking" links.
This is useless if you want to walk through obstacles because spiderwalking is a pre-defined set of walkable areas and does not include ALL of the walkable areas.
So we'll ignore this for now.
The structure for FSMP and SMP is pretty simple and here's Port Skandia's FSMP and SMP (yes, they're "upside down" in the client):
If we want to know what obstacles we can go through what we are interested in is the SMP.
The thing is, not all of the obstacles in the SMP are unwalkable. These are the only really unwalkable obstacles:
You can walk through all of the white areas and you can even walk in a straight line (instantly) from a white point to another, for example:
Even though there are many obstacles in these 2 paths (such as buildings, "hills" terrain and such).
To sum it up:
You can go through
many obstacles but not through all obstacles.