Commit Graph

194 Commits

Author SHA1 Message Date
FlightControl_Master 11067d4bfd Fixed DefenderSquadron.Resources nil problem for DefendersNeeded 2017-09-26 09:37:05 +02:00
FlightControl_Master e1f4bdc24b Improvements on Patrol 2017-09-25 12:55:12 +02:00
FlightControl_Master 0df4b5fd37 Fixed DISPATCHER issues with TakeoffFromRunway 2017-09-22 11:08:35 +02:00
FlightControl_Master ec7cc9e547 Fixed issues with CAS and CAP
* AI_CAP_ZONE: Fixed CAP engaging.
* AI_CAS_ZONE: Fixed CAS engaging.
2017-09-18 14:50:56 +02:00
FlightControl_Master 1fee3eb7a8 Fixed overhead problems 2017-09-08 14:04:33 +02:00
FlightControl_Master 9dc68fb665 Fix problem with CAP #677
A stupid typo was the root cause in DETECTION_BASE. The friendlies
prefixes were overwritten for the sequent squadron.
2017-09-05 21:47:23 +02:00
FlightControl_Master 2830bcb867 Respect Gci radius
* Corrected the calculation to the distance to the airbase, when the
intercept calculation is used. Now the intercept point is not anymore
interfering with the gci radius validation and gci radius is now
correctly respected and validated.
2017-09-02 10:24:28 +02:00
FlightControl_Master e6c765c441 Solve calculation problems with player has disconnected or changed plane
* Player disconnecting will not result in coordinate calculation
problems in AI_A2A_CAP and AI_A2A_GCI while engaged with the player
machine. The engagement will stop.
2017-09-02 09:22:23 +02:00
FlightControl_Master e6dd040a43 Fixed problem with EWR not present and CAP not detecting. 2017-09-01 12:59:57 +02:00
FlightControl_Master 0eb0a3a3e7 Detection time 2017-09-01 12:22:31 +02:00
FlightControl_Master 62d1da8487 Select the closest airplanes first 2017-08-31 23:55:30 +02:00
FlightControl_Master 14c7916c55 Updates 2017-08-31 08:46:59 +02:00
FlightControl_Master 05d9faedee Fixed friendlies nearby calculation
* Added DETECTION_BASE:FilterFriendliesCategory() method, which allows
to filter friendlies based on the category of the units found. This
method was required to be added to avoid counting airborne units as
friendlies in A2G missions.
2017-08-30 09:28:04 +02:00
FlightControl_Master ea96a5e0a3 Planes remaining at airfield fixed
* AI_A2A_DISPATCHER: Planes remaining on the airfield is now fixed. The
issue was with planes out of fuel doing CAP, which would return to a
different airbase because they were out of control. At the landing,
these weren't despawned.
2017-08-30 07:30:03 +02:00
FlightControl_Master 8bb3d5a760 Fixed CAP not counting correctly
* CAP now counts correctly per squadron. The specified amount of CAP
will work now.
* CAP now schedules at different start times, and have different repeat
times. More random.
2017-08-28 11:33:37 +02:00
FlightControl_Master 9dcda37703 Updates 2017-08-15 20:23:26 +02:00
FlightControl_Master 1cf2383dfd First version 2017-08-15 17:44:09 +02:00
FlightControl_Master d558c5be21 Updates 2017-08-13 17:04:04 +02:00
FlightControl_Master 4f2afa29fa Fixes with waypoints in NTTR 2.1.1
behaves different than 1.5.7!!!
2017-08-12 17:07:10 +02:00
FlightControl_Master e16e5d9a81 Fixes 2017-08-08 21:37:12 +02:00
FlightControl_Master 386777930e Updates of tasking 2017-08-08 15:54:44 +02:00
FlightControl_Master 2aecf45316 Many Fixes 2017-08-08 09:42:42 +02:00
FlightControl_Master 63866e4aa9 Updates of tracing 2017-08-06 17:37:36 +02:00
FlightControl_Master b2e522aac1 Documentation 2017-08-06 08:14:01 +02:00
FlightControl_Master 464fb1aeca Documentation 2017-08-06 07:50:37 +02:00
FlightControl_Master 1883e84918 Documentation 2017-08-06 07:45:36 +02:00
FlightControl_Master d349ed12a9 Engage Range test 2017-08-06 07:40:55 +02:00
FlightControl_Master 094db73176 Documentation 2017-08-06 07:19:01 +02:00
FlightControl_Master a86a346378 Update the documentation and how default values were set in AI_A2A_DISPATCHER 2017-08-06 07:08:54 +02:00
FlightControl_Master 3d2dbea1d7 Fixing unlimited resources and problems with landing planes. 2017-08-05 18:06:51 +02:00
FlightControl_Master cc1b34937c Added infinite resources implementation. 2017-08-05 16:26:32 +02:00
FlightControl_Master 446ecc5b4d Set the new spawn altitude 2017-08-05 13:33:02 +02:00
FlightControl_Master dbe1d7aaa3 New Refuelling process 2017-08-03 12:21:56 +02:00
FlightControl_Master 2cf1801f1d Fixed endless loop when out of resources upon receiving a GCI request. 2017-08-02 20:54:26 +02:00
FlightControl_Master 2501db53b8 Removed traces 2017-08-02 12:46:13 +02:00
FlightControl_Master 4b60f776ce Apply randomization at start for schedules.
Apply randomization at start for schedules.
2017-08-02 12:41:35 +02:00
FlightControl_Master d8d06a18ce Updates and bug fixes 2017-08-02 09:43:08 +02:00
FlightControl_Master 9054a493f9 Updated defects in dispatcher 2017-08-01 17:35:53 +02:00
FlightControl_Master 9ec29f607f Fixed an issue with the overhead parameter
Now the GCI will spawn the actual overhead needed, independent of the
grouping parameter. For example, when grouping was 1 and overhead 1.5,
only one plane was spawned. Now two planes are spawned of 2 groups of 1
unit.
2017-08-01 07:19:29 +02:00
FlightControl_Master 27b18780f8 Optimizations 2017-07-31 12:35:37 +02:00
FlightControl_Master 85bd3a1c33 First working version 2017-07-31 12:04:27 +02:00
FlightControl_Master 87634969b3 Added default CAP methods
* Added method :SetDefaultCapTimeInterval( CapMinSeconds, CapMaxSeconds
) for AI_A2A_DISPATCHER and AI_A2A_GCICAP.
* Added method :SetDefaultCapLimit( CapLimit ) for AI_A2A_DISPATCHER and
AI_A2A_GCICAP.

