RndName
475cb4851a
Cleanup the killed map objects recognition
...
removed the extra array to track killed_map_objects and reuse the existing killed_ground_units routine to remove duplicate code and possible confusion
cherry-pick from 41392585
2022-01-02 12:55:42 +01:00
RndName
e070d5bf0d
Rework killed map_objects recognition
...
- removed the map_object_id from the TGO
- add a new TriggerRule with the MapObjectIsDead Condition which adds the map object to the killed_map_objects array in the state.json
- Use the trigger_zone_name as the unique identifier used for the unit_map to recognize the kill
2022-01-02 01:23:48 +01:00
Starfire13
c806980ab8
Fixed typo in naming.py
...
cherry-pick from d739d830
2021-12-23 13:43:24 +01:00
MetalStormGhost
b405b8e7ee
F-104 mod support.
...
cherry-pick from 88bc4fd8
2021-12-23 13:42:49 +01:00
RndName
5d89b9ac25
Add Easy Communication Setting
...
allow to enforce the mission setting for easy communication
cherry-pick from 2c21644
2021-12-12 01:24:01 +01:00
MetalStormGhost
54bf9357bf
Add option to limit convoy travel distances.
...
CPU load seems to scale with route length, so add an option to limit
the length of the convoy route. The tradeoff is that the performance
sensitive route won't necessarily be a correct route.
2021-12-10 00:14:32 +01:00
Dan Albert
227b054279
Fix incorrect radio range for AN/ARC-222.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1740
2021-12-10 00:14:27 +01:00
Khopa
5f3f6f8c9f
SA5Generator : Added an ural truck to reload SA-5 sites
2021-12-10 00:13:56 +01:00
RndName
bb1e314260
Generate unit_id for helipads
...
fixes mission scripting error (1748)
cherry-picked from 676a256
2021-11-22 15:10:03 +01:00
Dan Albert
a188f7b7e5
Add missing NavalControlPoint case for BAI.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1702
(cherry picked from commit 7a18d160c8e8a3131f9f5173d5ebf5c8ba4ff2df)
2021-11-06 16:36:44 -07:00
Dan Albert
4f76b73de2
Split runway attack list from strike list.
...
Not all strike aircraft are capable of runway attack, so copy the strike
list into the runway attack list and remove the incompatible aircraft.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1703
(cherry picked from commit a33104d7c435774fa703203a9574e67773f98c87)
2021-11-06 16:26:36 -07:00
ghost
c7581568c2
Enable anti-ship missions for the Tu-142.
...
This is the only mission type that the Tu-142 is capable of.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1683
(cherry picked from commit 92fdd0b80df8add7043ec5d9c761e0fc4242a90f)
2021-10-30 15:06:08 -07:00
Dan Albert
80c8563d67
Use stored alignment for the F-14A.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1689
(cherry picked from commit 2699a38f7b7c4a16b8d0a97bc83a5b5aeb65be76)
2021-10-30 15:05:28 -07:00
MetalStormGhost
ca7f61c938
Added H-6J support for China 2010 and Iraq 1991.
...
Includes H-6J loadouts by @Starfire13
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1661
(cherry picked from commit 49033f67f3e7e1844824d94b980d1cb7cf9c8f0b)
2021-10-30 15:03:22 -07:00
MetalStormGhost
79839f83a0
Change AI Su-33 carrier flights to "Takeoff from runway".
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1352
2021-10-20 19:11:22 +00:00
Dan Albert
702e29b54b
Fix case of unused aircraft not spawning.
...
This function was exiting too early causing unused aircraft to stop
being spawned at *any* airfield as soon as the first full airfield was
found.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1566
2021-10-17 13:03:15 -07:00
MetalStormGhost
2a79e4a4e5
Force carrier planes to start at +1s ( #1600 )
...
Forces carrier planes with original start_time of zero seconds to have a start time of 1 second. This will prevent them from spawning on the 'sixpack' and functions as a workaround for a DCS problem (deadlock / traffic jam).
Fixes #1309 .
2021-10-13 17:10:17 -07:00
Khopa
4399e10cef
SA-5 support 🚀
2021-10-12 22:26:59 +02:00
Khopa
43a8897c28
Added MosquitoFBMkVI support (use campaign operation dynamo)
2021-09-19 02:05:08 +02:00
Khopa
e84e36fd22
Merge remote-tracking branch 'khopa/develop' into helipads
...
# Conflicts:
# changelog.md
2021-09-08 21:56:45 +02:00
MetalStormGhost
b1fee9fe56
Add an option to use FC3-compatible laser codes.
...
FC3 aircraft don't have laser codes like all the other aircraft do, they just use 1113.
2021-09-05 02:10:24 -07:00
Starfire13
24a0211d8c
Update naming.py
2021-09-02 04:06:44 -07:00
Dan Albert
9c3171f1ce
Sort the animal names list.
...
Make it easier to figure out what's already there.
2021-09-01 18:01:53 -07:00
Dan Albert
90a8bb63dc
Fix AI landing behavior.
...
The landing waypoints need the airdrome_id field set to actually
associate with the airfield. Without this ferry flights will take off
and immediately land at their departure airfield.
2021-08-31 23:06:20 -07:00
Dan Albert
1a4be911c0
Implement ferry flights for squadron transfers.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1145
2021-08-31 23:03:27 -07:00
Dan Albert
f9f0b429b6
Set the flight airfields based on the Squadron.
2021-08-31 22:14:00 -07:00
Magnus Wolffelt
056e6b28da
Simplify and rename TACAN registry reserve function ( #1559 )
...
* Simplify and rename TACAN registry reserve function
* Remove unused tacan error
2021-08-18 14:46:55 +02:00
Magnus Wolffelt
34ff5fbc6a
Allow operation.py to ignore TACAN rules
2021-08-18 00:06:34 +02:00
Magnus Wolffelt
f63a35b1fa
Use TACAN channels more selectively, use pytest ( #1554 )
...
* Use TACAN channels more selectively
* Increase tacan range to 126
* Use pytest and add workflow
* Skip faction tests due to outdated test data
* Run mypy on tests directory also
* Use iterators for bands AND usages, add tests
2021-08-17 23:14:54 +02:00
C. Perreau
707d13a65c
Merge branch 'develop' into helipads
2021-08-16 12:20:43 +02:00
Magnus Wolffelt
08365bcbda
Simplify and enhance tarcap flight planning
2021-08-16 10:37:44 +02:00
Dan Albert
4423288a53
Assign aircraft to squadrons rather than bases.
...
This is needed to support the upcoming squadron transfers, since
squadrons need to bring their aircraft with them.
https://github.com/dcs-liberation/dcs_liberation/issues/1145
2021-08-15 17:42:56 -07:00
Dan Albert
90ad1f4a61
Change squadrons to operate out of a single base.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1145
Currently this is fixed at the start of the campaign. The squadron
locations are defined by the campaign file.
Follow up work:
* Track aircraft ownership per-squadron rather than per-airbase.
* UI for relocating squadrons.
* Ferry missions for squadrons that are relocating.
* Auto-relocation (probably only for retreat handling).
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1138
2021-08-14 21:46:27 -07:00
Magnus Wolffelt
c80d0e5378
Raise helo AGL to 60 m for ingress, egress, cap, escort ( #1542 )
2021-08-14 00:54:48 +02:00
RndName
bc5ffdec8e
EWR heading towards conflict
...
implements #1530
2021-08-11 20:58:54 +02:00
Magnus Wolffelt
37491ceffb
Stop using Su-34 for CAP missions, update changelog
2021-08-10 13:38:35 +02:00
RndName
b31c09c4ff
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:16:39 +02:00
Kangwook Lee
def5454e5f
Add battle damage assessment option
2021-08-07 13:11:10 -07:00
Khopa
5e715daded
Changed helipad generation structure as to not impact "Game" object, as suggested by Dan.
2021-08-07 01:05:57 +02:00
Khopa
5412487178
Handle another error case in generate_at_cp_helipad + align helos heading with their slot
2021-08-07 00:38:12 +02:00
Khopa
c4937e95e9
Refactored the helipad generation code in a dedicated method "_generate_at_cp_helipad" + better error handling + removed useless temp variables
2021-08-07 00:16:07 +02:00
Khopa
9ea1edf9db
Applied minor requested changes
2021-08-06 23:55:58 +02:00
Magnus Wolffelt
8488a5ec1a
Use AGL altitude for helo hold ( #1499 )
2021-08-05 13:52:33 +02:00
Kangwook Lee
aaa932f725
Update freq list for ARC-210
2021-08-04 20:40:47 -07:00
Kangwook Lee
c58ecd96f0
Make Radio dataclass store list of ranges
2021-08-04 20:40:47 -07:00
Kangwook Lee
8608b73009
Wrap lines for NotesPage
2021-08-03 17:53:01 -07:00
Magnus Wolffelt
30801dff9f
Use more sensible patrol speeds for CAP, and fix is_helo ( #1492 )
...
* Use more sensible patrol speeds for CAP, and fix is_helo
2021-08-03 12:22:55 +02:00
Khopa
a831800a05
Fixed mypy errors 😒
2021-08-03 01:00:56 +02:00
Khopa
399c739fd7
Fixed mypy errors
2021-08-03 00:51:47 +02:00
Khopa
63f687a20e
Fixed mypy errors in gen
2021-08-03 00:42:49 +02:00