Updated Squadrons and pilots (markdown)

Dan Albert 2021-06-11 16:49:00 -07:00
parent 3ca4f7fba1
commit 8018431bf8

@ -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.