Dan Albert
8bc69415a7
Clean up base defense generation.
2020-11-07 13:38:58 -08:00
Dan Albert
3979ee57ff
Cleanup oddities of CP generation.
...
* Don't spawn missile sites or ground locations for CVs/LHAs.
* Don't spawn ground locations around CVs/LHAs.
* Spawn AA sites even if the faction has no buildings defined.
2020-11-07 13:38:58 -08:00
Dan Albert
c2ee169d16
Fix regeneration of base defenses on capture.
...
I messed up the counting here and was counting *every* object rather
than just the base defenses, so it was very unlikely that we'd hit
base defenses on the second object, which is the only index valid for
SAM generation. That logic maybe needs to be different, but this
restores the previous behavior.
2020-11-07 13:38:58 -08:00
Dan Albert
56b51c85bb
Fix targeting SAMs with strike missions.
...
The changes for Skynet unfortunately broke this because the names used
by the TGO and the name of the group itself were no longer in sync.
This deserves a larger cleanup where we decouple that naming
requirement (TGOs don't need a lot of the data they currently have),
but this works until we have the time to do that.
Fixes https://github.com/Khopa/dcs_liberation/issues/298
2020-11-07 13:37:52 -08:00
Dan Albert
853ee5aac4
Cleanup Theater Ground Object.
...
A whole bunch of this data is redundant.
2020-11-07 13:10:06 -08:00
Dan Albert
4cf406aefa
Defer game load to after UI initialization.
...
This removes both the double load that happens on startup and also
makes it possible to get the UI to create a new game if the existing
default.liberation is not compatible.
2020-11-07 13:03:25 -08:00
Khopa
3fd5e1bae7
Added newest P-47 variants to WW2 factions
2020-11-07 02:31:29 +01:00
Khopa
d9511a7edd
Improved Strike mission generation.
...
- B52, A-20, and Tu-22 will level bomb targets
- When there is an unit group as target, all the units are now engaged instead of only the first unit of the group
2020-11-07 02:13:17 +01:00
C. Perreau
040db055fd
Merge pull request #309 from DanAlbert/theater-refactor
...
Refactor game and ground object generation.
2020-11-06 20:33:19 +01:00
C. Perreau
b9f8cfd10d
Merge pull request #319 from walterroach/fix_flight_edit
...
Fixes #312
2020-11-06 20:18:33 +01:00
Khopa
ff46556927
Fixed russia 1990 faction. Added Tu_22M3.
2020-11-06 18:56:25 +01:00
walterroach
d1815a3d6e
Fixes #312
2020-11-06 10:38:29 -06:00
Dan Albert
fdfa4827ab
Remove unused and broken scripts.
2020-11-05 21:39:49 -08:00
Dan Albert
5d579ccef9
Add hints for creating packages.
2020-11-05 17:08:34 -08:00
Dan Albert
4145d5578e
Refactor game and ground object generation.
...
No real functional improvements yet, just reorganizing to make
improvements easier.
2020-11-05 16:09:34 -08:00
Dan Albert
43eb041bb8
Fix escort planning for racetracks.
2020-11-05 15:17:45 -08:00
Dan Albert
0b8ac8fc47
Move to hold points more slowly.
...
This should give the AI a better chance to climb before reaching the
waypoint.
2020-11-05 15:17:45 -08:00
Dan Albert
de3ba5908f
Round waypoint TOTs in the UI.
2020-11-05 15:17:45 -08:00
C. Perreau
bbb6251aa9
Merge pull request #308 from walterroach/briefing_jinja
...
Briefing jinja
2020-11-05 23:31:58 +01:00
walterroach
6f71d92a7b
Merge branch 'develop' into briefing_jinja
2020-11-05 16:08:16 -06:00
walterroach
a8b59cc567
Move briefing string literals to template
2020-11-05 16:07:44 -06:00
walterroach
f4d3660eac
split sead and dead
...
change SEAD to engage in zone
2020-11-05 13:42:44 -08:00
walterroach
1f165835c6
type hinting and comment cleanup
2020-11-05 13:20:54 -08:00
walterroach
9087f3487d
Single ShipGroupGenerator added
2020-11-05 13:20:54 -08:00
Walter
4ca92ea22d
Fix ships being wrong unit type
2020-11-05 13:20:54 -08:00
Khopa
e2682d633f
Added payloads for bombers.
2020-11-05 20:43:49 +01:00
Khopa
e6cb1b5970
Updated pydcs submodule commit reference
2020-11-05 19:59:21 +01:00
Khopa
de2d548139
Added Flak guns to most coldwar factions
2020-11-05 00:34:57 +01:00
Khopa
4d1a0b85e4
Added free version of WW2 factions that will not require the WW2 Asset Pack.
2020-11-04 22:25:24 +01:00
Khopa
5cfbd8c3ad
Added building set for WW2 units that does not require WW2 asset pack.
2020-11-04 22:01:28 +01:00
Khopa
95f72be8eb
Fixed issue with duplicated WW2 germany faction IDs
2020-11-04 21:51:09 +01:00
Khopa
95c4dfa52f
Added new Flak site configuration (now that flak 18 and bofors guns do not require WW2 asset pack)
2020-11-04 21:50:25 +01:00
Khopa
b72a2f4a5f
Fixed error in new game wizard with units and mods required not being displayed correctly in some cases.
2020-11-04 21:09:48 +01:00
Khopa
844f8595d1
Fixed ID of some units to match new pydcs data-export.
2020-11-04 21:07:28 +01:00
Khopa
1c9d9be667
Using latest pydcs data-export
2020-11-04 21:02:01 +01:00
Khopa
2a02a743a4
Do not display manage button on base defense group for enemy cp.
2020-11-04 18:53:18 +01:00
Khopa
968d9365d6
Re-added F-15E to bluefor modern.
2020-11-03 20:38:04 +01:00
Walter
cdb16cc591
Fixes #268
...
Changes red base info to show defenses first, and adds an attack option
2020-11-02 18:06:10 -08:00
Walter
86bc41c15c
Add base menu to new package dialog for red cp
2020-11-02 18:06:10 -08:00
Dan Albert
ac05c7cfaa
Fix recreate as CAP for ground targets.
2020-11-02 02:33:09 -08:00
Dan Albert
9c07fe5963
Remove source of error in package waypoint timing.
...
We were calculating the TOT based on travel time to the *flight's*
target, but the ingress point based on the travel time to the target
area. If the difference in travel time between the center of the
target area and the first target were different then we'd calculate
the start time incorrectly even for single flight packages.
Seems to fix https://github.com/Khopa/dcs_liberation/issues/295
2020-11-02 02:26:07 -08:00
Dan Albert
ed05f995b5
Refactor strike formation timing calculations.
2020-11-02 02:25:33 -08:00
Dan Albert
85491dca20
Fix front line CAP patrol end time.
2020-11-02 01:34:35 -08:00
Dan Albert
465399f803
Add radio configuration for the UH-1H and Ka-50.
2020-11-01 17:12:42 -08:00
Dan Albert
3550c8a8f6
Remove afterburner restrictions.
...
The AI often needs afterburner to recover from high AoA.
Fixes https://github.com/Khopa/dcs_liberation/issues/205
2020-11-01 15:12:05 -08:00
Dan Albert
739c0f8f52
Add radio data for MiG-15bis and MiG-19P.
...
Fixes https://github.com/Khopa/dcs_liberation/issues/233 .
2020-11-01 14:50:23 -08:00
Dan Albert
49aa79c612
Fix mypy issues.
2020-11-01 14:49:50 -08:00
Dan Albert
cdde75b517
Add option to avoid delaying player flights.
...
Fixes https://github.com/Khopa/dcs_liberation/issues/227
2020-11-01 14:13:06 -08:00
Dan Albert
dde74af6b5
Fix client/player detection.
...
Client needs to be used if there are other player slots in *any*
flight, not just the same group.
Fixes https://github.com/Khopa/dcs_liberation/issues/297
2020-11-01 14:02:32 -08:00
Dan Albert
eff9c77c9a
Fix departure time in the kneeboard.
...
We don't have the departure time set until after we create the initial
FlightData object. Populate the value after it is determined.
Fixes https://github.com/Khopa/dcs_liberation/issues/290
2020-11-01 13:31:56 -08:00