
Originally Posted by
userninenine
I need some help in coding
I want to improve the graphics on cockpit with some buttons.
Buttons especially for TMC on/off - Mute and OverViewMode
Functions are working and the new buttons are shown in cockpit, but I cannot disable them via settings menü. Settings for on/off are available but do not do anything. Buttons are always visiable in Cockpit.
Any hint for me?
Use PAL version - no skin as fare default skin

The code can be less complicated for pal,
here is the code for the Overview mode, You can use the same format for the TMC on/off & mute.
This will give you a button that will look like the ones in your picture & have on/off control.
ui
------
Code:
Please Login or Register to see the links
lua
-------
Code:
Please Login or Register to see the links
false or true, what ever you prefer.
***************************************
The mute button code below is for Luna & not required for pal so can be deleted
Code:
Please Login or Register to see the links
change in the ui from
Code:
Please Login or Register to see the links
to
Code:
Please Login or Register to see the links
Bookmarks