From 0b2483ea1521af4102d98e7fda6edb0aabf81fc8 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Mon, 14 Dec 2020 23:35:30 -0800 Subject: [PATCH] Don't cull flights. This was made largely pointless in 2.2, since the AI won't plan a dozen CAPs 300nm from the front line any more. Culling flights mostly just confuses players and breaks the planning AI. If we do want to limit flight counts, we need to do that by limiting flight counts. The AI will try to put their aircraft as close to the mission as possible, so culling will do very little to stop them from spawning 50 flights at the front-line attached airfield. https://github.com/Khopa/dcs_liberation/issues/578 --- gen/aircraft.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gen/aircraft.py b/gen/aircraft.py index a50c9b69..142a6a0f 100644 --- a/gen/aircraft.py +++ b/gen/aircraft.py @@ -925,10 +925,6 @@ class AircraftConflictGenerator: if not package.flights: continue for flight in package.flights: - culled = self.game.position_culled(flight.from_cp.position) - if flight.client_count == 0 and culled: - logging.info("Flight not generated: culled") - continue logging.info(f"Generating flight: {flight.unit_type}") group = self.generate_planned_flight(flight.from_cp, country, flight)