Path finding
Moderator: Moderators
Path finding
Don't take this too seriously, but well done video:
https://www.youtube.com/watch?v=2Mg_zDdrHqY
https://www.youtube.com/watch?v=2Mg_zDdrHqY
Re: Path finding
The pathfinder used to get stuck in trees frequently, unit getting pushed inside of features and getting stuck in factories sometimes as well...
just saying.
just saying.
Re: Path finding
On a more serious note, besides the recent mishap with a certain commit, I thought the pathfinder is much better now, or at least people stopped complaining.
Re: Path finding
Obviously the lack of complaints is due to there being no players left because, as we all know, Spring is dying.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Path finding
We could hold a yearly memorial service.
Re: Path finding
I thought that was the "spring is dying thread" is? Our yearly remembrance for when spring died 5 years ago and players stopped coming
Re: Path finding
gajop wrote:On a more serious note, besides the recent mishap with a certain commit, I thought the pathfinder is much better now, or at least people stopped complaining..[citation needed]
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: Path finding
Can I cite that? I think it has improved, I don't know what engine XTA is using but ZK is using latest. I think pathfollowing is even better since units slide off impassible terrain but I do get some complaints about it looking silly.
Re: Path finding
they do that when they get stuck? can we get this for when they get stuck in features by pushing?
Re: Path finding
i remember when i was writing a config for shard, i wrote a periodic check if the unit had indeed left the factory. if not, i had it try another move order in another direction. much what players do, except they swear more.
Re: Path finding
I think units getting stuck in factories may be fixed in the latest development build of engine, but I can't say, we haven't tested it enough with real games . In 98.0 it happens frequently, once per game per player I would say.
The most common complaint isn't that pathfinding is stupid, it does its task quite well. But on some maps units are instructed to go into "red" terrain and get stuck.
it has certainly improved if you compare with engine 94 or 95. I tested it on the map Epic with giving constructors complex orders, and after 96.0 it works better. But it's still not as good as it was in say engine 0.78 or so. Maybe that had other problems or maybe we only remember the good stuff. Ultimately my memory is subjective.
I tried to grep this year's demos for the string _98 in the name and for "pathfinding" in content. 16 hits out of 905 demos. Not so many complaints. It's nice that zk uses the latest engine, but how many real games does zk have with the engines 94, 95, 96 and 98? I only ask that so I can know how much data there is to back up that hypothesis.
The most common complaint isn't that pathfinding is stupid, it does its task quite well. But on some maps units are instructed to go into "red" terrain and get stuck.
it has certainly improved if you compare with engine 94 or 95. I tested it on the map Epic with giving constructors complex orders, and after 96.0 it works better. But it's still not as good as it was in say engine 0.78 or so. Maybe that had other problems or maybe we only remember the good stuff. Ultimately my memory is subjective.
I tried to grep this year's demos for the string _98 in the name and for "pathfinding" in content. 16 hits out of 905 demos. Not so many complaints. It's nice that zk uses the latest engine, but how many real games does zk have with the engines 94, 95, 96 and 98? I only ask that so I can know how much data there is to back up that hypothesis.
Re: Path finding
I don't think pathfinding is that bad.
There's the annoying fact that units ordered to move nearby won't do so in a straight line, which can make a difference sometimes, and looks weird.
They don't get stuck often imo.
There's the annoying fact that units ordered to move nearby won't do so in a straight line, which can make a difference sometimes, and looks weird.
They don't get stuck often imo.
Re: Path finding
It depends on map. Obviously, as the video says, we can always play on flat maps :)raaar wrote:I don't think pathfinding is that bad.
They don't get stuck often imo.
Re: Path finding
They do seem to get stuck in S44, and it's using spring 98.
Infantry often gets stuck on trees.
Infantry often gets stuck on trees.
Re: Path finding
Sentence inviting, to be taken out of context :Draaar wrote:Infantry often gets stuck on trees.
Re: Path finding
Robert Frost wrote:TWO roads diverged in a yellow wood,
And sorry I could not travel both
And be one traveler, long I stood
And looked down one as far as I could
To where it bent in the undergrowth;
Then took the other, as just as fair,
And having perhaps the better claim,
Because it was grassy and wanted wear;
Though as for that the passing there
Had worn them really about the same,
And both that morning equally lay
In leaves no step had trodden black.
Oh, I kept the first for another day!
Yet knowing how way leads on to way,
I doubted if I should ever come back.
I shall be telling this with a sigh
Somewhere ages and ages hence:
Two roads diverged in a wood, and I—
I took the one less traveled by,
And that has made all the difference.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Path finding
Why don't you simply fix unit movement? That would be much more simple. Your unit movement is so cruddy, it's no wonder that the pathfinder struggles with it.