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?
@ConnorB same block as input, right after it. like in example below
Where do you put this command in the overhaul interface? : zeroOnDeactivate="true"
@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
@Kerbango i'll write down the exact command later
Okay thanks for the info that I never knew.
Nevermind) zeroondeactivate works)