It is currently Sat May 25, 2013 1:08 pm Advanced search
stupidquestions wrote:And it's not really in the spirit of diffusion.
infernalmachine wrote:The only concern is that now the diffusion map keeps getting hotter and hotter (because the water squares are no longer functioning as a sink), and at some point that means that information is lost, because the number of steps between high and low gets smaller over time. But I suppose I could just divide all values on map by 2 every so many turns if it becomes a problem.
tokugawa wrote:This is the problem I've dealing with now. After I raze an enemy hill, the hill scent lingers and my ants stay in the area. In more open maps, it's not a big problem, but in tight maze-like maps, the scent will remain for a very long time. I'm trying out a few strategies for dealing with this, but none have proven optimal quite yet.
Darhuuk wrote:- Fiffuse more per round: right now, I have multiple potential field grids, some of which are only diffused 1 time per round, while others are diffused 12 times. Ideally, I would diffuse 40-50 times, but this uses more than 500ms on the official server (though it's perfectly feasible to do so in under 500ms on my own PC)
Darhuuk wrote:- Reset your fields: if you have a separate field for hills for example, you could reset it after a hill has been razed. This will completely remove any lingering scent from the razed hill. The only problem it might cause is that the scent from another hill gets lost, but most probably you already have other ants nearby, so a few diffusion iterations should fix any pathfinding problems they might have.
Darhuuk wrote:- Increase your diffusion rate: the higher your diffusion rate, the quicker a scent will go away once it's source is gone. Don't go over a factor 0.25 though or you won't be diffusing anymore.
tokugawa wrote:I'm doing this now. I diffuse as many times as I can for half the turn time and then use the other half for moving ants. On an average map on my PC, I can usually get 15+ diffusions per turn, but on the bigger maps I'll get only 5 or so. I really don't have any way of knowing how many times I'm diffusing on the official server.
Users browsing this forum: No registered users and 1 guest