Version: SU4
Frequency: Consistently
Severity: High
(Low - quality of life, workflow optimization, rare enough to not impact production, etc…
High - critical but workarounds are available, important feature not working as expected, frequent enough to impact production
Blocker - prevents from working on the project, prevents from releasing the product)
Marketplace package name: if applicable
Context: What package? When editing or mounted from Community? In main menu or in flight? etc…
Similar MSFS 2020 issue: insert url here if applicable
Bug description:
When trying to implement the key event K:HYDRAULIC_VALVE_SET I was not getting the expected result. The documentation describes that this key event can be used to gradually open or close a hydraulic valve.
The first thing I noticed is that a 16k value is not received as expected.
I used the hydraulic debug menu to evaluate my code. Each valve has a slider within the debug going from 0 to 100 to gradually open/close the valve. When supplying a 16k value I am seeing that value next to the debug slider, however since the slider works from 0 to 100 it is not doing anything, the valve is almost immediately fully open.
Then I tried to set values between 0 and 100, however that does not really work either, the resulting values in the debug seem to be multiplied by 100.
So finally I am setting values between 0 and 1 which gave me the best result, however the valve is not opening or closing gradually. Instead it suddenly opens up to 100% once I reach 0.5. Above that the valve will remain open and below 0.5 it will immediately close to 0%.
Repro steps:
Attachments:
Private attachments: Send a PM to @PrivateContent with the link to this topic and the link to download your content