235 Commits

Author SHA1 Message Date
Ambroise Garel
885b14315f Temporary disabled "ocaAirbase" task 2025-09-16 18:43:14 +02:00
Ambroise Garel
4f1ad38eeb Added "airbase strike" OCA mission objective 2025-09-16 12:16:58 +02:00
Ambroise Garel
404095967d Added OCA to DCSEx.enums.taskFamily 2025-09-16 12:07:13 +02:00
Ambroise Garel
4ebbf398d2 Added AIRBASE_TARGET and PARKED_AIRCRAFT_TARGET to DCSEx.enums.taskFlag 2025-09-16 12:00:35 +02:00
Ambroise Garel
babc9a183e Added out-of-bounds check on names array 2025-09-15 16:21:26 +02:00
Ambroise Garel
0b792e4b25 Fixed errors in README 2025-09-15 12:13:28 +02:00
Ambroise Garel
2eee4320d3 Updated README v0.3.250914 2025-09-14 15:39:25 +02:00
Ambroise Garel
2d0503e44e Updated README 2025-09-14 15:39:03 +02:00
Ambroise Garel
e0a2612572 Updated manual and README for version 0.3.250914 2025-09-14 15:36:07 +02:00
Ambroise Garel
e357040865 Removed unused zones from the autoexec.cfg 2025-09-14 15:28:32 +02:00
Ambroise Garel
67d71334f9 Support for "Cold War Germany" theater 2025-09-14 14:55:32 +02:00
Ambroise Garel
ffcbbd0402 Merge branch 'germany-theater' 2025-09-14 14:44:04 +02:00
Ambroise Garel
638985b86c Fixed wrong filename in "enemy infantry killed" messages 2025-09-14 14:18:40 +02:00
Ambroise Garel
b8b5611e32 Added voiceovers for "vector to airbase" and "weather report" calls 2025-09-14 14:17:56 +02:00
Ambroise Garel
3af259f048 Added "Give weather report" radio command 2025-09-14 12:12:25 +02:00
Ambroise Garel
104fee86e9 Added DCSEx.math.getLength3D(vec3) 2025-09-14 12:06:55 +02:00
Ambroise Garel
d5577ac551 Removed unused string key 2025-09-14 11:54:23 +02:00
Ambroise Garel
5f220884bd Added "Vector me to nearest airbase" ATC command 2025-09-14 11:37:01 +02:00
Ambroise Garel
e522d110bb Added atcRequireNearestAirbaseNone 2025-09-14 11:09:04 +02:00
Ambroise Garel
64bde651c3 Enemy CAP respawn rate now decreases the more enemy planes are shot 2025-09-11 12:28:10 +02:00
Ambroise Garel
a9edd4a819 Target coordinates radio messages now displayed for a longer time 2025-09-11 11:29:07 +02:00
Ambroise Garel
b140238aa0 Added displayTimeMultiplier parameter 2025-09-11 11:28:50 +02:00
Ambroise Garel
814fbccb00 Mission now autostarts when all players have taken off 2025-09-11 11:12:57 +02:00
Ambroise Garel
81b0be5645 Changed wording 2025-09-11 10:59:02 +02:00
Ambroise Garel
fdb5090e40 Added function DCSEx.world.getPlayersOnGround(side) 2025-09-11 10:58:51 +02:00
Ambroise Garel
99133326b9 Added units from Currenthill unit pack 2025-08-26 10:55:47 +02:00
Ambroise Garel
994c4d9193 Wingmen now removed when player enters a new unit in SP 2025-08-11 17:52:08 +02:00
Ambroise Garel
f1a87bcfa8 Restored DCSEx.dcs.doNothing() 2025-08-07 19:07:41 +02:00
Ambroise Garel
9d64113241 Added "press key to respawn" message on single-player death 2025-08-05 17:48:39 +02:00
Ambroise Garel
adee5411e1 Updated README 2025-08-05 17:38:35 +02:00
Ambroise Garel
4232ee723c Now uses "Client" instead of "Player" slots for single-player 2025-08-05 17:38:14 +02:00
Ambroise Garel
c3ecc403e2 Removed references to world.getPlayer() 2025-08-05 17:22:16 +02:00
Ambroise Garel
dca67aa13c Moved TUM.administrativeSettings to its own table 2025-08-05 17:10:30 +02:00
Ambroise Garel
6658dbecf9 Moved TUM.logger to its own file 2025-08-05 17:04:24 +02:00
Ambroise Garel
52ad4156a4
Merge pull request #12 from VEAF/davidp57/administrative_settings
Introduced administrative settings.
2025-08-05 16:57:28 +02:00
Ambroise Garel
b4701a98e2
Merge pull request #14 from VEAF/davidp57/bug-callsigns
Updated the currentCallsigns table, because there can be 20 max callsign numbers for some callsign types.
2025-08-03 19:42:06 +02:00
David Pierron
24a73b73c7 Updated the currentCallsigns table, because there can be 20 max callsign numbers for some callsign types. 2025-08-03 19:36:21 +02:00
Ambroise Garel
b94cdaa0ef
Merge pull request #13 from VEAF/davidp57/logging-system
Enhanced the logging system while maintaining backward compatibility (through the use of the `TUM.log` function).
2025-08-03 19:26:15 +02:00
Ambroise Garel
6b765e7c80
Merge pull request #8 from VEAF/davidp57/issue1
VEAF MCT - error when adding AI planes to the mission
2025-08-03 19:22:51 +02:00
David Pierron
de3e3df840 Enhanced the logging system while maintaining backward compatibility (through the use of the TUM.log function).
The new system defines specific functions:
- TUM.Logger.trace
- TUM.Logger.debug
- TUM.Logger.info
- TUM.Logger.warn
- TUM.Logger.error

