Difference between revisions of "DCS task escort"
From DCS World Wiki - Hoggitworld.com
Line 1: | Line 1: | ||
{{Template:DCS_tasking | {{Template:DCS_tasking | ||
− | |tName= | + | |tName= Escort |
− | |vNum= 2. | + | |vNum= 1.2.4 |
|type= Main task | |type= Main task | ||
− | |for= Helicopters | + | |for= Airplanes, Helicopters |
− | |avail= | + | |avail= Escort, SEAD |
− | |desc= | + | |desc= Controlled aircraft will follow the assigned group along their route in formation and will engage threats within a defined distance from the followed group. If the assigned group is on the ground the AI will orbit overhead. If assigned to a flight lead or group its wingmen will stay in their specified formation. |
|form= This task needs to be in the following format. | |form= This task needs to be in the following format. | ||
Escort = { | Escort = { | ||
− | id = ' | + | id = 'Escort', |
params = { | params = { | ||
groupId = Group.ID, | groupId = Group.ID, | ||
− | + | pos = Vec3, | |
lastWptIndexFlag = boolean, | lastWptIndexFlag = boolean, | ||
− | lastWptIndex = number, | + | lastWptIndex = number |
− | targetTypes = array of AttributeName | + | engagementDistMax = Distance, |
− | + | targetTypes = array of AttributeName | |
} | } | ||
} | } | ||
Line 31: | Line 31: | ||
groupId: unique groupId. | groupId: unique groupId. | ||
− | + | pos: Vec3 point defining the relative position the controlled flight will form up on. For racetrack orbits, it is best to be back and to the right. | |
+ | |||
+ | engagementDistMax: Maximum distance of targets from the followed aircraft that the AI will actively engage. If the AI is currently engaging a threat and the followed aircraft gets more than 1.5* the max engagement distance, then the escort aircraft will disengage and re-form on the aircraft they are escorting. | ||
targetTypes: Is an array of object attributes which the AI will engage | targetTypes: Is an array of object attributes which the AI will engage | ||
+ | --Need to add more details on the xyz coords so people better understand the positioning. | ||
'''Optional Parameters''': | '''Optional Parameters''': | ||
Line 41: | Line 44: | ||
lastWptIndex : '''(Default: -1)''' Identifies the waypoint at which the following group will stop its task. Must be set if lastWPIndexFlag is not changed to false. Otherwise the AI will immediately abandon the task. | lastWptIndex : '''(Default: -1)''' Identifies the waypoint at which the following group will stop its task. Must be set if lastWPIndexFlag is not changed to false. Otherwise the AI will immediately abandon the task. | ||
− | |||
− | |||
|enum= N/A | |enum= N/A | ||
Line 51: | Line 52: | ||
}} | }} | ||
− | + | [[Category:Aircraft Task|Escort]] | |
− | [[Category:Helicopter Task| | + | [[Category:Helicopter Task|Escort]] |
Latest revision as of 00:47, 21 October 2021