Jump to content

Invalid selector arrow in the temperature selector (Solution inside)


-Dagger-

Recommended Posts

I posted this a month ago but in the wrong forum (https://forums.eagle.ru/topic/274687-invalid-selector-arrow-in-the-temperature-selector-solution-inside/?tab=comments#comment-4698057 so I will post it here so it gets properly tracked

 

 

--

 

This selector should accept 10 positions but currently you only have 9, so they are not properly displayed and the arrow ends up in middle positions

 

Trying to select 18 degrees (3 clicks)

 

image.png

 

This can be solved by changing:


elements["AC-TEMP-KNOB-PTR"]    = multiposition_switch(_("Temperature Selector, 5/10/15/18/20/22/24/30/35/40/50"),            devices.ECS_INTERFACE,                ecs_commands.Temperature,            146,    11,    1/9,    false,    0.0,    anim_speed_default,    false)

 

to


elements["AC-TEMP-KNOB-PTR"]    = multiposition_switch(_("Temperature Selector, 5/10/15/18/20/22/24/30/35/40/50"),            devices.ECS_INTERFACE,                ecs_commands.Temperature,            146,    11,    1/10,    false,    0.0,    anim_speed_default,    false)

 

In the file ....\Mods\aircraft\Mi-24P\Cockpit\Scripts\clickabledata.lua (line 150)

 

After the fix:

 

image.png

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...