Jump to content

DCS-BIOS F/A-18C library. Get it here!


Recommended Posts

While everyone else has been flying it, I have spent the last couple of days building a library for the F/A18C for DCS-BIOS, in the hopes of one day getting my pit built.

 

Until I can get in contact with Ian to get it rolled into an official build of DCS-BIOS, I've attached the files for anyone who wants to try it out.

 

Simply extract the zip file into your Saved Games\DCS.openbeta\Scripts\DCS-BIOS folder overwriting when asked.

 

The only things that I am aware are missing at the moment (due to limitations in the hornet module which I am sure will be fixed as development progresses):

 

1. An input for static source switch (switch does not appear to be currently implemented in the cockpit)

2. An input for fan test switch (switch does not appear to be currently implemented in the cockpit)

3. An export for the top fuel total line when the IFEI is in time set mode

4. An export for the engine nozzle positions on the IFEI

 

Final disclaimer: This is a beta module, things will change and this will likely break this library. I will try and keep on top of updating it as the Hornet gets updated.

 

All I ask is that if you find something that doesn't work, please let me know. Even better, if you figure out how to fix it let me know that as well so I can roll it into the final version.

 

edit 7th June - I have completed the initial version, please let me know if you find anything that doesn't work as expected. This has been tested with the latest 2.5.2.18307 build.

 

note 13th June - I have discovered that I forgot to include updated json files in the latest package. No problem, they will auto-generate with every flight, so just go fly a mission. Will include updated files in next version.

 

update: 1st October - Updated to v0.6 supporting Beta 2.5.3.22176

update: 9th November 2018 - Updated to v0.7 supporting Beta 2.5.3.23788

update: 12th November 2018 - Updated to v0.8 fixing COMM1/2 Channel selection rotaries

update: 13th November 2018 - Updated to v0.9 to remove AV8B entry that was causing lack of comms with DCS

update: 21st January 2019 - Updated to v1.0 to correct errant FUEL DUMP switch behaviour

 

NOTE: You should only download the latest version, I am only keeping the old versions here so I can get an idea of how many people are actually using the module.

DCS-BIOS v0.6.zip

DCS-BIOS v0.7.zip

DCS-BIOS v0.8.zip

DCS-BIOS v0.9.zip

DCS-BIOS v1.0.zip


Edited by Bullant

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

  • Replies 173
  • Created
  • Last Reply

Top Posters In This Topic

The control reference should auto-generate the first time you start a mission with a Hornet ... but I have updated the zip file to contain the generated files so that the control reference works right from the start.

 

edit: was missing an important file. Updated the zip again, should all be good now.


Edited by Bullant

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

New version uploaded. All of the 3 way springloaded switches were functioning incorrectly, I have fixed all of them except for the MC switch which stubbornly refuses to work.

 

So at this point every switch works in the cockpit except for:

 

MC Switch

Launch Bar

Hook Bypass

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

New version uploaded. All of the 3 way springloaded switches were functioning incorrectly, I have fixed all of them except for the MC switch which stubbornly refuses to work.

 

So at this point every switch works in the cockpit except for:

 

MC Switch

Launch Bar

Hook Bypass

 

 

 

By spring loaded switches, do you mean the magnetic switches that return to center/off in the real plane?

 

Just want to clarify to ensure I’m following along.

 

I said it on Reddit in a different post, but as a guy who knows nothing about programming about to embark upon building his first pit..your efforts are greatly appreciated. Thank you!

 

 

Sent from my iPhone using Tapatalk

VR Cockpit (link):

Custom Throttletek F/A-18C Throttle w/ Hall Sensors + Otto switches | Slaw Device RX Viper Pedals w/ Damper | VPC T-50 Base + 15cm Black Sahaj Extension + TM Hornet or Warthog Grip | Super Warthog Wheel Stand Pro | Steelcase Leap V2 + JetSeat SE

 

VR Rig:

Pimax 5K+ | ASUS ROG Strix 1080Ti | Intel i7-9700K | Gigabyte Z390 Aorus Master | Corsair H115i RGB Platinum | 32GB Corsair Vengeance Pro RGB 3200 | Dell U3415W Curved 3440x1440

Link to comment
Share on other sites

