[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Hello all
From: |
Leo Wandersleb |
Subject: |
Re: [glob2-devel] Hello all |
Date: |
Mon, 21 Jul 2008 14:51:44 +0200 |
> Well, not halfway across the map... sorry that was an over-exxageration. I
> meant it seemed to go to a resource location that's just not the closest
> one. Anyway I'll do a bit more observation on this, as Bradley said, it
> could be a bug.
count distance in squares they travel. 5x5=5 in glob2 ;) (diagonally they can
travel sqrt(2)* further)
> So does the algorithm for the resource pickup make the worker pick up
> the resource that has the lowest distance value from it when it was first
> allocated the task? If that's the case maybe a possible optimisation is to
> make it consider the resources that are close to the target building as
> well? And a further optimisation is to make it find the nearest resource
> located along the path to the target, but that might be quite a heavy
> process...
only knowing the distance to wheat is painfully little information to implement
3 point path finding but is all we got atm.
leo
- Re: [glob2-devel] Hello all, (continued)
- Re: [glob2-devel] Hello all, Kai Antweiler, 2008/07/20
- Re: [glob2-devel] Hello all, Quinn Yee Qin Teh, 2008/07/20
- Re: [glob2-devel] Hello all, Kai Antweiler, 2008/07/20
- Re: [glob2-devel] Hello all, Bradley Arsenault, 2008/07/20
- Re: [glob2-devel] Hello all, Quinn Yee Qin Teh, 2008/07/20
- Re: [glob2-devel] Hello all, Kai Antweiler, 2008/07/21
- Re: [glob2-devel] Hello all, Quinn Yee Qin Teh, 2008/07/21
- Re: [glob2-devel] Hello all, Stéphane Magnenat, 2008/07/21
- Re: [glob2-devel] Hello all, Bradley Arsenault, 2008/07/21
- Re: [glob2-devel] Hello all, Kai Antweiler, 2008/07/21
- Re: [glob2-devel] Hello all,
Leo Wandersleb <=
- Re: [glob2-devel] Hello all, Leo Wandersleb, 2008/07/21