| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
<PropertyList> |
| 4 |
|
| 5 |
<path>mag-compass.ac</path> |
| 6 |
|
| 7 |
<effect> |
| 8 |
<inherits-from>Aircraft/c172p/Models/Effects/interior/lm-fg1000-mag</inherits-from> |
| 9 |
<object-name>Ring</object-name> |
| 10 |
<object-name>Casing</object-name> |
| 11 |
<object-name>Interior</object-name> |
| 12 |
<object-name>Needle</object-name> |
| 13 |
<object-name>Deviation</object-name> |
| 14 |
<object-name>Deviation-Card</object-name> |
| 15 |
</effect> |
| 16 |
|
| 17 |
<effect> |
| 18 |
<inherits-from>Aircraft/c172p/Models/Effects/interior/interior-glass-reflection-panel-front</inherits-from> |
| 19 |
<object-name>Glass</object-name> |
| 20 |
</effect> |
| 21 |
|
| 22 |
<animation> |
| 23 |
<type>material</type> |
| 24 |
<object-name>Ring</object-name> |
| 25 |
<object-name>Needle</object-name> |
| 26 |
<condition> |
| 27 |
<or> |
| 28 |
<not> |
| 29 |
<property>sim/rendering/shaders/skydome</property> |
| 30 |
</not> |
| 31 |
<equals> |
| 32 |
<property>sim/rendering/shaders/model</property> |
| 33 |
<value>0</value> |
| 34 |
</equals> |
| 35 |
</or> |
| 36 |
</condition> |
| 37 |
<emission> |
| 38 |
<red-prop>/sim/model/material/instruments/default-red-combined-factor</red-prop> |
| 39 |
<green-prop>/sim/model/material/instruments/default-green-combined-factor</green-prop> |
| 40 |
<blue-prop>/sim/model/material/instruments/default-blue-combined-factor</blue-prop> |
| 41 |
</emission> |
| 42 |
</animation> |
| 43 |
|
| 44 |
<animation> |
| 45 |
<type>material</type> |
| 46 |
<object-name>Casing</object-name> |
| 47 |
<object-name>Interior</object-name> |
| 48 |
<condition> |
| 49 |
<or> |
| 50 |
<not> |
| 51 |
<property>sim/rendering/shaders/skydome</property> |
| 52 |
</not> |
| 53 |
<equals> |
| 54 |
<property>sim/rendering/shaders/model</property> |
| 55 |
<value>0</value> |
| 56 |
</equals> |
| 57 |
</or> |
| 58 |
</condition> |
| 59 |
<emission> |
| 60 |
<red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop> |
| 61 |
<green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop> |
| 62 |
<blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop> |
| 63 |
</emission> |
| 64 |
</animation> |
| 65 |
|
| 66 |
<animation> |
| 67 |
<type>material</type> |
| 68 |
<object-name>Ring</object-name> |
| 69 |
<object-name>Needle</object-name> |
| 70 |
<emission> |
| 71 |
<red> 1.0</red> |
| 72 |
<green>0.8</green> |
| 73 |
<blue> 0.5</blue> |
| 74 |
<factor-prop>/sim/model/material/instruments/integral-factor</factor-prop> |
| 75 |
</emission> |
| 76 |
</animation> |
| 77 |
|
| 78 |
<animation> |
| 79 |
<type>rotate</type> |
| 80 |
<object-name>Ring</object-name> |
| 81 |
<expression> |
| 82 |
<clip> |
| 83 |
<clipMin>-25</clipMin> |
| 84 |
<clipMax>25</clipMax> |
| 85 |
<property>instrumentation/magnetic-compass/roll-deg</property> |
| 86 |
</clip> |
| 87 |
</expression> |
| 88 |
<factor>1.0</factor> |
| 89 |
<axis> |
| 90 |
<x> 1.0 </x> |
| 91 |
<y> 0.0 </y> |
| 92 |
<z> 0.0 </z> |
| 93 |
</axis> |
| 94 |
<center> |
| 95 |
<x-m>-0.3769</x-m> |
| 96 |
<y-m>0.0000</y-m> |
| 97 |
<z-m>0.2405</z-m> |
| 98 |
</center> |
| 99 |
</animation> |
| 100 |
<animation> |
| 101 |
<type>rotate</type> |
| 102 |
<object-name>Ring</object-name> |
| 103 |
<expression> |
| 104 |
<clip> |
| 105 |
<clipMin>-9</clipMin> |
| 106 |
<clipMax>9</clipMax> |
| 107 |
<property>instrumentation/magnetic-compass/pitch-deg</property> |
| 108 |
</clip> |
| 109 |
</expression> |
| 110 |
<factor>1.0</factor> |
| 111 |
<axis> |
| 112 |
<x> 0.0 </x> |
| 113 |
<y> 1.0 </y> |
| 114 |
<z> 0.0 </z> |
| 115 |
</axis> |
| 116 |
<center> |
| 117 |
<x-m>-0.3769</x-m> |
| 118 |
<y-m>0.0000</y-m> |
| 119 |
<z-m>0.2405</z-m> |
| 120 |
</center> |
| 121 |
</animation> |
| 122 |
<animation> |
| 123 |
<type>rotate</type> |
| 124 |
<object-name>Ring</object-name> |
| 125 |
<property>instrumentation/magnetic-compass/indicated-heading-deg-final</property> |
| 126 |
<factor>-1</factor> |
| 127 |
<axis> |
| 128 |
<x1-m>-0.36466</x1-m> |
| 129 |
<y1-m> 0.00 </y1-m> |
| 130 |
<z1-m> 0.2468</z1-m> |
| 131 |
<x2-m>-0.36466</x2-m> |
| 132 |
<y2-m> 0.00 </y2-m> |
| 133 |
<z2-m> 0.23101</z2-m> |
| 134 |
</axis> |
| 135 |
</animation> |
| 136 |
|
| 137 |
<animation> |
| 138 |
<type>pick</type> |
| 139 |
<object-name>Ring</object-name> |
| 140 |
<hovered> |
| 141 |
<binding> |
| 142 |
<command>set-tooltip</command> |
| 143 |
<tooltip-id>magnetcompass</tooltip-id> |
| 144 |
<label>Magnetic heading: %3d</label> |
| 145 |
<property>instrumentation/magnetic-compass/indicated-heading-deg-final</property> |
| 146 |
<mapping>heading</mapping> |
| 147 |
</binding> |
| 148 |
</hovered> |
| 149 |
</animation> |
| 150 |
|
| 151 |
<animation> |
| 152 |
<type>pick</type> |
| 153 |
<object-name>Deviation</object-name> |
| 154 |
<object-name>Deviation-Card</object-name> |
| 155 |
<visible>true</visible> |
| 156 |
<action> |
| 157 |
<button>0</button> |
| 158 |
<repeatable>false</repeatable> |
| 159 |
<binding> |
| 160 |
<command>property-toggle</command> |
| 161 |
<property>sim/model/c172p/cockpit/view-deviation-card</property> |
| 162 |
</binding> |
| 163 |
</action> |
| 164 |
<hovered> |
| 165 |
<binding> |
| 166 |
<command>set-tooltip</command> |
| 167 |
<tooltip-id>deviation</tooltip-id> |
| 168 |
<label>Show Deviation Card</label> |
| 169 |
</binding> |
| 170 |
</hovered> |
| 171 |
</animation> |
| 172 |
|
| 173 |
<animation> |
| 174 |
<type>select</type> |
| 175 |
<object-name>Deviation-Card</object-name> |
| 176 |
<condition> |
| 177 |
<property>sim/model/c172p/cockpit/view-deviation-card</property> |
| 178 |
</condition> |
| 179 |
</animation> |
| 180 |
|
| 181 |
</PropertyList> |