[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-devel] Re: Pathfinding in place and working
From: |
Kai Sterker |
Subject: |
[Adonthell-devel] Re: Pathfinding in place and working |
Date: |
Fri, 17 Apr 2009 23:48:04 +0200 |
On Thu, Apr 9, 2009 at 8:52 PM, Kai Sterker <address@hidden> wrote:
> With path finding and the dialogue widget there, I will work on
> updating worldtest with the following:
>
> * Integrate schedule system, so that player controls are implemented
> by PC schedule script and NPC movement controlled by (simple) NPC
> schedule.
I have the player part done, although it turned out that the schedule
stuff wasn't as complete as I had thought. I've improved it a bit, but
it might need even more work.
Now I'm in the process of writing the NPC schedule, but I've ran into
issues with the path finding:
* We'd need the pathfinding_manager to be static, so that I can add
path finding tasks from the schedule script.
* I cannot set a callback that will inform me when the pathfinding is done.
Frederico, would it be okay if I made those two small changes?
Other than that, I've also updated the Wiki with some informations
about the schedule stuff:
* http://adonthell.berlios.de/doc/index.php/Architecture:Map_Module
* http://adonthell.berlios.de/doc/index.php/Scripting:Characters
Probably still missing a number details, but I hope things will get
clearer once I complete the NPC schedule.
Kai
Kai