Jump to content

Recommended Posts

Posted

The color of the sigments are changeable. In the Instrumentfunction tab, in the Inputs field, defines this color in hex (for example, ABF9AB) for displays.

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

https://github.com/s-d-a/DAC, https://github.com/H-J-P/Ikarus/releases/latest, https://github.com/s-d-a/DCS-ExportScripts, Deutsches Forum, English Forum

MSI Z270; INTEL Core i7-7700K, 4x 4,8GHz, Quad-Core "Kaby Lake", GeForce GTX 1080 Ti, TrackIR 5 Pro, TM HOTAS Warthog, MFG Crosswind, Win 10 x64 Pro, 3 x SSD

 

keep it simple ... the 1000 small things ...

Posted
The color of the sigments are changeable. In the Instrumentfunction tab, in the Inputs field, defines this color in hex (for example, ABF9AB) for displays.

 

I mean the where the 7Segment sits in. I see the hex color, where you can change it. I’m talking about the actual box/frame which is black with a light grey border. I can’t figure out how to change that.

Posted

Unfortunately, that can not be changed from the outside. This is determined by design. For the black background, I could imagine a second parameter.

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

https://github.com/s-d-a/DAC, https://github.com/H-J-P/Ikarus/releases/latest, https://github.com/s-d-a/DCS-ExportScripts, Deutsches Forum, English Forum

MSI Z270; INTEL Core i7-7700K, 4x 4,8GHz, Quad-Core "Kaby Lake", GeForce GTX 1080 Ti, TrackIR 5 Pro, TM HOTAS Warthog, MFG Crosswind, Win 10 x64 Pro, 3 x SSD

 

keep it simple ... the 1000 small things ...

Posted (edited)

Would that help you? About a third parameter, I still think ....

Edited by H-J-P

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

https://github.com/s-d-a/DAC, https://github.com/H-J-P/Ikarus/releases/latest, https://github.com/s-d-a/DCS-ExportScripts, Deutsches Forum, English Forum

MSI Z270; INTEL Core i7-7700K, 4x 4,8GHz, Quad-Core "Kaby Lake", GeForce GTX 1080 Ti, TrackIR 5 Pro, TM HOTAS Warthog, MFG Crosswind, Win 10 x64 Pro, 3 x SSD

 

keep it simple ... the 1000 small things ...

Posted

Yeah it would be super helpful to be able to change the following:

1) text color (already have)

2) border of box color

3) box fill color

 

