Wow this is super awesome! I wish i could see the source code lmao. I am working on a tactics game as well, and I made a system to see how far the character should be able to move (with move cost and walls etc., which took longer then i'd like to admit.)
I made this system for 2D tilemaps, and am wanting to port it over to 3d. I was wondering how your system works for moving your characters