Page 2 of 2

Re: Attitude Indicator - question

Posted: 13 Sep 2017, 13:55
by Rdc640
Hey folks, resurrecting an old thread here, but mine is very related.

I can get them to go down, but not up!!? :?

I'm on p3d v4 and FSUIPC5 if this matters.

Now, I have done plenty of Lvars now, and whilst my approach for triggering from physical button is a little unorthodox, it works.
As can be seen, those keypresses in FSUIPC trigger those to run. I then map my switches to the keypresses. It just lets me find where the problem lies.
Now, even running these does not allow it to work.

Below is what comes out. Anyone spot anything?!

[Keys.Cessna172]
8=54,14,M1:7,0 -{alt+ctl+6: Press=Macro 1Cessna172: L:AttitudeIndicator dec }-
9=55,14,M1:8,0 -{alt+ctl+7: Press=Macro 1Cessna172: L:AttitudeIndicator inc }-
[Macros]
7=L:AttitudeIndicator=DEC
8=L:AttitudeIndicator=INC
Thanks for looking.
Rich

Re: Attitude Indicator - question

Posted: 13 Sep 2017, 14:22
by Nick - A2A
Hi Rich,

Try changing the parameter value for the INC command to 100 as follows:

Code: Select all

[Keys.Cessna172]
8=54,14,M1:7,0 -{alt+ctl+6: Press=Macro 1Cessna172: L:AttitudeIndicator dec }-
9=55,14,M1:8,100 -{alt+ctl+7: Press=Macro 1Cessna172: L:AttitudeIndicator inc }-
Cheers,
Nick

Re: Attitude Indicator - question

Posted: 13 Sep 2017, 14:34
by Rdc640
Amazing.

Thanks so much Nick!
May I ask how you knew it should be 100? is there some documentation I've not read?

Does Dec always go with 0 and INC go with 100?

I fear this won't be the last thread you see me drag up in the coming days!

Regards,
Rich

Re: Attitude Indicator - question

Posted: 13 Sep 2017, 14:44
by Nick - A2A
Aha! Glad it helped. :)

I just had a vague memory that perhaps this one should be 100. However, the range of values for different L:Vars varies depending on how they're intended to work. For instance, I recently discovered that the attitude indicator in the Comanche works a bit differently, and the valid range in this case is -7 to 7. Sometimes it's a case of trial-and-error to find what works (as in this case), though A2A have documented most of the important L:Vars for the 172 here.

Cheers,
Nick