walterroach
da17d1e5d1
Change Operation to a static class
...
Removed always True "event successful"
Add `AirWarEvent` as the primary game `Event` applied to every miz
Cleanup of `FrontLineAttackEvent`
Change `Operation.is_awacs_enabled` to two bools for each side red/blue
Currently controlled by whether an AWACs is available for the faction
(and only ever true for Blue)
2020-11-23 18:14:25 -06:00
Dan Albert
493e53c28f
Perform aircraft transfers at the end of the turn.
2020-11-22 18:44:16 -08:00
Dan Albert
f6fad30852
Add unit name -> Liberation object map.
...
Generated units are added to this during mission generation so we can
map destroyed units back to the data that generated them. Currently only
implemented for aircraft as a proof of concept.
2020-11-21 21:01:46 -08:00
walterroach
f6e0dbbb6a
operation refactoring
2020-11-21 17:00:22 -06:00
Dan Albert
0d95716545
Correct type annotations.
2020-11-20 21:40:31 -08:00
Dan Albert
c4b8a41742
Move calculation of aircraft amounts into game.
...
The planner needs to know how much space is still expected to be
available next turn.
2020-11-20 18:25:03 -08:00
Dan Albert
f8b2dbe283
Move unit delivery ownership out of the UI.
...
Breaks save compat, but we need to have this knowledge outside the UI so
we can know whether or not we can ferry aircraft to the airfield without
overflowing parking.
2020-11-20 18:04:27 -08: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
walterroach
16d9c1ccad
Add EWR to destruction events in debrief
...
Also impacted reinforcement generation on turn after EWR destroyed.
2020-11-09 14:49:44 -06:00
walterroach
9a9ef78583
Fix statics not being killed in debrief
2020-11-09 13:34:56 -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
bfc602f22f
Add cheat option to capture bases.
...
Capturing bases is sometimes really annoying because of the DCS unit
AI and our non-optimal ground victory heuristics. Add a cheat option
to allow the player to move on without the tedium.
2020-10-24 13:06:37 -07:00
Dan Albert
49b6951ac3
Generate weather conditions at turn start.
...
Weather and exact time of day information is helpful during mission
planning, so generate it at the start of the turn rather than at
takeoff time.
Another advantage aside from planning is that we can now use the wind
information to set carrier headings and takeoff runways appropriately.
2020-10-16 18:25:25 -07:00
Dan Albert
db6b660270
Fix mypy issues in all modules except qt_ui.
2020-10-06 17:24:08 -07:00
Dan Albert
5f1601a2da
Remove the userdata package.
2020-10-06 17:01:37 -07:00
Pedro Magueija
93b2e91c10
Fix usage of CombatStance typo
2020-09-15 15:03:41 +02:00
Khopa
bcae51cc92
Added possibility to repair SAM sites (WIP)
2020-08-23 13:43:33 +02:00
Khopa
c08768f648
Cleaned up dead code
2020-08-16 13:31:12 +02:00
Khopa
a4e93276b8
Possible to mix factions side. Player will always be blue.
2020-08-01 14:21:34 +02:00
Khopa
f897cf745f
Multiple WIP changes on UI / Submit manually debriefing.
2020-07-26 12:59:16 +02:00
Khopa
83e46ddc97
SEAD AI will only target the designated target group.
2020-06-21 17:50:06 +02:00
Khopa
fde3a988b7
Added missions generators in flight planner. + refactoring
2020-06-09 02:13:46 +02:00
Khopa
bb9247e821
Fix info panel messages.
2020-06-06 16:57:20 +02:00
Khopa
4bc04ec031
Auto redeploy frontline units.
2020-06-06 16:50:19 +02:00
Khopa
fcd81850cb
Debriefing and info on AA site and buildings destroyed. KC130 replace S3B
2020-06-06 04:10:22 +02:00
Khopa
aa4b07d024
Add more waypoints to generated flights
2020-06-05 21:24:23 +02:00
Khopa
ab3ea84d70
AI flight planner now auto generate STRIKE flights.
...
Fix CAS point position in predefined wpt selector.
When an airbase is captured, base defenses are re-generated for the new base owner.
2020-05-30 02:32:45 +02:00
Khopa
fc64e57495
Ground objects have 'Objective' name for easier search. Predefined Waypoint generator entirely reworked.
...
Added finances menu, and info panel.
2020-05-29 00:40:06 +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
7a3ee6b1a9
Frontline progression is now based on combat results.
2020-05-25 04:09:51 +02:00
Khopa
85de3a09ea
Remove triggers from generated mission for now. Do not generate the 'quick' mission
...
Fix range for ai flight planner so they are more likely to plan CAS flights
(It's up to the player to setup flight on the runway or in flight)
2019-11-03 17:27:30 +01: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
a7e202bbc8
Made it possible to capture airbase ingame;
2019-10-13 05:16:34 +02:00
Khopa
3f5f4f4bb1
New automatic de-briefing system implemented
2019-10-13 03:40:22 +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
fbd01fbfdb
WIP for possibility to select player and ennemy faction
2019-06-30 05:31:22 +02:00
Vasyl Horbachenko
c7c2b9a248
special flight for AI to SEAD; AI bomb task
2019-03-27 11:53:00 +02:00
Vasyl Horbachenko
f7e2c8921c
integration tests for operation generation; adjusted waypoint altitude for AI to not fly too low; removed C101 from list of generated AI aircrafts
2019-01-16 01:07:24 +02:00
Vasyl Horbachenko
7842c69ebb
fixed incompatible missions being available from carriers
2018-11-06 02:59:24 +02:00
Vasyl Horbachenko
355cd3e0e4
display events on map
2018-11-04 04:50:51 +02:00
Vasyl Horbachenko
8f85101cec
WIP: display events on the map; start events from adjacent CPs
2018-11-04 02:38:14 +02:00
Vasyl Horbachenko
274e08dd8b
quick mission debriefing fixed; adjusted constants
2018-10-14 04:09:05 +03:00
Vasyl Horbachenko
251435ae0b
debriefing results based only on IDs; fixes in strike ops
2018-10-12 05:41:52 +03:00
Khopa
056c397e68
[Cherry Picked] Added possibility to add 'DCS: Combined Arms' slots to the generated mission.
2018-09-22 11:46:40 +02:00
Vasyl Horbachenko
03fc17fae6
new ground objects format & parser; place dead objects instead of removing them completely
2018-09-12 05:19:21 +03:00
Vasyl Horbachenko
afb084ebf8
minor bugfixes
2018-09-11 05:55:05 +03:00
Vasyl Horbachenko
d31876b65e
FARP spawn for helis on frontline cas; updated ground object placements
2018-09-11 03:12:33 +03:00
Vasyl Horbachenko
ca521e7e51
FARPs for heli flights WIP
2018-09-10 23:12:04 +03:00
Vasyl Horbachenko
fa5259d1f2
minor fixes before rc
2018-09-10 01:48:38 +03:00