Allow Attack activities to target FrozenActors directly.
Removing the legacy FrozenActor to Actor workaround fixes a number of long-standing bugs. This also prevents units from losing their target when it transforms into a different actor type.
This commit is contained in:
committed by
Oliver Brakmann
parent
0406b89a96
commit
c34dd4b824
@@ -174,6 +174,7 @@ ARTY:
|
||||
LocalOffset: 624,0,208
|
||||
MuzzleSequence: muzzle
|
||||
AttackFrontal:
|
||||
TargetFrozenActors: True
|
||||
WithMuzzleOverlay:
|
||||
AutoTarget:
|
||||
InitialStanceAI: Defend
|
||||
@@ -520,6 +521,7 @@ MSAM:
|
||||
Weapon: 227mm
|
||||
LocalOffset: 213,-128,0, 213,128,0
|
||||
AttackFrontal:
|
||||
TargetFrozenActors: True
|
||||
WithSpriteTurret:
|
||||
SpawnActorOnDeath:
|
||||
Actor: MSAM.Husk
|
||||
|
||||
@@ -118,6 +118,7 @@ MSUB:
|
||||
LocalOffset: 0,-171,0, 0,171,0
|
||||
FireDelay: 2
|
||||
AttackFrontal:
|
||||
TargetFrozenActors: True
|
||||
SelectionDecorations:
|
||||
AutoTarget:
|
||||
InitialStance: HoldFire
|
||||
@@ -234,6 +235,7 @@ CA:
|
||||
MuzzleSequence: muzzle
|
||||
AttackTurreted:
|
||||
Turrets: primary, secondary
|
||||
TargetFrozenActors: True
|
||||
WithMuzzleOverlay:
|
||||
SelectionDecorations:
|
||||
WithSpriteTurret@PRIMARY:
|
||||
|
||||
@@ -28,6 +28,7 @@ V2RL:
|
||||
AutoTarget:
|
||||
ScanRadius: 10
|
||||
AttackFrontal:
|
||||
TargetFrozenActors: True
|
||||
WithFacingSpriteBody:
|
||||
RequiresCondition: !reloading
|
||||
Name: loaded
|
||||
@@ -263,6 +264,7 @@ ARTY:
|
||||
LocalOffset: 624,0,208
|
||||
MuzzleSequence: muzzle
|
||||
AttackFrontal:
|
||||
TargetFrozenActors: True
|
||||
WithMuzzleOverlay:
|
||||
Explodes:
|
||||
Weapon: ArtilleryExplode
|
||||
|
||||
@@ -363,6 +363,7 @@ JUGG:
|
||||
Turrets: deployed
|
||||
RequiresCondition: deployed
|
||||
PauseOnCondition: empdisable
|
||||
TargetFrozenActors: True
|
||||
Armament@deployed:
|
||||
Name: deployed
|
||||
Turret: deployed
|
||||
|
||||
@@ -258,6 +258,7 @@ ART2:
|
||||
Turrets: deployed
|
||||
RequiresCondition: deployed
|
||||
PauseOnCondition: empdisable
|
||||
TargetFrozenActors: True
|
||||
Armament@deployed:
|
||||
Name: deployed
|
||||
Turret: deployed
|
||||
|
||||
Reference in New Issue
Block a user