Introduce AirAttackType

Aircraft attack behavior (currently FlyBy or Hover)
is now controlled via this instead of the CanHover boolean.
This commit is contained in:
reaperrr
2019-06-08 14:56:42 +02:00
committed by abcdefg30
parent b59ae476e4
commit c8a42cbce2
7 changed files with 90 additions and 2 deletions

View File

@@ -93,6 +93,7 @@ HELI:
FacingTolerance: 20
OpportunityFire: false
PersistentTargeting: false
AttackType: Hover
AmmoPool:
Ammo: 10
PipCount: 5
@@ -154,6 +155,7 @@ ORCA:
FacingTolerance: 20
OpportunityFire: false
PersistentTargeting: false
AttackType: Hover
AmmoPool:
Ammo: 6
PipCount: 6

View File

@@ -305,6 +305,7 @@ HELI:
AttackAircraft:
FacingTolerance: 20
PersistentTargeting: false
AttackType: Hover
Aircraft:
LandWhenIdle: false
TurnSpeed: 4
@@ -373,6 +374,7 @@ HIND:
AttackAircraft:
FacingTolerance: 20
PersistentTargeting: false
AttackType: Hover
Aircraft:
LandWhenIdle: false
TurnSpeed: 4

View File

@@ -109,6 +109,7 @@ ORCA:
PersistentTargeting: false
Voice: Attack
PauseOnCondition: empdisable
AttackType: Hover
AmmoPool:
Ammo: 5
PipCount: 5
@@ -352,6 +353,7 @@ APACHE:
PersistentTargeting: false
Voice: Attack
PauseOnCondition: empdisable
AttackType: Hover
AmmoPool:
Ammo: 12
PipCount: 4
@@ -391,6 +393,7 @@ HUNTER:
VTOL: true
AttackAircraft:
FacingTolerance: 128
AttackType: Hover
Armament@PRIMARY:
Weapon: SuicideBomb
GrantConditionOnAttack: