MOARdV / AvionicsSystems

MOARdV's Avionics Systems for Kerbal Space Program - a new generation of IVA enhancement.
Other
52 stars 26 forks source link

Panel Divider alarm / warning indicators #342

Open MOARdV opened 2 years ago

MOARdV commented 2 years ago

The panel divider has an active color that may be controlled by variables, which means they could also be used as warning or fault indicators to draw attention to a control cluster.

For instance, when fuel is low, the panel dividers near the fuel gauge could turn yellow. When fuel is out, they can turn red. That way, the player doesn't have to spend as much time guessing where the controls are that can be used to address a particular warning. (some better examples might be things like parachute-not-deployed warnings, landing gear up/down reminders).

StoneBlue commented 1 year ago

Vulkan has done this sort of thing with a lightting strip prop, using target angle alignment, as an example..?? Seen here, in one of his vids: (link is set to the appropriate time in the vid) https://youtu.be/RoLTHQrI58A?t=484

I thin this is the modeul that does it: ` MODULE { name = MASComponent

    COLOR_SHIFT
    {
        name = Warnings
        transform = RingEmissive
        passiveColor = 30,30,255,255
    }

    MODEL_SCALE
    {
        name = Warnings
        transform = RingEmissive
        startScale = -1, -1, -1
        endScale = 0, 0, 0
        variable = fc.Conditioned(fc.TargetIsVessel() == 1 and fc.TargetAngle() < 1 and fc.PeriodStep(3) == 1)
    }

`