The A2A Simulations Community

"Come share your passion for flight"
It is currently Mon Nov 20, 2017 3:52 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Wed Sep 13, 2017 1:55 pm 
Offline
Airman

Joined: Sat Sep 09, 2017 5:27 pm
Posts: 13
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?!


Quote:
[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 }-


Quote:
[Macros]
7=L:AttitudeIndicator=DEC
8=L:AttitudeIndicator=INC


Thanks for looking.
Rich


Last edited by Rdc640 on Wed Sep 13, 2017 2:27 pm, edited 2 times in total.

Top
 Profile  
 
PostPosted: Wed Sep 13, 2017 2:22 pm 
Offline
Chief Master Sergeant
User avatar

Joined: Fri Jun 06, 2014 1:06 pm
Posts: 5122
Hi Rich,

Try changing the parameter value for the INC command to 100 as follows:
Code:
[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


Top
 Profile  
 
PostPosted: Wed Sep 13, 2017 2:34 pm 
Offline
Airman

Joined: Sat Sep 09, 2017 5:27 pm
Posts: 13
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


Top
 Profile  
 
PostPosted: Wed Sep 13, 2017 2:44 pm 
Offline
Chief Master Sergeant
User avatar

Joined: Fri Jun 06, 2014 1:06 pm
Posts: 5122
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group