214 Commits

Author SHA1 Message Date
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
Ambroise Garel
c16041f58b Added markdown-pdf VSCode extension configuration and styles for the PDF manual 2025-07-31 18:26:52 +02:00
Ambroise Garel
e66fe93ea0 Added "cancel" option 2025-07-31 17:35:08 +02:00
Ambroise Garel
ebffc5313a Removed unused command, added check for PHP installation 2025-07-31 17:24:26 +02:00
Ambroise Garel
39039430c1 Added *.pdf to .gitignore 2025-07-31 17:24:10 +02:00
Ambroise Garel
8d05b98a95 Cleaned up and added comments to DCSEx tables 2025-07-31 11:02:03 +02:00
David Pierron
3e1bd1e52e VEAF MCT - error when adding AI planes to the mission
Fixes VEAF/the-universal-mission-for-dcs-world#1
2025-07-31 10:18:48 +02:00
Ambroise Garel
33f8986317 Added datalink setup 2025-07-30 15:50:13 +02:00
Ambroise Garel
a55012e383 Increased AWACS aircraft cruise altitude 2025-07-30 15:20:24 +02:00
Ambroise Garel
6964bf2543 Fixed typos 2025-07-29 17:26:39 +02:00
Ambroise Garel
1358b9eda3 Version number set to 0.2.250729, "Planned development" section updated v0.2.250729 2025-07-29 17:04:22 +02:00
Ambroise Garel
a12e460d94 Updated comments to take into account DCS 2.9.18.12899 changes 2025-07-29 17:03:42 +02:00
Ambroise Garel
ec8a46d464 Increased XP bonus for missions in enemy territory 2025-07-29 16:54:55 +02:00
Ambroise Garel
9b2d50ef49 Increased wingmen durability 2025-07-29 16:54:26 +02:00
Ambroise Garel
423ebbf7b8 Added ATC commands 2025-07-29 16:27:04 +02:00
Ambroise Garel
d603a3d8a1 Added TUM.mission.getPlayerCallsign() 2025-07-29 16:26:52 +02:00
Ambroise Garel
53e756597b Added Library.environment.getWindAverage() 2025-07-29 16:26:34 +02:00
Ambroise Garel
117f5502ab Missions taking place in enemy territory now award 25% more XP 2025-07-29 15:51:18 +02:00
Ambroise Garel
1bc1fbca96 Fixed bug in build script 2025-07-29 15:49:39 +02:00
Ambroise Garel
4532d5d020 Added new ATC commands 2025-07-29 15:34:27 +02:00
Ambroise Garel
c7cd1aa462 Improved build script, now with more options 2025-07-29 15:05:00 +02:00