Updated Layouts (markdown)

RndName
2022-02-22 20:34:05 +01:00
parent 08739bf221
commit 3a518e4073

@@ -86,7 +86,7 @@ Every unit type has to be defined as a sub group as following:
| optional | (bool, default: False) | No | Defines wether the template can be used without this group if the faction has no access to the unit type or the user wants to disable this group | |
| unit_count | (list of int) | No | Amount of units to be generated for this group. Can be fixed or a range where it will be picked randomly | |
| unit_types | (list dcs unit types) | No | Specific unit_types for ground units. Complete list from pydcs: [Vehicles.py](https://github.com/pydcs/dcs/blob/master/dcs/vehicles.py). This list is extended by all supported mods! | |
| unit_classes | (list unit classes) | No | Unit_classes of supported units. Defined in [UnitClass](/game/data/units.py) | |
| unit_classes | (list unit classes) | No | Unit_classes of supported units. Defined in [UnitClass](/dcs-liberation/dcs_liberation/blob/develop/game/data/units.py) | |
| statics | (list static types) | No | Specific unit_types of statics. Complete list from pydcs: [Statics.py](https://github.com/pydcs/dcs/blob/master/dcs/statics.py) | |
Complete example of a generic template for an Aircraft Carrier group:
@@ -127,7 +127,7 @@ With the first step the technical requirements will be fulfilled so that the gen
With the rework there were also some changes to the faction file definitions. Older faction files can not be loaded anymore and have to be adopted to the new changes.
During migration all default factions were automatically updated, so they will work out of the box.
You can find more detailed information about how to customize the faction file in [Custom Faction](Custom-Faction)
You can find more detailed information about how to customize the faction file in [Custom Faction](Custom-Factions)
What was changed:
- Removed the `ewrs` list. All EWRs are now defined in the list "air_defense_units".