diff --git a/changelog/snippets/balance.6437.md b/changelog/snippets/balance.6437.md new file mode 100644 index 0000000000..b0b49c8ce6 --- /dev/null +++ b/changelog/snippets/balance.6437.md @@ -0,0 +1,3 @@ +- (#6437, #6574) Automatically rotate Cybran Carrier, Othuum, and Monkeylord towards their targets when idle or attacking so that all their weapons can fire. + - Monkeylord will not automatically rotate within 50 range, to make it not get in the way of micro. + - The units rotate in place when aiming like this. diff --git a/units/URL0402/URL0402_unit.bp b/units/URL0402/URL0402_unit.bp index 9ddac01947..99ac7bd79d 100644 --- a/units/URL0402/URL0402_unit.bp +++ b/units/URL0402/URL0402_unit.bp @@ -335,6 +335,23 @@ UnitBlueprint{ WeaponRepackTimeout = 0, WeaponUnpacks = false, }, + { + -- Dummy weapon limiting the auto rotate behavior of the secondaries to outside a range + AboveWaterTargetsOnly = true, + FireTargetLayerCapsTable = { + Land = "Land|Water|Seabed", + Seabed = "Land|Water|Seabed", + Water = "Land|Water|Seabed", + }, + TrackingRadius = 1, + TargetCheckInterval = 0.1, + RateOfFire = 0, + MaxRadius = 50, + SlavedToBody = true, + SlavedToBodyArcRange = 180, + TargetPriorities = { "ALLUNITS" }, + TargetRestrictDisallow = "UNTARGETABLE", + }, { AboveWaterFireOnly = true, AboveWaterTargetsOnly = true, @@ -378,7 +395,8 @@ UnitBlueprint{ RackSlavedToTurret = false, RangeCategory = "UWRC_IndirectFire", RateOfFire = 10/7, --10/integer interval in ticks - SlavedToBody = false, + SlavedToBody = true, + SlavedToBodyArcRange = 39, TargetPriorities = { "TECH1 MOBILE", "TECH2 MOBILE", @@ -444,7 +462,8 @@ UnitBlueprint{ RackSlavedToTurret = false, RangeCategory = "UWRC_IndirectFire", RateOfFire = 10/7, --10/integer interval in ticks - SlavedToBody = false, + SlavedToBody = true, + SlavedToBodyArcRange = 39, TargetPriorities = { "TECH1 MOBILE", "TECH2 MOBILE",