Need help for Script modify

This is the forum to discuss and ask questions related to the new Oi4FS app for MSFS 2020
Post Reply
EDDKKlaus
Posts: 11
Joined: Sat Nov 28, 2020 8:04 pm
Location: Cologne (EDDK)

Need help for Script modify

Post by EDDKKlaus »

Hello Friends !

How I have to modify my Script,s to change my Rotary direction ?

I use the MS DEFAULT v1.5.SSI to controle my DIAMONT62 Aircraft.

I want to change Rotary Direction for these VAR,s (without soldering, because B737 is running fine!)


Var 2040, name ROTARY_CRSL, static, Link IOCARD_ENCODER, Device 35, Input 42, Aceleration 2, Type 2

Var 2041, name ROTARY_IAS, static, Link IOCARD_ENCODER, Device 35, Input 39, Aceleration 2, Type 2

Var 2042, name ROTARY_Hdg, static, Link IOCARD_ENCODER, Device 35, Input 37, Aceleration 3, Type 2

Var 2043, name ROTARY_ALT, static, Link IOCARD_ENCODER, Device 35, Input 46, Aceleration 4, Type 2

Var 2044, name ROTATOR_VS, static, Link IOCARD_ENCODER, Device 35, Input 48, Aceleration 4, Type 2

Var 2045, name ROTARY_CRSR, static, Link IOCARD_ENCODER, Device 35, Input 183, Aceleration 4, Type 2

Thank,s for Help !

Enjoy the Hobby !

EDDKKlaus (Klaus,dk2il@Netcologne.de)
mvr1918
Site Admin
Posts: 1726
Joined: Thu Aug 30, 2012 3:35 pm

Re: Need help for Script modify

Post by mvr1918 »

Try to change Type 2 to Type 3
If that doesn't work you can try this solition for every rotary

Var 2040, name CRSL,static
Var 9040, name ROTARY_CRSL, static, Link IOCARD_ENCODER, Device 35, Input 42, Aceleration 2, Type 2
{
v2040 = v9040 * -1
}
EDDKKlaus
Posts: 11
Joined: Sat Nov 28, 2020 8:04 pm
Location: Cologne (EDDK)

Re: Need help for Script modify

Post by EDDKKlaus »

Hello Roar and Friends !

Thank you for Re!
I have made theese Changes and it works ok,
but a,nother Problem is still present!

If I change Hdg,Alt,or other, the Indicator-
needle Jumps more or less, or does not move.

I have checked with other Airplane, same Result

Remember, my B737 work,s fine with his own Script!

Thanks and Greetings from Cologne!

Klaus (EDDKKlaus)
Post Reply