Skip to content

Task forces

Mapping

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

#FieldAccepted valueRequired
1CountInteger unit countYes
2TypeInfantryType, UnitType, or AircraftType IDYes

[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.

AI.INI, AIFS.INI, or map file
[TaskForces]
0=MyAttackForce
[MyAttackForce]
Name=Attack force
0=4,E1
1=1,MMCH

A 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

KeyDescriptionValueWhen 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.stringComputed

Source files

Linked at revision 59fae722af8c.