Jump to content

Editing/adding button mapping options? (ON/OFF)


Bourrinopathe
 Share

Recommended Posts

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
Link to comment
Share on other sites

@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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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