Khopa
cf583bcd55
Merge branch 'master' into develop
...
# Conflicts:
# changelog.md
# game/db.py
# game/game.py
# game/income.py
# game/theater/theatergroundobject.py
# game/version.py
# qt_ui/windows/finances/QFinancesMenu.py
2021-01-05 19:50:29 +01:00
Khopa
e3bd958069
Fixed possible AttributeError when generating missile site fire tasks
2020-12-31 13:28:21 +01:00
Khopa
368bf08ade
Fixed mypy error
2020-12-24 03:18:53 +01:00
Khopa
04e2c02eff
SCUD missile sites will fire on nearest enemy airport by default
2020-12-24 01:26:00 +01:00
Dan Albert
2ac818dcdd
Convert to new unit APIs, remove old APIs.
...
There are probably plenty of raw ints around that never used the old
conversion APIs, but we'll just need to fix those when we see them.
Fixes https://github.com/Khopa/dcs_liberation/issues/558
2020-12-19 22:08:57 -08:00
Dan Albert
1a062e2170
Set carrier speed for recovery.
...
https://github.com/Khopa/dcs_liberation/issues/543
(cherry picked from commit d316836e909e12d46c79389d54a678e0f5f3e007)
2020-12-11 19:19:48 -08:00
Dan Albert
fe658eb877
Always aim the carrier into the wind.
...
https://github.com/Khopa/dcs_liberation/issues/543
(cherry picked from commit 8443f61f0ae0e2e3a3035e41198235d42af9235f)
2020-12-11 19:19:47 -08:00
Dan Albert
d316836e90
Set carrier speed for recovery.
...
https://github.com/Khopa/dcs_liberation/issues/543
2020-12-11 19:19:08 -08:00
Dan Albert
8443f61f0a
Always aim the carrier into the wind.
...
https://github.com/Khopa/dcs_liberation/issues/543
2020-12-11 19:01:35 -08:00
Khopa
1258f3e17c
Carrier and Tarawa are now fully moveable
2020-12-10 00:13:34 +01:00
Dan Albert
b8e64d4369
Revert "Revert "Migrate buildings and TGOs to unit map.""
...
With fixed tracking for TGO groups and fortification "buildings".
Fixes https://github.com/Khopa/dcs_liberation/issues/485
This reverts commit 72ac8ca8724573efa14e5d15880b697aaaa4eacd.
2020-12-05 14:26:16 -08:00
Dan Albert
72ac8ca872
Revert "Migrate buildings and TGOs to unit map."
...
Not registering kills correctly. It was in my limited testing, so need
to dig deeper.
https://github.com/Khopa/dcs_liberation/issues/494
This reverts commit 90697194a1a4ca67b53eb7b4056e4f7f5416ac58.
2020-12-04 23:57:58 -08:00
Dan Albert
90697194a1
Migrate buildings and TGOs to unit map.
...
Fixes https://github.com/Khopa/dcs_liberation/issues/485 .
2020-12-04 01:10:18 -08:00
walterroach
f6e0dbbb6a
operation refactoring
2020-11-21 17:00:22 -06:00
Dan Albert
ae68a35a1a
Remove save compat since it's breaking anyway.
...
Removal of old paths/names for things that no longer exist.
2020-11-20 17:06:01 -08:00
Dan Albert
8345063e84
Move theater into game.
2020-11-17 18:11:33 -08:00
walterroach
c1f88b4a5f
frontline refactoring
...
`FrontLine` is tightly coupled with `ConflictTheater`.
Moved into the same module to prevent circular imports.
Moved `ConflictTheater.frontline_data` from class var
to instance var to allow save games to have different
versions of frontlines.
2020-11-15 22:08:18 -06:00
walterroach
33885e2216
initial multi segment frontline implementation
2020-11-12 21:47:13 -06: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
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
dd4c37cde3
Pick runways and ascent/descent based on headwind.
2020-10-23 14:41:42 -07:00
Dan Albert
db6b660270
Fix mypy issues in all modules except qt_ui.
2020-10-06 17:24:08 -07:00
Khopa
6317f376b7
EPLRS typo fixed
2020-10-04 14:11:28 +02:00
Khopa
5ecf9aeed8
EPLRS implemented for base defense unit.
2020-10-03 18:32:11 +02:00
Dan Albert
4b74b5a13d
Fix incorrect pydcs import paths.
...
I've been wrongly importing these from `pydcs.dcs` instead of just
`dcs`, because that was what PyCharm thought they were. These will all
be broken when we get back to using a real pydcs instead of relying on
its directory being in our tree.
This page in the wiki should be updated:
https://github.com/Khopa/dcs_liberation/wiki/Developer's-Guide
Instead of recommending that `PYTHONPATH` be updated in the run
configuration, it should instead recommend that Settings -> Project:
dcs_liberation -> Project Structure be set to exclude the pydcs
directory from the dcs_liberation content root, and add the pydcs
directory as a *separate* content root.
Alternatively, we could recommend that configure a virtualenv (good
advice anyway, and pycharm knows how to set them up) that have people
run `pip install -e pydcs`.
I think even easier would be switching from the virtualenv-style
requirements.txt to pipenv, which can actually encode the `-e` style
pip install into its equivalent of requirements.txt.
2020-09-06 01:16:57 -07:00
Dan Albert
9d31c478d3
Fix briefing generation.
...
I removed the nav target info from the briefing because that doesn't
seem to have been doing what it was intended to do. It didn't give any
actual target information, all it would show was (example is a JF-17
strike mission):
PP1
PP2
PP3
PP4
Without any additional context that doesn't seem too helpful to me.
I'll be following up (hopefully) shortly by adding target information
(type, coordinates, STPT/PP, etc) to both the briefing and the
kneeboard that will cover that.
Refactor a bunch to share some code with the kneeboard generator as
well.
2020-09-04 01:06:31 -07:00
Dan Albert
d02a3a0d3f
Add carrier support to kneeboards.
2020-09-04 00:56:26 -07:00
Khopa
9c35156db9
Fix : First unit of base defenses group was not controllable with Combined Arms.
2020-08-20 12:54:03 +02:00
Khopa
6f4b7e0f1a
WIP
2020-08-03 19:43:12 +02:00
Khopa
cd945c625f
Base defense units can be controlled with CA.
2020-07-24 00:23:11 +02:00
Khopa
274be3bcfc
Fix : Carrier sail into the wind. Not in the same direction.
2020-07-04 15:59:00 +02:00
Khopa
1c1936d8f8
Fix : Carrier TACAN was wrongfully set up as an A/A TACAN
2020-06-24 23:22:07 +02:00
Khopa
a60ab68287
Aircraft Carrier will try to sail in the wind when possible.
2020-06-21 18:15:58 +02:00
Khopa
5f1f4f8d81
Culling optimizations + fixed some aircraft icons
2020-06-19 14:31:25 +02:00
Khopa
cd41bcf45c
Generate WW2 Ship groups, added B17 to allies. Implemented modifiable doctrine to setup flight generator.
2020-06-13 18:53:43 +02:00
Khopa
c708abafc8
Started refactoring on ground objects. WW2 factions will have WW2 style buildings. Added ground objects templates for : "village", "ww2bunker", "allycamp"
2020-06-11 21:50:09 +02:00
Khopa
bb11e7f90c
Removed FARP AA that does not respect the factions config.
2020-05-31 23:58:43 +02:00
Khopa
a38f9c2183
Added performance settings.
2020-05-31 23:07:54 +02:00
Khopa
7ee880cadc
Generate ICLS command for carriers
2020-05-31 20:00:07 +02:00
Khopa
2817e2f2c8
Update for new pyDCS version. Supercarrier support added.
2020-05-31 19:19:03 +02:00
Khopa
59986d74f4
Generate random TACAN frequency for ships at start.
...
TACAN infos are displayed in briefing.
2020-05-29 03:28:09 +02:00
Khopa
6dec5ea8f8
Reworked payloads, factions, map display, carrier. Re-added Tarawa support, many minor bug fixes. UI changes.
2020-05-27 21:45:58 +02:00
Khopa
f57e453d8d
Ground war rework
2020-05-24 20:32:45 +02:00
Khopa
76638b549f
Generate ship groups for carriers. Carriers can be destroyed. Faction need to have carrier available.
2019-10-26 22:59:59 +02:00
Khopa
2167953b87
Ground objects are always generated and destroyable, even when it's not the current mission objective.
...
Fix : SAM site destruction status is saved correctly.
Added most SAM site to generator.
2019-10-06 16:14:13 +02:00
Khopa
a17a9399ef
Merge remote-tracking branch 'wrycu/develop' into develop_khopa
...
# Conflicts:
# gen/aaa.py
2019-07-03 19:45:03 +02:00
Wrycu
55de28105e
fix(farp): remove unsupported units from spawning in farps
2019-07-01 21:45:58 -07:00
Khopa
309c10c4cb
Selectable factions wip
2019-06-30 14:05:26 +02:00
Khopa
fbd01fbfdb
WIP for possibility to select player and ennemy faction
2019-06-30 05:31:22 +02:00
Wrycu
49de53f1c9
feat(strike): add chance of AAA/tanks to strike targets
2019-06-24 20:44:28 -07:00