Jump to content
Sign in to follow this  
h4wek

hide animation type value limit

Recommended Posts

Why on Wiki is no description about range of values (hidevalue/unhidevalue) - it can be only from range 0-1, when I want to config non/linear scale controls in cockpit I cant use for example "altradar" beacouse it reach values bigger than 1 so config like that 

 

            class altitude_1
            {
                type="rotation";
                source="altRadar";
                selection="ndl_radalt1";
                axis="os_radalt1";
                sourceAddress="clamp";
                minValue=0;
                maxValue=25;
                angle0=0;
                angle1="(rad 97)";
            };
            class altitude_1v
            {
                type="hide";
                source="altRadar";
                selection="ndl_radalt1v";
                hideValue=25;
            };

not work.

Of course is other way but more complicated (using other source animation based on alt value) - it could be simple with without this strange limitation (and of course range of use it will be greater than now.

ok I was wrong partially is more simple way to do it, than new animsource:

           class altitude_1
            {
                type="rotation";
                source="altRadar";
                selection="ndl_radalt1";
                axis="os_radalt1";
                sourceAddress="clamp";
                minValue=0;
                maxValue=25;
                angle0=0;
                angle1="(rad 97)";
            };
            class altitude_1v
            {
                type="hide";
                source="altRadar";
                selection="ndl_radalt1v";
                minValue=0;
                maxValue=25;
                hideValue=1;
            };

 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×