1985 Commits

Author SHA1 Message Date
Pax1601
b42280133c Completed custom weapon wizard modal 2025-10-26 16:34:27 +01:00
Pax1601
94d0b4d10e Merge branch 'release-candidate' into weapon-wizard 2025-10-25 15:17:18 +02:00
Pax1601
057603f926 First implementation of weapon wizard 2025-10-23 18:07:55 +02:00
Pax1601
bfd11c49af Merge branch 'release-candidate' of https://github.com/Pax1601/DCSOlympus into release-candidate 2025-10-23 18:07:35 +02:00
Pax1601
2a9723b932 Add image overlay import modal and menu option
Introduces ImageOverlayModal for importing image overlays with user-specified corner coordinates. Adds a menu item to trigger the modal and integrates it into the main UI component. Also updates OlNumberInput to support an internalClassName prop for styling flexibility.
2025-10-23 18:06:29 +02:00
Pax1601
f565b9ee6e Add type annotations and key conversions in Map class
Improves type safety by adding explicit type annotations to method parameters and callback functions in the Map class. Updates key handling for object properties to ensure correct types, particularly when interacting with ContextActions, MapOptions, MapHiddenTypes, and destination preview markers.
2025-10-21 17:34:20 +02:00
Pax1601
504c0a0ed9 fix: Map now works with capitalized map names (thanks for creating this need Wirts :P) 2025-10-15 18:50:40 +02:00
Pax1601
c77173f7c9 Enable AAA capability for infantry and fix map layer key case
Set 'canAAA' to true for several infantry units in groundunitdatabase.json, allowing them to engage air targets. Updated map.ts to handle map layer keys in a case-insensitive manner, preventing issues with mismatched key casing.
2025-10-13 22:50:36 +02:00
Pax1601
73af60d91b Updated unit databases and new spawn loadout system 2025-10-12 15:11:55 +02:00
Pax1601
31d7fb6051 Update mist.lua 2025-09-28 12:10:20 +02:00
Pax1601
def15f5565 Merge branch 'python-api' into release-candidate 2025-09-27 18:08:13 +02:00
Pax1601
a257afca4b Add customString and customInteger to Unit data model
Introduced customString and customInteger fields to the Unit class in both backend (C++) and frontend (TypeScript/React). Updated data indexes, interfaces, and API handling to support setting and retrieving these custom fields. Also added UI elements in the unit control menu to display and handle these new properties.
2025-09-27 18:07:37 +02:00
Pax1601
dca8f9189f Merge branch 'python-api' into release-candidate 2025-09-11 21:47:29 +02:00
Pax1601
3eef91fb24 Add cargo weight and draw argument support
Introduces cargo weight and draw argument properties to units across backend, frontend, and Python API. Adds related commands, data extraction, and registration logic, enabling setting and reading of cargo weight and custom draw arguments for units. Includes new API examples and updates to interfaces, data types, and Lua backend for full feature integration.
2025-09-11 21:47:11 +02:00
Pax1601
73a7ea74f3 feat: Added threshold to unit movement 2025-09-09 18:24:53 +02:00
Pax1601
74b446d157 Updated unit database creation files 2025-08-16 17:09:32 +02:00
Pax1601
4e6701ff01 Refactor API callbacks and improve example scripts
Moved register_on_update_callback in api.py for better code organization. Fixed initialization of units_to_delete and corrected simulate_fire_fight usage in example_disembarked_infantry.py. In example_voice_control.py, added cleanup of generated audio files and fixed callback parameter naming for clarity.
2025-08-08 13:14:59 +02:00
Pax1601
5fa1a26843 Add async callbacks and Kronos integration to API
Introduces async callback support for command execution in spawn methods, adds registration/unregistration for update and startup callbacks, and improves logging and signal handling. Adds a new Kronos module and main entry point for initializing and running the API with Kronos integration. Refactors example scripts and updates VSCode launch configurations for new entry points.
2025-08-08 11:06:53 +02:00
Pax1601
151196e5f2 Merge branch 'python-api' into release-candidate 2025-08-08 10:18:01 +02:00
Pax1601
716b0dc48d Refactor unit command methods to use LatLng objects
Updated multiple methods in Unit to accept a LatLng object instead of separate lat/lng floats, improving type safety and consistency. Also made minor improvements and clarifications in the example_disembarked_infantry.py script, and added execution result handling in OlympusCommand.lua for spawned units.
2025-08-08 10:17:46 +02:00
Pax1601
c66c9242b3 Refactor Python API structure and enhance backend command handling
Major refactor of the Python API: moved modules into subdirectories, replaced app.py with api.py, and added new audio and utility modules. Backend C++ code now tracks command execution results, exposes them via the API, and improves command result handling. Also includes updates to the SRS audio handler, random string generation, and VSCode launch configurations.
2025-08-07 17:01:30 +02:00
Pax1601
8404d4d956
Merge pull request #1128 from Rob2816/release-candidate
Added groupID property to dead units
2025-08-07 11:02:19 +02:00
Rob2816
37fa86dce8 Added groupID property to dead units 2025-08-07 10:52:28 +02:00
Pax1601
4bcb5936b4 feat: Add initial API implementation and databases
Introduces a new Python API module with supporting scripts for data extraction, data types, unit management, and utility functions. Adds JSON databases for aircraft, helicopters, ground units, navy units, and mods, as well as configuration and VSCode launch settings. This provides the foundation for interacting with and managing units, spawning, and logging within the application.
2025-08-05 17:26:24 +02:00
Pax1601
4fd9b7e6c2 fix: Development build shown in release version 2025-08-05 11:05:29 +02:00
Pax1601
e4af9b06d3 fix: Ground units spawned in group are on top of each other, no heading when importing units
Units spawned via map, context menu, or unit spawn menu now include a heading property and are offset in latitude to prevent overlap. Also ensures heading is set during import/export. Minor JSX formatting improvements in UnitSpawnMenu.
2025-08-04 20:03:40 +02:00
Pax1601
89bd39cea8 Merge branch 'release-candidate' of https://github.com/Pax1601/DCSOlympus into release-candidate 2025-08-04 19:37:34 +02:00
Pax1601
cd34eebcba fix: ROE not set correctly when setting defaults
Changed the default ROE value in unit.h from OPEN_FIRE_WEAPON_FREE to OPEN_FIRE. Renamed mods.png to image.png in docs/images. Removed an unnecessary blank line in the audio section of olympus.json. Bumped version in version.json from v2.0.3 to v2.0.4.
2025-08-04 19:37:32 +02:00
Pax1601
07060112bc
Merge pull request #1119 from Pax1601/A-4Skyhawk-mods-doc
Example mod files for A-4 Skyhawk
2025-08-02 18:36:44 +02:00
bobprofisker
d6bcbaea7a
Example mod files for A-4 Skyhawk
Example mod files that inlcude A-4 Skyhawk mods.json and mods.lua files that go into
2025-08-02 17:32:28 +01:00
Pax1601
42abb15aaf Merge branch 'main' into release-candidate 2025-08-02 15:15:01 +02:00
Pax1601
dcac0fd4f2 Added missing Iraq map 2025-08-02 15:14:48 +02:00
Pax1601
90d6acb7a4
Update README.md 2025-08-02 14:53:52 +02:00
Pax1601
2c6538663d
Update README.md 2025-08-02 14:52:20 +02:00
Pax1601
280e6ecdd2 Merge branch 'release-candidate' v2.0.3 2025-08-02 13:03:27 +02:00
Pax1601
3ca78d4c7c Final tweaks before release 2025-08-02 12:46:27 +02:00
Pax1601
e7845dd356
Update servermanager.ts 2025-07-29 19:15:59 +02:00
Pax1601
8ef86e75f0
Disconnected page only shown after 10 seconds disconnected 2025-07-29 18:59:02 +02:00
Pax1601
de1f233848
Fixed unarmed ground units not moving 2025-07-29 17:17:15 +02:00
Pax1601
fd72d4ae2d
Merge pull request #1111 from Pax1601/bugfix/wrong-unit-id-type
fix(unit): unit and group id are now of the correct type;
2025-06-02 10:16:59 +02:00
MarcoJayUsai
a112ef4aa2 fix(unit): unit and group id are now of the correct type; added DCS unitId to dead units 2025-05-30 14:01:00 +02:00
Pax1601
71750c43bd
Merge pull request #1108 from Pax1601/1104-add-an-option-to-automatically-show-unit-engagement-range-when-selected
1104 add an option to automatically show unit engagement range when selected
2025-05-18 14:06:51 +02:00
MarcoJayUsai
36a80c8708 refactor: temporary engagement ring color is now the same as fixed one 2025-04-29 13:36:40 +02:00
MarcoJayUsai
600b649449 feat(map): added option to toggle display of temporary engagement rings 2025-04-28 16:22:51 +02:00
MarcoJayUsai
5237dc688a refactor: adding back country, group id and original unit id to the unit data for future uses 2025-04-28 16:14:07 +02:00
Pax1601
2ebf30e23d
Merge pull request #1107 from Pax1601/bugfix/has-sensors-causing-crashes
fix: temporarily removed radarState due to hasSensors() API causing c…
2025-04-21 11:37:02 +02:00
MarcoJayUsai
dc01620b8c fix: temporarily removed radarState due to hasSensors() API causing crashes 2025-04-21 09:32:04 +02:00
MarcoJayUsai
edc3529b67 feature(map): showing ground units engagement rings when selected and no other global rings are selected 2025-04-15 22:20:15 +02:00
Pax1601
13ec455d74 fix: Searchbar threating input as username/password, inability to spawn explosion on marker 2025-04-14 22:14:40 +02:00
Pax1601
8da9249e52
Merge pull request #1106 from Pax1601/feature/navpoints-custom-icons
fix(navpoints): added missing navpoint tag information from lua
2025-04-10 18:04:30 +02:00