mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Updated Squadrons and pilots (markdown)
@@ -125,6 +125,10 @@ 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 `aircraft` field 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.
|
||||
|
||||
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`
|
||||
@@ -136,24 +140,6 @@ 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.
|
||||
|
||||
#### Aircraft in 3.x
|
||||
|
||||
The aircraft should match the key (**the value in quotes**) of the aircraft found in `plane_map` in [planes.py](https://github.com/pydcs/dcs/blob/master/dcs/planes.py) or `helicopter_map` in [helicopters.py](https://github.com/pydcs/dcs/blob/master/dcs/helicopters.py). Note that for modded aircraft these are currently defined in [db.py](https://github.com/dcs-liberation/dcs_liberation/blob/develop/game/db.py#L159-L165) instead. 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
|
||||
```
|
||||
|
||||
### Generated squadrons
|
||||
|
||||
A squadron will be generated for any aircraft that does not have any predefined squadrons available.
|
||||
Reference in New Issue
Block a user