TheOofBoii Posted July 4, 2024 Posted July 4, 2024 Hello, I'm trying to do some cinematic shots in DCS world with the UH-1H Module. I have 5 AI controlled hueys in formation and would like them to all have open doors on startup of the mission. I don't know how to do it from the game itself, do i have to script it ? And if so, could someone help me with how to do it please ? Thanks in advance for any tips.
SpikeGondorff Posted July 25, 2024 Posted July 25, 2024 A bit late, but if you still need help with this... Create a new Trigger and under the Actions dropdown select X: Cockpit Perform Clickable Action. The Criteria for the Action is: Cockpit Device: 9 Command: 3035 (for the right door) or 3036 (for the left door) Value: 1 I think you can put any positive number in the Value field. It's a Toggle, so if you use the same Action later it will close the doors. Hope that helps! 1
TheOofBoii Posted August 4, 2024 Author Posted August 4, 2024 Hello, First of all thank you very much for the reply. I tried setting everything up in editor but i'm pretty new in editing and scripting and i can't make it happen. I can provide a screenshot of what i attempted to do. Thanks in advance for the help
Rudel_chw Posted August 4, 2024 Posted August 4, 2024 On 7/25/2024 at 6:37 PM, SpikeGondorff said: Create a new Trigger and under the Actions dropdown select X: Cockpit Perform Clickable Action. That works only for player controlled UH-1s ... on this case the OP needs it for AI helos. For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
Rudel_chw Posted August 4, 2024 Posted August 4, 2024 45 minutes ago, TheOofBoii said: I tried setting everything up in editor but i'm pretty new in editing and scripting and i can't make it happen. I can provide a screenshot of what i attempted to do. Unfortunately, the X:COCKPIT triggers only work for player-controlled aircrafts, so it won't work for your AI helos. What you could try is to edit a livery with the doors open, I did something similar to have some AI Viggens start the game with their canopies open, adding this instructions to the livery description.lua file that they used: custom_args = { [38] = 0.9,--canopy open } This way I could have a bit more variety at the ramp, like this: Unfortunately I don't know which is the argument number on the UH-1 to open its doors, perhaps someone else has that info. Best regards, Eduardo For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
Recommended Posts