Dan Albert
3c4d6eb8e4
Automate transfers for purchases in the UI.
...
Buying a unit places the order, but the unit will appear at the nearest
connected source and a transfer will be automatically created next turn.
https://github.com/Khopa/dcs_liberation/issues/986
2021-04-18 23:31:45 -07:00
Dan Albert
627f18c42b
Require factories for purchasing ground units.
...
https://github.com/Khopa/dcs_liberation/issues/986
2021-04-18 23:22:30 -07:00
Dan Albert
67b341cbd6
Add feature flag for new ground unit recruitment.
...
This is going to render most campaigns unusable because they won't have
any places to spawn ground units, so flagging off for now.
https://github.com/Khopa/dcs_liberation/issues/986
2021-04-18 23:22:30 -07:00
Dan Albert
c92e4e06cc
Move campaign format version to a stable location.
2021-04-18 17:37:55 -07:00
Dan Albert
39135f8c80
Add version field to campaign descriptor file.
...
This is used to provide a UI hint to guide players towards campaigns
that have been updated to work with the current version of the game.
All the campaigns we currently have were made for an unknown version of
the game, so they're all flagged as incompatible.
The version field is not the DCS Liberation version number because the
campaign format may change multiple times during development. Instead
the version number is a monotonically increasing integer that we
increment whenever a game change requires campaign updates.
2021-04-18 17:30:49 -07:00
Dan Albert
5e054cfc77
Disallow selling ground units.
...
Ground units should be transferred to a new location, not sold and
repurchased.
https://github.com/Khopa/dcs_liberation/issues/823
2021-04-18 16:32:02 -07:00
Dan Albert
65ed110ab7
Track convoy kills.
...
https://github.com/Khopa/dcs_liberation/issues/824
2021-04-18 16:22:51 -07:00
Dan Albert
bd9cbf5e3b
Move transfers one CP per turn.
...
https://github.com/Khopa/dcs_liberation/issues/824
2021-04-18 16:22:51 -07:00
Dan Albert
65f6a4eddd
Restrict transfers to connected bases.
...
https://github.com/Khopa/dcs_liberation/issues/824
2021-04-18 15:59:15 -07:00
Dan Albert
e9ff554f39
Basic implementation of road based transfers.
...
This adds the models and UIs for creating ground unit transfer orders.
Most of the feature is still missing:
* The AI doesn't do them.
* Transfers can move across the whole map in one turn.
* Transfers between disconnected bases are allowed.
* Transfers are not modeled in the simulation, so they can't be
interdicted.
https://github.com/Khopa/dcs_liberation/issues/824
2021-04-18 15:59:15 -07:00
Dan Albert
157a59e3c4
Fix UI crash when unchecking default loadout.
...
This was throwing because it was being called with the wrong number of
arguments, preventing the UI from actually updating back to the default.
2021-04-18 13:05:22 -07:00
Khopa
3db275414d
Allow 0 income multiplier in game settings windows (this was already possible in new game wizard)
2021-04-18 01:20:32 +02:00
Khopa
c8f6b6df87
Fixed lint issue
2021-04-18 00:11:06 +02:00
Khopa
e63743f537
Improved FOB support : new custom banner for FOB menu and do not display aircrafts menu on first page.
2021-04-17 23:49:49 +02:00
Khopa
828c87df39
Game settings / new game wizard : Allowed a 0% income multiplier.
2021-04-07 19:33:23 +02:00
GvonH
49e729e9ec
Add dark kneeboard option for night missions ( #951 )
2021-03-22 19:41:54 -07:00
Khopa
5bd4c00257
Merge branch 'develop_2_4_x' into develop
...
# Conflicts:
# changelog.md
# game/db.py
# game/navmesh.py
# game/operation/operation.py
# game/theater/conflicttheater.py
# game/theater/controlpoint.py
# game/theater/start_generator.py
# game/theater/theatergroundobject.py
# game/threatzones.py
# game/version.py
# gen/aircraft.py
# gen/airsupportgen.py
# gen/fleet/carrier_group.py
# gen/flights/ai_flight_planner.py
# gen/flights/ai_flight_planner_db.py
# gen/flights/flightplan.py
# gen/flights/waypointbuilder.py
# gen/groundobjectsgen.py
# gen/kneeboard.py
# pydcs
# pydcs_extensions/f22a/f22a.py
# qt_ui/uiconstants.py
# qt_ui/widgets/combos/QAircraftTypeSelector.py
# qt_ui/widgets/map/QLiberationMap.py
# qt_ui/windows/QUnitInfoWindow.py
# qt_ui/windows/mission/flight/payload/QPylonEditor.py
# qt_ui/windows/settings/QSettingsWindow.py
2021-03-21 18:50:50 +01:00
Dan Albert
b5934633fa
Improve wording of "never delay players" option.
2021-02-27 14:16:41 -08:00
Khopa
6704cded2d
Fixed unit info windows crashing when banner not found (variable referenced before assignment error)
2021-02-27 00:10:57 +01:00
Khopa
58d5aa9944
Fixes : Missing weapons names would cause flight edition window to crash while setting up default loadout UI, preventing the user from editing flights.
2021-02-26 23:30:23 +01:00
Khopa
35dd9427a5
Added possibility to set up custom date in new game wizard.
2021-02-22 21:34:14 +01:00
Khopa
523ef08697
Ran black reformater on 2.4x branch
2021-02-22 20:55:51 +01:00
Khopa
a562345876
Updated credits in about dialog.
2021-02-22 20:28:34 +01:00
Khopa
c6939e7194
Added possibility to set up custom date in new game wizard.
2021-02-21 22:57:21 +01:00
Khopa
5cb1a47ed3
Updated credits in about dialog.
2021-02-21 17:24:15 +01:00
Dan Albert
a47bef1f13
Blacken.
2021-02-12 20:10:45 -08:00
Simon Krüger
65c185ebd2
Add an option for disabling the legacy AEW&C aircraft.
...
Using the legacy AEW&C aircraft is still the default until
https://github.com/Khopa/dcs_liberation/issues/844 is fixed.
2021-02-12 14:20:26 -08:00
Dan Albert
fb425d3524
Fix rounding of budget in recruitment menu.
...
Fixes https://github.com/Khopa/dcs_liberation/issues/861 .
(cherry picked from commit 5792eb354cb40d0b6659d18507737af0e8bd62b2)
2021-02-12 14:01:34 -08:00
Dan Albert
5792eb354c
Fix rounding of budget in recruitment menu.
...
Fixes https://github.com/Khopa/dcs_liberation/issues/861 .
2021-02-12 14:00:58 -08:00
Simon Krüger
e0501e46e3
Initial implementation of AEW&C missions.
...
Still a work in progress (the missions don't actually perform their task, just orbit). Currently:
* AEW&C aircraft can be bought.
* AEW&C missions can be planned at any control point and at front lines.
* AEW&C will return after 4H or Bingo.
2021-02-07 11:39:22 +00:00
Simon Clark
3fab1d92b7
Fixed some areas where the non-pretty name for a unit was displayed.
2021-02-07 11:15:25 +00:00
Dan Albert
d56c2f7a50
Allow editing the arrival/diver airfield.
...
Fixes https://github.com/Khopa/dcs_liberation/issues/810
2021-01-31 14:26:14 -08:00
Dan Albert
944a8e9cd6
Allow selecting start type when creating flights.
2021-01-30 16:16:04 -08:00
Dan Albert
34d4ecd4e6
Add an option for default start type.
...
Changing this completely breaks OCA/Aircraft missions, but if the player
doesn't care about those this can reduce airfield congestion. The UI
warns about this.
This also makes the AI start type selectable in the flight UI.
Fixes https://github.com/Khopa/dcs_liberation/issues/387
Fixes https://github.com/Khopa/dcs_liberation/issues/729
2021-01-30 15:04:23 -08:00
Dan Albert
5047b535c4
Make ASAP a checkbox and maintain ASAP on changes.
...
Fixes https://github.com/Khopa/dcs_liberation/issues/642
2021-01-30 13:33:39 -08:00
Simon Clark
6217075adc
Add mission planning docs link to TOT field.
...
Completes: #696
2021-01-30 01:12:59 +00:00
Simon Clark
883f233c09
Adds WIP handling for default payload display with restricted date feature enabled.
2021-01-30 01:00:40 +00:00
Simon Clark
b80aad7449
Link custom theater/faction/loadout docs in UI.
...
Contributes-to: #614
2021-01-30 00:19:29 +00:00
Khopa
f10f580f1c
Fixed factions descriptions not being updated after auto-selection of factions.
2021-01-23 00:33:07 +01:00
Khopa
097c42d1dd
New game wizard : Added performance information about the selected campaigns.
2021-01-22 23:07:17 +01:00
Khopa
f959dd0519
Campaign have a recommended defaults faction setup to ease campaign setup
2021-01-22 22:09:55 +01:00
Simon Clark
b7fbade968
More work on the unit info screen.
2021-01-19 17:53:55 +00:00
Simon Clark
38941f02a8
Add some initial images for the unit info pages.
...
This was pretty fun! DCS is very photogenic given the right conditions...
2021-01-18 22:44:34 +00:00
Simon Clark
84e09be199
Add aircraft manufacturer and role to info window.
2021-01-18 20:13:51 +00:00
Simon Clark
995a89d370
Add initial version of the unit info window.
...
DCS features a massive range of aircraft and land vehicles, and not all of them make their role(s) clear just from the name alone. What this commit does is add an "information" button (and resultant window) to the recruitment section. This should allow new players to understand what each unit is/does.
Current state - every aircraft has a country of origin and an introduction date for that variant. Some also have a small placeholder description, taken from ED's store page for that aircraft. There is also a placeholder picture (taken from a rejected image from my own personal photography) that will, in time, show a banner image of each unit.
Todo - add appropriate screenshots for each aircraft's banner, replace the placeholder text for each aircraft (this will take a while...) and add more data points for each unit type, such as a unit role (i.e. "air-superiority fighter", "multirole fighter", etc) or perhaps a list of weapons carried. I also haven't made a start on the huge number of ground units yet.
2021-01-18 19:27:54 +00:00
Simon Clark
24a212a987
Make the C-130 work. For real this time.
...
Also separate out SEAD and DEAD taskings. Some aircraft can DEAD but not SEAD.
Also make the recruitment menu use the pretty names in the alphabetical sort func.
2021-01-17 21:41:02 +00:00
Simon Clark
1e1cebc3fc
Display a "No aircraft available" message.
...
If in the create flight dialog, there are no suitable aircraft for a task, or no aircraft left at all, a suitable message is now shown that prevents the user from creating a flight.
Also adds in a quick "remember what plane the user had selected last" feature.
2021-01-13 12:11:53 +00:00
Simon Clark
727ec6bc28
Filter mission types by aircraft.
...
First stab at implementing #392 .
You can now only select aircraft types that can do the selected task.
2021-01-12 18:58:29 +00:00
Simon Clark
7269dbb79d
Edit Flight window is now dynamically sized.
...
This means that the waypoint names no longer get cut off.
Contributes-to: Khopa/dcs_liberation#754
2021-01-10 13:07:02 +00:00
Simon Clark
64b2eeface
Stop loadout resetting each time the editor opens.
2021-01-08 10:22:56 +00:00