Profile image

Airborne auto turret testbed

14.8k GuyFolk  3 months ago
3,031 downloads

Airborne auto turret

HI

* Auto turret but it is airborne!!!!!!! *

Or you can find those GIF here in the case of it not showing.

I've always want to make my own auto turret and finally I made it, after taking apart countless other's turret and re-learning some physics lol.
I made it in "piggy bag" configuration because this plane serve as a testbed to my new TLS laser for ADFX-02 Morgan, if relatively slow velocity bullet work just fine laser will work too!!

It was not easy to make an auto turret like this so here is a list of known issues.
- The turret is raised behind and above the cockpit so there will be some parallax problem. I managed to fix vertical parallax problem but I didn't fix the horizontal parallax because it make the aim off by about 50cm which is not a problem.
- I have no idea how bullets in SP decelerate in flight so I didn't code them in the turret that's mean at longer range (above 2.5 km) the aim will be off by a lot.
- Gimbal lock problem. This cause inaccuracy in steep dive or climb, you can google it for more info.


Features:

  • 15 degrees cone of fast firing minigun that track and lead target automatically.
  • Almost unstable flight model with fly-by-Funky-tree.
  • Carrier operational.

Controls:

  • AG2: Tail hook.
  • AG8: Toggle Fly-by-Funky-tree system.

Enjoy

Ps. the minigun I used is XML moded a little bit.(more fire rate, 1000m/s muzzle velocity, tracer color)

Spotlights

General Characteristics

  • Created On Windows
  • Wingspan 29.7ft (9.0m)
  • Length 33.1ft (10.1m)
  • Height 11.7ft (3.6m)
  • Empty Weight 10,565lbs (4,792kg)
  • Loaded Weight 13,715lbs (6,221kg)

Performance

  • Power/Weight Ratio 2.457
  • Wing Loading 63.5lbs/ft2 (310.1kg/m2)
  • Wing Area 215.9ft2 (20.1m2)
  • Drag Points 2500

Parts

  • Number of Parts 43
  • Control Surfaces 5
  • Log in to leave a comment
  • Profile image

    @GuyFolk I disabled collisions, mass, and drag but it is still troubled
    Also when you go upside down or go up and flip the horizon indicator it reevaluates which way is up (you’ll see what I mean)

    one month ago
  • Profile image
    14.8k GuyFolk

    @WereOutOfNames
    yea, quite a long way to go lol.

    one month ago
  • Profile image

    @GuyFolk find my thing here

    one month ago
  • Profile image

    @GuyFolk it only works on targets of higher elevation tho :/
    Also it doesn’t take into account it’s own speed

    one month ago
  • Profile image
    14.8k GuyFolk

    @WereOutOfNames
    I think numbersnumberstheman’s turret just need pitch and roll stabilization.
    Idk, I saw other do the same thing with his code and just add pitch and roll stabilization.

    one month ago
  • Profile image

    @GuyFolk here
    The original idea was to smack numbersnumberstheman’s Mk. 7 autoturret on it

    one month ago
  • Profile image

    @GuyFolk yes. I have just posted it, actually.

    one month ago
  • Profile image
    14.8k GuyFolk

    @WereOutOfNames
    If you make a counter yaw rotator the gun will point to one direction only.
    Is that what you intended?

    one month ago
  • Profile image

    @GuyFolk ik, but do you know how to make yaw work like pitch and roll?

    one month ago
  • Profile image
    14.8k GuyFolk

    @Brothen127
    That ground base turret (I assume it is numbernumbertheman's) just act like they always lie perfectly flat on the ground.

    one month ago
  • Profile image
    14.8k GuyFolk

    @WereOutOfNames
    There is no yaw code in my build.

    one month ago
  • Profile image
    1,414 Brothen127

    @GuyFolk i have tested mounting a ground based turret to the top of ny aircraft, and though it can hit a plane accurately up to 7 mi, my plane must be perfectly stable, and below the target's altitude...

    This coding appears to overcompensate for drift when flying knifedge, but it still aims correctly when sideways or vertical...

    If i can somehow figure out how to decrease the compensation on this turret, or make my ground turret stable when sideways, then i can move on to my first phase in building a space cruiser. I will experiment around and see if i get any progress, and i may ask them what the coding stuff does..

    one month ago
  • Profile image

    @GuyFolk I figured it out without cannibalizing yours

    one month ago
  • Profile image
    14.8k GuyFolk

    @WereOutOfNames
    Just another set of rotator.
    It is to move opposite direction of Rollangle and PitchAngle.
    Take my build apart to find it, they are all in the pod.

    one month ago
  • Profile image
    14.8k GuyFolk

    @Brothen127
    There are no drop and I just assume deceleration is there by testing 0m/s bullet but I need more solid confirmation. (I just eyeballing it lol)
    The code about targeting is provided by the dev themselves (WNP78), if I remember correctly.

    one month ago
  • Profile image
    1,414 Brothen127

    I dont think that SP bullets have deceleration or drop(unlike cannonslugs), but i want to know how to mess with the aiming on the turret...(yeah i dont know calculus and i only posess knowledge of basic FT such as MaxAngularVelocity, not strings of FT code)

    aka i want to mess with the vertical and horizontal settings so it fires at the target's lead, instead of the target itself, but i dont know which part of the code does this

    one month ago
  • Profile image

    What is the code for neutralizing pitch, roll, and yaw?

    one month ago
  • Profile image
    14.8k GuyFolk

    @M7MD_E04
    Yeah you can use it.

    one month ago
  • Profile image
    774 M7MD_E04

    i used this in one of my creations i credited you in it just so you know (:

    one month ago
  • Profile image
    14.8k GuyFolk

    @SAircraft
    Nice.

    +1 one month ago
  • Profile image

    @GuyFolk its fine. its working well so far on mine, mounted inverse though

    one month ago
  • Profile image
    14.8k GuyFolk

    @SAircraft
    Yeah you can use it.
    But as I said previously in other's comments, there are chance of it being not as accurate because the code is fine tuned to this plane configuration.

    one month ago
  • Profile image

    hello. i know practically every other comment has been someone asking to use it, but this thing is amazing. may i use a very slightly tweaked version of the code in a build? credit will be given.

    one month ago
  • Profile image
    14.8k GuyFolk

    @Noahater5245
    It should work right out the box, unless the target is out of firing cone or your game is so old it doesn't have Funky-tree.
    Edit: You need to lock on to the target.

    2 months ago
  • Profile image

    How do I use the automatic part of it? it doesn’t work for me. I can fire the gun manually, but the automatic part of your auto-turret doesn’t work for me

    2 months ago
  • Log in to see more comments