Profile image

Can we make middle doors?

843 ZeroRaven87  1.3 years ago

What I mean exactly is, a door for a weapons bay, that pops open as the weapon is launched and then auto closes. I know with Hinge rotators you can set the input to anything from Activate1-8, to VTOL, but can a fire button be set to the input?
I want to make something like you see in more modern movies and games with stealth aircraft.

As the pilot presses the fire button, the weapons bay door opens long enough for the missile/bomb/etc to launch and then closes.

Presently on my build I’m using AG1-3 to control both activation of the weapon (A2A(1), A2G(2), Multirole(3), and open its respective bay.
Or better yet, could I use funky trees to open a
Bay based on weapon selected? I.E select AIM9, the AIM9 bays open while the rest are closed.

  • Log in to leave a comment
  • Profile image

    @Whatamievendoing yes, as long as the input is set to “FireWeapons”, it will pop open all doors with that input until the button is released.
    I only use the AG commands because I want certain doors to pop for certain missiles.

    1.3 years ago
  • Profile image

    @ZeroRaven87 does it work if the missile and the hinge are set to always activated (no AGs)?

    1.3 years ago
  • Profile image
    25.6k OwO

    oh nvm you guys found it

    +1 1.3 years ago
  • Profile image
    25.6k OwO

    @TheFlightGuySP I believe an input exists outside of funky trees

    1.3 years ago
  • Profile image

    @TheFlightGuySP so I actually found a work around. With the Activate group of the hinge set to the same as the missile, with an input of “FireWeapons” if you press (and hold for a second) the launch button, it pops open the bay, launch’s the missile AB’s closes bay when you let the button go.

    Ideally I set the ignitionDelay to 1.5 or so on the missiles.

    1.3 years ago
  • Profile image

    Try this:

    ceil(smooth(clamp01(FireWeapons), 0.5))
    

    This may or may not work, since I haven't tested this.
    You may need to adjust the number for more/less delay. The current delay is at 2 seconds.

    +1 1.3 years ago