Pathing Issue
RE: Pathing Issue
The 'can't go there' seems to relate to traffic - if there is another tank nearby they don't like to pass.
The pathing issue might be down to tank commanders wanting to see Christmas - there is a AT gun and tank destroyer ahead...they are likely pointing at the choke point!
The pathing issue might be down to tank commanders wanting to see Christmas - there is a AT gun and tank destroyer ahead...they are likely pointing at the choke point!
"It takes three years to build a ship, it takes three centuries to build a tradition"
Admiral Andrew Cunningham
1941
Admiral Andrew Cunningham
1941
- Andrew Williams
- Posts: 3862
- Joined: Mon Jan 08, 2001 10:00 am
- Location: Australia
- Contact:
RE: Pathing Issue
seems to relate to traffic
in many if not most cases yes.
Try and space out your commands... if you have a tank crossing a bridge and try and order another past it you will receive "can't go there"


RE: Pathing Issue
Try the Arnhem bridge battle map. The bridge is wide enough for three or four pzkws to drive over it at once. Still the game keeps giving the "can't reach target" reply when you even try to send one over it.
- bairdlander2
- Posts: 2320
- Joined: Sat Mar 28, 2009 9:25 am
- Location: Toronto Ontario but living in Edmonton,Alberta
RE: Pathing Issue
I tried the scenario JD was talking about as Axis,gave an order for Stug already on a road to move further down the road and instead of going straight,it veered off the road,went through a wall then came back to where it was and then went straight down road where I had originally ordered it.As for using waypoints the distance I wanted Stug to move was very small 20m and still,it veered off like that.
RE: Pathing Issue
Is the pathing issue related to how maps are coded? I have no clue how units decide what terrain they are crossing (I'm guessing you code it in the map?), but I have a feeling that the AI gets confused in trying to decide how best to traverse an area.
Waypoints definitely help and I have noticed the "can't move there" audio cue quite a bit in the other games (WAR and TLD more so than COI) yet I can clearly see it's paved road.
What is feeding info to the vehicle AI in order for it to find a path? How is it different from the infantry AI? They seem to do alright in pathfinding.
Waypoints definitely help and I have noticed the "can't move there" audio cue quite a bit in the other games (WAR and TLD more so than COI) yet I can clearly see it's paved road.
What is feeding info to the vehicle AI in order for it to find a path? How is it different from the infantry AI? They seem to do alright in pathfinding.
"To you, we are deeply grateful, and release what little hold we might, as Durandal, have had on your soul.
Go."
- Final Terminal Message Marathon Infinity
Go."
- Final Terminal Message Marathon Infinity
RE: Pathing Issue
Definitely map coding is huge. The engine does not see the pretty picture we see.
The coding divides the map into 5 by 5 pixel squares that are coded as a single element and a single height. Each square based on those 2 values provides; cover, protection. line of sight hindrance, etc. (plus many other things, check out the CC workbook for more info).
Infantry for movement have one big advantage, soldiers can move diagonal; corner to corner between element squares and do not seem to be impacted by other soldiers being present.
Vehicles can only move from one flat side of an element square to another (realistic given vehicle sizing) and do take into account other vehicles. If vehicles are close together or you order one past another you do seem to get the "can't get there" message way more than other times....
The movement type also comes into play as the slower you order someone to move the more the AI should take terrain and enemy threats into account in planning its path....
The coding divides the map into 5 by 5 pixel squares that are coded as a single element and a single height. Each square based on those 2 values provides; cover, protection. line of sight hindrance, etc. (plus many other things, check out the CC workbook for more info).
Infantry for movement have one big advantage, soldiers can move diagonal; corner to corner between element squares and do not seem to be impacted by other soldiers being present.
Vehicles can only move from one flat side of an element square to another (realistic given vehicle sizing) and do take into account other vehicles. If vehicles are close together or you order one past another you do seem to get the "can't get there" message way more than other times....
The movement type also comes into play as the slower you order someone to move the more the AI should take terrain and enemy threats into account in planning its path....
- RD Oddball
- Posts: 4836
- Joined: Sat Feb 10, 2007 6:38 pm
RE: Pathing Issue
In this particular instance though map coding is not the problem. Steve is has been looking at the pathing issue for the past couple days as it's related to the engine.
RE: Pathing Issue
Lots of pathing problems with the bridge shown in the first post. Very frustrating to see this is an issue in the remakes still. This is definitely patch priority material.
I don't know how the friendly AI can actively be encouraged to use them, but can a priority could be put in place (ie, road chosen over river with no deviation unless destroyed)?
I don't know how the friendly AI can actively be encouraged to use them, but can a priority could be put in place (ie, road chosen over river with no deviation unless destroyed)?
"Fear is a darkroom where the devil develops his negatives" Gary Busey
- Andrew Williams
- Posts: 3862
- Joined: Mon Jan 08, 2001 10:00 am
- Location: Australia
- Contact:
RE: Pathing Issue
The only map coding that could possibly be creating a problem at those bridges is the 1.5meter rise and fall in elevation at each end of the bridges.
Otherwise it is changes to the exe.
Otherwise it is changes to the exe.


RE: Pathing Issue
Well if AI is dificult to implement Pathfinder is a nightmare..and when they are part of the same you take your conclusions.
One of the best things i realy liked on this series is that you could marks severerals points to get to te final stage.
I dont play for a long time..dont know if you could define what to do at each point before advance to next...but that could be a nice feature for devs to implement.
One of the best things i realy liked on this series is that you could marks severerals points to get to te final stage.
I dont play for a long time..dont know if you could define what to do at each point before advance to next...but that could be a nice feature for devs to implement.
- Andrew Williams
- Posts: 3862
- Joined: Mon Jan 08, 2001 10:00 am
- Location: Australia
- Contact:
- Andrew Williams
- Posts: 3862
- Joined: Mon Jan 08, 2001 10:00 am
- Location: Australia
- Contact:
RE: Pathing Issue
Just tried this same battle as judge posted with the Ai as the allies.
They had the same problem crossing the bridge... ending up in the water.
I wonder if it is because the VL is off to the side playing havoc with the pathing there.
They had the same problem crossing the bridge... ending up in the water.
I wonder if it is because the VL is off to the side playing havoc with the pathing there.


- Andrew Williams
- Posts: 3862
- Joined: Mon Jan 08, 2001 10:00 am
- Location: Australia
- Contact:
- SteveMcClaire
- Posts: 4341
- Joined: Mon Nov 19, 2007 9:31 pm
RE: Pathing Issue
ORIGINAL: JudgeDredd
I'm afraid to say there is a pathing issue...
As Oddball said, we're looking into this issue. Thanks for your feedback.
If you want a vehicle to use the fastest (typically the most direct) path to a destination, the 'Move Fast' order is the best bet. This favors speed over safety.
On the "Can't go there" path finding failures -- these are typically related to the path calculations getting too complex. There is a cut off to prevent the game from stalling when a complex path is calculated. But if you're seeing this for relatively short paths please post a screen shot. That helps a lot with finding specific problem cases.
Steve
RE: Pathing Issue
Ive noticed that its better to issue the MOVE order instead of MOVE FAST one......
- bairdlander2
- Posts: 2320
- Joined: Sat Mar 28, 2009 9:25 am
- Location: Toronto Ontario but living in Edmonton,Alberta
RE: Pathing Issue
Just playing as Germans,orderd squad over Dommel bridge,instead of going straight over bridge they moved off road/bridge and attempted to go across the water then moved back onto bridge where they originally were and crossed.Weird.
- RD Oddball
- Posts: 4836
- Joined: Sat Feb 10, 2007 6:38 pm
RE: Pathing Issue
ORIGINAL: CaptRio
Ive noticed that its better to issue the MOVE order instead of MOVE FAST one......
ORIGINAL: BAIRDLANDER
Just playing as Germans,orderd squad over Dommel bridge,instead of going straight over bridge they moved off road/bridge and attempted to go across the water then moved back onto bridge where they originally were and crossed.Weird.
That IS helpful feedback guys. Thanks!
RE: Pathing Issue
Yeah I just purchased the game and am noticing all of the aforementioned behavior. I've only started the first map in the campaign (Valkenswaard). I'm not only having problems moving vehicles in straight lines (even when using waypoints over extremely short distances), but I'm having problems issuing move orders and getting the "Can't go there" message.
I've never really noticed this in the other versions of CC. Perhaps I never realized it until now. If you guys are working on it, cool. But the game is kinda hard to play right now.
...Oh and as I was typing this, one of my Shermans got smoked near the bridge south of the Lumber Mill. I should have laid down smoke. UGH!
I've never really noticed this in the other versions of CC. Perhaps I never realized it until now. If you guys are working on it, cool. But the game is kinda hard to play right now.
...Oh and as I was typing this, one of my Shermans got smoked near the bridge south of the Lumber Mill. I should have laid down smoke. UGH!
Windows 7 Home Premium (x64)
3.4 gigahertz AMD Phenom 965 Quad Core
NVIDIA GeForce GTX 460 1024Meg
4GB RAM
3.4 gigahertz AMD Phenom 965 Quad Core
NVIDIA GeForce GTX 460 1024Meg
4GB RAM
- Andrew Williams
- Posts: 3862
- Joined: Mon Jan 08, 2001 10:00 am
- Location: Australia
- Contact:
RE: Pathing Issue
I think it has to do with how the vehicles are comprehending the bridges. I was able to always get a "can't move there" audio cue when I did a waypoint directly before and after the bridge like in the image below. When I did a single waypoint to the other side of the bridge the tank moved across fine and at high speed.


- Attachments
-
- LSA2.jpg (197.13 KiB) Viewed 253 times
"To you, we are deeply grateful, and release what little hold we might, as Durandal, have had on your soul.
Go."
- Final Terminal Message Marathon Infinity
Go."
- Final Terminal Message Marathon Infinity