View Single Post
  #327  
Old 01-14-2014, 07:50 AM
Pursuivant Pursuivant is offline
Approved Member
 
Join Date: May 2010
Posts: 1,439
Default

Quote:
Originally Posted by sniperton View Post
And what about campaign generators like DCG or DGen? There are waypoint number limitations per section IIRC. Good-looking roads would be pure eye-candy if no vehicles used them.
A possibility would be to change the way that ground vehicles turn in IL2, so that rather than pivoting, vehicles make turns that follow an arc. Then, each curved road section in the game could be given the same arc of distance as a vehicle is programmed to follow during its turn maneuver. No only would this allow nicer looking roads, it would also make for more realistic looking vehicle movement.

Another possibility might be to program vehicle movement so when ordered to follow roads or railroads, they will follow a particular color "painted" on the map, or to follow roads according to map c (or whatever map layer is used to lay out roads). Likewise, boats could be ordered to follow rivers or coastlines using the same routine.

But that might be very heavy on CPU resources if you have lots of vehicles in the game, since each vehicle would have to check map c as it moves then calculate the angle it must turn to follow a particular road.

This option would also potentially negate the need for waypoints when following roads, except to make a vehicle stop or to go in a certain direction when two or more roads meet.
Reply With Quote