Added documentation in chapter 10.7 and chapter 1.8.
Changed Treshold to Threshold
2017-07-30 20:54:24 +02:00
FlightControl_Master 5107366e57 Added fuel treshold and damage treshold as default parameter setting methods
* Added method :SetDefaultFuelTreshold( FuelTreshold )
* Added method :SetDefaultDamageTreshold( DamageTreshold )
2017-07-30 10:39:10 +02:00
FlightControl_Master 82a3dd32c0 Removed trace 2017-07-30 07:37:45 +02:00
FlightControl_Master fdcad2dd93 Fixed the landing bug
When using A2A GCICAP, the planes would land, but not dissapear.
2017-07-30 07:31:23 +02:00
FlightControl_Master 3ec783b0e4 Fixed issue in 2.1.1, targets not engaged when flying from parking spot. 2017-07-29 19:08:10 +02:00
FlightControl_Master ea8af14df5 Updates 2017-07-28 22:44:22 +02:00
FlightControl_Master 906c49792e Further documentation on AI_A2A_DISPATCHER with examples 2017-07-27 12:37:46 +02:00
FlightControl_Master 61fe3cf457 Following up on the requirement #636 a new default management system has been built...
A lot of new methods have been added to set the default behaviour for:

*  function AI_A2A_DISPATCHER:SetDefaultTakeoff( Takeoff )
*  function AI_A2A_DISPATCHER:SetDefaultTakeoffFromParkingCold()
*  function AI_A2A_DISPATCHER:SetDefaultTakeoffFromParkingHot()
*  function AI_A2A_DISPATCHER:SetDefaultTakeoffFromRunway()
*  function AI_A2A_DISPATCHER:SetDefaultTakeoffInAir()
*  function AI_A2A_DISPATCHER:SetDefaultLanding( Landing )
*  function AI_A2A_DISPATCHER:SetDefaultLandingAtEngineShutdown()
*  function AI_A2A_DISPATCHER:SetDefaultLandingAtRunway()
*  function AI_A2A_DISPATCHER:SetDefaultLandingNearAirbase()
*  function AI_A2A_DISPATCHER:SetDefaultGrouping( Grouping )
*  function AI_A2A_DISPATCHER:SetDefaultOverhead( Overhead )
2017-07-27 11:56:03 +02:00
FlightControl_Master 495786b4eb Heavily improved the documentation of AI_A2A_DISPATCHER 2017-07-26 13:17:55 +02:00