refactor to enum
typing and many other fixes
fix tests
attempt to fix some typescript
more typescript fixes
more typescript test fixes
revert all API changes
update to pydcs
mypy fixes
Use properties to check if player is blue/red/neutral
update requirements.txt
black -_-
bump pydcs and fix mypy
add opponent property
bump pydcs
* Initial support of Germany Cold War terrain
* Updated with latest beacon import
* Updated changelog and ran black
* Fixed the GermanyCW landmap and naming scheme
* Temporarily changed the requirements for pydcs to my branch (will switch back when merged)
* Updated landmap for germanycw with even fewer exclusions
* Removed unnecessary changes
* Updated requirements to lastest pydcs
* Fixed naming issues for Germany
* Update pydcs to latest commit for GCW support
* Add landmap to game.theater.__init__
* Update requirements.txt
* Resolve PyCharm type-waring
* Updated pydcs and exclusion of germany
* Updated land and sea shapefiles for Germany Cold War with new map limits
---------
Co-authored-by: Raffson <Raffson@users.noreply.github.com>
* Implemented support for the Mirage III mod version 2.5.7.01.
* Switched the Mirage III CAS loadouts for bombs.
* Updated changelog.
* Modified resources/factions/argentina_1982.json
* usa military assets pack
* minor fixes to have missiles
* tweak nasams 3
* fix preset groups bug
* adjust b-21 name
* Update faction.py
bugfixes will go in a different branch
Fixes an infinite loop in case a connection to the same CP is made in the template miz file of the campaign. It's basically wrong input, but suppose we'd have a use-case for it in the future, it would still make sense to have ground units retreat to a CP that's different from their origin...
* vietnamwarvessels first batch
* Ship YAMLs
* aircraft yamls initial version, need more work
* initial helicopter yamls
* update aircraft yamls
* Added DDs Fletcher and Sullivans
* ship icons
* aircraft banners and icons
* no huts
* update py files to VWV v0.9.0
* update aircraft yamls, add vigilante
* added 2 ships for VWV v0.9.0
* mig-21mf yaml
* icons and banners additional units v0.9.0
* added VWV units to USA_1970 and Vietnam_1970 JSONs
* Revert "added VWV units to USA_1970 and Vietnam_1970 JSONs"
This reverts commit ed0b28dc36c0d9c1a45a10689a3c419bd23ff258.
* A-1H yaml update
* mig-17 yaml update
* update helicopter yamls
* extension init
* weapon injections
* icon filenames _24 added
* removed tasks 0 from yamls
* hh2d yaml fix
* added VWV v0.9.0 to factions USA and Vietnam
* added max_range to aircraft yamls
* housekeeping
* Flyable to False - not available in mod version
* minor edits
* ignore test campaign
* deleted tasks
* weapon luas blue air
* added task numbers from task.py
* weapon luas red air
* task id numbers in comment
* switched weapon lua from aim-9J to aim-9D
* removed test campaigns
* update payload luas with payload names from flighttype.py
* Changed AIM-9D to 9B, 9D does not work
* removed air assault task for HH-2D
* Cva_31 added to runway_is_operational()
* CVA-31 added to naval_units in faction jsons
* add strike and cas tasks to ra-5c
* correct typo
* Added Armed Recon as task and payload to most a/c
* ignore pre-commit-config.yaml
* pre-commit-config
* black reformat controlpoint.py
* Added tasks to Vigilante (next to Recon) containing attack subtasks, which allow it to be scheduled for missions
* added ships to UNITS_WITH_RADAR
* remove pre-commit-config from gitignore
* added red aircraft to nva_1970 faction
* fixed black's complaint (two empty lines, should be one)
* fix airwing config not properly saving or loading
* add helper message to save function
* bugfixes
* remove unnecessary import used during testing
* yet another forgotten import
* change raise error to log warning
* fix conflict
* squash bugs and reuse patrol layout
* fix tanker tacan and formatting
* fix unlimited fuel option
* update pretense for tanker changes
* reuse refueling flight plan and bugfix for sunken carrier
changelog
* remove unitmap dependency
* formatting and more unit map removal
* more formatting
* typing and black
* keep tanker out of clouds
* fix if there are no clouds
* better cloud handling
* groundwork for recovery task
* remove changes to game/commander
* Finishing up recovery tankers
---------
Co-authored-by: Raffson <Raffson@users.noreply.github.com>
Some maps have inaccurate bounds for sea-zones, thus waypoints that end up being too close to the shore may keep using AGL which could still lead to trouble. Adding a condition to check whether a point is "not on land" will likely fix this issue for maps that have gaps between sea-zones and inclusion-zones around the shoreline...
Resolves#313
* Initial commit of OH-6 Modpack v1.2 + Vietnam Asset Pack v1 support.
* Added OH-6 Mod loadouts by @Starfire13
* Modified pydcs_extensions/oh6_vietnamassetpack/oh6_vietnamassetpack.py
Added resources/units/ground_units/vap_m35_truck.yaml
Added resources/units/ground_units/vap_mule.yaml
Added resources/units/ground_units/vap_mutt.yaml
Added resources/units/ground_units/vap_mutt_gun.yaml
Added resources/units/ground_units/vap_type63_mlrs.yaml
Added resources/units/ground_units/vap_vc_bicycle_ak.yaml
Added resources/units/ground_units/vap_vc_zis.yaml
* Modified changelog.md
Modified resources/factions/USA 1970 Vietnam War.json
Modified resources/factions/USA 1971 Vietnam War.json
Modified resources/units/ground_units/vap_mule.yaml
Added resources/units/aircraft/OH-6A.yaml
* Added the OH-6 to factions and implemented the mod selection in the new game wizard. Added an icon an a banner.
* Modified resources/units/aircraft/OH-6A.yaml
* Added icons for the Vietnam Asset Pack ground units. Also added an icon for the PT-76 since it was missing. Added a Viet Cong 1970s faction.
* Added resources/units/ships/vap_us_seafloat.yaml
* Adjust tasking for OH-6A
OH-6A is only capable of Transport & Reconnaissance, but we can ignore this if the lead slot is a client. AI however will most likely not support this, but we can add Transport & Air Assault instead...
* Fix bug in configure task + client override fallback
---------
Co-authored-by: Raffson <Raffson@users.noreply.github.com>
* Large aircraft ground spawns
Added the ability to add separate ground spawns for C-130 and other large aircraft to campaigns. Implemented on @holyorangejuice 's request.
Large aircraft ground spawns are added to the campaign by placing a C-130 on the ramp, just like an A-10 or AJS37 previously. Note: use the stock DCS C-130, so the campaign miz can be safely opened without the C-130 mod (or any other mod) installed. Not the C-130J player-flyable transport, not the KC-130J tanker included in the UH-60L mod etc.
Large planes (wingspan more than 40 meters, such as the C-130):
- First try spawning on large ground spawns
- Then try the regular airfield ramp spawns
Below 40 meter wingspan aircraft:
- First try spawning on regular or roadbase ground spawns
- Then try the regular airfield ramp spawns
- Then, if both of the above fail, use the large ground spawns
* Specify explicit black version 23.9.1 to fix lint error.
* Update lint.yml
---------
Co-authored-by: Raffson <Raffson@users.noreply.github.com>
* Su-15 Flagon mod v1.0 support
Implemented support for Su-15 Flagon mod version 1.0 by Marco1985_IT.
* Replaced the external fuel tanks with gunpods in Su-15 loadouts and added gunfighter: true