Profile image

Can a Rotator/piston return to 0 when AG is deactivated?

13.8k vonhubert  6.3 years ago

Hi guys!

I need a rotator that will return to 0 position when its AG is deactivated, but not using VTOL input instead of activate1/2/3... we have an xml command "AG locks input" for control surfaces and "zeroondeactivate" for engines and gyros. Both seem not to work on rotators and gyros. Any ideas if there is a special string for them?

  • Log in to leave a comment
  • Profile image
    13.8k vonhubert

    @ConnorB same block as input, right after it. like in example below

    +1 3.0 years ago
  • Profile image

    Where do you put this command in the overhaul interface? : zeroOnDeactivate="true"

    +1 3.0 years ago
  • Profile image
    13.8k vonhubert

    @Kerbango So, if anybody needs, the string is simple:
    .

    zeroOnDeactivate="true" in a InputController.State section, like following:
    .

    <Part id="13135" partType="HingeRotator-1" position="-5.538485,4.061267,-6.644369" rotation="2.502312,150.2056,266.8441" drag="0.0005835054,0.0005835054,0.002,0.002,0.04119694,0.001085937" materials="3,3,3" scale="0.2999999,0.3,0.3">
    <InputController.State activationGroup="1" invert="true" min="0" max="1" input="Activate3" zeroOnDeactivate="true" />
    <JointRotator.State range="20" speed="0.2" />
    </Part>
    .

    It allowed me to make flawless 3 input interceptors, so when i activate em as ground spoilers at full deployment, it cancels out input as inflight airbrakes (half deployment), and when they are used as airbrakes, it changes roll control in spoileron mod, so instead of moving a spoiler further up for roll (it is barely rolls the plane when spoilers deployed), it instead closes the spoiler on the opposite side. You'll see the mechanism when i finish my Convair CV-880

    +1 6.3 years ago
  • Profile image
    13.8k vonhubert

    @Kerbango i'll write down the exact command later

    6.3 years ago
  • Profile image
    88.6k Kerbango

    Okay thanks for the info that I never knew.

    6.3 years ago
  • Profile image
    13.8k vonhubert

    Nevermind) zeroondeactivate works)

    +3 6.3 years ago