Hello, I am setting up a joystick and throttle (TCA sidestick Airbus and TCA Quadrant Aitbus) to fly with the Concorde. I haven't had any problems so far, but I'm stuck configuring the starter. I have two toggle switches and two buttons that I would like to assign to the four engines:
- for the toggle switches I would like them to activate the starter of the reactor when I put them in the ON position (and once the engine has started they do nothing), and that they cut the engine when I switch them to the OFF position .
- For the buttons, I would like a first long press to start the engine (equivalent to a long press on s on the keyboard), and for them to turn off when I press a second time.
However, I am encountering several problems. For the toggle switches, I've tried using :
- Code: Select all
<command>property-toggle</command
<property>/controls/engines/engine[0]/starter</property>
, but it doesn't fully start the engine ( it remains stuck at 18 instead of 60 after a normal long press on s). I also tried adding <repeatable type="bool">true</repeatable>, to no avail. So I tried:
- Code: Select all
<repeatable type="bool">true</repeatable>
<binding>
<command>nasal</command>
<script>controls.selectEngine(0);
controls.startEngine(0);</script>
</binding>
When I flip the switch to ON, it starts the starter fine, but stalls at 25. And curiously, when I switch it to OFF, it starts the engine completely (while I didn't put anything between <mode-up> for this switch).
I could try to put a loop that lasts 30 seconds (engine ignition time) and that simulates pressing s. This would avoid leaving a press action on s all the time that the toggle switch is in the ON position when it is useless. But I don't know if it's possible.
Finally, when I try to put:
- Code: Select all
<command>property-toggle</command>
<property>/controls/engines/engine[0]/cutoff</property>
to turn off the engine, it doesn't work (it worked once in my various tests, but I forgot in which particular case. But then I couldn't turn it on again.)
Finally, I looked a bit in the available functions, and I don't understand the difference between:
- Code: Select all
/controls/engines/engine[%d]/starter
/controls/engines/engine[%d]/fire-switch
/controls/engines/engine[%d]/ignition
nor which ones work on the Concorde.
(And last question, it seems to me that the mixture functions have no effect on the Concorde, do they?)
Thank you in advance for your help.