Skip to content

Commit

Permalink
Magneto temp quick fix.
Browse files Browse the repository at this point in the history
This commit concern issue: #6
  • Loading branch information
dvanmosselbeen committed Jul 23, 2019
1 parent 7fcfdf1 commit c3b6419
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 56 deletions.
55 changes: 27 additions & 28 deletions Rans_S-6S/Models/Interior/Panel/Instruments/Switch/switch_mag_l.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,44 +17,43 @@
<animation>
<type>rotate</type>
<object-name>SwitchLever</object-name>
<property>/controls/engines/engine/magnetosmaster-bat</property>
<property>controls/engines/engine/magnetoL</property>
<factor> -60 </factor>
<axis>
<x> 0 </x>
<y> 1 </y>
<z> 0 </z>
</axis>
</animation>

<animation>
<type>pick</type>
<visible>true</visible>
<object-name>SwitchLever</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/controls/engines/engines</property>
</binding>
<binding>
<command>property-toggle</command>
<property>sim/model/click</property>
</binding>
<binding>
<command>property-toggle</command>
<property>sim/sound/switch</property>
</binding>
</action>
<hovered>

<animation>
<type>pick</type>
<object-name>SwitchBase</object-name>
<object-name>SwitchLever</object-name>
<action>
<button>0</button>
<binding>
<command>property-toggle</command>
<property>controls/engines/engine/magnetoL</property>
</binding>
<binding>
<command>property-toggle</command>
<property>controls/engines/engine/magnetos</property>
</binding>
<binding>
<command>property-toggle</command>
<property>sim/model/sound/click</property>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>master-switch</tooltip-id>
<label>Mag left: %s</label>
<tooltip-id>Left-magneto-switch</tooltip-id>
<label>L Magneto switch: %s</label>
<mapping>on-off</mapping>
<property>/controls/engines/engine[0]/magnetos</property>
<property>controls/engines/engine/magnetoL</property>
</binding>
</hovered>
</animation>
</hovered>
</animation>

</PropertyList>
55 changes: 27 additions & 28 deletions Rans_S-6S/Models/Interior/Panel/Instruments/Switch/switch_mag_r.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,44 +17,43 @@
<animation>
<type>rotate</type>
<object-name>SwitchLever</object-name>
<property>/controls/engine/magnetos</property>
<property>controls/engines/engine/magnetoR</property>
<factor> -60 </factor>
<axis>
<x> 0 </x>
<y> 1 </y>
<z> 0 </z>
</axis>
</animation>

<animation>
<type>pick</type>
<visible>true</visible>
<object-name>SwitchLever</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/controls/switches/master-bat</property>
</binding>
<binding>
<command>property-toggle</command>
<property>sim/model/click</property>
</binding>
<binding>
<command>property-toggle</command>
<property>sim/sound/switch</property>
</binding>
</action>
<hovered>

<animation>
<type>pick</type>
<object-name>SwitchBase</object-name>
<object-name>SwitchLever</object-name>
<action>
<button>0</button>
<binding>
<command>property-toggle</command>
<property>controls/engines/engine/magnetoR</property>
</binding>
<binding>
<command>property-toggle</command>
<property>controls/engines/engine/magnetos</property>
</binding>
<binding>
<command>property-toggle</command>
<property>sim/model/sound/click</property>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>master-switch</tooltip-id>
<label>Master: %s</label>
<tooltip-id>Left-magneto-switch</tooltip-id>
<label>R Magneto switch: %s</label>
<mapping>on-off</mapping>
<property>/controls/switches/master-bat</property>
<property>controls/engines/engine/magnetoR</property>
</binding>
</hovered>
</animation>
</hovered>
</animation>

</PropertyList>

0 comments on commit c3b6419

Please sign in to comment.