Dan Albert
d5e91c7168
Add MB-339A to CAS and runway attack roles.
...
https://github.com/dcs-liberation/dcs_liberation/issues/2511
2022-11-19 19:24:50 -08:00
Dan Albert
670683b47f
Fix typo.
2022-11-19 18:47:46 -08:00
Dan Albert
7b50894ca6
Fix adding and removing waypoints in the UI.
...
This moves more of the logic out of the UI so mypy can actually spot
these mistakes more often.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2495 .
2022-11-19 15:39:41 -08:00
Dan Albert
7dfd99a0b0
Add bug link for refuelzonegeometry.
2022-11-19 15:20:08 -08:00
Dan Albert
c78e6dc231
Remove refueling from sweep flights.
...
The timing for these doesn't work. Sweep RTBs at the same time the
package reaches its TOT. The tanker won't be on station until 1m30s
before the package reaches the refueling point.
2022-11-19 13:23:36 -08:00
Dan Albert
93f3e81cfc
Fix layout for TARCAP, Escort, and strike-like.
...
If there's a refuel point, nav from that, not from the patrol end/split.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1749 .
2022-11-19 13:23:36 -08:00
Dan Albert
38f4b27d10
Clarify AirAssault flight plan method name.
...
`engagement_distance` is used elsewhere to mean commit distance, so this
looked like a bug when I stumbled across it. Rename it to be more
explicit.
2022-11-19 12:44:46 -08:00
SnappyComebacks
541ac6f8dd
Tune turbulence values.
2022-11-19 13:17:18 -07:00
SnappyComebacks
774eb48828
Spell turbulence correctly.
2022-11-19 13:17:18 -07:00
SnappyComebacks
1eccedb74d
Calculate turbulance.
...
Turbulance is based off time of day, and day of year.
Each theatre may adjust their turbulance parameters.
2022-11-19 13:17:18 -07:00
SnappyComebacks
bc6f953f76
Limit wind speed to 97 knots.
...
Made minor adjustments to wind speed calculation.
2022-11-18 11:48:13 -07:00
SnappyComebacks
c5f0f1ef9f
Modify the range of values used to choose a wind speed.
...
Wind speed at high elevation IRL can range from 20 to 160 knots around the globe.
You may see wind speed generated here up to 100+ knots, but generally around 40 or so.
IRL wind speed appears to depend on the latitude of the sun, not in this implementation.
2022-11-18 11:48:13 -07:00
RndName
d82ac8f355
Fix IADS Network update for basic mode
...
the iads update_network method would recreate a basic iads network as advanced network by range. This small change now checks for advanced mode before calculating connetions.
2022-11-14 17:53:24 +01:00
RndName
7ab8683d72
Add docs and better logging to iads network
2022-11-14 16:58:44 +01:00
RndName
d0d56aceb6
Rewrite IADS tgo update method for correct updating
...
These Events are covered
- Mission Debriefing
- Capture Event
- GroundObject Buy Menu
2022-11-14 16:58:44 +01:00
RndName
c33ba2c5af
Fix IADS by range calculation
2022-11-14 16:58:44 +01:00
RndName
72e67d7b71
Implement iads_network update
2022-11-14 16:58:44 +01:00
RndName
624ca3c308
Clarify cargo waypoints for AirLift and AirAssault
2022-11-11 14:46:08 +01:00
RndName
123db516ad
Remove unneeded LandRefuel from Airlift
2022-11-11 14:46:08 +01:00
RndName
4531fc7f37
Remove AirAssault completly from AutoPlanner
...
see #2506 for mor details
2022-11-11 14:46:08 +01:00
RndName
ea6662c38b
Add simulation halt at AirAssault ingress
...
implements #2452
2022-11-11 14:46:08 +01:00
RndName
9139f84c33
Add Ingress Point to AirAssault FlightPlan
2022-11-11 14:46:08 +01:00
RndName
9e625b0e5e
Remove CTLD logic from Airlift flightplan for AI
2022-11-11 14:46:08 +01:00
Dan Albert
336df10da2
Remove unnecessary refuel waypoint in airlifts.
2022-11-11 14:46:08 +01:00
Dan Albert
79e241730b
Document some airlift waypoint behavior.
2022-11-11 14:46:08 +01:00
Dan Albert
251d329a71
Add error handling for cargo drop waypoints.
2022-11-11 14:46:08 +01:00
Dan Albert
8b384f184c
Add docs explaining what the assault area is.
2022-11-11 14:46:08 +01:00
Dan Albert
d81ba04ba5
Make air assault drop-off non-optional.
...
There is always a drop-off location for troops.
2022-11-11 14:46:08 +01:00
Dan Albert
8f9270e9fe
Forbid planes from air assault.
...
This doesn't work.
2022-11-11 14:46:08 +01:00
RndName
b4b9bbf476
Cleanup and refine airlift and airassault waypoints
...
- Drop Off and Pickup now correctly worded
- Helo waypoints now represent LandingZones for pickup and dropoff
2022-11-11 14:46:08 +01:00
RndName
a47cb865fb
Cleanup and reword refuel waypoints
...
- rename Stopover back to CargoStop
- precise some waypoint naming
2022-11-11 14:46:08 +01:00
Nosajthedevil
4f9719abc4
Add OV-10A Bronco Mod
...
Adding the OV-10A Bronco Mod to develop.
2022-11-10 23:04:03 -08:00
Raffson
73ee2ba4c0
Fix for orbit's broken stop condition
...
(cherry picked from commit 7e7c920816d384001ac1dbf1bcbcf8ccaad4a093)
2022-10-31 11:28:06 -07:00
Dan Albert
5c18af4638
Support quad zones for scenery objectives.
...
This works by recreating the trigger zone in the generated mission to
exactly (aside from the ID, and a possibly escaped name) match the one
from the campaign definition.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2473 .
2022-10-29 03:30:45 -07:00
Dan Albert
66a5878fc6
Refactor scenery group creation.
...
Breaking up some large methods and shifting error handling to places
where it can catch more mistakes.
2022-10-29 03:30:45 -07:00
Dan Albert
5b93149c7b
Obsolete and remove SceneryGroup.position.
...
Rework the preset location finder so this property isn't required. We
still need _some_ location, but it's fine for that location to be
approximate so the centroid works; the new name is just much more clear
about what we can assume about it.
2022-10-29 03:30:45 -07:00
Dan Albert
83c084e476
Rename some scenery group variables for clarity.
...
These were perfectly obvious to me when I reviewed them, but not so much
months later when I need to make changes :)
2022-10-29 03:30:45 -07:00
Dan Albert
b482dbb031
Stop using shapely's almost_equals.
...
The docs say it was deprecated in favor of equals_exact with an explicit
tolerance.
2022-10-15 17:26:27 -07:00
Dan Albert
db7cd17c10
Send the new turn event from turn initialization.
...
We'll have to get smarter about this some day (since turn initialization
won't always exist), but for now we can avoid stale UI data by doing
what we've always done and refreshing the world on turn init.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2397 .
2022-10-15 14:47:55 -07:00
Dan Albert
b63ecc59fb
Add a dialog with bug report information.
2022-10-15 13:15:40 -07:00
Dan Albert
575cbf659c
Add the git SHA to the build ID.
...
The build number is actually a pain to use. The git SHA is much more
useful.
2022-10-15 13:15:40 -07:00
Dan Albert
daf11c01c9
Add a comment explaining a wtf in alt estimation.
2022-10-09 23:07:39 -07:00
Dan Albert
207d56c2e9
Fix offshore targets for WW2 factions.
...
This makes the oil platform a required building so that all factions can
use it. Alternatively, we could pick a different offshore target for WW2
factions, or gracefully degrade to not generating these targets for WW2
factions. This approach seems to best match the designer's intent.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2322 .
2022-10-09 19:06:29 -07:00
Dan Albert
9bd0be20a6
Don't allow helicopters at non-FARP FOBs.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2378 .
2022-10-09 17:46:11 -07:00
Dan Albert
2338c26392
Fix errors in log with 204 response endpoints.
...
FastAPI uses JsonResponse by default, which will convert the empty
response None to null. We need to forcibly use Response instead to
prevent that for No Content responses.
This didn't cause any observable issues but was polluting the log.
2022-10-07 14:42:03 -07:00
Dan Albert
469d8b7b12
Ignore loadouts with invalid weapons.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2320 .
2022-09-27 20:23:32 -07:00
Dan Albert
1e12f1cc80
Revert "Add support for the AI-only F-14A."
...
AI behavior with the Heatblur F-14 has been fixed, so not needed any
more.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1927 .
This reverts commit 7387c2ed8f .
2022-09-27 19:43:02 -07:00
Dan Albert
4b4738c58f
Load map icons directly from DCS.
...
If the user's DCS directory is not configured correctly this will
degrade by not showing an icon. Otherwise (and typically) we get nicer
looking icons for each theater, and we don't have to make these for each
new map.
2022-09-27 19:26:05 -07:00
Dan Albert
037ff85396
Remove unused data.
...
We get TACAN, ILS, and ATC data from pydcs now. The rest of this
manually curated data is unused.
2022-09-27 18:34:23 -07:00
Dan Albert
e0160ac876
Get TACAN and ILS data from pydcs.
2022-09-27 18:34:23 -07:00