Jump to content

Recommended Posts

Posted

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.

  • 3 weeks later...
Posted

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!

  • Like 1
  • 2 weeks later...
Posted

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

20240804144652_1.jpg

Posted
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

Posted
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:

 

wyQHJvu.jpg

 

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

  • Recently Browsing   0 members

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