The template Lighting_subTemplate.xml has ASOBO_LIGHTING_Light_Template
template. It contains @TT_Package.LIGHTING_SWITCH_LIGHT_#LIGHT_TYPE#TITLE
@TT_Package.LIGHTING#TT_INTERACTION_TYPE#LIGHT#LIGHT_TYPE#ACTION when
using Cabin or Pedestal light types with knobs there are no localization in
locPak files. LIGHTING_KNOB_LIGHT_PEDESTRAL_ACTION
LIGHTING_KNOB_LIGHT_CABIN_ACTION TOOLtip tile defaults to switch - not knob
change to @TT_Package.LIGHTING#TT_INTERACTION_TYPE#
LIGHT#LIGHT_TYPE#_TITLE This causes erros to show in the behaviors Error tab
with Tolltips checked.
Hello @DA40CGDFQ , It’s by design and since they are in a element, you can
override them with the proper tooltip. Regards, Boris
I have to disagree with your design desicion. At least for the hard coded
switch one. I am having trouble overriding the default tooltips. why not have
default tool tips on the locpac files fron these default tooltips. after all
you put defaults in for oher defaults tooltips Suggestions would be helpful.
thefollowing does not work for me
5
LIGHTING_Knob_Panel
LIGHTING_Knob_Panel
INSTRUMENT LIGHTS INCREASE
True
"Instrument Lights" (F:Format)
True
8
4
LIGHTING_Knob_Pedestal
LIGHTING_Knob_Pedestal
True
"Panel Lights" (F:Format)
True
3
0
LIGHTING_Knob_Cabin_1
LIGHTING_Knob_Cabin_1
True
'Adjust Cabin Lights' (F:Format)
'Adjust Cabin Lights' (F:Format)
True
'Cabin Lights' (F:Format)
'Cabin Lights' (F:Format)
True
result in sim
Hello @DA40CGDFQ , Thanks for the examples, it gives us a better idea of the
problem I will only use your first component as an example, but I think it
will apply to the others as well You are using
ASOBO_LIGHTING_Knob_Panel_Template This tempate, uses
**ASOBO_LIGHTING_Light_Template and requires that **is **** not empty. You can
bypass this by adding ****. Your template should look like this:
5
LIGHTING_Knob_Panel
LIGHTING_Knob_Panel
INSTRUMENT LIGHTS INCREASE
True
"Instrument Lights" (F:Format)
**** True
8
The result: Regards, Boris
Your suggestion does not work - still blank Tooltips, even with ‘Adjust
Instrument Lights’ (F:Format) or Behavior erroras tab shows this
localization with the default name, how do I make a localization for these
light knobs?
OK i figured out the problem. The problem is with the default Tooltip element.
the en-US.locPak file has the following tooltips
“COCKPIT.TOOLTIPSV2.LIGHTING_KNOB_CABIN_ACTION”: “Adjust cabin’s %s lighting”,
“COCKPIT.TOOLTIPSV2.LIGHTING_KNOB_CABIN_TITLE”: “Cabin lighting”,
“COCKPIT.TOOLTIPSV2.LIGHTING_KNOB_PEDESTAL_ACTION_SET”: “Adjust pedestal
lighting”, “COCKPIT.TOOLTIPSV2.LIGHTING_KNOB_PEDESTAL_TITLE”: “Pedestal
lighting”, “COCKPIT.TOOLTIPSV2.LIGHTING_KNOB_PANEL_ACTION”: “Adjust panel
lighting brightness”, “COCKPIT.TOOLTIPSV2.LIGHTING_KNOB_PANEL_TITLE”: “Panel
lighting brightness”, Note however that the template to create the tooltip
Title and Description_ID is
@TT_Package.LIGHTING_SWITCH_LIGHT_#LIGHT_TYPE#_TITLE
@TT_Package.LIGHTING_#TT_INTERACTION_TYPE#LIGHT#LIGHT_TYPE#_ACTION The title
will default to only Switch (interaction type) The DescriptionID will have the
extra LIGHT in the name forming LIGHTING_KNOB_LIGHT_CABIN_ACTION
LIGHTING_KNOB_LIGHT_PEDESTAL_ACTION
LIGHTING_KNOB_LIGHT_PANEL_ACTION The Lighting_subTemplate.xml file with
ASOBO_LIGHTING_Light_Template template needs to be fixed by removing the
LIGHT part.
And don’t forget PEDESTRAL and PEDESTAL issue.
edit: and there is no SWITCH_LIGHT_CABIN
edit2: Also doesn’t even show up in the ASOBO_LIGHTING_Light_Template, or in
the LIGHTING_Inpts.xml so setting it does not allow the title to show - you
must use - so the interaction using input events tutorial says it’s an
important element - could you explain what I am not understanding.