From eff4d79247a3f882fd44ba303d3aa712bd465f86 Mon Sep 17 00:00:00 2001 From: monstertov Date: Thu, 29 May 2025 13:35:49 +0200 Subject: [PATCH 1/8] Fixed typo in documentation/code: 'referene' was replaced with 'reference' --- dcs/mission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcs/mission.py b/dcs/mission.py index 21a44f2e..1d229edf 100644 --- a/dcs/mission.py +++ b/dcs/mission.py @@ -1351,7 +1351,7 @@ def awacs_flight(self, airport(terrain_.Airport): starting airport, use None if you want it to spawn inflight position(dcs.mapping.Point): reference point for the race-track race_distance: distance for the race-track pattern - heading: direction from the referene position + heading: direction from the reference position altitude: of the AWACS race-track speed: of the AWACS flight start_type(StartType): of the flight if starts from airport From 2c2d439aecbe203233a101d18a4430ad69faea67 Mon Sep 17 00:00:00 2001 From: monstertov Date: Thu, 29 May 2025 13:35:49 +0200 Subject: [PATCH 2/8] =?UTF-8?q?Corrected=20a=20spelling=20mistake:=20'freq?= =?UTF-8?q?uencey'=20=E2=86=92=20'frequency'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dcs/mission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcs/mission.py b/dcs/mission.py index 1d229edf..b5ce1f8e 100644 --- a/dcs/mission.py +++ b/dcs/mission.py @@ -1355,7 +1355,7 @@ def awacs_flight(self, altitude: of the AWACS race-track speed: of the AWACS flight start_type(StartType): of the flight if starts from airport - frequency: VHF-AM frequencey in mhz + frequency: VHF-AM frequency in mhz Returns: FlyingGroup: the created AWACS flight group From 302963bc0aeb889f87848550d0f99efe88eea4c3 Mon Sep 17 00:00:00 2001 From: monstertov Date: Thu, 29 May 2025 13:35:49 +0200 Subject: [PATCH 3/8] Fixed typo in documentation/code: 'referene' was replaced with 'reference' --- dcs/mission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcs/mission.py b/dcs/mission.py index b5ce1f8e..e0898a4a 100644 --- a/dcs/mission.py +++ b/dcs/mission.py @@ -1407,7 +1407,7 @@ def refuel_flight(self, airport(terrain_.Airport): starting airport, use None if you want it to spawn inflight position(dcs.mapping.Point): reference point for the race-track race_distance: distance for the race-track pattern - heading: direction from the referene position + heading: direction from the reference position altitude: of the refuel race-track speed: of the refuel flight start_type(StartType): of the flight if starts from airport From 1b4583af38da78068e420dbe4fafedd24602e64a Mon Sep 17 00:00:00 2001 From: monstertov Date: Thu, 29 May 2025 13:35:49 +0200 Subject: [PATCH 4/8] Addressed typo: changed 'frequencey' to 'frequency' --- dcs/mission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcs/mission.py b/dcs/mission.py index e0898a4a..828c3f4e 100644 --- a/dcs/mission.py +++ b/dcs/mission.py @@ -1411,7 +1411,7 @@ def refuel_flight(self, altitude: of the refuel race-track speed: of the refuel flight start_type(StartType): of the flight if starts from airport - frequency: VHF-AM frequencey in mhz + frequency: VHF-AM frequency in mhz tacanchannel: if the PlaneType supports tacan this channel will be set. Returns: From f01e954486f782f6838dc87e4afca7b31ed11406 Mon Sep 17 00:00:00 2001 From: monstertov Date: Thu, 29 May 2025 13:35:49 +0200 Subject: [PATCH 5/8] Fixed typo in documentation/code: 'specifiy' was replaced with 'specify' --- dcs/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcs/task.py b/dcs/task.py index 9d94e766..a4ac1dc6 100644 --- a/dcs/task.py +++ b/dcs/task.py @@ -1,4 +1,4 @@ -"""This module holds all Tasks that are possible to specifiy in dcs. +"""This module holds all Tasks that are possible to specify in dcs. There are 2 type of tasks, a MainTask and a Task action. * MainTasks are the flight groups main objective like :py:class:`CAS`, :py:class:`CAP`, :py:class:`SEAD`, ... From 0f78fa4b9150e45b3821542334b64786956264fb Mon Sep 17 00:00:00 2001 From: monstertov Date: Thu, 29 May 2025 13:35:49 +0200 Subject: [PATCH 6/8] Resolved a minor textual error by changing 'exaclty' to 'exactly' --- dcs/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcs/task.py b/dcs/task.py index a4ac1dc6..268881bf 100644 --- a/dcs/task.py +++ b/dcs/task.py @@ -966,7 +966,7 @@ class EmbarkToTransport(Task): :param position: :py:class:`dcs.mapping.Point` where to wait to get picked up. :param zone_radius: radius around the point where the group will embark. - :param concrete_unitid: if specified the group will embark to exaclty this unit. + :param concrete_unitid: if specified the group will embark to exactly this unit. """ Id = "EmbarkToTransport" From 5963593569c57b53fbd777050c900264accedb6d Mon Sep 17 00:00:00 2001 From: monstertov Date: Thu, 29 May 2025 13:35:49 +0200 Subject: [PATCH 7/8] Addressed typo: changed 'Seperation' to 'Separation' --- dcs/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcs/task.py b/dcs/task.py index 268881bf..7f9c0d9c 100644 --- a/dcs/task.py +++ b/dcs/task.py @@ -1873,7 +1873,7 @@ class Values(IntEnum): SpreadFourGroupClose = 458755 WW2_BomberElementClose = 786433 WW2_BomberElementOpen = 786434 - # WW2: Bomber Height Seperation has no VariantIndex field. + # WW2: Bomber Height Separation has no VariantIndex field. WW2_BomberElementHeightSeperation = 851968 WW2_FighterVicClose = 917505 WW2_FighterVicOpen = 917506 From afa935d201521a41a7f03c96485054176de3a8eb Mon Sep 17 00:00:00 2001 From: monstertov Date: Thu, 29 May 2025 13:35:49 +0200 Subject: [PATCH 8/8] =?UTF-8?q?Corrected=20a=20spelling=20mistake:=20'visi?= =?UTF-8?q?blity'=20=E2=86=92=20'visibility'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dcs/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcs/weather.py b/dcs/weather.py index 9e4bc43b..a594bb58 100644 --- a/dcs/weather.py +++ b/dcs/weather.py @@ -178,7 +178,7 @@ def load_from_dict(self, d): fog = d.get("fog", {}) self.fog_thickness = fog.get("thickness", 0) self.fog_visibility = fog.get("visibility", 25) - visibility = d.get("visiblity", {}) + visibility = d.get("visibility", {}) self.visibility_distance = visibility.get("distance", 80000) clouds = d.get("clouds", {}) self.clouds_thickness = clouds.get("thickness", 200)