Jump to content

[NOTED] Barometric altimeter pressure in ATC response is not correct


Recommended Posts

Posted (edited)

Pressure response from ATC by takeoff or landing request are in inches, while pressure scale on altimeter are in milimeters, no matter which airfield I use. Is this a bug of DCSW or MiG-21 ?

Edited by Cobra847
Posted

I don't think this is MiG-21-related. I dunno if DCS supports metric pressures, but you can switch the units used in the options from imperial to metric and see.

Win10 x64 | SSDs | i5 2500K @ 4.4 GHz | 16 GB RAM | GTX 970 | TM Warthog HOTAS | Saitek pedals | TIR5

Posted (edited)

I use metric system and on Su-27, for example, I recieve correct data in mm instead inches in MiG-21.

 

I mean Mig-21 and Su-27 have exactly the same metric system, and must recieve data in same format, but dosnt

Edited by spirit_disease
Posted
I use metric system and on Su-27, for example, I recieve correct data in mm instead inches in MiG-21.

 

I mean Mig-21 and Su-27 have exactly the same metric system, and must recieve data in same format, but dosnt

 

Oh, then it might be a bug! I dunno.

 

"Descend and maintain 3000 ft, altimeter 29.98"

 

"Uuuuh... could you give me that in millimetres?"

 

"Sure thing! Descend and maintain 914,000 millimeters, altimeter 29.98"

 

:lol:

Win10 x64 | SSDs | i5 2500K @ 4.4 GHz | 16 GB RAM | GTX 970 | TM Warthog HOTAS | Saitek pedals | TIR5

Posted

Pressure and altitude values (metric/SI or imperial) in ATC correspondence are controlled by "country" selection in Mission Editor.

 

If you fly under "Russia" for example, you will receive metric/SI values, compliant with MiG-21bis cockpit.

 

If you fly under "USA" for example, you will receive imperial valies.

Power through superb knowledge, training and teamwork.

 

[sIGPIC][/sIGPIC]

Posted
If you fly under "Russia" for example, you will receive metric/SI values, compliant with MiG-21bis cockpit.

I use russia and red coalition, but it doesnt matter, I tried Blue and Red coallitions, different airfields, but have the same result - ATC gives me inches. ((( Look at screenshot for example. I use metric system, and russian is my native language, so I cannot miss. Please fix it )))

bug.thumb.png.c3d69962275396861d8f253ebc7a245c.png

Posted

Yes. Confirmed. The same here

" You must think in russian.."

[sIGPIC][/sIGPIC]

 

Windows 7 Home Premium-Intel 2500K OC 4.6-SSD Samsung EVO 860- MSI GTX 1080 - 16G RAM - 1920x1080 27´

 

Hotas Rhino X-55-MFG Crosswind Rudder Pedals -Track IR 4

Posted

I think there is another issue that relates to altimeter scale.

 

To replicate, try to convert inHg to mmHg, and then set it in the altimeter, you will not get the QFE of the airfield.

 

Probably something to do with the altimeter scale?

ASUS N552VX | i7-6700HQ @ 2.59GHz | 16 GB DDR3 | NVIDIA GF GTX 950M 4 Gb | 250 Gb SSD | 1 Tb HD SATA II Backup | TIR4 | Microsoft S. FF 2+X52 Throttle+Saitek Pedals | Win 10 64 bits

  • 4 weeks later...
Posted
When I increase pressure setting in Kollsman window, altitude decreasing.

 

Shouldn't it be the opposite?

 

Yes it should.

Say you are at 100m altitude and the air pressure at sea level is 750mmHg.

If you set 750mmHg on the altimeter, it will show 100m.

If you set 760mmHg on the altimeter, it will notice that the outside pressure is 750mmHg, less than 760mmHg, therefore showing a higher altitude.

Check out my YouTube: xxJohnxx

 

Intel i7 6800k watercooled | ASUS Rampage V Edition 10 | 32 GB RAM | Asus GTX1080 watercooled

Posted

Very Nice work. :)

ASUS N552VX | i7-6700HQ @ 2.59GHz | 16 GB DDR3 | NVIDIA GF GTX 950M 4 Gb | 250 Gb SSD | 1 Tb HD SATA II Backup | TIR4 | Microsoft S. FF 2+X52 Throttle+Saitek Pedals | Win 10 64 bits

  • 3 weeks later...
Posted (edited)

Kneeboard table may be acceptable only as temporary solution of the problem. All other planes which uses metric units get correct ATC response, so MiG-21 MUST recieve airfield pressure in milimeters. I think, it is a quite logically resonable demand )) Hope that guys from LN think exactly the same.

Edited by spirit_disease
Posted (edited)

Again, it should work natively in mmHg. I did a test run yesterday from Krymsk using a Russian Su-27, then a Russian MiG-21. The ATC gave me QFE in mmHg while I was sitting in the Su-27, but they used inHg when I was the MiG-21.

 

Knowing bugs like these, it's probably that one line somewhere in the MEinit.xml file or someplace...

Edited by Stealth_HR

[sIGPIC][/sIGPIC]

 

Real men fly ground attack :pilotfly: where EVERYTHING wants a piece of you :D
Posted (edited)
Again, it should work natively in mmHg. I did a test run yesterday from Krymsk using a Russian Su-27, then a Russian MiG-21. The ATC gave me QFE in mmHg while I was sitting in the Su-27, but they used inHg when I was the MiG-21.

 

