• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Multi-color animated VC button

Messages
9
Country
unitedkingdom
Hello folks,

I come this time to ask for help concerning the buttons in my VC.

They are all fine at animation-level, working with a custom event and from a custom L: variable - what I am looking into now is bringing them some light - such as here : http://i835.photobucket.com/albums/zz277/Maikelheijden4/2010-07-18140.jpg

Fuel Pumps are OFF on the above picture and have a light to indicate it. So one button has a ON/OFF state where light is on when OFF and off when ON. But - there is also a FAULT light, which is independent from the ON/OFF state. So I basically have 2 LEDs in the button, each of which to be controlled by a L: varlable (preferably but I am open to any suggestion).

Could anyone point me where to look at for implementing this multi-state multi-color system within a SINGLE polygon (I have read a solution that involves 2 cloned polygons whose visibility is arbitrated by an animation script but I don't really like it ...) - I know some graphics engines have the ability to change one object's material at runtime - is it possible here as well ?

Thanks a lot !

C.
 
Almost everyone uses the visibility tags (not animation tags) for this sort of thing. You could do it with a gauge mapped to both the self illumination and diffuse texture channels but it is overkill unless you want to control brightness.
 
No plans to control brightness for the button - the amount of light is always the same.

Are you saying I should duplicate all buttons ? - which would mean I need 4 copies of each one ... :(
 
I also highly recommend that you use "Additive Mode" for the Self-Illumination bitmap (which is a "clone" of the Diffuse bitmap!). This way they will be the same level of brightness all the time.
 
I have some push switches in my current project that do that sort of thing. The face of the switch is a VC gauge poly. ;)
 
Thanks N2056 - this is what I have in mind atm - actually I would like to investigate the new P3D DirectX gauges that could allow me to do pure material switch on the button so I could do complex combinations of lights easily
 
Back
Top