This adds the 3 landing Gear lights to the P5 Overhead

Add this to the [elements] section

textlightbox RIGHT%GEAR,-0.3,125.1,.6,g,RightGear, 6 , 3
textlightbox NOSE%GEAR,-6.9,134.5, .6 , g ,NoseGear, 6 , 3
textlightbox LEFT%GEAR,-14.0,125.1, .6 , g ,LeftGear, 6 , 3



Add this to the [logics] section

NoseGear = (fsNoseGearPos > 16000) and (batt1 = 1)
LeftGear = (fsLeftGearPos > 16000) and (batt1 = 1)
RightGear = (fsRightGearPos > 16000) and (batt1 = 1)

Add The following FS Offsets to the sysvar.txt file

0BEC 4 fsNoseGearPos // 0=full up, 16383=full down
0BF0 4 fsRightGearPos // 0=full up, 16383=full down
0BF4 4 fsLeftGearPos // 0=full up, 16383=full down


David