- Messages
- 33
- Country

Does anyone ever succed to implement a covered magneto on_off type ?
I'm using this code:
If I remove the part from <COVERED>TRUE</COVERED> it works properly, when I added it the cover is not animated and the switch stays always off (edited)
I'm using this code:
Code:
<UseTemplate Name="ASOBO_ELECTRICAL_Switch_Magneto_Template">
<SWITCH_TYPE>ON_OFF</SWITCH_TYPE>
<MAGNETO_ID>LEFT</MAGNETO_ID>
<MAGNETO_SIDE>LEFT</MAGNETO_SIDE>
<NODE_ID>ENGINE_Switch_Magneto_Left</NODE_ID>
<ANIM_NAME>ENGINE_Switch_Magneto_Left</ANIM_NAME>
<TT_DESCRIPTION_ID>@TT_Package.ENGINE_MAGNETO_STATE_ACTION_SET_LR</TT_DESCRIPTION_ID>
<TT_DESCRIPTION_INDEX>(R:1:@TT_Package.GT_STATE_LEFT)</TT_DESCRIPTION_INDEX>
<COVERED>TRUE</COVERED>
<COVER_NODE_ID>ENGINE_Magneto_Left_Cover</COVER_NODE_ID>
<COVER_ANIM_NAME>ENGINE_Magneto_Left_Cover_Open</COVER_ANIM_NAME>
<SWITCH_NODE_ID>ENGINE_Switch_Magneto_Left</SWITCH_NODE_ID>
<SWITCH_ANIM_NAME>ENGINE_Switch_Magneto_Left</SWITCH_ANIM_NAME>
<PART_ID>ENGINE_Switch_Magneto_Left</PART_ID>
</UseTemplate>
If I remove the part from <COVERED>TRUE</COVERED> it works properly, when I added it the cover is not animated and the switch stays always off (edited)
Last edited: