-
Notifications
You must be signed in to change notification settings - Fork 29
DCS BIOS Decoder
The function "decodes" DCS-BIOS values and produces different output based on user's settings.
To see how it looks like see this video (first 5 minutes). https://youtu.be/lgTJa-NUnM8?t=573
Select a Stream Deck Button and choose DCS-BIOS Decoder.
The DCS-BIOS Decoder window will be shown.
The DCS-BIOS Control Type
option declares how the incoming DCS-BIOS value should be treated, is it a number or a string of text.
Depending which type is chosen some functionality will be enabled or disabled.
If DCS-BIOS sends a string type e.g. "Open" or "Closed" or "Locked"
then Rule Formatting
is disabled as Rule Formatting
uses arithmetic operators on the DCS-BIOS value.
On the other hand, if DCS-BIOS sends a string which contains a number e.g. "1"
then that can be converted into a number and thus be used with Rule Formatting
.
You can use a formula to transform the DCS-BIOS value before it is further processed by the DCS-BIOS Decoder.
This DCS-BIOS Encoder
is configured to show the raw DCS-BIOS value for ALT_MSL_FT
. It will show this suffixed with "ft".
The actual DCS-BIOS value is held by the placeholder {dcs-bios}
. To get the placeholder inserted click Click to Insert {dcs-bios}
or type it manually.
By setting up rules you can have different outputs depending on what the value of the DCS-BIOS control is. You can have a set of images for each position a cockpit switch has and have them shown as in the cockpit. You can also have different texts associated with DCS-BIOS values.
Click here to add new rule.
This rule will check whether the DCS-BIOS value for ALT_MSL_FT
is greater than 0
, if it is then the text "We are in the air!"
will be shown.
You could also chose an image to be shown when this rule is true, or text overlaid on an image.
Note that here we do not show the actual value, only the text.
Click Ok to save the rule.
And this rule will check whether the DCS-BIOS value for ALT_MSL_FT
is equal to 0
and show the text "We are on the ground!"
if the rule is true.
Here both rules are now listed and it clearly states the condition and output for each rule.
Click Ok
to save the DCS-BIOS Decoder configuration.
Then click Accept Changes
and save the profile.
It should now look like this.
With your support, we're able to buy software/hardware related to these projects.