Profile image

How to make a auto turret?

72 Vosper  3.4 years ago

The concept is quite interesting to me, as I could make WW2 style bombers with actual working turrets, but I don’t know the code to actually make the turrets move. If anyone does have the code paste it in the comments please, that would be appreciated :)

  • Log in to leave a comment
  • Profile image

    As i can remember,
    Horizontal - ( TargetHeading - Heading )
    Vertical - ( TargetElevation )
    Use these code for 2 rotators,one horizontal and one vertical
    If that doesnt work,set up min" to 0
    instead of -1
    Note:
    This is for ground vehicles and AA batteries

    And btw click here if you dont want to code stuff,just take off the machine gun and remove the parts until the rotators remain

    1.8 years ago
  • Profile image
    7,543 Aweyer26

    @Vosper also just ask me if you need a different angle range for either the vertical or horizontal movement (ie. limited to just the left side of the craft or only the hemisphere above the aircraft)

    3.4 years ago
  • Profile image
    7,543 Aweyer26

    @Vosper there are 5 different rotators that are all connected in a certain way so i cant just paste the code in unfortunately

    3.4 years ago
  • Profile image
    7,543 Aweyer26

    @Vosper he is correct, as not all turrets work the same. Some are self stabilized while others only work if they are kept completely flat. I did just release an angle limited tail gun and the full range of motion original design which you can take right off of it as long as you put it back on facing the same way

    3.4 years ago
  • Profile image
    9,409 Tookan

    @Vosper
    Ask someone else, the code depends on the weapon itself, where it is from the cockpit, etc

    +1 3.4 years ago
  • Profile image
    72 Vosper

    @Tookan do you know the FT code for the rotators?

    3.4 years ago
  • Profile image
    9,409 Tookan

    Funky Trees

    3.4 years ago