From 8018431bf806a75a4e37251775efa6165e704654 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Fri, 11 Jun 2021 16:49:00 -0700 Subject: [PATCH] Updated Squadrons and pilots (markdown) --- Squadrons-and-pilots.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Squadrons-and-pilots.md b/Squadrons-and-pilots.md index dc1110f..154c5f3 100644 --- a/Squadrons-and-pilots.md +++ b/Squadrons-and-pilots.md @@ -106,7 +106,17 @@ players: - Corran Horn ``` -The country and aircraft fields will be used to match squadrons that are found against the squadrons being used. The country should be spelled exactly as it would be in a faction file. Factions that use Combined Joint Task Forces nations will have access to all squadrons with matching aircraft. The aircraft should match the key (the value in quotes) of the aircraft found in `plane_map` in https://github.com/pydcs/dcs/blob/master/dcs/planes.py or `helicopter_map` in https://github.com/pydcs/dcs/blob/master/dcs/helicopters.py +The country and aircraft fields will be used to match squadrons that are found against the squadrons being used. The country should be spelled exactly as it would be in a faction file. Factions that use Combined Joint Task Forces nations will have access to all squadrons with matching aircraft. The aircraft should match the key (the value in quotes) of the aircraft found in `plane_map` in https://github.com/pydcs/dcs/blob/master/dcs/planes.py or `helicopter_map` in https://github.com/pydcs/dcs/blob/master/dcs/helicopters.py. Note that for modded aircraft these are currently defined in `game/db.py` instead: https://github.com/dcs-liberation/dcs_liberation/blob/develop/game/db.py#L159-L165. If the code moves and that link becomes out of date, search for a section that looks similar to: + +```python +plane_map["A-4E-C"] = A_4E_C +plane_map["F-22A"] = F_22A +plane_map["MB-339PAN"] = MB_339PAN +plane_map["Su-57"] = Su_57 +plane_map["Hercules"] = Hercules +plane_map["JAS39Gripen"] = JAS39Gripen +plane_map["JAS39Gripen_AG"] = JAS39Gripen_AG +``` The `role` field is currently non-functional. The `role` field will later be shown in the UI as information for the player.