October 15, 200322 yr I have developed this simple XML code (see below) to implement a pitch limiter in FS2k2. The idea is to detect FD pitch angle greater than or equal 10 degrees (for example). And if this is the case, then the attitude hold mode goes on. It doesn't want to work though. Can someone tell if the parameters and events in the code are correct for this ? Or, in general, what is wrong with this code ?- - - (A:AUTOPILOT FLIGHT DIRECTOR PITCH, degree) 10 >= if{ 1 (>K:KEY_AP_ATT_HOLD_ON) 0 (>K:KEY_AP_ATT_HOLD_OFF)} els { 0 (>K:KEY_AP_ATT_HOLD_ON) 1 (>K:KEY_AP_ATT_HOLD_OFF)}Thanks
October 15, 200322 yr Author Hi,Try (didn't test it): (A:ATTITUDE INDICATOR PITCH DEGREES, degrees) 10 >= if{ (>K:AP_ATT_HOLD_ON) } els{ 0 (>K:AP_ATT_HOLD_OFF) } Instead of (A:ATTITUDE INDICATOR PITCH DEGREES, degrees) you can use your (A:AUTOPILOT FLIGHT DIRECTOR PITCH, degrees)Jan"Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
Create an account or sign in to comment