I think there is a border color but I’m not at home to look (#2 above).

 

Also randomly testing thing this AM and I noticed buttons on the hornet aren’t working. That is when I push them in IKARUS they aren’t translating to DCS. Lamps work perfectly though.

Posted (edited)

I'll check.

 

Which bottons do not work? You have to give more details, please.

 

Which version of Ikarus do you use?

Edited by H-J-P

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

https://github.com/s-d-a/DAC, https://github.com/H-J-P/Ikarus/releases/latest, https://github.com/s-d-a/DCS-ExportScripts, Deutsches Forum, English Forum

MSI Z270; INTEL Core i7-7700K, 4x 4,8GHz, Quad-Core "Kaby Lake", GeForce GTX 1080 Ti, TrackIR 5 Pro, TM HOTAS Warthog, MFG Crosswind, Win 10 x64 Pro, 3 x SSD

 

keep it simple ... the 1000 small things ...

Posted

my problem is just to keep comform with the existing cockpits. That's the challenges.

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

https://github.com/s-d-a/DAC, https://github.com/H-J-P/Ikarus/releases/latest, https://github.com/s-d-a/DCS-ExportScripts, Deutsches Forum, English Forum

MSI Z270; INTEL Core i7-7700K, 4x 4,8GHz, Quad-Core "Kaby Lake", GeForce GTX 1080 Ti, TrackIR 5 Pro, TM HOTAS Warthog, MFG Crosswind, Win 10 x64 Pro, 3 x SSD

 

keep it simple ... the 1000 small things ...

Posted (edited)

@H-J-P:

this can be implemented as it is now with the text color.

If a value is specified, then it is used, otherwise the default value is used.

 

Example: Input: ABF9AB;BBFF12;BEF547

 

The first value is the text color, the second the background color and the third the border color.

If only two values are specified, the frame color has the default value.

 

And it would be even better if besides 6-digit hex code for the color also an 8-digit hex code with alpha channel is supported, i.e. besides RGB also RGBA.

 

Then 000000 would be black and 00000000 transparent or 00000088 black semi-transparent.

 

Transparent background and frame color would be very interesting in any case, but also a transparency setting for the text color would be good.

 

 

Edit: XAML also knows the alpha channel, but this is given first: ARGB

Edited by McMicha

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

  • DCS ExportScript
  • D.A.C. DCS to Arcaze Communicator
  • Ikarus a new Virtual Cockpit Software

Deutscher Forums Thread

English Forums Thread

 

Hard/Software: AMD Ryzen 7 1800X, 32 GiB RAM, extra SSD for Windows 10 and DCS World, AMD Vega Frontier Edition with 16 GiB VRAM

Posted
@H-J-P:

this can be implemented as it is now with the text color.

If a value is specified, then it is used, otherwise the default value is used.

 

Example: Input: ABF9AB;BBFF12;BEF547

 

The first value is the text color, the second the background color and the third the border color.

If only two values are specified, the frame color has the default value.

 

And it would be even better if besides 6-digit hex code for the color also an 8-digit hex code with alpha channel is supported, i.e. besides RGB also RGBA.

 

Then 000000 would be black and 00000000 transparent or 00000088 black semi-transparent.

 

Transparent background and frame color would be very interesting in any case, but also a transparency setting for the text color would be good.

 

 

Edit: XAML also knows the alpha channel, but this is given first: ARGB

 

I support transparent backgrounds!

Posted (edited)

It gets a little more elaborate because I have to remain compatibel with the other cockpits. One more thing. WPF uses ARGB.

Edited by H-J-P

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

https://github.com/s-d-a/DAC, https://github.com/H-J-P/Ikarus/releases/latest, https://github.com/s-d-a/DCS-ExportScripts, Deutsches Forum, English Forum

MSI Z270; INTEL Core i7-7700K, 4x 4,8GHz, Quad-Core "Kaby Lake", GeForce GTX 1080 Ti, TrackIR 5 Pro, TM HOTAS Warthog, MFG Crosswind, Win 10 x64 Pro, 3 x SSD

 

keep it simple ... the 1000 small things ...

Posted (edited)

I finished it with version 1.4.5.3g. ARGB for Font, Background and Border. Have fun with it. Thank you for the praise.

 

Yes, I also need more time for the graphics than for the configuration. That looks very good with you. Keep me up to date.

Edited by H-J-P

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

https://github.com/s-d-a/DAC, https://github.com/H-J-P/Ikarus/releases/latest, https://github.com/s-d-a/DCS-ExportScripts, Deutsches Forum, English Forum

MSI Z270; INTEL Core i7-7700K, 4x 4,8GHz, Quad-Core "Kaby Lake", GeForce GTX 1080 Ti, TrackIR 5 Pro, TM HOTAS Warthog, MFG Crosswind, Win 10 x64 Pro, 3 x SSD

 

keep it simple ... the 1000 small things ...

Posted (edited)

I forgot one thing. The notation in the Input field is for example: FF9430, 11BBFF12, FF808080. It also works without specifying the alpha channel. The separator is the comma character.

Edited by H-J-P

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

https://github.com/s-d-a/DAC, https://github.com/H-J-P/Ikarus/releases/latest, https://github.com/s-d-a/DCS-ExportScripts, Deutsches Forum, English Forum

MSI Z270; INTEL Core i7-7700K, 4x 4,8GHz, Quad-Core "Kaby Lake", GeForce GTX 1080 Ti, TrackIR 5 Pro, TM HOTAS Warthog, MFG Crosswind, Win 10 x64 Pro, 3 x SSD

 

keep it simple ... the 1000 small things ...

Posted

No, that's not just a picture. The two needles are animatable. However, the IDs are not yet documented.

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

https://github.com/s-d-a/DAC, https://github.com/H-J-P/Ikarus/releases/latest, https://github.com/s-d-a/DCS-ExportScripts, Deutsches Forum, English Forum

MSI Z270; INTEL Core i7-7700K, 4x 4,8GHz, Quad-Core "Kaby Lake", GeForce GTX 1080 Ti, TrackIR 5 Pro, TM HOTAS Warthog, MFG Crosswind, Win 10 x64 Pro, 3 x SSD

 

keep it simple ... the 1000 small things ...

Posted (edited)

I got it to work! FUN!

 

@H-J-P:

this can be implemented as it is now with the text color.

If a value is specified, then it is used, otherwise the default value is used.

 

Example: Input: ABF9AB;BBFF12;BEF547

 

The first value is the text color, the second the background color and the third the border color.

If only two values are specified, the frame color has the default value.

 

And it would be even better if besides 6-digit hex code for the color also an 8-digit hex code with alpha channel is supported, i.e. besides RGB also RGBA.

 

Then 000000 would be black and 00000000 transparent or 00000088 black semi-transparent.

 

Transparent background and frame color would be very interesting in any case, but also a transparency setting for the text color would be good.

 

 

Edit: XAML also knows the alpha channel, but this is given first: ARGB

Edited by Guppy
Posted

Interesting. Sorry, I do not change sizes while switching. That could be an optical illusion. The base size is given by the png - files. The size change is done via scaling.

 

 

What size in pixels do your png files have?

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

https://github.com/s-d-a/DAC, https://github.com/H-J-P/Ikarus/releases/latest, https://github.com/s-d-a/DCS-ExportScripts, Deutsches Forum, English Forum

MSI Z270; INTEL Core i7-7700K, 4x 4,8GHz, Quad-Core "Kaby Lake", GeForce GTX 1080 Ti, TrackIR 5 Pro, TM HOTAS Warthog, MFG Crosswind, Win 10 x64 Pro, 3 x SSD

 

keep it simple ... the 1000 small things ...

Posted
Interesting. Sorry, I do not change sizes while switching. That could be an optical illusion. The base size is given by the png - files. The size change is done via scaling.

 

 

What size in pixels do your png files have?

 

So the original size, that I had issues with, was 80x209 and i set the size to 60 in Ikarus. I then upped it to 112x313, which is the file size you use, and there is minimal size change, but it still occurs...i size it to 60 in Ikarus.

Posted (edited)

Both sizes are o.k. So when switching only the different PNG files are made visible or invisible. Nothing more.

 

Which graphic tool do you use?

Do you use the same DPI per png?

Edited by H-J-P

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

https://github.com/s-d-a/DAC, https://github.com/H-J-P/Ikarus/releases/latest, https://github.com/s-d-a/DCS-ExportScripts, Deutsches Forum, English Forum

MSI Z270; INTEL Core i7-7700K, 4x 4,8GHz, Quad-Core "Kaby Lake", GeForce GTX 1080 Ti, TrackIR 5 Pro, TM HOTAS Warthog, MFG Crosswind, Win 10 x64 Pro, 3 x SSD

 

keep it simple ... the 1000 small things ...

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...