By spring loaded switches, do you mean the magnetic switches that return to center/off in the real plane?

 

Yes and know. Some of them are magnetically held, others are simply spring loaded and return to center as soon as you let go of them. In the hornet module controls they are all currently defined the same.

 

Hopefully they will include parameters to tell us when a magnetically held switch is held in position or not allowed into a position like they currently do in the A10 in a future build.

 

The important thing is that these three way switches weren't working in my original version but they are now :)

 

I said it on Reddit in a different post, but as a guy who knows nothing about programming about to embark upon building his first pit..your efforts are greatly appreciated. Thank you!

 

Thanks, that is greatly appreciated.

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

Before anyone dives too far into using the current files ... coming up next I am reorganising all of the entries so they are broken down by panel in the aircraft rather than the sometimes confusing way they are at the moment which is based on the layout in the module's configuration files.

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

Did you find a way to read the RPM and APU RPM value?

 

Not yet, just waiting to hear back from Capt Zeen, I am sure he will set me on the right path for getting the output values.

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

New version uploaded.

 

I have completely reworked the control groupings so that it matches the layout in the NATOPS manual and so that controls/indicators etc are grouped by panel.

 

I have written extensive custom code to handle non-standard buttons like the weird toggles and spring loaded switches, even got the eject switch to actually eject after calling it just once.

 

I've got some info from Capt Zeen to set me on the right path, and the next step is to get the other (non indicator) outputs working.

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

Good news.

 

I have fixed the input settings for the Standby Attitude Indicator and RADALT.

 

And with some great help from the awesome Capt Zeen I have added outputs for all of the analog outputs (servos) as well as the UFC and IFEI.

 

There are a couple of analog outputs that are causing issues, so it will be tomorrow before I upload the (for now) final version.

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

Final (for now) version updated.

 

All switches except the static air source switch are working.

Only other issue is that there is no export for the top fuel display line in the IFEI when in time set mode.

 

Enjoy, and let me know if you spot anything that doesn't work.

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

Awesome, thanks again dude!

VR Cockpit (link):

Custom Throttletek F/A-18C Throttle w/ Hall Sensors + Otto switches | Slaw Device RX Viper Pedals w/ Damper | VPC T-50 Base + 15cm Black Sahaj Extension + TM Hornet or Warthog Grip | Super Warthog Wheel Stand Pro | Steelcase Leap V2 + JetSeat SE

 

VR Rig:

Pimax 5K+ | ASUS ROG Strix 1080Ti | Intel i7-9700K | Gigabyte Z390 Aorus Master | Corsair H115i RGB Platinum | 32GB Corsair Vengeance Pro RGB 3200 | Dell U3415W Curved 3440x1440

Link to comment
Share on other sites

Thanks again for putting in the work on this stuff. It really rounds out the module with all of the gauges and outputs.

 

I tested the IFEI outputs and overall they worked really well. Just a few issues came up that you may want to look into:

  • Seems a couple of texture visibility outputs are missing: Z (zone), L and R for top/bottom fuel. NOZ too, but I think that always follows the scale texture, so it's not really necessary..
  • You have the texture visibility output for the pointers, but not their actual angles/positions (not sure if it is possible to extract that)
  • Missing output for top fuel row during time set mode (for +/- hour offset for zone)
  • Missing ET/timer outputs (bottom time display)

Link to comment
Share on other sites

  • Seems a couple of texture visibility outputs are missing: Z (zone), L and R for top/bottom fuel. NOZ too, but I think that always follows the scale texture, so it's not really necessary.. These are missing from the hornet module, but as you said not a huge issue
  • You have the texture visibility output for the pointers, but not their actual angles/positions (not sure if it is possible to extract that) This is not available in the module outputs at the moment
  • Missing output for top fuel row during time set mode (for +/- hour offset for zone) Correct, I was aware of this one (see post above)
  • Missing ET/timer outputs (bottom time display) Let me look into this one, I thought it was working

 

Thanks for the feedback and testing :)

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

Thank you for the work you have done! I'll take a look at the F/A-18C DCS-BIOS files this weekend and see how the transition from my old interface system to DCS-BIOS will work out :)

System:

