Updated Squadrons and pilots (markdown)

Dan Albert 2021-05-26 18:02:23 -07:00
parent 73e63b766a
commit 07245c063c

@ -1 +1,18 @@
[Work in progress](https://github.com/dcs-liberation/dcs_liberation/issues/276)
**This feature is new in DCS Liberation 3.0.**
This feature is a [aork in progress](https://github.com/dcs-liberation/dcs_liberation/issues/276). This documentation will be improve as the feature nears completion.
## Pilot names
Pilot names are generated randomly (user-defined names will be added later). The generated names are localized based on the `locales` field of the faction definition. For example:
```json
{
"name": "France and Germany",
"locales": ["fr_FR", "de_DE"],
}
```
Names will be localized if the chosen locale has a `faker.providers.person` listed on https://faker.readthedocs.io/en/master/locales.html.
If the faction has no locales defined, names will be generated using `en_US` (the default for the name generator library).