Profile image

I need XML help!

12.0k CrestelAeronautics  1.3 years ago

I want to make control surfaces that CANNOT move when AG-5 is active. How do I do that?

  • Log in to leave a comment
  • Profile image

    @CrestelAeronautics I don't think that there were enough to get you to gold

    6 months ago
  • Profile image

    @FOXHOUND26
    Still hasn’t loaded yet

    6 months ago
  • Profile image

    @FOXHOUND26
    Oh okay

    6 months ago
  • Profile image

    @CrestelAeronautics you had enough points and when I did it my upvotes hadn't gone through yet

    6 months ago
  • Profile image

    As of now

    6 months ago
  • Profile image

    @FOXHOUND26 close
    But about 850 off

    6 months ago
  • Profile image

    Enjoy gold

    6 months ago
  • Profile image

    Heheh

    6 months ago
  • Profile image

    @V my implementation doesn't use variables, and smooth(anything,0) is constant. However, I would support using your method as it is easier to use variables.

    1.2 years ago
  • Profile image

    @hpgbproductions thanks

    1.2 years ago
  • Profile image
    37.2k V

    @hpgbproductions the surface would still move, if I wanted the surface to truely stay still, I would do This


    If ag5 is off, the surface uses Pitch, if it's on, it will cause the variable to reference whatever was last in it, in this case, the last Pitch value used before the group was activated

    1.2 years ago
  • Profile image

    @CrestelAeronautics wing input in overload menu
    Also stealth ping moment

    1.2 years ago
  • Profile image

    Where do I type this in?

    1.2 years ago
  • Profile image

    Use V's code if you want the control surface to be at the zero position when Activate5 is TRUE.
    If you want the control surfaces to stop moving, retaining their previous position:
    smooth(INPUT, Activate5?0:CONST_POSITIVE_LARGE
    INPUT: control surface input
    CONST_POSITIVE_LARGE: constant (try 999999)

    1.2 years ago
  • Profile image

    @V
    I never could figure out codes like that.

    1.2 years ago
  • Profile image
    37.2k V

    Activate5?0:(INPUT)
    guys, if/else statements exist

    1.3 years ago
  • Profile image

    clamp01(1 - Activate5). I've used this before to do what you're wanting.

    1.3 years ago
  • Profile image

    @PlaneFlightX Thanks

    +1 1.3 years ago
  • Profile image
    49.3k PlaneFlightX

    I would use clamp01(!Activate5) * Input
    Replace Input with Pitch, Roll, or Yaw based on what control surface you are replacing.

    +1 1.3 years ago