FlightGear Newsletter November 2017: Difference between revisions

Jump to navigation Jump to search
condition animations
(Add your contribs to the header!)
(condition animations)
Line 45: Line 45:


If you are interested in helping with any of this, and familiar with Inkscape, GIMP or maybe even Blender it would be great if you could get in touch via the [https://forum.flightgear.org/viewtopic.php?f=71&t=32764 FG1000 topic on the forum] to see if we can come up with the artwork resembling a G1000-style device, possibly even a 3D model for aircraft developers. Having the artwork in place for creating a simple "skin" would also mean that we could get rid of the [[PUI]] dialog and instead use a native Canvas GUI window showing an appropriate raster image with bindings for each button/dial via [[Canvas Event Handling]].
If you are interested in helping with any of this, and familiar with Inkscape, GIMP or maybe even Blender it would be great if you could get in touch via the [https://forum.flightgear.org/viewtopic.php?f=71&t=32764 FG1000 topic on the forum] to see if we can come up with the artwork resembling a G1000-style device, possibly even a 3D model for aircraft developers. Having the artwork in place for creating a simple "skin" would also mean that we could get rid of the [[PUI]] dialog and instead use a native Canvas GUI window showing an appropriate raster image with bindings for each button/dial via [[Canvas Event Handling]].
=== Knob and pick animations conditions ===
Knob & pick animations now support a condition tag. For a pick animation this disables input. For a knob animation this disables both input and animation.
Example:
<pre>        <animation>
        <type>pick</type>
        <visible>true</visible>
        <object-name>wing-sweep-handle-guard</object-name>
        <condition>
            <and>
                <greater-than>
                    <property>controls/flight/wingsweep-cover</property>
                    <value>0</value>
                </greater-than>
            </and>
        </condition>
</pre>


== In the hangar ==
== In the hangar ==
308

edits

Navigation menu