Task forces
Registers reusable team compositions containing up to six infantry, vehicle, or aircraft entries.
Format
- Kind
- Record
- File
AI.INI,AIFS.INI,map file- Registered in
[TaskForces]- Section
[<TaskForce ID>]- Record form
<slot>=<count>,<ObjectType ID>
Fields
| # | Field | Accepted value | Required |
|---|---|---|---|
| 1 | Count | Integer unit count | Yes |
| 2 | Type | InfantryType, UnitType, or AircraftType ID | Yes |
[TaskForces] values name the TaskForce sections to load. Each TaskForce section accepts numbered member lines 0 through 5.
OpenTS loads AI.INI, then AIFS.INI when Firestorm is enabled, then the map-local definitions.
[TaskForces]0=MyAttackForce
[MyAttackForce]Name=Attack force0=4,E11=1,MMCHA member type is resolved as infantry, vehicle, then aircraft. Buildings are not accepted. An unresolved member is dropped; surviving members are packed together, so gaps in the numbered slots collapse.
Accepted settings
2 of 2
| Key | Description | Value | When omitted |
|---|---|---|---|
Group[<ObjectType ID>] | The recruitment group a team draws its members from, taken from the TaskForce when the TeamType leaves its own unset. | integer | -1 |
Name[<ObjectType ID>] | The display name of a type definition, a scenario, a multiplayer map, or a musical score. | string | Computed |
No keys match the current filters.
Source files
Linked at revision 59fae722af8c.