-
Posts
1802 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Bailey
-
Hi there. Good questions. If my response does not get everything you can also try asking in the main DCS interface thread. 0) The app isn’t being update for two reasons. The first is that it works. Awesome. He second is that CTyler is working on an update which natively incorporates DCS-BIOS. 0.5) While I try to maintain the most up-to-date exportScripts, there may be others out there with features that you prefer. It’s ok to mix and match. 1) Tri-pic in relation to state is a limitation of the stream deck itself, unfortunately. 2) I have a similar solution for the Apache APU. While I have not modeled/coded the fire panel, I imagine the best approach may be to use text to show you the state of the switch. You can get creative with what you have available. Take a look at the f16 wiki to see how I was able to display the many states of the ECM panel and it’s individual lights https://github.com/asherao/DCS-ExportScripts/wiki/F-16C-Viper
-
digits = {} digits[1] = string.format("%1.0f",1) digits[2] = string.format("%1.0f",2) digits[3] = string.format("%1.0f",3) -- baseline print(digits[1]..digits[2]..digits[3]) -- method 1 local twoSpaces = ' ' print(digits[1]..twoSpaces..digits[2]..twoSpaces..digits[3]) -- method 2 print(digits[1].. ' ' ..digits[2].. ' ' ..digits[3]) 123 -- baseline 1 2 3 -- method 1 1 2 3 -- method 2
-
Imo a ww2 bird like this is a great place to start. No MFD logic. No Radar controls. No dual cockpit/controls. Start with binding the top 5 things you use every flight. Flaps. Gear. Select Bombs. Select Guns. Etc. that’s 80% of a good profile right there.
-
I just want to let you know I have seen this and my “title” made me chuckle. While I can’t say that I have the time to make a profile for this aircraft, I know others have used the p51 or spitfire profiles as baselines and modified them for some of the other warbirds. You can do the same if you like. I can help and answer questions along the way if that’s what you would like to do.
-
StreamDeck fuel indicator F-16/F/A-18.
Bailey replied to P-inna's topic in PC Hardware and Related Software
No problem. Glad to help. -
Yes, it’s possible. You can read args, indications, cockpit values, etc. See list_indication and list_cockpit_params for examples. https://dcs-bios.readthedocs.io/en/latest/lua-console.html This is how, for example, I have “weapons” for the UH-60 UN Campaign based on the animation argument of a cockpit switch. You can download it from ED user files and take a look at the scripts in mission one to see how.
-
No. There's an onset rate. You can tap, or taptaptap, or hold, etc. It sometimes depends on the module. Not quite. See above.
-
In the interim, you can try binding the rudder controls (normally Z and X) to your Hotas too. I know others that have had success this way. Use the buttons for takeoff and landing. Use the twist for flight.
-
Thanks for the heads up. I did not know that it was a part of DCS-BIOS as I saw it in _G. Easy fix. Use `local crewStatusInfo = ExportScript.Tools.getListIndicatorValue(6)` instead. It is native to Export Scripts and I happened to use it in the other aircraft, so this issue with the huey was isolated. Thank you for identifying it so fast. Huey updated: https://github.com/asherao/DCS-ExportScripts/blob/master/Scripts/DCS-ExportScript/ExportsModules/UH-1H.lua Looking forward to see how you do the indicator.
-
Almost 4,000 lines of code later, added some awesome and interesting capabilities to the following modules: F-16, F-5, P-51D, Mosquito, AH-64D, F-86F Sabre, UH-1H Huey (all within 8000 arg/DCS ID range): - Added LoAircraftInfo -- Provides a lot of aircraft properties - Added AirportInfo -- Provides info on the two closest airports - Added WindsAloft -- Gets winds at the aircraft - Added GroundRadar -- Reports 2 closest friendlies and 2 enemies (Use in Single Player) - Added AirRadar -- Reports 2 closest friendlies and 2 enemies (Use in Single Player) - Added IglaHunter -- Locates closest Igla (Use in Single Player) F-5: - Added Radio Preset Readouts UH-1H: - Added Radio Stack Readouts - Added Radio Preset Readouts - Added Crew Status Readout All wikis have been updated: https://github.com/asherao/DCS-ExportScripts/wiki Remember to use the features only when appropriate, eg, single player, friendly multiplayer.
-
How do you mount your Stream Decks?
Bailey replied to X-31_VECTOR's topic in PC Hardware and Related Software
I made and use these: Elgato Stream Deck XL Thrustmaster Warthog TMWH Mount (https://www.thingiverse.com/thing:4876067) Virpil CM3 Throttle Base to Volair Sim Mount Converter (https://www.thingiverse.com/thing:5373015) I hope it helps. -
Stream Deck hotkey Numpad "/" keys do not work in DCS
Bailey replied to Coyote_One's topic in Controller & Assignment Bugs
Still having this issue too. Even though the Hotkey says `Numpad /` on the SD app, it only registers as `/` in the game controls menu.- 2 replies
-
- streamdeck
- keybinds
-
(and 2 more)
Tagged with:
-
Trouble with stream deck 15 buttons
Bailey replied to jabbabzh's topic in Controller Questions and Bugs
You'll have to go through the whole troubleshooting process. I suspect there may be an issue at the network level. Scheck the ports, etc. -
StreamDeck fuel indicator F-16/F/A-18.
Bailey replied to P-inna's topic in PC Hardware and Related Software
It is possible. You can use this: function ExportScript.FuelInfo(mainPanelDevice) local FuelTotalizer_10k = mainPanelDevice:get_argument_value(730) * 100000 local FuelTotalizer_1k = math.floor(mainPanelDevice:get_argument_value(731) * 10) * 1000 -- this method counters the odd rounding seen with roller counters local FuelTotalizer_100 = mainPanelDevice:get_argument_value(732) * 1000 local totalFuel = FuelTotalizer_10k + FuelTotalizer_1k + FuelTotalizer_100 totalFuel = round(totalFuel, 0) totalFuel = format_int(totalFuel) ExportScript.Tools.SendData(3006, "Fuel LBS\n" .. totalFuel) local FuelFlowCounter_10k = mainPanelDevice:get_argument_value(88) * 100000 local FuelFlowCounter_1k = math.floor(mainPanelDevice:get_argument_value(89) * 10) * 1000 -- this method counters the odd rounding seen with roller counters local FuelFlowCounter_100 = mainPanelDevice:get_argument_value(90) * 1000 local totalFuelFlowCounter = FuelFlowCounter_10k + FuelFlowCounter_1k + FuelFlowCounter_100 totalFuelFlowCounter = round(totalFuelFlowCounter, -1) totalFuelFlowCounter = format_int(totalFuelFlowCounter) ExportScript.Tools.SendData(3007, "Fuel Flow\n" .. totalFuelFlowCounter) end It is from: https://github.com/asherao/DCS-ExportScripts https://github.com/asherao/DCS-ExportScripts/wiki https://github.com/asherao/DCS-ExportScripts/wiki/F-16C-Viper. -
@ctytler, how can I escape colons? I have a time function I'd like to use but the colons seem to be interrupting the parsing done by DCS-Interface.
-
Check DCS Manual Page 157. X: COCKPIT PARAM IN RANGE Use BASE_SENSOR_VERTICAL_ACCEL as your param. Then fill in your min and max values.