Commit Graph

156 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
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
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
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
4526601509 Complete object names list 2025-07-28 13:52:05 +02:00
Ambroise Garel
bec9f26fa0 Fixed bug with interception objectives not validating 2025-07-28 11:03:22 +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
Ambroise Garel
b4336679d9 Added pilotWingmanRejoinTaskComplete messages 2025-07-27 16:36:42 +02:00
Ambroise Garel
b0871cc07d Improved weapon usage RoE, wingmen now rejoin leader if no tasking in queue 2025-07-27 16:36:34 +02:00
Ambroise Garel
ac30438325 Fixed bug with bomber/transport engagement, allowed options to only engage IR or radar SAMs 2025-07-27 16:35:30 +02:00
Ambroise Garel
439d97314e Target kill report now included exact killed unit type 2025-07-27 16:34:55 +02:00
Ambroise Garel
1eb46e0397 Added AGM-65D to F-16C "attack" payload 2025-07-27 16:34:32 +02:00
Ambroise Garel
157c6ecabd Limited structure/buildings engagement range 2025-07-27 15:54:24 +02:00
Ambroise Garel
c5565279e8 Fixed bug with ship detection 2025-07-27 15:52:38 +02:00
Ambroise Garel
076aaa18b4 Improved classification of short-range SAMs 2025-07-27 15:52:29 +02:00
Ambroise Garel
bad4a8c84d Improved orbit altitude determination 2025-07-27 15:52:14 +02:00
Ambroise Garel
457d5c73dc Minor tweaks to menu 2025-07-27 15:51:54 +02:00
Ambroise Garel
7d64c6c3bc Fixed bugs and tweaked wording in attack tasking/report messages 2025-07-27 15:24:33 +02:00