Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

L-39, radio volume dials out of range #394

Open
jdahlblom opened this issue Oct 9, 2023 · 2 comments
Open

L-39, radio volume dials out of range #394

jdahlblom opened this issue Oct 9, 2023 · 2 comments

Comments

@jdahlblom
Copy link
Contributor

FRONT_RADIO_VOL
BACK_RADIO_VOL
FRONT_SPU_VOL
BACK_SPU_VOL

When mission starts the values for these dials (argument value) is 1.
Once they are moved their value falls within the limit { 0.0, 0.8 } and never goes to 1 again. One or more errors will be reported in the log until they all are moved once.

2023-10-09 18:59:40  ERROR  Util.lua: value 81918.000000 is too large for address 13240 mask 65535
2023-10-09 18:59:40  ERROR  Util.lua: value 81918.000000 is too large for address 13234 mask 65535
2023-10-09 18:59:40  ERROR  Util.lua: value 81918.000000 is too large for address 13236 mask 65535
2023-10-09 18:59:40  ERROR  Util.lua: value 81918.000000 is too large for address 13238 mask 65535
@charliefoxtwo
Copy link
Member

This seems like the default value for these controls is, for some reason, 1. But of course the actual range for these controls defined in the dcs luas (as you've noticed) is { 0, 0.8 }.

This doesn't really make a lot of sense to me since as far as I can tell in the luas the default is 0.5 and I can't see anywhere it's set to one, but I've experienced this with other modules as well. I'm not sure there's much we can do here.

@jdahlblom
Copy link
Contributor Author

Yeah, I had to jog my memory and did a new test with insight. It is 1 when mission starts, move the dials and they fall withing the 0-0.8 range. Wanted to test with the new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants