Jump to content

X: Cockpit Perform Clickable Action – What am I doing wrong?


Recommended Posts

Posted

I’m trying to set up the trigger, but I can not get it to work.

I must be doing something wrong.

 

In this simple case, I’m trying to have cockpit setup up a bit differently from the usual cold-start in an F/A-18, but nothing happens.

I thought I’d start simple, so in the attached image I’m making a simple attempt at having the Master Arm switch set to Arm… but no luck.

 

I’ve tried varies different Triggers, Conditions, Values, Devices, Commands.

 

Any idea of what I am missing?

 

20210315125242_1.jpg

First become an aviator, then become a terminator

Posted (edited)

The F/A-18 Command for Master switch to ARM is device:23, command:3003, value:1

Also, don't use AT MISSION START because at that moment your aircraft has not yet spawn. Just tested and this one works:

 

qnYxBot.jpg

Edited by Rudel_chw
  • Like 1

 

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 (edited)
1 hour ago, Rudel_chw said:

The F/A-18 Command for Master switch to ARM is device:23, command:3003, value:1

Also, don't use AT MISSION START because at that moment your aircraft has not yet spawn. Just tested and this one works:

 

 

 

 

Huh! Interesting!

Where did you get Command 3003 from?

 

According to the Clickabledata.lua, it is supposed to be 49, ei 3049.

 

No conditions?

Let's say I have several aircrafts/groups of client aircrafts, and I want a different setups, how do I get the different triggers to only affect specific aircrafts?

 

 

Master arm lua.jpg

Edited by TimRobertsen

First become an aviator, then become a terminator

Posted
1 hour ago, TimRobertsen said:

Where did you get Command 3003 from?

 

I got it from the Options -> Controls page:

 

bASDyLy.jpg

 

1 hour ago, TimRobertsen said:

No conditions?

 

This was just a Test, no need for a condition .. Triggers are evaluated every 1 second, this one will be true on the 1st evaluation cycle.

 

1 hour ago, TimRobertsen said:

Let's say I have several aircrafts/groups of client aircrafts, and I want a different setups, how do I get the different triggers to only affect specific aircrafts?

 

 

The X:COCKPIT triggers are for Single Player use only, they won't work with Client aircrafts ... which is logical, as they are meant mostly for Training missions.

 

  • Like 2

 

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
1 hour ago, Rudel_chw said:

I got it from the Options -> Controls page:

Thats odd, I'm not getting that info when I hover over any of the input-boxes.

Is there some kind of a box to tick off to get additional information?

 

This is all I get:

 

20210315210053_1.jpg

First become an aviator, then become a terminator

Posted
56 minutes ago, TimRobertsen said:

Thats odd, I'm not getting that info when I hover over any of the input-boxes.

Is there some kind of a box to tick off to get additional information?

 

 

https://forums.eagle.ru/topic/218147-scripting-keystrokes-at-mission-start/?do=findComment&comment=4414970

  • Like 2

 

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

By editing this file: 

d:\DCS World\Mods\aircraft\FA-18C\Cockpit\Scripts\Macro_sequencies.lua

you can customize the automatic startup sequence to whatever you want. Took a bit of experimenting, but I discovered how to set Bingo, RadAlt warning, etc. My file attached.

Macro_sequencies.lua

  • Thanks 2
Posted (edited)
20 hours ago, Habu_69 said:

By editing this file: 



d:\DCS World\Mods\aircraft\FA-18C\Cockpit\Scripts\Macro_sequencies.lua

you can customize the automatic startup sequence to whatever you want. Took a bit of experimenting, but I discovered how to set Bingo, RadAlt warning, etc. My file attached.

Macro_sequencies.lua 25.81 kB · 4 downloads

 

I was acutally looking for having a cold cockpit to be even colder, ice cold startup 😛 So that I could do my unnecessarly long startup-list 😛 It's not a cold start if it takes less than 15 minutes 😛

 

Edit:

Got it to work as I wanted 🙂 with the help of Rudel_chw 🙂

 

 

Edited by TimRobertsen

First become an aviator, then become a terminator

Posted
9 minutes ago, TimRobertsen said:

 

I was acutally looking for having a cold cockpit to be even colder, ice cold startup 😛 So that I could do my unnecessarly long startup-list 😛 It's not a cold start if it takes less than 15 minutes 😛


Using cockpit triggers it should be possible to flip most of the switches and knobs to random positions on every mission start... but it doesn’t seem worth the effort, as DCS is much more than simply starting aircrafts 🙃

 

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
7 minutes ago, Rudel_chw said:


Using cockpit triggers it should be possible to flip most of the switches and knobs to random positions on every mission start... but it doesn’t seem worth the effort, as DCS is much more than simply starting aircrafts 🙃

 

Heheh! Sorry, I neglected to mention in that post that I got it to work as I wanted, with your help 🙂 You have my many thanks 🙂

 

11 minutes ago, Rudel_chw said:

as DCS is much more than simply starting aircrafts 🙃

 

Yeah, but it's weird how one can become overly fixated on a side-aspect of a game/sim 😛 Once I started looking into cold-starting I fell into a rabbit-hole 😛 It was all I did for a month (maybe, atleast a couple of weeks 😛

First become an aviator, then become a terminator

Posted
1 hour ago, TimRobertsen said:

Yeah, but it's weird how one can become overly fixated on a side-aspect of a game/sim 😛 Once I started looking into cold-starting I fell into a rabbit-hole 😛 It was all I did for a month (maybe, atleast a couple of weeks 😛

 

