Jump to content

Recommended Posts

Posted

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!

Posted

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);

  • Thanks 1
Posted

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]

Posted
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.

Posted

@No1sonuk

He asked for the pressure setting values of the F-18 standby altimeter. I believe, those are the rolling digits in question.

 

Screen_240626_214237_a.jpg

Regards, Vinc

Regards, Vinc

real life: Royal Bavarian Airforce

online: VJS-GermanKnights.de

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...