Windows 10 | i7-7700K @ 4.5 Ghz | 32GB of RAM | Nvidia GTX 1080, 3440x1440 | DELL Ultrawide U3415W | Samsung 960 Evo M.2 and 2 TB Seagate Barracuda | TM Warthog Hotas | SLAW F-16 Pedals | Oculus Rift CV1 and HTC Vive PRO VR

 

+ High fidelity F/A-18C simpit :)

Link to comment
Share on other sites

Do you guys use any commercial led output shields with Arduino or clones? I earlier used PhidgetLED64 board for my indicators but I'm thinking about moving to Arduino.

System:

Windows 10 | i7-7700K @ 4.5 Ghz | 32GB of RAM | Nvidia GTX 1080, 3440x1440 | DELL Ultrawide U3415W | Samsung 960 Evo M.2 and 2 TB Seagate Barracuda | TM Warthog Hotas | SLAW F-16 Pedals | Oculus Rift CV1 and HTC Vive PRO VR

 

+ High fidelity F/A-18C simpit :)

Link to comment
Share on other sites

Do you guys use any commercial led output shields with Arduino or clones? I earlier used PhidgetLED64 board for my indicators but I'm thinking about moving to Arduino.

 

To be honest, no I am not planning on doing that.

 

For the small number of LEDs that need to be driven and being able to buy nano clones in bulk for around $3, I plan on using one nano per panel. Plenty of outputs there to drive one LED per output without any fancy processing.

 

edit: I just realised who was commenting on my work. I have watched all your youtube videos, you were on of my main inspirations for making a fully functional F/A-18C cockpit, so thanks :)

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

This will add some more realism to the pit:

 

https://foxtrotalpha.jalopnik.com/boeing-will-sell-you-an-ejection-seat-1826638123/amp

 

Just like the old Miller High-Life motto: “If you’ve got the time [$$$], they’ve got the beer”

Alienware Area 51 R5 - Intel i9 7980XE (4.7 GHz), 32GB Dual Channel HyperX DDR4 XMP, Dual NVIDIA GeForce GTX 1080 Ti Graphics 11GB GDDR5X SLI, 4.5 TB combo of SSDs/HDDs, Alienware 1500 Watt Multi-GPU Power Supply, Alienware 25” 240Hz Gaming Monitor, Alienware Pro Gaming Keyboard, TM HOTAS, TM Cougar F-16C MFDs, Saitek Pro Flight Rudder Pedals, TrackIR5, Win10 Pro x64

Link to comment
Share on other sites

Another small update:

 

* Add export for IFEI Zulu texture visible

* Add exports for IFEI Timer H, M, S

* Move VSI and Standby Altimeter analog outputs to their correct category

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

For reasons unknown to me, after copying the DCS-Bios F-18 to the basic folders. When I check lines in Google. I see quite different lines to copy.

I think I'm doing something wrong, how to put these files in the folder correctly? To show me the right lines to copy.

DcsBios::LED flpLgRightGear(0x5404, 0x2000, PIN);

DcsBios::LED flpLgNoseGear(0x5404, 0x0800, PIN);

DcsBios::LED flpLgLeftGear(0x5404, 0x1000, PIN);

Capture.thumb.JPG.03d24ae7d80c8e42906479c40e40d946.JPG


Edited by padonis
Link to comment
Share on other sites

I'm not sure exactly what your problem is but I can see that you are using an old version of the library so as a start I strongly recommend downloading the latest version and trying again.

Intel i7 13700K @ 5.3 GHz / ASUS TUF Gaming Z490-Plus / 64 Gb G.Skill DDR4-3600 / RTX 4090 / 2TB Kingston KC3000 NVME / Win 10 x64 Pro / Pimax Crystal / WINWING F/A-18 HOTAS

A-10C, AJS-37, AV-8B, F-4E, F-5E, F-14, F-15E, F-16, F/A-18C, F-86F, FC3, Christen Eagle 2, FW190D-9, Mosquito, P-47D, P-51D, Spitfire, AH-64D, KA-50, UH-1H

Combined Arms, WWII Asset Pack, China Assets Pack, Super Carrier, Falklands Assets

Nevada, Normandy, Persian Gulf, The Channel, Syria, Mariana Islands, South Atlantic, Sinai

Link to comment
Share on other sites

  • Recently Browsing   0 members

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