Skip to content

Commit

Permalink
Limit ML autorotate to outside 50 range
Browse files Browse the repository at this point in the history
  • Loading branch information
lL1l1 committed Dec 4, 2024
1 parent c304bf7 commit a3a3676
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions units/URL0402/URL0402_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,6 @@ UnitBlueprint{
RackSlavedToTurret = false,
RangeCategory = "UWRC_DirectFire",
RateOfFire = 10/1, --10/integer interval in ticks
SlavedToBody = true,
SlavedToBodyArcRange = 180,
TargetPriorities = {
"EXPERIMENTAL",
"SUBCOMMANDER",
Expand All @@ -337,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,
Expand Down

0 comments on commit a3a3676

Please sign in to comment.