Allow opportunity fire for aircraft.

This commit is contained in:
tovl
2019-03-31 22:09:43 +02:00
committed by reaperrr
parent f16ff9eaa0
commit 9abf715fd7
19 changed files with 114 additions and 92 deletions

View File

@@ -91,6 +91,8 @@ HELI:
ScanRadius: 4
AttackAircraft:
FacingTolerance: 20
OpportunityFire: false
PersistentTargeting: false
AmmoPool:
Ammo: 10
PipCount: 5
@@ -150,6 +152,8 @@ ORCA:
ScanRadius: 5
AttackAircraft:
FacingTolerance: 20
OpportunityFire: false
PersistentTargeting: false
AmmoPool:
Ammo: 6
PipCount: 6

View File

@@ -475,6 +475,7 @@
WithInfantryBody:
IdleSequences: idle1, idle2
StandSequences: stand, stand2
AttackFrontal:
^CivInfantry:
Inherits: ^Infantry

View File

@@ -22,7 +22,6 @@ E1:
ScanRadius: 4
Armament:
Weapon: M16
AttackFrontal:
WithInfantryBody:
IdleSequences: idle1,idle2,idle3,idle4
DefaultAttackSequence: shoot
@@ -55,7 +54,6 @@ E2:
FireDelay: 15
TakeCover:
ProneOffset: 300,0,-227
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: throw
Explodes:
@@ -91,7 +89,6 @@ E3:
FireDelay: 5
TakeCover:
ProneOffset: 180,0,-200
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
@@ -124,7 +121,6 @@ E4:
MuzzleSequence: muzzle
TakeCover:
ProneOffset: 190,0,-198
AttackFrontal:
WithMuzzleOverlay:
WithInfantryBody:
DefaultAttackSequence: shoot
@@ -159,7 +155,6 @@ E5:
MuzzleSequence: muzzle
TakeCover:
ProneOffset: 190,0,-190
AttackFrontal:
WithMuzzleOverlay:
-DamagedByTerrain:
WithInfantryBody:
@@ -196,6 +191,7 @@ E6:
PlayerExperience: 50
Selectable:
Priority: 5
-AttackFrontal:
RMBO:
Inherits: ^Soldier

View File

@@ -335,6 +335,7 @@
Radius: 96
MapEditorData:
Categories: Infantry
AttackFrontal:
^Plane:
Inherits@1: ^ExistsInWorld

View File

@@ -19,7 +19,6 @@ light_inf:
Speed: 43
Armament:
Weapon: LMG
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
@@ -52,6 +51,7 @@ engineer:
-RevealOnFire:
Voiced:
VoiceSet: EngineerVoice
-AttackFrontal:
trooper:
Inherits: ^Infantry
@@ -80,7 +80,6 @@ trooper:
LocalOffset: 128,0,256
TakeCover:
ProneOffset: 324,0,-204
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
@@ -130,6 +129,7 @@ thumper:
Intensity: 1000
Falloff: 0, 0, 0, 100, 100, 100, 25, 11, 6, 4, 3, 2, 1, 0
RequiresCondition: deployed
-AttackFrontal:
fremen:
Inherits: ^Infantry
@@ -159,7 +159,6 @@ fremen:
Weapon: Fremen_S
Armament@SECONDARY:
Weapon: Fremen_L
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
Cloak:
@@ -201,7 +200,6 @@ grenadier:
FireDelay: 3
TakeCover:
ProneOffset: 96,100,-64
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: throw
Explodes:
@@ -236,7 +234,6 @@ sardaukar:
Weapon: M_LMG
Armament@SECONDARY:
Weapon: M_HMG
AttackFrontal:
Voiced:
VoiceSet: GenericVoice
Explodes:
@@ -295,6 +292,7 @@ saboteur:
ValidDamageStates: Critical
Voiced:
VoiceSet: SaboteurVoice
-AttackFrontal:
nsfremen:
Inherits: fremen

View File

