Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Vehicle pathing

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Close Combat Series >> Close Combat: Last Stand Arnhem >> Tech Support >> Vehicle pathing Page: [1]
Login
Message << Older Topic   Newer Topic >>
Vehicle pathing - 3/29/2016 9:46:06 PM   
prjw73

 

Posts: 77
Joined: 2/17/2007
Status: offline
Steve, could you explain in brief if vehicle pathing is affected by element coding ? I am under the impression that the combined width of elements such as "paved road" affects the pathing. The narrower the road is (less elements next to each other) the more zigzagging I see. Particularly in diagonal roads. I see this in our Rhineland mod where roads are often not as wide as in LSA and flanked by 'light muddy field' elements.

_____________________________

CC hobbyist, creator of mods.
Post #: 1
RE: Vehicle pathing - 3/30/2016 5:47:23 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
NOTE: This info applies to LSA / TLD / WaR but PitF and GtC are slightly different.

The short answer is yes, element coding (and the movement cost of the elements, as well as bog and immobilize chance) does effect vehicle pathing. The vehicle will prioritize speed if you use 'move fast' and safety if you use 'sneak.' 'Move' is balanced.

The long answer is that pathing takes place at two levels -- the high level pathfinder finds a route based on the movement cost and passability at the tile level (4x4 elements.) Then the soldier level AI uses a very simply algorithm to follow this path at the individual element level.

A narrow road with high movement cost and/or bog/immobilize chance on the verges is going to make the driver AI turn a lot to try and stay on the road. Diagonal roads where three elements across don't fall in the same 4x4 tile may also cause the higher level pathfinder to add extra turns to its route.

I would suggest you widen the road to 5 elements. And as much as possible, make sure it has 3 elements across within one distinct map tile. This will give you the best results from both layers of the pathfinder.

Steve

(in reply to prjw73)
Post #: 2
RE: Vehicle pathing - 3/31/2016 9:38:51 PM   
prjw73

 

Posts: 77
Joined: 2/17/2007
Status: offline
Thanks Steve, the suggested width for roads is what I suspected.

_____________________________

CC hobbyist, creator of mods.

(in reply to SteveMcClaire)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Close Combat Series >> Close Combat: Last Stand Arnhem >> Tech Support >> Vehicle pathing Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.703