These function can be passed any number of arguments additionnally to the message, and they'll safely format these arguments to be passed to `string.format`.

Example of use:
`TUM.Logger.trace("function  DCSEx.world.setUnitLifePercent(unitID=%s, life=%s)", unitID, life)`

Parameters are formatted based on their type (tables are fully printed for example),

This is a reduced port of the VEAF logging system, which has been used for years.
2025-08-01 23:03:27 +02:00
David Pierron
c5743c993a completed the specific radio menu feature (was missing some bits) 2025-08-01 19:39:54 +02:00
David Pierron
54ff069711 Introduced administrative settings.
They are defined in `TUM.administrativeSettings`.
They have a default value in `TUM.administrativeSettingsDefaultValues`.
They can be overloaded either:
-  by script (with a call like `TUM.administrativeSettings.setValue(TUM.administrativeSettings.USE_SPECIFIC_RADIOMENU, true)`
- by a parameter named after the setting in a trigger zone called `TUM_Administrative_Settings`

Settings that are already implemented:
- USE_SPECIFIC_RADIOMENU: use a specific radio menu for the mission commands, or use the main one?
- INITIALIZE_AUTOMATICALLY: automatically initialize the mission when the script is loaded. If false, you must call TUM.initialize() manually.
- IGNORE_ZONES_STARTINGWITH: if set, ignore all zones starting with this string. This is useful to avoid conflicts with other scripts that use the same zone names.
- ONLY_ZONES_STARTINGWITH: if set, only adds zones starting with this string. This is useful to avoid conflicts with other scripts that use the same zone names.
2025-08-01 18:47:47 +02:00
Ambroise Garel
e840bc3b0d Added DCSEx.world.getFirstPlayer function 2025-08-01 16:59:46 +02:00
Ambroise Garel
25ba1ccd2e Cleaned up and added comments 2025-08-01 16:57:15 +02:00
Ambroise Garel
8e7dc3ba7a Added DCS World Schema to the credits, moved the manual to root directory 2025-08-01 10:19:21 +02:00
Ambroise Garel
548d81a5a6 Updated README 2025-07-31 22:31:56 +02:00
Ambroise Garel
0c20433ce4 Updated README 2025-07-31 22:06:19 +02:00
Ambroise Garel
051d548c8e Updated README 2025-07-31 22:02:57 +02:00
Ambroise Garel
aab5ea1688 Updated manual and logo 2025-07-31 21:46:58 +02:00
Ambroise Garel
a25e8e6bc1 Added game logo and source manual 2025-07-31 18:27:06 +02:00