219 Commits

Author SHA1 Message Date
atcz
a1f7663a4a
Fixed spacing in addTransportF10MenuOptions 2024-11-17 09:01:40 -08:00
atcz
4ede8063f5
Cleaned up extraneous spaces and some formatting 2024-11-17 08:50:41 -08:00
David Pierron
42fd8e5889 paginate crates load submenus, and sort the categories 2024-11-16 20:11:05 +01:00
David Pierron
77ec1f6d18 added bigger troops groups 2024-11-16 20:10:37 +01:00
David Pierron
22f2efdce9 Small corrections 2024-11-15 13:04:35 +01:00
David Pierron
f3b35f2949 Integrate features from RotorOps 2024-11-15 11:11:14 +01:00
David Pierron
90e3432fd4 integrated changes from RotorOps CTLD.lua 2024-11-15 11:00:02 +01:00
David Pierron
e266acaa95 corrected a bug: the units listed in the ctld.transportPilotNames didn't have a F10 menu 2024-11-14 16:17:51 +01:00
David Pierron
504c1bb5f2 Add unit at BIRTH - should fix issue #111
An event handler is now used to trigger the addition of the new unit to the list of transport pilots and the setup of the CTLD radio menu
2024-11-13 23:36:56 +01:00
David Pierron
bc8d4d2cb9 Merge branch 'release-2024-11' of https://github.com/ciribob/DCS-CTLD into release-2024-11 2024-11-13 21:12:24 +01:00
David Pierron
07d37fb7d5 added a margin of error (default 50m) for JTAC smoke. See issue #73 2024-11-13 21:12:11 +01:00
David Pierron
0520c824d8 Logistic units can now be DCS StaticUnits or DCS Units. When their life is at zero (destroyed but not removed from the battlefield), no crate can be spawned anymore.
See issue #50
2024-11-13 21:11:55 +01:00
David Pierron
08af1aff18 Logistic units can now be DCS StaticUnits or DCS Units. When their life is at zero (destroyed but not removed from the battlefield), no crate can be spawned anymore.
See issue Logistics units and fob are still able to spawn crates even though they are destroyed #50
2024-11-13 21:03:22 +01:00
David Pierron
299af17841 allowed all types of crate loading (sling, simulated sling, from menu) at the same time (Issue #69) 2024-11-13 19:01:24 +01:00
David Pierron
f3797a1286 grouped the available crates spawn commands in a single radio menu 2024-11-13 19:00:10 +01:00
David Pierron
8406a743bc
Merge pull request #116 from atcz/2024-11-review
Fixes and cleanup for multi-crate
2024-11-11 18:17:19 +01:00
atcz
f96aa3424e
Change back to _crateUnitName 2024-11-11 07:13:20 -08:00
atcz
fef17930b9
Fixes and cleanup for multi-crate 2024-11-10 19:02:05 -08:00
David Pierron
1e5a627d63 reset spread values for crates spawning to the default, as suggested by @atcz (thanks) 2024-11-10 18:38:36 +01:00
David Pierron
b1a50daa0b small corrections and release prep (version naming) 2024-11-09 20:56:21 +01:00
David Pierron
a3debfe000 VEAF - AA crates stacking feature:
Allows players to create systems using as many crates as they like
Example : an amount X of patriot launcher crates allows for Y launchers to be deployed, if a player brings 2*X+Z crates (Z being lower then X), then deploys the patriot site, 2*Y launchers will be in the group and Z launcher crate will be left over
2024-11-09 20:13:16 +01:00
David Pierron
4f15513fc8 VEAF - added pagination to the troops load menu when there are too much items to display 2024-11-09 19:43:51 +01:00
David Pierron
5ed1511185 Merge PR #113 2024-11-09 18:55:20 +01:00
David Pierron
2828df2a10
Merge pull request #113 from marcos2221:master
Added multiple crate capability for mi8 and ch-47
2024-11-09 18:51:46 +01:00
David Pierron
b2448048b9 adapted and corrected code 2024-11-09 18:43:46 +01:00
David Pierron
ce69af2843
Merge pull request #95 from Queton1-1:aircraftByType
Allow units to CTLD by aircraft type and not only by pilot name
2024-11-09 11:51:02 +01:00
David Pierron
419dae35fa reset default values to more realistic ones 2024-11-09 11:50:44 +01:00
David Pierron
ff76fddb1f
Merge pull request #109 from atcz:crate-headings
Use crate headings to spawn units
2024-11-09 11:33:08 +01:00
Marcos "Tupper" Romero
d041a5cd19 Added multiple crate capability for mi8 and ch-47 2024-08-23 17:17:36 -06:00
atcz
1d1cd3bcae
Use crate headings to spawn units
- Set the crate heading to the helo heading when dropped or unloaded
- Use the crate heading when spawning units
- Set the crate heading to 0 if not specified
- Default heading for spawnCrateGroup was 120, but this is radians which is 35.49 degrees.  Changed this to 120 degrees.
2024-05-25 17:41:37 -07:00
Quéton 1-1
9dea93f96a
Merge pull request #1 from RexAttaque/aircraftByType
Cleaned up code
2024-01-20 15:57:12 +01:00
RexAttaque
e5a1871673 Transitionned to using the MIST database to add transport pilots at CTLD init 2024-01-19 23:40:53 +01:00
RexAttaque
b9fa2f937e Cleaned up code (local variables, fixed typos, used pairs for loops to have something more compact and modular, added logging) 2024-01-07 00:56:49 +01:00
David Pierron
7edb23f555
Release 2024-01
Many changes:
- Added framework/menu for JTAC special options (toggle on/off or requests)
- Added 9 Line, Smoke on TGT. Toggle lasing, Toggle speed/wind corrections special options
- Reworked the JTAC pagination system to fully utilize F1-F9 entries
- Reworked refresh for JTAC radio menus, any action triggers a refresh for a JTAC and otherwise it stays for 2min (Mitigation of the radio menu overlap when refreshing while the player is already in the radio menu)
- Bug fixes here and there regarding the criterias to display or not the target list of a JTAC and it's special options
- Updated documentation for the JTAC automatic lasing feature
- Added the ability to load dynamically the ctld.lua file in the test mission
- Bug fixes to the ctld.getGroup function
- Added a one-second delay when a JTAC is spawned, before starting auto-lase
2024.01.01
2024-01-04 16:47:27 +01:00
David Pierron
ea762d4701 Many changes:
- Added framework/menu for JTAC special options (toggle on/off or requests)
- Added 9 Line, Smoke on TGT. Toggle lasing, Toggle speed/wind corrections special options
- Reworked the JTAC pagination system to fully utilize F1-F9 entries
- Reworked refresh for JTAC radio menus, any action triggers a refresh for a JTAC and otherwise it stays for 2min (Mitigation of the radio menu overlap when refreshing while the player is already in the radio menu)
- Bug fixes here and there regarding the criterias to display or not the target list of a JTAC and it's special options
- Updated documentation for the JTAC automatic lasing feature
- Added the ability to load dynamically the ctld.lua file in the test mission
- Bug fixes to the ctld.getGroup function
- Added a one-second delay when a JTAC is spawned, before starting auto-lase
2024-01-04 15:55:06 +01:00
David Pierron
2fba4dba03
Merge pull request #99 from ciribob/release-2023-10
Released v202310.01
2023.10.01
2023-10-21 16:26:17 +02:00
David Pierron
5831d1ab2d releasing v202310.01 2023-10-12 13:28:34 +02:00
David Pierron
e33b78806b added the frequency in the beacon units names 2023-10-12 13:24:08 +02:00
David Pierron
7f341df588 Small updates:
- indentation
- comments
- documentation
- default values
2023-10-12 10:40:28 +02:00
David Pierron
3b4da129fd
Merge pull request #92 from Proxy404/feature/jtac-smoke-offset-settings
JTAC Smoke Offset Config Options
Added JTAC configuration settings for the X, Y, and Z offsets of smoke markers for lased targets. This will enable the smoke to be configured to be off the target so as to not block the target from being visible in a TGP.
(by https://github.com/Proxy404)
2023-10-12 10:02:45 +02:00
David Pierron
09efd47acd
Merge pull request #97 from Queton1-1/loadCrateMenu
Add option to show load crate in menu
If set to true, you can load crates with the F10 menu OR hovering, in case of using choppers and planes for example.
(by https://github.com/Queton1-1)
2023-10-12 10:02:06 +02:00
David Pierron
8f9eba4801
Merge pull request #93 from VEAF/change-radio-beacon-transmissions
Changed the beacons radio transmissions to follow DCS evolutions - no need to restart transmissions every 30 seconds
2023-10-12 09:57:26 +02:00
Quéton 1-1
6400becdfc
Add option to show load crate in menu
Add option to show load crate in menu,
if set to true, you can load crates with the F10 menu OR hovering, in case of using choppers and planes for example.
2023-10-07 15:42:36 +02:00
Quéton 1-1
518224a437
Add ctld.addPlayerAircraftByType
If option true, allow units to CTLD by aircraft type and not by pilot name
2023-10-07 12:36:01 +02:00
David Pierron
c1891a1a52 stop transmission if ctld.removeRadioBeacon is called 2023-08-29 17:57:21 +02:00
David Pierron
c4c8e15a32 Changed the beacons radio transmissions
There is no more a need to restart transmissions every 30 seconds, as the bug has been corrected (see https://forum.dcs.world/topic/276106-arc-frequencies/page/2/).
Instead, I made changes to create the transmissions once, with a unique name (now mandatory, see https://forum.dcs.world/topic/316378-placed-adf-beacons-only-transmit-briefly/) and the "loop" parameter activated.
Then, every minute, the updateRadioBeacon function checks if the beacons' batteries are still up, and stops them if they are not. If all is ok, the transmissions are stopped and immediately restarted.
2023-08-25 17:26:30 +02:00
Austin Markiewicz
ea30456493 Added JTAC configuration settings for the X, Y, and Z offsets of smoke markers for lased targets to enable better visibility through a TGP 2023-07-21 21:42:25 -04:00
Ciaran Fisher
a3c9d369d5
Version bump 20230414.01 2023-04-14 16:29:18 +01:00
Ciaran Fisher
9b1cf75420
Merge pull request #85 from RafaPolit/JTAC-smoke-on-default-enemy
Fixed always-nil _enemyUnit variable passed to createSmokeMarker
2023-04-14 16:27:07 +01:00
RafaPolit
9517dabb0d Same changes without spaces removal 2023-01-09 12:59:26 -05:00