Profile image

fLaK

5,300 mezmer  3.8 years ago
40 downloads
No Tags

Something stupid i made in 10 min just to get the basics of flak down

Ag 1 to activate, the turret auto aims (only 180 degrees in front of you)

The "flak shells" are actually missiles, with them having proximityDetonationRangeMin and Max to simulate a flak shell exploding near the target.

If all goes well, eventually one of the missiles will explode close enough to the target, destroying it (hopefully not with the very first missile)

For auto-aim I basically just copied the rotators from my autolocking CIWS

General Characteristics

  • Created On Windows
  • Wingspan 3.3ft (1.0m)
  • Length 8.2ft (2.5m)
  • Height 10.7ft (3.2m)
  • Empty Weight N/A
  • Loaded Weight N/A

Performance

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

Parts

  • Number of Parts 22
  • Control Surfaces 0
  • Performance Cost 172
  • Log in to leave a comment
  • Profile image

    @mezmer Thank you, I've always wanted to incorporate it into a build

    3.8 years ago
  • Profile image
    5,300 mezmer

    @Whydoesthismatter Basically the 2 rotators (the one on the bottom controlling the yaw and the one on the side controlling the pitch) for their inputs use code with the help of Funky Trees. You can read this to learn how it works, but basically it's something that let's us use math and trig to calculate different things such as the lead of a target. (It's not important specifically for this flak gun since it uses missiles and not a gun, the rotators I basically just copied straight from this design)

    3.8 years ago
  • Profile image

    Out of curiosity how did you get it to auto aim?

    3.8 years ago