Commit Graph

382 Commits

Author SHA1 Message Date
David Pierron e6e89e2290 bug: corrected ctld.dropSlingCrate() method crashing before unloading a crate 2025-01-04 22:01:50 +01:00
David Pierron c84b937e99 bug: corrected listNearbyCrates() method not returning anything 2025-01-04 22:01:19 +01:00
David Pierron a5eb3b2609 removed unneeded tracing in ctld.i18n_translate() 2025-01-04 22:00:53 +01:00
David Pierron 2b734e61d2 v1.2.1 - corrected the behavior of the ctld.dontInitialize parameter 2025-01-04 11:26:42 +01:00
David Pierron c16fb56b5c Merge branch 'FEAT-i18n' into develop 2025-01-03 18:37:01 +01:00
David Pierron 22029da35f Merge branch 'develop' into FEAT-new-initialization 2025-01-03 18:21:20 +01:00
David Pierron efde6f9507 changed version 2025-01-03 18:17:54 +01:00
David Pierron 5acb8e02db Merge branch 'FEAT-i18n' into develop 2025-01-03 18:16:54 +01:00
David Pierron b9f0712fdf initialization is now immediate (instead of waiting 2 seconds). Caution: this breaks the way the forward configuration worked before, you'll have to change your code and set ctld.dontInitialize to TRUE in your copy of CTLD. 2025-01-01 18:51:11 +01:00
David Pierron c69314b5f0 - added dynamic slots support in MiST v4.5.128-DYNSLOTS-01 (forked from the official MiST 4.5.128)
- added dynamic slots support in CTLD
- added dyn slots in the test mission
2025-01-01 14:37:45 +01:00
David Pierron eede0809e3 - reset the non-translated parts (in French and Spanish) to nil for clarity
- renamed the Spanish language using the correct ISO-2 code ("sp" -> "es")
2024-12-29 20:37:43 +01:00
FullGas1 2e7b963b98 Update dictionaries + translation F10 menu 2024-12-29 19:44:30 +01:00
David Pierron 74f706115e i18n: first finished version, letting translators work now 2024-12-29 11:02:45 +01:00
David Pierron 76a6dca72a updated test mission 2024-12-17 17:54:36 +01:00
David Pierron 55846e3109 hardened the code to avoid a nil value in ctld.setGrpROE 2024-12-17 09:02:41 +01:00
David Pierron 9ff68f6db5 202412.01 RC 2024-12-10 10:35:33 +01:00
David Pierron 8e4c2ea4f9 hardened ctld.setGrpROE 2024-12-10 10:11:04 +01:00
atcz db40326c11 Add NASAMS to AASystemTemplate 2024-11-18 15:51:29 -08:00
atcz 62e4566cfd Add "Next page" when exceeding the limit for any sub 2024-11-18 07:41:31 -08:00
atcz 5b6d3c3f6c Additions to units, several fixes
- Overhauled crate number/weight system to make it easier to add new units
- Added short range SAM for red and blue
- Added NASAMS and BUK SAM mid range
- Added S-300 SAM long range
- Fixed Hawk component count for rearming
- Use true heading for unpackAASystem
- Only create sub-menus if there are more than 10 items.
2024-11-17 20:36:43 -08:00
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 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 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
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 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
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
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 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 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