38ec3d2be8
Addition to the existing headshake/redout to provide some cockpit shaking effect when traversing rough ground. Path from Benedikt HALLINGER.
349 lines
9 KiB
XML
349 lines
9 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
<name>cockpit-view</name>
|
|
<layout>vbox</layout>
|
|
<modal>false</modal>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<empty><stretch>1</stretch></empty>
|
|
|
|
<text>
|
|
<label>Cockpit View Options</label>
|
|
</text>
|
|
|
|
<empty><stretch>1</stretch></empty>
|
|
|
|
<button>
|
|
<pref-width>16</pref-width>
|
|
<pref-height>16</pref-height>
|
|
<legend></legend>
|
|
<keynum>27</keynum>
|
|
<border>2</border>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
</button>
|
|
|
|
</group>
|
|
|
|
<hrule/>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
|
|
<!-- only for a gap -->
|
|
<group>
|
|
<layout>vbox</layout>
|
|
<default-padding>1</default-padding>
|
|
<text>
|
|
<label> </label>
|
|
</text>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>vbox</layout>
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Enable dynamic Cockpit View</label>
|
|
<property>/sim/current-view/dynamic-view</property>
|
|
<live>true</live>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Enable View Movement due to G-Force</label>
|
|
<property>/sim/rendering/headshake/enabled</property>
|
|
<live>true</live>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<text>
|
|
<label> Effect rate m/g</label>
|
|
<enable> <property>/sim/rendering/headshake/enabled</property> </enable>
|
|
</text>
|
|
<text>
|
|
<halign>center</halign>
|
|
<label>15.000</label>
|
|
<format>%2.3f</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/headshake/rate-m-g</property>
|
|
<enable> <property>/sim/rendering/headshake/enabled</property> </enable>
|
|
</text>
|
|
<slider>
|
|
<min>0.0</min>
|
|
<max>0.1</max>
|
|
<property>/sim/rendering/headshake/rate-m-g</property>
|
|
<live>true</live>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
<enable> <property>/sim/rendering/headshake/enabled</property> </enable>
|
|
</slider>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<text>
|
|
<label> Ground shake effect</label>
|
|
<enable> <property>/sim/rendering/headshake/enabled</property> </enable>
|
|
</text>
|
|
<text>
|
|
<halign>center</halign>
|
|
<label>15.0</label>
|
|
<format>%2.1f</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/headshake/groundshake/effect-factor</property>
|
|
<enable> <property>/sim/rendering/headshake/enabled</property> </enable>
|
|
</text>
|
|
<slider>
|
|
<min>0.0</min>
|
|
<max>2.0</max>
|
|
<property>/sim/rendering/headshake/groundshake/effect-factor</property>
|
|
<live>true</live>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
<enable> <property>/sim/rendering/headshake/enabled</property> </enable>
|
|
</slider>
|
|
</group>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Enable Blackout and Redout due to G-Force</label>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<enable><not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not></enable>
|
|
<live>true</live>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
</group>
|
|
|
|
</group>
|
|
|
|
<hrule/>
|
|
|
|
<text>
|
|
<halign>center</halign>
|
|
<label>Blackout</label>
|
|
<enable>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
</enable>
|
|
</text>
|
|
|
|
<group>
|
|
<layout>table</layout>
|
|
<text>
|
|
<row>0</row>
|
|
<col>0</col>
|
|
<label>Onset</label>
|
|
<enable>
|
|
<and>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not>
|
|
</and>
|
|
</enable>
|
|
</text>
|
|
|
|
<text>
|
|
<row>0</row>
|
|
<col>1</col>
|
|
<halign>center</halign>
|
|
<label>15.0</label>
|
|
<format>%2.1f</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/redout/parameters/blackout-onset-g</property>
|
|
<enable>
|
|
<and>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not>
|
|
</and>
|
|
</enable>
|
|
</text>
|
|
|
|
<slider>
|
|
<row>0</row>
|
|
<col>2</col>
|
|
<min>1.0</min>
|
|
<max>15</max>
|
|
<property>/sim/rendering/redout/parameters/blackout-onset-g</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
<enable>
|
|
<and>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not>
|
|
</and>
|
|
</enable>
|
|
</slider>
|
|
|
|
<text>
|
|
<row>1</row>
|
|
<col>0</col>
|
|
<label>Complete</label>
|
|
<enable>
|
|
<and>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not>
|
|
</and>
|
|
</enable>
|
|
</text>
|
|
|
|
<text>
|
|
<row>1</row>
|
|
<col>1</col>
|
|
<halign>center</halign>
|
|
<label>15.0</label>
|
|
<format>%2.1f</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/redout/parameters/blackout-complete-g</property>
|
|
<enable>
|
|
<and>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not>
|
|
</and>
|
|
</enable>
|
|
</text>
|
|
|
|
<slider>
|
|
<row>1</row>
|
|
<col>2</col>
|
|
<min>1.0</min>
|
|
<max>15</max>
|
|
<property>/sim/rendering/redout/parameters/blackout-complete-g</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
<enable>
|
|
<and>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not>
|
|
</and>
|
|
</enable>
|
|
</slider>
|
|
</group>
|
|
|
|
<hrule/>
|
|
|
|
<text>
|
|
<halign>center</halign>
|
|
<label>Redout</label>
|
|
<enable>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
</enable>
|
|
</text>
|
|
|
|
<group>
|
|
<layout>table</layout>
|
|
<text>
|
|
<row>0</row>
|
|
<col>0</col>
|
|
<label>Onset</label>
|
|
<enable>
|
|
<and>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not>
|
|
</and>
|
|
</enable>
|
|
</text>
|
|
|
|
<text>
|
|
<row>0</row>
|
|
<col>1</col>
|
|
<halign>center</halign>
|
|
<label>15.0</label>
|
|
<format>%2.1f</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/redout/parameters/redout-onset-g</property>
|
|
<enable>
|
|
<and>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not>
|
|
</and>
|
|
</enable>
|
|
</text>
|
|
|
|
<slider>
|
|
<row>0</row>
|
|
<col>2</col>
|
|
<min>-15.0</min>
|
|
<max>-1.0</max>
|
|
<property>/sim/rendering/redout/parameters/redout-onset-g</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
<enable>
|
|
<and>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not>
|
|
</and>
|
|
</enable>
|
|
</slider>
|
|
|
|
<text>
|
|
<row>1</row>
|
|
<col>0</col>
|
|
<label>Complete</label>
|
|
<enable>
|
|
<and>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not>
|
|
</and>
|
|
</enable>
|
|
</text>
|
|
|
|
<text>
|
|
<row>1</row>
|
|
<col>1</col>
|
|
<label>15.0</label>
|
|
<format>%2.1f</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/redout/parameters/redout-complete-g</property>
|
|
<enable>
|
|
<and>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not>
|
|
</and>
|
|
</enable>
|
|
</text>
|
|
|
|
<slider>
|
|
<row>1</row>
|
|
<col>2</col>
|
|
<min>-15.0</min>
|
|
<max>-1.0</max>
|
|
<property>/sim/rendering/redout/parameters/redout-complete-g</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
<enable>
|
|
<and>
|
|
<property>/sim/rendering/redout/enabled</property>
|
|
<not><property>sim/rendering/redout/parameters/locked-by-airframe</property></not>
|
|
</and>
|
|
</enable>
|
|
</slider>
|
|
</group>
|
|
|
|
<hrule/>
|
|
|
|
<button>
|
|
<legend>Close</legend>
|
|
<default>true</default>
|
|
<key>Esc</key>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
</button>
|
|
|
|
</PropertyList>
|