IMPORTANT TEMPLATES
When working with Model Behaviors, there are a great number of templates that you can use within the different components and input events associated with an aircraft or a SimObject. However, there are some that are considerably more important and more useful than others, due to them being designed for use in a looser, more generic way than the others which may have very specific uses. On this page you can find a brief outline of what we consider to be the most important and useful of these "generic" templates along with the required parameters for each.
Interaction Templates
The following templates are incredibly useful when creating cockpit interactions, whether it's for a button or knob or some kind of lever or even the flight controls themselves.
This first set of templates are used primarily for cockpit panel interactions and can be found in the following file:
Template Name | Description |
---|---|
ASOBO_CT_Simple_Interaction_Template |
An interaction without animation |
ASOBO_CT_Button_Template |
A button interaction |
ASOBO_CT_Switch_Template |
A switch interaction |
ASOBO_CT_Lever_Template |
A lever interaction |
ASOBO_CT_Knob_Template |
A switch like interaction with a rotation animation |
ASOBO_CT_Knob_Finite_Template |
A knob interaction with a min and max rotation |
ASOBO_CT_Knob_Infinite_Template |
A knob interaction without any bounds for the rotation |
ASOBO_CT_Joystick_Template |
A joystick interaction (for instance a two-axis trim controller on a yoke or a joystick that controls an avionics device) |
This second set of templates are used for cockpit flight control interactions and can be found in the following file:
Template Name | Description |
---|---|
ASOBO_IT_HANDLING_Single_Yoke_Template [ASOBO_IT_HANDLING_Stick_Template , ASOBO_IT_HANDLING_Single_Stick_Template ] |
A yoke or control stick animation |
ASOBO_IT_HANDLING_Double_Yoke_Template [ASOBO_IT_HANDLING_Double_Stick_Template ] |
A yoke or control stick animation for dual cockpit |
ASOBO_IT_HANDLING_Single_Rudder_Pedals_Template [ASOBO_IT_HANDLING_Rudder_Pedals_Template ] |
Rudder animation for independent rudder pedals |
ASOBO_IT_HANDLING_Double_Helicraft_Rudder_Pedals_Template |
Rudder animation for helicopters with dual cockpit |
For more information on these templates, the parameters they have in common, and how they are used, please see the following page:
Emissive Materials Templates
The tables below outline the templates that are available to control various aspects of the emissive materials that will be used by your instruments and lights (both interior and exterior).
The first group can be found in the following file:
Template Name | Description |
---|---|
ASOBO_GT_Emissive_Template |
Base emissive template, creates an emissive material using the following parameters:
or
|
ASOBO_GT_Component_Emissive_Template |
Calls the ASOBO_GT_Emissive_Template and creates a component for it with the specified NODE_ID . |
The second group can be found in the following file:
Template Name | Description |
---|---|
ASOBO_IT_Power_Dependant_Emissive_Template |
Calls the Adds a default |
ASOBO_IT_Screen_Brightness_Template |
Calls the The emissive factor has to be specified in the parameter The Emissive code can be provided using the
|
ASOBO_IT_Emissive_Brightness_Template |
Takes an The emissive code can be provided using the
|
ASOBO_IT_Ambient_Update_Template |
Takes an The refresh rate of the The ambient light factor can be provided using the |
Visibility Templates
The tables below outline the templates that are available to control the visibility of components.
The following templates can be found in the file:
Template Name | Description |
---|---|
ASOBO_GT_Visibility_Template |
Base visibility template, creates a visibility component using the following parameters:
or
|
ASOBO_GT_Component_Visibility_Template |
Calls the ASOBO_GT_Visibility_Template and creates a component for it with the specified NODE_ID . |
The following template can also be very useful, and it's found in the following file:
Template Name | Description |
---|---|
ASOBO_CT_Swapable_Mesh_Template |
Makes two interchangeable visibility components using the provided
|
Animation Templates
The tables below outline some of the most useful templates that are available to control animations.
The following templates can be found in the file:
Template Name | Description |
---|---|
ASOBO_GT_Anim_Template |
Base visibility template, creates a visibility component using the following parameters:
or
|
ASOBO_GT_Component_Anim_Template |
Calls the ASOBO_GT_Anim_Template and creates a component for it with the specified NODE_ID . |
The following template can also be very useful, and it's found in the following file:
Template Name | Description |
---|---|
ASOBO_IT_Gauge_Template |
Configures a gauge animation using the following parameters:
The gauge value can be provided using the
|