344 Commits

Author SHA1 Message Date
bgreman
a54f0e792d
Indiciated gripen support version 2021-08-08 15:30:56 -04:00
RndName
f0476fcbb3
Fix AAA Flak generator using wrong index
- Fixes #1519 as the Opel Blitz unit generator was using the index without incrementing it
2021-08-08 13:20:26 +02:00
RndName
c06550ca64
tweak the airlift procurement
- only buy airlift capable aircraft if there is one friendly cp without a factory which can only be reached via airlift
- prevent that an airlift procurement gets fulfilled at a different cp than the requesting one. this ensures that the cp also has a factory to produce ground units which can then be transported
- fixes an infinite buy loop if the fulfilling cp has no factory and the requesting cp has no space for airlift
- have always 2 reserve transport planes at the biggest CP
2021-08-05 22:27:11 +02:00
Magnus Wolffelt
3fadaa9a5a
Update changelog for 4.x
BAI missions are actually planned at low altitude. The problem remaining is that they have join/hold/split waypoints, which makes the flight times _incredibly_ long for these slow movers.
2021-08-03 18:46:30 +02:00
Magnus Wolffelt
3de4feec7e
Changelog updates for 4.x.
Regarding patrol speeds and helo fix.
2021-08-03 13:12:02 +02:00
Dan Albert
adc7a41941 Changelog updates for 4.x.
(cherry picked from commit bef015eb572fbb595ff39f1e81f6a976e398cf64)
2021-08-01 17:27:15 -07:00
bgreman
4e489fe75d Update skynet plugin (#1478)
(cherry picked from commit 8c7e56a2bd2d663b3082a82c373cd67517bc6672)
2021-08-01 11:37:21 -04:00
RndName
5d8e0b3b1e improved the validation for planned transfers
- instead of only checking if the transfer destination was captured it now checks if there is a valid route between origin and destination. This also ensures that there will be a check if the current position or next_stop was captured and therefore the transfer should be disbanded.
- disband uncompletable transfer before planning or performing (also when user cheated a base capture)

(cherry picked from commit ac088ea6921d898faaa35eff9df584d343de905f)
2021-07-31 15:01:20 -07:00
bgreman
8a23792ae1 Vendor ruler (#1476)
* Fixes ruler module integrity issues by bringing module into source

* Changing ruler stylesheet to vaguely match DCS theme in Liberation

* Changelog

(cherry picked from commit 119d4b9514fdd395adf2dc19b5919930a59b56ac)
2021-07-31 15:44:42 -04:00
bgreman
0332c32bb3 Updates gripen support fixes legacy DEAD loadouts 2021-07-31 12:15:54 -04:00
bgreman
9ed165b8bd Adds more details to frontline movement logging (#1465)
* adds more detailed logging for frontline movement

* Fixing attribute name

* Fixing if, adding else

(cherry picked from commit 58c96e132934fcd1f742c1819f450e7605e6d098)
2021-07-31 12:06:34 -04:00
RndName
ad8e70c250 fix generation of empty transfer during cp capture
when a cp capture happens and the next cp has pending unit deliveries then they will be redeployed to the newly captured cp. The redeploy was drecreasing the num of pending unit deliveries for the old cp but was not removing them completly from the dict when all were removed

(cherry picked from commit 67fa4a891077af74bc9fe99d27c662c0c32da83a)
2021-07-30 16:47:44 -07:00
RndName
e88dfc53c2 correct display of turn statistics 2021-07-07 14:12:42 -07:00
RndName
2926431dc7 replan opfor mission on sell or buy of tgos
(cherry picked from commit 7229b886e0eaad14d6c59fda47399d0d65b10e70)
2021-07-07 14:12:34 -07:00
Dan Albert
70a0341675 Note fix for empty convoy groups.
(cherry picked from commit 8b70d2674f67ca1aed85ac4294989091428cda0f)
2021-07-05 15:54:47 -07:00
bgreman
8fae7decca Adds Marianas Islands support (#1406)
* Implements #1399

* Reverting accidental change in generate_landmap.py

* Changelog update

* Import beacon data for Marianas.

Co-authored-by: Dan Albert <dan@gingerhq.net>
(cherry picked from commit aa328d3ef715bd86180b29d8784ae9040d51aec6)
2021-07-03 14:52:21 -04:00
Dan Albert
3415525e2c Fixup None loadouts for aircraft with no loadouts.
Aircraft that have no loadouts at all (such as the IL-78M) will have no
loadouts and thus no values in the dropdown menu. If the player toggles
the custom layout box we reset the flight's loadout to the selected
loadout, and with no loadouts in the combo box that is None, and
`Flight.loadout` isn't supposed to be optional.

Check for that case in the loadout selector and replace with an empty
loadout if that happens.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1402

(cherry picked from commit 727facfb90dac06c3eb74b90e0296a097fae79a3)
2021-07-02 17:33:40 -07:00
Dan Albert
355ea9f9be Fix the legacy tanker.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1379

(cherry picked from commit 4add8534735c75865955ec7a00a45c43bcf78cde)
2021-07-02 17:18:31 -07:00
RndName
9858e3e257 correct prices for ewr and sams
prices will now be calculated for the whole group by the generator by
looking up the price using the  GroundUnitType wrapper

fixes #1163

(cherry picked from commit 96be6c0efe4b6b0f3af38bf5c43a9818e1eed4e6)
2021-07-02 16:46:28 -07:00
Dan Albert
b206bcae56 Note the silkworm fix in the changelog.
(cherry picked from commit 3f42f1281d60b941b0b269c50c3aebc0ed5338fd)
2021-07-02 16:28:35 -07:00
Florian
779dc8ad70 Remove the randomness from SAM group size.
(cherry picked from commit 3f65928e9d1012cff95029ce03bec08db682ea92)
2021-07-02 01:38:37 -07:00
Dan Albert
adbba788c6 4.0.1 -> 4.1.0
This includes new features now.

(cherry picked from commit 4e6659e7e8099c371251c9df8e193607f9386f7e)
2021-07-02 01:29:09 -07:00
Chris Seagraves
99f359b46b Note TGO tooltip improvement in the changelog.
(cherry picked from commit 9e22d4b5dfa1a5848fc707dea831ea66930a7049)
2021-07-02 01:27:07 -07:00
RndName
e0a4ceef67 reworked the skynet group name generation
- added information about the role of the aa site
- moved handling of ground name from tgo to the sam generator to make the tgo cleaner
- adjusted the skynet-config lua to the changes

(cherry picked from commit de443fa3f0ac7ab2d450ec097cf7ac94f17f3506)
2021-07-02 01:25:17 -07:00
Dan Albert
234a998abe Minor formatting fix for the changelog.
(cherry picked from commit 20839853b7bfac7c3907fc62ba821f05bd8efda9)
2021-07-01 20:07:40 -07:00
bgreman
3f8dfce9e0 Addresses #478 to clean up the angle summing functionality. (#1386)
(cherry picked from commit 9bd6f9ef47475e936d2abe052bb56fd30d0d2fbb)
2021-06-30 23:59:03 -04:00
bgreman
20e7690a85 Increasing time JTAC radio messages stay on the UI. (#1369)
- Target lost or killed: 10s -> 20s
- New target : 10s -> 30s
- Request JTAC Status: 25s -> 60s

(cherry picked from commit c8e5cefd3675040d0cec83b23e1306a56fca2e65)
2021-06-30 23:56:06 -04:00
bgreman
7f1e21b587 Fixes #240 by making statistics windows axis labels integers (#1370)
(cherry picked from commit 7ba4077f9f83822468d1b3c191b470634a71dbd6)
2021-06-30 23:54:31 -04:00
Chris Seagraves
f588c445ae Notes to kneeboard (#1375)
Adds global-level kneeboard notes.  Explicit save compatability with 4.0.0

(cherry picked from commit e94d48c265024b511190fb4d0db7c9bb5144c9c5)
2021-06-30 18:08:44 -04:00
Chris Seagraves
91bde9dccf Add Cloud Base Altitude to Weather Display (#1371)
Adds tooltip with cloud base altitude to weather panel

(cherry picked from commit f80696b7244d2eace20111dacdcb149cb4747055)
2021-06-30 15:23:13 -04:00
Chris Seagraves
de9d388b96 asset reference links 😎 (#1363)
Adds urls to unit info pages that don't have data.

(cherry picked from commit 5f5b5f69e31c0abb358f64431c686356a051543a)
2021-06-30 15:05:48 -04:00
Dan Albert
91d08e2160 Add changelog section for 4.0.1.
(cherry picked from commit 0b90b53e09bd67cbdbf925d4df0f234d2de70ed7)
2021-06-26 14:40:40 -07:00
Dan Albert
6cc967742a Add the most important feature to the changelog.
(cherry picked from commit aa86a6e53bb8612f63f4461a116f37f475fcd0db)
2021-06-26 12:34:51 -07:00
Dan Albert
d7db290892 Move the default save game directory.
The top level DCS directory gets messy fast if we fill it with save
games.

(cherry picked from commit 7774a9b2ab3d76d10525f628e7a2041a7a0f75bb)
2021-06-25 17:48:45 -07:00
docofmur
666b389821 Fixes #1337 by making ground location search look in both directions (#1338)
(cherry picked from commit a31432ad9ed89bc9fc2c2f67431b4106aec35b19)
2021-06-24 13:25:41 -04:00
bgreman
ddc076b141 Implements #1331 by changing the Pass Turn button text on Turn 0. (#1333)
(cherry picked from commit 26743154d8da521958ea4fa99164754e9aefadf5)
2021-06-24 11:00:05 -04:00
bgreman
eee1791a79 Adds a ruler to the map (#1332)
* Adds a ruler to the map

* Updating changelog

* Updating changelog

(cherry picked from commit a50a6fa9174dca53074ef599f6b81051f5bbbd02)
2021-06-24 02:59:16 -04:00
bgreman
fb5a6d3243 Fix #1329 player loses frontline progress when skipping turn 0 (#1330)
(cherry picked from commit b43e5bac0b43778e50b89e683dcb4294084b1fbb)
2021-06-24 02:06:26 -04:00
Dan Albert
b03d1599e1 Add a feature flag for pilot limits.
This doesn't currently interact very well with the auto purchase since
the procurer might by aircraft that don't have pilots available. That
should be fixed, but for the short term we should just default to not
enabling this new feature.

(cherry picked from commit 3ddfc47d3a0cbf9688c0fecbdbdf70bab6adeb9e)
2021-06-23 18:47:47 -07:00
bgreman
8dc35bec5a Fix empty convoys (#1327)
* Hopefully getting rid of empty convoys for good

* changing Dict to dict for type checks

(cherry picked from commit 3274f3ec35263f461238dc53cc60e4b54aae682a)
2021-06-23 19:51:37 -04:00
bgreman
3f4f27612b Fixes #1310 (#1325)
* Fixes #1310 by only refunding GUs if no faction CP has an attached factory.  Previously it would refund all units at the CP, including aircraft.

Also changes the CP CAPTURE cheat to work at any CP regardless of adjacency to frontline or BLUEFOR/OPFOR state.

* Fixing typing issues, changint all Dict[] types to dict[]

* Updating changelog

(cherry picked from commit c3b8c48ca25df1cd5f77a353775410450952e2a6)
2021-06-23 17:19:58 -04:00
Dan Albert
cf3d13f9d3 Bump campaign version to account for DCS changes.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1308

(cherry picked from commit ca93f2baffec585aff4dbe3ebd0c0a755bbc803a)
2021-06-22 23:04:41 -07:00
Simon Clark
9334cba564 Add Operation Atilla campaign.
It's a Cyprus invasion campaign - what's not to like!
2021-06-21 19:45:19 +01:00
Dan Albert
0d99fc3d36 Don't order transports for incapable factions.
If these orders can't be fulfilled for the faction it will prevent the
faction from ordering any non-reserve aircraft since transports are
given priority after reserve missions, and they'll never be fulfillable.
As such, no non-reserve aircraft will ever be purchased for factions
without transport aircraft.

Factions without transport aircraft are screwed in other ways, but this
will fix their air planning for campaigns that aren't dependent on
airlift.

(cherry picked from commit e96210f48cd88fcdd9e33e077430653b56fd0941)
2021-06-20 23:44:16 -07:00
Simon Clark
ef3f7125b3 Make mod selection nicer and deprecate MB-339.
Mod selection is now done via checkbox in the new game wizard.

The MB-339 is being turned into a paid module, and the free mod no longer works, so it's been removed.
2021-06-21 00:03:22 +01:00
Dan Albert
4558088412 Revert "Don't propose missions the air wing can't plan."
This is redundant because plan_mission already checks this.

This reverts commit 3338df9836878714f8b72aeb176bed16a33eb65b.

(cherry picked from commit d0745001094d01e1bb49cb7cb6ecdf11eac7e9f8)
2021-06-20 15:59:09 -07:00
Simon Clark
6c3987ec86 Updates the intel box text for turn 0.
It was a bit misleading beforehand, as there were no forces on either side.
2021-06-20 15:56:53 +01:00
Simon Clark
089eb9e86b Changelog. 2021-06-20 15:36:40 +01:00
Dan Albert
3338df9836 Don't propose missions the air wing can't plan.
We were doignt his for escorts, but now that we quit planning as soon as
we find an unplannable mission (to save money for higher priority
missions), if we hit an early unplannable mission like BARCAP no other
missions wil be planned.

Maybe fixes https://github.com/dcs-liberation/dcs_liberation/issues/1228
2021-06-19 11:47:43 -07:00
Dan Albert
b130c9882a Remove max distance for AEW&C auto planning.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1259
2021-06-19 11:27:52 -07:00