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

F-16C_50 - BIT Switch - ON position toggles ON/OFF in the sim. OFF not working #1001

Open
1 task done
AmirLavi2 opened this issue Aug 27, 2024 · 5 comments
Open
1 task done
Assignees
Milestone

Comments

@AmirLavi2
Copy link

Version

  • I am using the latest version

Aircraft

F-16C_50

Control

BIT Switch

Description

DEC not working, INC Toggle ON/OFF

Steps to reproduce

No response

Expected behavior

No response

Screenshots

No response

Additional context

No response

@AmirLavi2 AmirLavi2 added bug A bug affecting dcs-bios needs triage The issue has yet to be reviewed by a maintainer labels Aug 27, 2024
@charliefoxtwo
Copy link
Member

Could you please provide the dcs-bios ID of the control? I'm not familiar with the F-16.

@AmirLavi2
Copy link
Author

AmirLavi2 commented Aug 28, 2024

F_16C_50:defineToggleSwitch("BIT_SW", 2, 3003, 574, "Control Interface", "BIT Switch, OFF/BIT")

example:
https://youtu.be/1tMcVwPalQY?feature=shared

@charliefoxtwo charliefoxtwo removed the needs triage The issue has yet to be reviewed by a maintainer label Aug 29, 2024
@charliefoxtwo charliefoxtwo added this to the 0.8.4 milestone Aug 29, 2024
@charliefoxtwo
Copy link
Member

In my testing (and from watching your video) it seems like DEC works fine - the only issue is that INC (and also set state 1) will act as a toggle, which really is a module limitation.

I can change this to only have a toggle interface since that's the only one I can guarantee will behave correctly, but I'm not sure if that would just make things worse for you

@AmirLavi2
Copy link
Author

Toggle for now should be fine. I will check it after.

@charliefoxtwo
Copy link
Member

charliefoxtwo commented Sep 4, 2024

To clarify, the switch currently has a toggle interface, and that works. The only thing that doesn't work is if you inc or set state 1 when the state is already 1, then it turns the switch off. Everything else works as it should as far as I can tell.

You could file a bug report or feature request with ED, but I don't know how much they'll care.

@charliefoxtwo charliefoxtwo added bug in DCS and removed bug A bug affecting dcs-bios labels Sep 4, 2024
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