Skip to content

Commit

Permalink
Clean up the Sera sniper dummy weapon
Browse files Browse the repository at this point in the history
Minimal dummy weapon setup based off the one in FAForever#6574
  • Loading branch information
lL1l1 committed Dec 28, 2024
1 parent e3226de commit 32fb70e
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions units/XSL0305/XSL0305_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -195,23 +195,17 @@ UnitBlueprint{
},
Weapon = {
{
-- Dummy weapon to control attack move stopping distance
AboveWaterTargetsOnly = true,
Damage = 0,
DamageFriendly = false,
FireTargetLayerCapsTable = {
Land = "Land|Water|Seabed",
Water = "Land|Water|Seabed",
},
Label = "DummyWeapon",
MaxRadius = 55,
RackBones = {
{
MuzzleBones = { "Muzzle" },
RackBone = "Barrel",
},
},
RateOfFire = 10/20, --10/integer interval in ticks
SlavedToBody = false,
RateOfFire = 0, --10/integer interval in ticks
TrackingRadius = 1.0,
TargetCheckInterval = 2.0,
TargetPriorities = { "ALLUNITS" },
TargetRestrictDisallow = "UNTARGETABLE",
},
Expand Down

0 comments on commit 32fb70e

Please sign in to comment.