Hey DG,
I think your part is working and another part is now in the way or somthing like this.
DG
Nope.. Only one part with this name and number, or name for that matter. It should work. It has 2 similar switches next to it, and they work fine.
When I say work, I do not have it animated, but it should turn on the main electrics systems off and on. It will not even show a mouse cursor over it. However, the rest of the parts work in the parts XML sheet, so it seems to have allowed the part code to 'flow' but the part itself will not function per the Mouse section...
Here is the FS2004 Gmax XML Part code.
Code:
<part>
<name>avelina_switch_master</name>
<animation>
<parameter>
<sim>
<variable>ELECTRICAL MASTER BATTERY</variable>
<units>bool</units>
<scale>50</scale>
</sim>
<lag>400</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<help_id>HELPID_GAUGE_BATTERY_SWITCH</help_id>
<tooltip_text>Primary Power (%((A:Avionics Master Switch,enum))%{case}%{:0}On)%{:1}Off)%{End}</tooltip_text>
<callback_code>
(>K:TOGGLE_MASTER_BATTERY)
(>K:TOGGLE_AVIONICS_MASTER)
1 (>L:XMLSND136,enum)
</callback_code>
</mouserect>
</part>
Unstaggered;
<part>
<name>avelina_switch_master</name>
<animation>
<parameter>
<sim>
<variable>ELECTRICAL MASTER BATTERY</variable>
<units>bool</units>
<scale>50</scale>
</sim>
<lag>400</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<help_id>HELPID_GAUGE_BATTERY_SWITCH</help_id>
<tooltip_text>Primary Power (%((A:Avionics Master Switch,enum))%{case}%{:0}On)%{:1}Off)%{End}</tooltip_text>
<callback_code>
(>K:TOGGLE_MASTER_BATTERY)
(>K:TOGGLE_AVIONICS_MASTER)
1 (>L:XMLSND136,enum)
</callback_code>
</mouserect>
</part>
Any idea's? This should work... Funny enough, it used to. I dont know what I did to it to not function.