mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
- Fix tgogenerator - Fix UI for ForceGroup and Layouts - Fix ammo depot handling - Split bigger files in smaller meaningful files (TGO, layouts, forces) - Renamed Template to Layout - Renamed GroundGroup to TheaterGroup and GroundUnit to TheaterUnit - Reorganize Layouts and UnitGroups to a ArmedForces class and ForceGroup similar to the AirWing and Squadron - Reworded the UnitClass, GroupRole, GroupTask (adopted to PEP8) and reworked the connection from Role and Task - added comments - added missing unit classes - added temp workaround for missing classes - add repariable property to TheaterUnit - Review and Cleanup Added serialization for loaded templates Loading the templates from the .miz files takes a lot of computation time and in the future there will be more templates added to the system. Therefore a local pickle serialization for the loaded templates was re-added: - The pickle will be created the first time the TemplateLoader will be accessed - Pickle is stored in Liberation SaveDir - Added UI option to (re-)import templates
38 lines
605 B
YAML
38 lines
605 B
YAML
name: power1
|
|
generic: true
|
|
role: Building
|
|
tasks:
|
|
- StrikeTarget
|
|
- Power
|
|
groups:
|
|
- name: power1 0
|
|
statics:
|
|
- power1 0-0
|
|
unit_count:
|
|
- 1
|
|
unit_types:
|
|
- Repair workshop
|
|
- name: power1 1
|
|
statics:
|
|
- power1 1-0
|
|
unit_count:
|
|
- 1
|
|
unit_types:
|
|
- Workshop A
|
|
- name: power1 2
|
|
statics:
|
|
- power1 2-0
|
|
- power1 2-1
|
|
unit_count:
|
|
- 2
|
|
unit_types:
|
|
- Garage B
|
|
- name: power1 3
|
|
statics:
|
|
- power1 3-0
|
|
unit_count:
|
|
- 1
|
|
unit_types:
|
|
- Farm B
|
|
layout_file: resources/layouts/buildings/buildings.miz
|