Knowing bugs like these, it's probably that one line somewhere in the MEinit.xml file or someplace...

I'd say, you are spot on. :o)

 

I dug through some .LUAs and found this - perhaps interesting for LNS:

 

The pressure unit depends on the country and more specifically the "native country of the aircraft" or USA=imperial if it is not defined:

 

DCS World\Sounds\Speech\common.lua

Pressure = {
   make = function(self, pressure, aircraftType, fmt)
       local [color=DarkOrange]country = aircraftNativeCountry[aircraftType][/color] [color=Red]or base.country.id.USA[/color]
       local [color=RoyalBlue]unit = unitSystemByCountry[[/color][color=DarkOrange]country[/color]][color=RoyalBlue].pressure[/color]
       return self.sub.Digits:make(u.round(pressure * [color=RoyalBlue]unit[/color].coeff, 0.01), fmt)
   end,
   sub = {
       Digits    = Digits
   }
}

The "aircraftNativeCountry" is defined in DCS World\Sounds\Speech\speech.lua:

aircraftNativeCountry = {
   ['A-10C'] = base.country.id.USA,
   ['Ka-50'] = base.country.id.RUSSIA,
   ['Su-27'] = base.country.id.RUSSIA,
   ['Su-33'] = base.country.id.RUSSIA,
   ['MiG-29A'] = base.country.id.RUSSIA,
   ['MiG-29S'] = base.country.id.RUSSIA,
   ['MiG-29G'] = base.country.id.GERMANY,
   ['F-15C'] = base.country.id.USA,
   ['Su-25'] = base.country.id.RUSSIA,
   ['Su-25T'] = base.country.id.RUSSIA,
   ['A-10A'] = base.country.id.USA,
   ['P-51B'] = base.country.id.USA,
   ['P-51D'] = base.country.id.USA,
   ['UH-1H'] = base.country.id.USA,
   ['Mi-8MT'] = base.country.id.RUSSIA
}

While for example the MiG-27 is defined here, the MiG-21 is missing (and therefore defaults to USA)! :o)

 

edit:

I have not actually tested if adding that line is really all what is necessary. But it's perhaps a good start for further investigation.

Edited by Flagrum
  • Like 1
Posted

All works fine. Just add ['MiG-21Bis'] = base.country.id.RUSSIA in speech.lua after ['Mi-8MT'] section. Thanks for all, who helps to won in this struggle against ATC )))

P.S. Dont forget add comma after previous line (line 64), or you'll get syntax error.

Posted

njksJEa.jpg?1

 

Thanks to Flagrum's digging, I got ATC to talk to me in metric!

 

Step 1: acquire MiG-21bis ID from someplace like <DCS path>\CoreMods\Aircraft\MiG-21BIS\UnitPayloads.lua (the actual value is "MiG-21Bis", with only the B in "bis" capitalized; it's odd, but it is how it is)

 

Step 2: edit the start of sounds.lua to the following:

 

aircraftNativeCountry = {
   ['A-10C'] = base.country.id.USA,
   ['Ka-50'] = base.country.id.RUSSIA,
   ['Su-27'] = base.country.id.RUSSIA,
   ['Su-33'] = base.country.id.RUSSIA,
   ['MiG-29A'] = base.country.id.RUSSIA,
   ['MiG-29S'] = base.country.id.RUSSIA,
   ['MiG-29G'] = base.country.id.GERMANY,
   ['F-15C'] = base.country.id.USA,
   ['Su-25'] = base.country.id.RUSSIA,
   ['Su-25T'] = base.country.id.RUSSIA,
   ['A-10A'] = base.country.id.USA,
   ['P-51B'] = base.country.id.USA,
   ['P-51D'] = base.country.id.USA,
   ['UH-1H'] = base.country.id.USA,
   ['Mi-8MT'] = base.country.id.RUSSIA,
   ['MiG-21Bis'] = base.country.id.RUSSIA
}

Note the comma after the Mi-8MT entry and the new line after that.

 

The result - it works.

 

5LtntaF.jpg

 

LNS, can you please include this in the next patch? It's a minor thing but really helps on takeoff. :pilotfly:

[sIGPIC][/sIGPIC]

 

Real men fly ground attack :pilotfly: where EVERYTHING wants a piece of you :D
  • 2 months later...
Posted
LNS, can you please include this in the next patch? It's a minor thing but really helps on takeoff. pilotfly.gif

+1 & *bump* ... @LNS: what are the plans for this issue?

Posted

Sounds like it needs fixing indeed.

 

But did you guys know there's a conversion chart in the kneeboard? It's a couple pages to the left, somewhere near the aerodrome default radio channels. As a workaround, it's okay this way.

  • 7 months later...
Posted

While this has been noted, I've made a JSMGE compatible sounds.lua file following your guy's instructions so that you can quickly enable the correct QFE settings until it's fixed by LN.

Enjoy!

:)

 

ps: Thanks Flagrum, spirit_disease, and Stealth_HR for making this easy as cake to make!

QFE FIX MiG-21Bis.zip

My Specs:

Win 10 Pro 64bit/ i7 6770K 4.5Ghz/32GB DDR4/ GTX 1070 SC/Samsung SSD

Warthog Stick/TWCS Throttle/TrackIR 5

 

  • Recently Browsing   0 members

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