AlphaDecay Posted June 25, 2024 Posted June 25, 2024 I see in DCS Bort that there are three "Pressure Setting X" listings. Only thing left on the standby altimeter that I made is getting the 4 digit display at the bottom for the pressure but I'm not sure where to get that info. Are those Pressure Setting 1/2/3 values (each going from 0-65535) converted to the 4 digit value on that indicator? Any tips or pointers on where to look would be great, thanks!
AlphaDecay Posted June 25, 2024 Author Posted June 25, 2024 Ok, got it sorted via the Skunkworks Discord (thanks Charlie), the pressure display looks like AB.CD: onStbyPressSet0Change handles the hundredths decimal digit, do: digit = map(newValue, 0, 65535, 1, 10) % 10; onStbyPressSet1Change handles the tenths decimal digit, do the same as above. onStbyPressSet2Change handles the tens and ones digits, do: unsigned int digit = map(newValue, 0, 65535, 26, 31); 1
Vinc_Vega Posted June 25, 2024 Posted June 25, 2024 That makes sense. Somethimes they split instrument digits into several arguments. Regards, Vinc Regards, Vinc real life: Royal Bavarian Airforce online: VJS-GermanKnights.de [sIGPIC][/sIGPIC]
No1sonuk Posted June 25, 2024 Posted June 25, 2024 3 minutes ago, Vinc_Vega said: That makes sense. Somethimes they split instrument digits into several arguments. Regards, Vinc That would be the case if they're rolling digits, as the cockpit models use argument-based animation to move the wheels.
Vinc_Vega Posted June 26, 2024 Posted June 26, 2024 @No1sonuk He asked for the pressure setting values of the F-18 standby altimeter. I believe, those are the rolling digits in question. Regards, Vinc Regards, Vinc real life: Royal Bavarian Airforce online: VJS-GermanKnights.de [sIGPIC][/sIGPIC]
Recommended Posts