Updated Squadrons and pilots (markdown)

Dan Albert
2021-07-18 17:21:02 -07:00
parent ca011af4fc
commit 625fcbfae8

@@ -82,12 +82,15 @@ Here is an example squadron definition file:
```yaml
---
name: VFA-113
nickname: Stingers
name: VMFA-323
nickname: Death Rattlers
country: USA
role: Strike Fighter
aircraft: F/A-18C Hornet (Lot 20)
livery: VFA-113
bases:
carrier: true
shore: true
livery: VMFA-323
mission_types:
- Anti-ship
- BAI
@@ -122,6 +125,17 @@ The `pilots` field defines AI pilot names that will be used before generating ra
The `players` field operates the same as the `pilots` field, but the created pilots will be created as player pilots.
The `bases` field is new in DCS Liberation 5.0 and can be used to override the default bases that the squadron will operate from. The defaults are set based on the aircraft type:
Aircraft type | `shore` | `carrier` | `lha`
--- | --- | --- | ---
Helicopter | true | true | true
LHA capable | true | false | true
Carrier capable | false | true | false
Other | true | false | false
This can be used for creating Marine Hornet squadrons as in the example above.
#### Aircraft in 4.x and newer
The aircraft should match the variant name of the aircraft as specified in the unit data file. For more information about variant names, see https://github.com/dcs-liberation/dcs_liberation/wiki/Custom-Factions#aircraft-and-ground-unit-names.