Skip to main content

G3X Touch Model Behaviors

Introduction

This page contains topics related to setting up Model Behaviors for an airplane that includes the G3X Touch.

The base G3X Touch package includes Model Behaviors templates meant to be used when integrating the G3X Touch into an airplane. These templates can be included using the following tag within a Model Behaviors xml file:

<Include ModelBehaviorFile="WT\G3XTouch\G3XTouch.xml"/>

GDUs

The base G3X Touch package includes a Model Behaviors template for implementing G3X Touch GDUs named WT_G3XTouch_Template. When integrating the new G3X Touch, WT_G3XTouch_Template should be used instead of ASOBO_AS3X_Touch_Template, which is meant to be used with the legacy G3X Touch.

One instance of WT_G3XTouch_Template needs to be declared for each G3X Touch GDU. The template sets up cockpit interaction behaviors and tooltips for all of the GDU's physical buttons and knobs and controls the emissive properties of the GDU's screen and buttons.

WT_G3XTouch_Template accepts the following parameters:

NameDescriptionDefault
IDThe index of the GDU.1
NODE_ID_SCREENThe Node ID of the GDU's screen texture.AS3X_Screen_#ID#
NODE_ID_LEFT_OUTER_KNOBThe Node ID of the left outer knob.AS3X_Knob_Outer_L_#ID#
NODE_ID_LEFT_INNER_KNOBThe Node ID of the left inner knob.AS3X_Knob_Inner_L_#ID#
ANIM_NAME_LEFT_OUTER_KNOBThe name of the left outer knob's rotate animation.AS3X_Knob_Outer_L_#ID#
ANIM_NAME_LEFT_INNER_KNOBThe name of the left inner knob's rotate animation.AS3X_Knob_Inner_L_#ID#
ANIM_NAME_LEFT_INNER_PUSHThe name of the left inner knob's push animation.AS3X_Knob_Inner_L_Push_#ID#
NODE_ID_RIGHT_OUTER_KNOBThe Node ID of the right outer knob.AS3X_Knob_Outer_R_#ID#
NODE_ID_RIGHT_INNER_KNOBThe Node ID of the right inner knob.AS3X_Knob_Inner_R_#ID#
ANIM_NAME_RIGHT_OUTER_KNOBThe name of the right outer knob's rotate animation.AS3X_Knob_Outer_R_#ID#
ANIM_NAME_RIGHT_INNER_KNOBThe name of the right inner knob's rotate animation.AS3X_Knob_Inner_R_#ID#
ANIM_NAME_RIGHT_INNER_PUSHThe name of the right inner knob's push animation.AS3X_Knob_Inner_R_Push_#ID#
SCREEN_EMISSIVE_VAR_CODERPN code to get the GDU's backlight intensity level, in the range [0, 1]. May not apply if the SCREEN_EMISSIVE_CODE parameter is overridden.(L:WTG3X_Screen_Backlight:#ID#)
EMISSIVE_MINRPN code to get the minimum emissive value to apply to the GDU's screen emissive texture (i.e. when the backlight intensity level is 0). May not apply if the SCREEN_EMISSIVE_CODE parameter is overridden.0.05
EMISSIVE_MAXRPN code to get the maximum emissive value to apply to the GDU's screen emissive texture (i.e. when the backlight intensity level is 1). May not apply if the SCREEN_EMISSIVE_CODE parameter is overridden.1
EMISSIVE_GAMMARPN code to get the gamma value to apply to the GDU's screen emissive curve. May not apply if the SCREEN_EMISSIVE_CODE parameter is overridden.2.2
SCREEN_EMISSIVE_CODERPN code to get the emissive value to apply to the GDU's screen emissive texture.#EMISSIVE_MIN# #SCREEN_EMISSIVE_VAR_CODE# #EMISSIVE_GAMMA# pow #EMISSIVE_MAX# #EMISSIVE_MIN# - * +
BUTTON_EMISSIVE_MINRPN code to get the minimum emissive value to apply to the GDU's button emissive textures (i.e. when the backlight intensity level is 0). May not apply if the BUTTON_EMISSIVE_CODE parameter is overridden.0.05
BUTTON_EMISSIVE_MAXRPN code to get the maximum emissive value to apply to the GDU's button emissive textures (i.e. when the backlight intensity level is 1). May not apply if the BUTTON_EMISSIVE_CODE parameter is overridden.1
BUTTON_EMISSIVE_GAMMARPN code to get the gamma value to apply to the GDU's button emissive curve. May not apply if the BUTTON_EMISSIVE_CODE parameter is overridden.2.2
BUTTON_EMISSIVE_CODERPN code to get the emissive value to apply to the GDU's button emissive textures.#BUTTON_EMISSIVE_MIN# #SCREEN_EMISSIVE_VAR_CODE# #BUTTON_EMISSIVE_GAMMA# pow #BUTTON_EMISSIVE_MAX# #BUTTON_EMISSIVE_MIN# - * +
CIRCUIT_IDThe index of the electrical circuit that powers the GDU. If defined, then the GDU's screen and button emissives will be forced off when the circuit is not powered. May not apply if the FAILURE parameter is overridden.None
FAILURERPN code to get whether the GDU's screen and button emissives should be forced off. A value of 0 forces the emissives off. If neither this nor CIRCUIT_ID are defined, then emissive failure behavior is determined by the ASOBO_GT_Emissive_Gauge template.None