...after some headache caused by debugging, the n-level pathfinder works. building floors can be allowed for large units (bridge, gate) or restricted for infantry (stairs, walltops), and also deals with tile height differences too. everything destructible, new buildings can be placed runtime, and database is auto updated.
Wow , very nice project , it look like age of empir 3