View Single Post
  #8  
Old 11-03-2011, 03:13 AM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

Quote:
Originally Posted by 41Sqn_Banks View Post
I have 2 solutions in my mind:

a) I followed this approach during my experiment. I only assign the next waypoint to the air group. I react on the OnActorTaskComplete event to assign a new waypoint for the air group. After the takeoff waypoint I assign an attack waypoint on the target position. I adjust the position of the attack waypoint periodically. After the attack waypoint was completed a landing waypoint is assigned. Did work pretty good to lead the air group to the target, however updating the waypoints interrupted the current task of the air group (they stopped attacking or crashed during takeoff).

b) I need to find out which waypoints were already passed by the air group. When I assign the updated waypoints I only assign waypoints that were not passed so far. I have so far no solution to find out which waypoints were passed. Triggers could be a solution or a smart algorithm that looks at the position and heading of the air group.

I will look at the issue in a couple of week as I'm currently busy with implementing the online support and moving frontline/ground war for IL2DCE.
In a similar vien, I was looking at how to get a badly damaged AI plane to abort it's waypoints & head straight for the nearest friendly airfield. I'm sick of the damaged AI's doing circuits waiting to land at their home base, and then flying off to never-land to crash on some hill somewhere.
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE
Reply With Quote