Jump to content

Recommended Posts

Posted (edited)

Hi there!
I'd like to know if there's a way to edit a file to implement more button mapping options.
The idea would be to allow ON/OFF positions to several functions so it's easy to use a rocker, 2-position switch, momentary switch, etc. to handle those functions without checking.
Using a single button/press on a device does not provide the same level of confidence/efficiency a real 2-position switch/rocker would in a real cockpit.

I'd find it very useful for the following functions/circuits:
726104f3d8ce02eb01546f1e3eeabf38.jpg

I'm not sure how the mapping is defined in X-Plane and if it's possible to edit them, or if the specific dataref can be modified that way.

Any help to edit/add those would be greatly appreciated (devs or users).

Thanks!
(still addicted to that flying supercar btw <3)

 

Edited by Bourrinopathe
Posted (edited)

@Coop Perfect reference! Thank you!

I managed to add the commands to the device configuration using a FlyWithLua script.
I'm testing a few additional commands and I'll adjust depending on my devices configuration.
50bb6ea21a90fa7386aeaabeb90594f1.jpg

The switches are controlled perfectly and correctly animated, but I'm missing the sound effect.
Is there something I can do to play the sound as I'm triggering the command?

 

Edited by Bourrinopathe
Posted

Glad that's working.

Sounds are only triggered by the command being pushed, so if you use your own hardware, the FMOD sound would not be triggered.

Posted (edited)

Good enough ;)
I captured the sound effects from X-Plane and tried to use FlyWithLua to play them but it didn't work (I'm absolutely new to lua in general). Maybe it's my script, maybe it's something else (FMOD vs OpenAL?).

So, I just used VoiceAttack to add the sounds to my switches, and it's now just as I wanted.

Thanks again for your help @Coop!

Edited by Bourrinopathe
  • Like 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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