| 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <PropertyList> |
| 4 | |
| 5 | <path>yoke-fg1000.ac</path> |
| 6 | |
| 7 | <params> |
| 8 | <aileron>/sim/model/c172p/cockpit/yoke-aileron</aileron> |
| 9 | <elevator>/sim/model/c172p/cockpit/yoke-elevator</elevator> |
| 10 | <elevatornorm>/sim/model/c172p/cockpit/yoke-elevator-norm</elevatornorm> |
| 11 | </params> |
| 12 | |
| 13 | <effect> |
| 14 | <inherits-from>Aircraft/c172p/Models/Effects/interior/lm-fg1000-yoke</inherits-from> |
| 15 | <object-name>LeftYokeMain</object-name> |
| 16 | <object-name>YokeCordLeft</object-name> |
| 17 | <object-name>RightYokeMain</object-name> |
| 18 | <object-name>YokeCordRight</object-name> |
| 19 | <object-name>LeftYoke</object-name> |
| 20 | <object-name>LeftYokeMount</object-name> |
| 21 | <object-name>RightYoke</object-name> |
| 22 | <object-name>RightYokeMount</object-name> |
| 23 | </effect> |
| 24 | |
| 25 | <animation> |
| 26 | <type>material</type> |
| 27 | <object-name>LeftYoke</object-name> |
| 28 | <object-name>LeftYokeMain</object-name> |
| 29 | <object-name>RightYoke</object-name> |
| 30 | <object-name>RightYokeMain</object-name> |
| 31 | <object-name>LeftYoke</object-name> |
| 32 | <object-name>LeftYokeMount</object-name> |
| 33 | <object-name>RightYoke</object-name> |
| 34 | <object-name>RightYokeMount</object-name> |
| 35 | <condition> |
| 36 | <not> |
| 37 | <property>sim/rendering/shaders/skydome</property> |
| 38 | </not> |
| 39 | </condition> |
| 40 | <emission> |
| 41 | <red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop> |
| 42 | <green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop> |
| 43 | <blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop> |
| 44 | </emission> |
| 45 | </animation> |
| 46 | |
| 47 | <animation> |
| 48 | <type>translate</type> |
| 49 | <object-name>LeftYoke</object-name> |
| 50 | <object-name>LeftYokeMain</object-name> |
| 51 | <object-name>RightYoke</object-name> |
| 52 | <object-name>RightYokeMain</object-name> |
| 53 | <property alias="/params/elevator"/> |
| 54 | <factor>-0.1</factor> |
| 55 | <axis> |
| 56 | <x>1.0</x> |
| 57 | <y>0.0</y> |
| 58 | <z>0.0</z> |
| 59 | </axis> |
| 60 | </animation> |
| 61 | |
| 62 | <animation> |
| 63 | <type>rotate</type> |
| 64 | <object-name>LeftYoke</object-name> |
| 65 | <object-name>LeftYokeMain</object-name> |
| 66 | <property alias="/params/aileron"/> |
| 67 | <factor>-90.0</factor> |
| 68 | <axis> |
| 69 | <x>1.0</x> |
| 70 | <y>0.0</y> |
| 71 | <z>0.0</z> |
| 72 | </axis> |
| 73 | <center> |
| 74 | <x-m>-0.34713</x-m> |
| 75 | <y-m>-0.22065</y-m> |
| 76 | <z-m>-0.09786</z-m> |
| 77 | </center> |
| 78 | </animation> |
| 79 | |
| 80 | <animation> |
| 81 | <type>rotate</type> |
| 82 | <object-name>RightYoke</object-name> |
| 83 | <object-name>RightYokeMain</object-name> |
| 84 | <property alias="/params/aileron"/> |
| 85 | <factor>-90.0</factor> |
| 86 | <axis> |
| 87 | <x>1.0</x> |
| 88 | <y>0.0</y> |
| 89 | <z>0.0</z> |
| 90 | </axis> |
| 91 | <center> |
| 92 | <x-m>-0.34602</x-m> |
| 93 | <y-m> 0.23951</y-m> |
| 94 | <z-m>-0.09581</z-m> |
| 95 | </center> |
| 96 | </animation> |
| 97 | |
| 98 | <animation> |
| 99 | <type>material</type> |
| 100 | <object-name>LeftYoke</object-name> |
| 101 | <object-name>LeftYokeMain</object-name> |
| 102 | <object-name>RightYoke</object-name> |
| 103 | <object-name>RightYokeMain</object-name> |
| 104 | <object-name>YokeCordLeft</object-name> |
| 105 | <object-name>YokeCordRight</object-name> |
| 106 | <transparency> |
| 107 | <alpha-prop>sim/model/hide-yoke-alpha</alpha-prop> |
| 108 | </transparency> |
| 109 | </animation> |
| 110 | |
| 111 | <animation> |
| 112 | <type>pick</type> |
| 113 | <object-name>LeftYokeMount</object-name> |
| 114 | <object-name>RightYokeMount</object-name> |
| 115 | <visible>true</visible> |
| 116 | <action> |
| 117 | <button>0</button> |
| 118 | <repeatable>false</repeatable> |
| 119 | <binding> |
| 120 | <command>property-toggle</command> |
| 121 | <property>sim/model/hide-yoke</property> |
| 122 | </binding> |
| 123 | <binding> |
| 124 | <command>property-assign</command> |
| 125 | <property>sim/model/c172p/cockpit/control-lock-placed</property> |
| 126 | <value>false</value> |
| 127 | </binding> |
| 128 | </action> |
| 129 | <hovered> |
| 130 | <binding> |
| 131 | <command>set-tooltip</command> |
| 132 | <tooltip-id>show-hide-yoke</tooltip-id> |
| 133 | <label>Show/Hide Yoke</label> |
| 134 | </binding> |
| 135 | </hovered> |
| 136 | </animation> |
| 137 | |
| 138 | <animation> |
| 139 | <type>rotate</type> |
| 140 | <object-name>YokeCordLeft</object-name> |
| 141 | <property>sim/model/c172p/cockpit/yoke-aileron</property> |
| 142 | <factor>-9</factor> |
| 143 | <center> |
| 144 | <x-m>-0.36129</x-m> |
| 145 | <y-m>-0.22133</y-m> |
| 146 | <z-m>-0.13909</z-m> |
| 147 | </center> |
| 148 | <axis> |
| 149 | <x>0</x> |
| 150 | <y>0</y> |
| 151 | <z>1</z> |
| 152 | </axis> |
| 153 | </animation> |
| 154 | <animation> |
| 155 | <type>rotate</type> |
| 156 | <object-name>YokeCordLeft</object-name> |
| 157 | <property>sim/model/c172p/cockpit/yoke-aileron-abs</property> |
| 158 | <factor>-8</factor> |
| 159 | <center> |
| 160 | <x-m>-0.36129</x-m> |
| 161 | <y-m>-0.22133</y-m> |
| 162 | <z-m>-0.13909</z-m> |
| 163 | </center> |
| 164 | <axis> |
| 165 | <x>0</x> |
| 166 | <y>1</y> |
| 167 | <z>0</z> |
| 168 | </axis> |
| 169 | </animation> |
| 170 | <animation> |
| 171 | <type>rotate</type> |
| 172 | <object-name>YokeCordRight</object-name> |
| 173 | <property>sim/model/c172p/cockpit/yoke-aileron</property> |
| 174 | <factor>-9</factor> |
| 175 | <center> |
| 176 | <x-m>-0.36088</x-m> |
| 177 | <y-m> 0.23811</y-m> |
| 178 | <z-m>-0.11959</z-m> |
| 179 | </center> |
| 180 | <axis> |
| 181 | <x>0</x> |
| 182 | <y>0</y> |
| 183 | <z>1</z> |
| 184 | </axis> |
| 185 | </animation> |
| 186 | <animation> |
| 187 | <type>rotate</type> |
| 188 | <object-name>YokeCordRight</object-name> |
| 189 | <property>sim/model/c172p/cockpit/yoke-aileron-abs</property> |
| 190 | <factor>-8</factor> |
| 191 | <center> |
| 192 | <x-m>-0.36088</x-m> |
| 193 | <y-m> 0.23811</y-m> |
| 194 | <z-m>-0.11959</z-m> |
| 195 | </center> |
| 196 | <axis> |
| 197 | <x>0</x> |
| 198 | <y>1</y> |
| 199 | <z>0</z> |
| 200 | </axis> |
| 201 | </animation> |
| 202 | |
| 203 | <animation> |
| 204 | <type>scale</type> |
| 205 | <object-name>YokeCordLeft</object-name> |
| 206 | <object-name>YokeCordRight</object-name> |
| 207 | <property alias="/params/elevatornorm"/> |
| 208 | <center> |
| 209 | <x-m>-0.36129</x-m> |
| 210 | <y-m>-0.22133</y-m> |
| 211 | <z-m>-0.13909</z-m> |
| 212 | </center> |
| 213 | <x-min>0.0</x-min> |
| 214 | <y-min>1</y-min> |
| 215 | <z-min>1</z-min> |
| 216 | <x-factor>1.0</x-factor> |
| 217 | <y-factor>0.0</y-factor> |
| 218 | <z-factor>0.0</z-factor> |
| 219 | </animation> |
| 220 | |
| 221 | </PropertyList> |