dcs-bios icon indicating copy to clipboard operation
dcs-bios copied to clipboard

DCS BIOS stops transmitting instrument data in HUD View

Open lesthegringo opened this issue 1 year ago • 16 comments

DCS Bios works fine in cockpit view (using DCS Bios for the A10C), but when I switch to HUD View using l-alt+f1, a number of instruments including but not limited to the digital clock and UHF radio panel no longer have the information transmitted. Once you return to the cockpit view the data flow is resumed so it is not a disconnection

lesthegringo avatar Oct 14 '23 07:10 lesthegringo

This may be a dcs thing - I know export also stops when on the f10 map page and to my knowledge there's nothing we can do about that - but I'll do some testing to confirm.

charliefoxtwo avatar Oct 14 '23 15:10 charliefoxtwo

@jdahlblom could you test this with insight? Maybe go into hud mode and see if you can still pull any data from the model.

charliefoxtwo avatar Oct 14 '23 23:10 charliefoxtwo

In HUD mode the UHF_PRESET_SEL works with insight.

jdahlblom avatar Oct 15 '23 08:10 jdahlblom

Is insight a tool for use in game? The way I read it is was just for diagnostics

lesthegringo avatar Oct 15 '23 11:10 lesthegringo

Just for debugging and finding out how the various APIs function and argument values etc.

jdahlblom avatar Oct 15 '23 11:10 jdahlblom

ok, that's what I thought

If it is not possible to get DCS BIOS to transmit data in HUD mode, is there a way to 'hide' the cockpit so that it isn't visible? Maybe being able to locate the eye position just in front of the cockpit, the HUD can probably be rendered as a viewport using monitorsetup.lua

lesthegringo avatar Oct 15 '23 11:10 lesthegringo

@lesthegringo in hud mode is it just certain items that aren't being exported or is no data being exported at all?

charliefoxtwo avatar Oct 15 '23 15:10 charliefoxtwo

It's certain items, VincVega on the DCS forums found this https://dcs-bios.a10c.de/docs/v0.5.1/userguide.html#_aircraft_specific_notes

However I have found that the digital clock is not exported either and there are probably other undocumented ones we haven't found yet

lesthegringo avatar Oct 16 '23 05:10 lesthegringo

@jdahlblom could you test and try to get a device with insight while in hud mode? Perhaps the CMSP, indication 7?

charliefoxtwo avatar Oct 16 '23 05:10 charliefoxtwo

Yeah will do. Insight broke down after the last dcs-bios updates, must be name collision. I will add full path to require first.

jdahlblom avatar Oct 16 '23 05:10 jdahlblom

list_indication(7) works in both views.

jdahlblom avatar Oct 16 '23 06:10 jdahlblom

Hi guys, while it would be ideal to have all the instruments exported whether or not they are displayed, a viewport workaround does work. It's up to you guys if you want to close this using that as a solution, let me know

lesthegringo avatar Oct 16 '23 09:10 lesthegringo

Would be nice if you could leave some info on the solution for this problem and / or a link.

jdahlblom avatar Oct 16 '23 09:10 jdahlblom

Sure, let me post the solution in the DCS home cockpits forum and link it

lesthegringo avatar Oct 16 '23 09:10 lesthegringo

As promised

https://forum.dcs.world/topic/334998-hud-view-seems-to-disable-some-dcs-bios-devices/#comment-5305039

lesthegringo avatar Oct 16 '23 11:10 lesthegringo

Looking further with insight it was easy to observe using the CLOCK_SS control. This value comes from list_indication(4). A few samples with HUD Mode :

  • list_indication(1) works
  • list_indication(2) works
  • list_indication(3) stops updating
  • list_indication(4) stops updating
  • list_indication(5) works

jdahlblom avatar Oct 25 '23 07:10 jdahlblom

As this seems to be a DCS bug and/or feature, I'm going to go ahead and close this issue. We definitely don't do anything specific in bios based on the view - I guess in certain aircraft certain objects get culled and are no longer updated depending on the view setting.

charliefoxtwo avatar Jul 07 '24 19:07 charliefoxtwo