@@ -111,6 +111,7 @@ MIG:
PauseOnCondition: !ammo
AttackAircraft:
FacingTolerance: 20
PersistentTargeting: false
Aircraft:
CruiseAltitude: 2560
InitialFacing: 192
@@ -180,6 +181,7 @@ YAK:
PauseOnCondition: !ammo
AttackAircraft:
FacingTolerance: 20
PersistentTargeting: false
Aircraft:
CruiseAltitude: 2560
InitialFacing: 192
@@ -302,6 +304,7 @@ HELI:
PauseOnCondition: !ammo
AttackAircraft:
FacingTolerance: 20
PersistentTargeting: false
Aircraft:
LandWhenIdle: false
TurnSpeed: 4
@@ -369,6 +372,7 @@ HIND:
PauseOnCondition: !ammo
AttackAircraft:
FacingTolerance: 20
PersistentTargeting: false
Aircraft:
LandWhenIdle: false
TurnSpeed: 4

View File

@@ -448,6 +448,7 @@
StandSequences: stand,stand2
DetectCloaked:
CloakTypes: Thief
AttackFrontal:
^CivInfantry:
Inherits: ^Infantry

View File

@@ -32,6 +32,7 @@ DOG:
Armament:
Weapon: DogJaw
ReloadingCondition: attack-cooldown
-AttackFrontal:
AttackLeap:
Voice: Attack
PauseOnCondition: attacking || attack-cooldown
@@ -91,7 +92,6 @@ E1:
Name: garrisoned
Weapon: Vulcan
MuzzleSequence: garrison-muzzle
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
RequiresCondition: !parachute
@@ -139,7 +139,6 @@ E2:
FireDelay: 15
TakeCover:
ProneOffset: 256,64,-331
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: throw
RequiresCondition: !parachute
@@ -184,7 +183,6 @@ E3:
Weapon: Dragon
TakeCover:
ProneOffset: 384,0,-395
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
RequiresCondition: !parachute
@@ -231,7 +229,6 @@ E4:
Weapon: Flamer
TakeCover:
ProneOffset: 160,0,-288
AttackFrontal:
Explodes:
Weapon: VisualExplode
EmptyWeapon: VisualExplode
@@ -289,6 +286,7 @@ E6:
VoiceSet: EngineerVoice
Selectable:
Priority: 5
-AttackFrontal:
SPY:
Inherits: ^Soldier
@@ -342,7 +340,6 @@ SPY:
CloakTypes: Cloak, Thief
Armament:
Weapon: SilencedPPK
AttackFrontal:
AttackMove:
Voice: Move
Voiced:
@@ -400,7 +397,6 @@ E7:
Name: garrisoned
Weapon: Colt45
MuzzleSequence: garrison-muzzle
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
StandSequences: stand
@@ -445,7 +441,6 @@ MEDI:
OutsideRangeCursor: heal
TargetStances: Ally
ForceTargetStances: None
AttackFrontal:
WithInfantryBody:
IdleSequences: idle
StandSequences: stand
@@ -610,6 +605,7 @@ THF:
ValidDamageStates: Critical
Mobile:
Speed: 71
-AttackFrontal:
SHOK:
Inherits: ^Soldier
@@ -690,7 +686,6 @@ SNIPER:
Name: garrisoned
Weapon: Sniper
MuzzleSequence: garrison-muzzle
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
Cloak:
@@ -732,7 +727,6 @@ Zombie:
Speed: 42
AutoTarget:
ScanRadius: 5
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: bite
IdleSequences: idle1

View File

@@ -103,6 +103,7 @@ ORCA:
PauseOnCondition: !ammo
AttackAircraft:
FacingTolerance: 20
PersistentTargeting: false
Voice: Attack
PauseOnCondition: empdisable
AmmoPool:
@@ -158,6 +159,7 @@ ORCAB:
AttackAircraft:
Voice: Attack
FacingTolerance: 20
PersistentTargeting: false
PauseOnCondition: empdisable
AmmoPool:
Ammo: 10
@@ -297,6 +299,7 @@ SCRIN:
AttackAircraft:
Voice: Attack
FacingTolerance: 20
PersistentTargeting: false
PauseOnCondition: empdisable
AmmoPool:
Ammo: 15
@@ -346,6 +349,7 @@ APACHE:
PauseOnCondition: !ammo
AttackAircraft:
FacingTolerance: 20
PersistentTargeting: false
Voice: Attack
PauseOnCondition: empdisable
AmmoPool: