Profile image

Turret activation transverse limiter prototype

3,045 Fujisan  1.4 years ago
35 downloads
Auto Credit Based on SenSkysh's AUTO-AIMED TURRET AK-2100

essentially this one prevents a turret from coming online unless a target is within it's arc of fire, in this one's case is set to -135 and +135

code: TargetHeading - Heading > - 135 | TargetHeading - Heading < 135

EDIT for /9/28/2023:

I perfected the code a while back, folks. Just a kindly reminder, this is meant for the activationGroup input in rotators and guns, not the inputs themselves. This is meant for ships with multiple turrets which don't need one gun firing on the wrong beam regardless of if a target is within it's transverse range or not.

For forwards facing turrets,

TargetSelected & (TargetHeading - Heading > 225 | TargetHeading - Heading < 135)

For backwards facing turrets,

TargetSelected & (TargetHeading - Heading > 45 & TargetHeading - Heading < 315)

For wing turrets on the starboard side,

TargetSelected & (TargetHeading - Heading < 180)

For wing turrets on the port side,

TargetSelected & (TargetHeading - Heading > 180)

General Characteristics

  • Predecessor AUTO-AIMED TURRET AK-2100
  • Created On Windows
  • Wingspan 16.4ft (5.0m)
  • Length 26.8ft (8.2m)
  • Height 16.1ft (4.9m)
  • Empty Weight 149,236lbs (67,692kg)
  • Loaded Weight 155,289lbs (70,438kg)

Performance

  • Wing Loading N/A
  • Wing Area 0.0ft2 (0.0m2)
  • Drag Points 8812

Parts

  • Number of Parts 88
  • Control Surfaces 0
  • Performance Cost 252
  • Log in to leave a comment
  • Profile image
    3,045 Fujisan

    I perfected the code a while back, folks. Just a kindly reminder, this is meant for the activationGroup input in rotators and guns, not the inputs themselves. This is meant for ships with multiple turrets which don't need one gun firing on the wrong beam regardless of if a target is within it's transverse range or not.

    For forwards facing turrets,

    TargetSelected & (TargetHeading - Heading > 225 | TargetHeading - Heading < 135)

    For backwards facing turrets,

    TargetSelected & (TargetHeading - Heading > 45 & TargetHeading - Heading < 315)

    For wing turrets on the starboard side,

    TargetSelected & (TargetHeading - Heading < 180)

    For wing turrets on the port side,

    TargetSelected & (TargetHeading - Heading > 180)

    Pinned 1.2 years ago
  • Profile image
    3,045 Fujisan

    @SILVERPANZER I actually developed a more simplified version of it a while back now as to perfect this one, you can see it on the activationGroup of my newer ship posts made for that War Challenge United challenge post (idk which lol). Thks for the input tho

    1.2 years ago
  • Profile image
    3,045 Fujisan

    For some reason, the code bugged itself within the desc, here is it properly formatted:

    TargetHeading - Heading > - 135 | TargetHeading - Heading < 135

    EDIT: I tested it on a rack, ang the gun just wobbles when target is beyond transverse angle, might've need to completely redo it

    1.4 years ago