Aggressive: Difference between revisions
No edit summary |
Replaced mentions of script actions with team missions (as they are internally known as such) |
||
Line 11: | Line 11: | ||
|ares=yes | |ares=yes | ||
}} | }} | ||
{{f|Aggressive|link}} entry in [[TeamTypes]] pertains to initiating an attack when a threat posing enemy comes in range. {{f|Suicide|link}} entry in TeamTypes pertains to response to an attack. These can be set to yes/no. Depending on the current [[ScriptTypes/ | {{f|Aggressive|link}} entry in [[TeamTypes]] pertains to initiating an attack when a threat posing enemy comes in range. {{f|Suicide|link}} entry in TeamTypes pertains to response to an attack. These can be set to yes/no. Depending on the current [[ScriptTypes/TeamMissionTypes|team mission]] being executed and the combination of these two entries, the behavior differs. For some team missions, these two flags don't have any relevance. Variation are seen in the team missions where movement is involved. Typically, attack missions are not affected by {{f|Aggressive}} entry and the team does not initiate attack while on the move to its target when the threat-posing enemy comes in range. In move missions, {{f|Aggressive|yes}} favors attacking when the threat-posing enemy comes in range which results in the team losing its current mission, and when the team resumes it executes the next mission in its script. {{f|Suicide|yes}} tries to suppress the retaliation when attacked in favor of completing the current mission. | ||
=== Movement-related | === Movement-related team mission cases === | ||
{| cellpadding="5" class="wikitable" | {| cellpadding="5" class="wikitable" | ||
!rowspan="2"| | !rowspan="2"|Team Mission Type | ||
!rowspan="2"|Aggressive? | !rowspan="2"|Aggressive? | ||
!rowspan="2"|Suicide? | !rowspan="2"|Suicide? | ||
Line 27: | Line 27: | ||
|yes | |yes | ||
|yes | |yes | ||
|rowspan="4"|Does not initiate attack; continues | |rowspan="4"|Does not initiate attack; continues the mission. | ||
|Does not respond to attack; continues the | |Does not respond to attack; continues the mission. | ||
|- | |- | ||
|yes | |yes | ||
|no | |no | ||
|Responds to attack and continues the | |Responds to attack and continues the team mission. | ||
|- | |- | ||
|no | |no | ||
|yes | |yes | ||
|Does not respond to attack; continues the | |Does not respond to attack; continues the mission. | ||
|- | |- | ||
|no | |no | ||
|no | |no | ||
|Responds to attack and continues the | |Responds to attack and continues the team mission. | ||
|- | |- | ||
|rowspan="4"|<code>3</code> Move to waypoint<br/><code>47</code> Move to enemy structure<br/><code>53</code> Gather at enemy base | |rowspan="4"|<code>3</code> Move to waypoint<br/><code>47</code> Move to enemy structure<br/><code>53</code> Gather at enemy base | ||
|yes | |yes | ||
|yes | |yes | ||
|Does not initiate attack; continues | |Does not initiate attack; continues the mission. | ||
|Does not respond to attack; continues the | |Does not respond to attack; continues the mission. | ||
|- | |- | ||
|yes | |yes | ||
|no | |no | ||
|Abandons the current | |Abandons the current mission and attacks the enemy. Once attack is over, executes the next team mission. | ||
|Responds to attack. If the engagement is only response or if the enemy moves out of range, continues the current | |Responds to attack. If the engagement is only response or if the enemy moves out of range, continues the current mission. If the engagement turns into an attack, it abandons the current mission. Once the attack is over, executes the next team mission. | ||
|- | |- | ||
|no | |no | ||
|yes | |yes | ||
|rowspan="2"|Does not initiate attack when enemy comes in range; continues | |rowspan="2"|Does not initiate attack when enemy comes in range; continues the mission. | ||
|rowspan="2"|Does not respond to attack; continues the | |rowspan="2"|Does not respond to attack; continues the mission. | ||
|- | |- | ||
|no | |no | ||
Line 64: | Line 64: | ||
|yes | |yes | ||
|yes | |yes | ||
|Attacks the enemy, then resumes the | |Attacks the enemy, then resumes the team mission. | ||
|Does not respond to attack; continues the | |Does not respond to attack; continues the mission. | ||
|- | |- | ||
|yes | |yes | ||
|no | |no | ||
|Abandons the current | |Abandons the current mission and attacks the enemy. Once attack is over, executes the next team mission. | ||
|Responds to attack. If the engagement is only response or if the enemy moves out of range, continues the current | |Responds to attack. If the engagement is only response or if the enemy moves out of range, continues the current mission. If the engagement turns into an attack, it abandons the current mission. Once the attack is over, executes the next team mission. | ||
|- | |- | ||
|no | |no | ||
|yes | |yes | ||
|Attacks the enemy, then resumes the | |Attacks the enemy, then resumes the team mission. | ||
|Does not respond to attack; continues the | |Does not respond to attack; continues the mission. | ||
|- | |- | ||
|no | |no | ||
|no | |no | ||
|Attacks the enemy while moving to given waypoint. | |Attacks the enemy while moving to given waypoint. | ||
|Moves back to retaliate. Attacks if in range, otherwise ignores the enemy. Continues the | |Moves back to retaliate. Attacks if in range, otherwise ignores the enemy. Continues the team mission. | ||
|} | |} | ||
Revision as of 10:37, 7 September 2022
Flag: | Aggressive |
File(s): | ai(md).ini, maps |
Values: | Boolean values: yes or no, true or false, 1 or 0 |
Applicable to: | TeamTypes |
Aggressive entry in TeamTypes pertains to initiating an attack when a threat posing enemy comes in range. Suicide entry in TeamTypes pertains to response to an attack. These can be set to yes/no. Depending on the current team mission being executed and the combination of these two entries, the behavior differs. For some team missions, these two flags don't have any relevance. Variation are seen in the team missions where movement is involved. Typically, attack missions are not affected by Aggressive entry and the team does not initiate attack while on the move to its target when the threat-posing enemy comes in range. In move missions, Aggressive=yes favors attacking when the threat-posing enemy comes in range which results in the team losing its current mission, and when the team resumes it executes the next mission in its script. Suicide=yes tries to suppress the retaliation when attacked in favor of completing the current mission.
Team Mission Type | Aggressive? | Suicide? | Response when... | |
---|---|---|---|---|
...enemy in range | ...under attack | |||
0 Attack target type1 Attack waypoint46 Attack enemy structure59 Attack structure at waypoint
|
yes | yes | Does not initiate attack; continues the mission. | Does not respond to attack; continues the mission. |
yes | no | Responds to attack and continues the team mission. | ||
no | yes | Does not respond to attack; continues the mission. | ||
no | no | Responds to attack and continues the team mission. | ||
3 Move to waypoint47 Move to enemy structure53 Gather at enemy base
|
yes | yes | Does not initiate attack; continues the mission. | Does not respond to attack; continues the mission. |
yes | no | Abandons the current mission and attacks the enemy. Once attack is over, executes the next team mission. | Responds to attack. If the engagement is only response or if the enemy moves out of range, continues the current mission. If the engagement turns into an attack, it abandons the current mission. Once the attack is over, executes the next team mission. | |
no | yes | Does not initiate attack when enemy comes in range; continues the mission. | Does not respond to attack; continues the mission. | |
no | no | |||
16 Patrol to waypoint
|
yes | yes | Attacks the enemy, then resumes the team mission. | Does not respond to attack; continues the mission. |
yes | no | Abandons the current mission and attacks the enemy. Once attack is over, executes the next team mission. | Responds to attack. If the engagement is only response or if the enemy moves out of range, continues the current mission. If the engagement turns into an attack, it abandons the current mission. Once the attack is over, executes the next team mission. | |
no | yes | Attacks the enemy, then resumes the team mission. | Does not respond to attack; continues the mission. | |
no | no | Attacks the enemy while moving to given waypoint. | Moves back to retaliate. Attacks if in range, otherwise ignores the enemy. Continues the team mission. |
Bugs/Side-Effects/Unexpected Limitations
Setting this on a team with armed transports can cause the game to break down. See Build Anywhere Bug for more information.