Well, actually, the Cold Start Procedure does interest me too .. but more on a sense of discovering how much I can stick to the real aircraft procedures, or put another way, how much of the real aircraft is not being simulated .. I once did this mission for the F-18 that might be of interest to you:

 

 

Here is a video walktrough of it:

 

 

 

😀

 

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
38 minutes ago, Rudel_chw said:

 

Well, actually, the Cold Start Procedure does interest me too .. but more on a sense of discovering how much I can stick to the real aircraft procedures, or put another way, how much of the real aircraft is not being simulated .. I once did this mission for the F-18 that might be of interest to you:

 

 

Here is a video walktrough of it:

 

 

 

😀

Cool! I'll check it out 🙂 

 

Once I got into coldstarts, I made my own startup-checklist and tried to make as complicated as possible 😛 

As you said earlier, it's a great way to get familiarized with the cockpit and the systems.

First become an aviator, then become a terminator

Posted
1 hour ago, TimRobertsen said:

Once I got into coldstarts, I made my own startup-checklist and tried to make as complicated as possible 😛 

As you said earlier, it's a great way to get familiarized with the cockpit and the systems.

 

Seems you are my soul-mate 😀 ... as I also try to write my own Checklists. The one I did for the F-18 is in spanish, but this one for the F-14 is in english:

 

F-14B - Normal Procedures - 2 Prestart, Start.pdf

  • Thanks 1

 

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
1 hour ago, Rudel_chw said:

 

Seems you are my soul-mate 😀 ... as I also try to write my own Checklists. The one I did for the F-18 is in spanish, but this one for the F-14 is in english:

 

F-14B - Normal Procedures - 2 Prestart, Start.pdf 861.09 kB · 2 downloads

Heheh! The love for aviation brings people together!! 🙂

That was quite a comprehensive list! 😄 Throw up the F/A-18-list, I dont know too much spanish, but google transelate knows a lot 😄 😛 

First become an aviator, then become a terminator

  • 1 year later...
Posted
On 3/15/2021 at 2:01 PM, Rudel_chw said:

 

I got it from the Options -> Controls page:

 

bASDyLy.jpg

 

 

This was just a Test, no need for a condition .. Triggers are evaluated every 1 second, this one will be true on the 1st evaluation cycle.

 

 

The X:COCKPIT triggers are for Single Player use only, they won't work with Client aircrafts ... which is logical, as they are meant mostly for Training missions.

 

@Rudel_chw I need Your Wisdom. HOW are you doing this? How do you get the above {cockpit ID 23 down: 3003} information from the Options Screen? I need to do this for a single player mission and wow I am going crazy finding the information on the X: Cockpit topic. I want to monitor when the player turns on the Battery ID 1 Command 3009 value_down = 1.0 value_up = 0.0 That works but the others I have do not so I see in the above(Picture) How do you do that? Is it VooDoo do I need to kill a chicken and wave it over my head 3 time first? Teach me Oh Wise Master. Grasshopper needs a lesson Please? Thank You 

Posted
1 hour ago, DishDoggie said:

@Rudel_chw I need Your Wisdom. HOW are you doing this? How do you get the above {cockpit ID 23 down: 3003} information from the Options Screen? 

 

Hi,

Here, @pokeraccio explains which file to edit in order to get the codes to show as tooltips:

 

 regards

Best

  • Like 2

 

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

  • 3 years later...
Posted
4 hours ago, Purzel said:

Is there a list with all commands?

 

none that I know of

 

4 hours ago, Purzel said:


I cannot find that CODES_TO_TOOLTIP line in the MissionEditor.lua?
I think they changed something...?

 


yes, this is an old thread, the current way to get the codes is this:

 

 

  • Thanks 1

 

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
Am 17.10.2025 um 11:42 schrieb Rudel_chw:

yes, this is an old thread, the current way to get the codes is this:

 

Nice, but it doesn't work for me...
First I had not "autoexec.cfg", so I created the autoexec.cfg-file in Saved games/.../Config-folder.
It's a blank file, I added nothing than   input = {command_code_tooltips = true, }
After that I'm able too read out the "cockpit-keystrokes".

As example:  the TCN button is listed as ID 25, Down 3001, Up 3001.   Note, that UP and DOWN are the same values.
So far so good, but if I create a new trigger "ONCE - Time more than 2 sec. - X: COCKPIT PERFORM CLICKABLE ACTION"
with the following Values:   Cockpit Device: 25, Command: 3001, Value:1     (This is the UFC TCN-button as listed above)
it works in DCS as just a push of the TCN-button, but it stays pushed in and it will not glide back out.
After I had a serie of clickable action in the triggers list for a change to TACAN Ch.18 X, you can see all pushed buttons (TCN - Option1 - 1 - 8 - ENT - ON/OFF), but they all stay pushed in.
I even tried to put two "X: COCKPIT PERFORM CLICKABLE ACTION" each with the same values after each other, but the buttons stayed pushed.

I took a look at "Banklers recovery-trainer" in which all of those switches are used the same way I did, but Bankler used only one action line to push and his cockpit-button went out again.
And I don't understand the "Value"-value, it goes from "0", "0.1", "0.2", "0.3", ... up to "1" but I see no difference with any changes?
What does that value mean? Any solutions to get it working?

Greets Purzel

Posted
1 hour ago, Purzel said:

What does that value mean? Any solutions to get it working?


usually value=1 pushes the butt0n, while value 0 releases it, which aircraft are you using? (The commands are different for each aircraft)

 

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...