Commit Graph

179 Commits

Author SHA1 Message Date
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
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
Ambroise Garel
1488001442 Merge branch 'environment-library' 2025-07-29 14:42:28 +02:00
Ambroise Garel
b4704f885f Prettified "mission status report" messages 2025-07-29 14:42:17 +02:00
Ambroise Garel
89e390eaa0 Moved "Request objective coordinates" radio commands to new "Navigation" submenu 2025-07-29 14:29:06 +02:00
Ambroise Garel
09e25ea09e Added TUM.atc table 2025-07-29 14:11:04 +02:00
Ambroise Garel
e1928722db Added function DCSEx.string.getTimeString 2025-07-29 14:03:03 +02:00
Ambroise Garel
a2b9b6d530 Friendly CAP flights now take off from near the centerpoint of mission player slots 2025-07-29 13:25:40 +02:00
Ambroise Garel
0694fc8822 AWACS aircraft now spawned near the centerpoint of all mission player slots 2025-07-29 13:06:59 +02:00
Ambroise Garel
26cf432bb3 Added DCSEx.envMission.getPlayerGroupsCenterPoint(coalitionId) 2025-07-29 13:06:48 +02:00
Ambroise Garel
237cc0c2bc Added .ogg files for new radio messages 2025-07-29 11:32:22 +02:00
Ambroise Garel
cb79bdc4d5 Updated changelog 2025-07-28 23:43:23 +02:00
Ambroise Garel
2105684d75 Minor tweak to radio messages 2025-07-28 23:43:13 +02:00
Ambroise Garel
ba63c5b9cd Added Library.environment table 2025-07-28 23:09:28 +02:00
Ambroise Garel
bf2258bc29 Fixed typos in radio messages 2025-07-28 14:30:36 +02:00
Ambroise Garel
3aa329d069 Minor tweaks to briefing texts 2025-07-28 14:12:16 +02:00
Ambroise Garel
4526601509 Complete object names list 2025-07-28 13:52:05 +02:00
Ambroise Garel
cb587d503c Updated "known bugs" list 2025-07-28 12:12:20 +02:00
Ambroise Garel
578f66d1f8 Marked "wingman" commands as "coming soon" 2025-07-28 12:10:31 +02:00
Ambroise Garel
9b1c5947c7 Added "Using the mission menu" section to the README file 2025-07-28 12:08:58 +02:00
Ambroise Garel
122e50f853 Updated changelog for future version 2025-07-28 11:26:23 +02:00
Ambroise Garel
bec9f26fa0 Fixed bug with interception objectives not validating 2025-07-28 11:03:22 +02:00
Ambroise Garel
1e09e166a5 Added comments 2025-07-28 10:55:53 +02:00
Ambroise Garel
1ccf74d6db Fixed bugs with "cover me!" and "task done, rejoining" messages 2025-07-28 10:38:36 +02:00
Ambroise Garel
669dd72189 Improved display of XP modifiers 2025-07-28 10:38:07 +02:00
Ambroise Garel
2c43f32472 Update PlayerScore.lua 2025-07-28 10:37:48 +02:00
Ambroise Garel
5c1743dce4 Added "change wingman count" F10 menu command 2025-07-28 10:37:43 +02:00
Ambroise Garel
4c60044684 Tweaked score multiplier according to settings 2025-07-27 21:39:31 +02:00
Ambroise Garel
76817db137 Added "number of wingmen" setting 2025-07-27 21:39:18 +02:00
Ambroise Garel
ef66016f9f Added "change altitude" wingman command 2025-07-27 19:47:31 +02:00
Ambroise Garel
34d54e8f76 Aircraft types now identified no matter the distance 2025-07-27 19:47:21 +02:00
Ambroise Garel
11835d9c0b Fixed minor typo 2025-07-27 19:19:20 +02:00
Ambroise Garel
776241fced Added wingmen specific "i'm down!" message 2025-07-27 19:19:11 +02:00
Ambroise Garel
53cedb83b8 Added pilotWingmanChangeAltitude and playerWingmanReportContacts 2025-07-27 19:18:37 +02:00
Ambroise Garel
76ce4c5761 TUM.wingmenTasking.command* functions now return true if tasking worked, false otherwise 2025-07-27 17:43:27 +02:00
Ambroise Garel
ae352b304b Added TUM.wingmen.getFirstWingmanUnit() 2025-07-27 17:42:55 +02:00
Ambroise Garel
ca77f6a693 Cleared up debug menu 2025-07-27 17:42:46 +02:00