View Single Post
  #6  
Old 05-27-2003, 02:20 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

My code is very simple - and has hand coded coordinates for the gate area of freeportw hard coded into the MobAI.cpp file rather than a database. And it does a big recursive search through the links between the path points so wouldn't scale very well but I know how to improve that but haven't had any time, but I'll post what I've got anyway (but it won't be until later on today when I get home)

If you want to have a try you should be able to make a character on my server (It's called Jbb Test Server) or something. Start in freportw zone. Stand in the middle of the bridge over the gate and annoy one of the guards below. They should run round and up towards where you are. I've only put in any paths as far as the nfreeport zone and a little way into the city.

And the mob is supposed to detect when it's already at the closest pathing point to it's target and revert back to heading directly for it - But I seem to have broken that in the latest code.
Reply With Quote