Closed Massetstephane closed 2 years ago
Hi ! It's work but I have no choice on the indicator anymore, so I'm going to do one part with indicator and one part without, in case people don't want to see the indicator on the part (little texture showing ACC, PRES etc)
I've been changing my mu and cfg file for a week now to get a single piece, with left right indicator (or not) for the sensor type (ACC etc), without result I combined modulePartVariants with your module I have a functional version but the problem the texture of the indicator changed by the two modules, is not linked when B9 sets the texture to ACC, and I use the PartVariants module to switch to right or left part I find the original texture again :), but the sensor work and well controled by B9partSwitch.
I tested this version with two B9partSwitch modules the code :
In this form my texture work, but now i don't have any module active in KSP, the first B9Partswith work well alone, but adding the second module to switch left or right side indicator texture kill the sensor function. I tried to include also in the second module the code for managing module (DATA, active no active etc) and every time i lose the sensor fonction. tested this for example in second B9Partmodule :
not working no sensor active. My other version works (combination of B9partswitch and moduleVariantparts) you just have to set the part to left or right first, and chose the type of sensor and change the texture indicator, but you must not change sides otherwise the texture returns to default, but once launched everything is ok the texture is displayed :) Or else I only use one B9 module with 9 subtypes :) Or two distinct part :) left and right.
I love this layout: one piece and nine possibilities, it was even possible to have the sensor without an indicator texture, too bad.
I will watch with the 9 nine options on a single line (only one module) the place taken and how the panel reacts. I think this is the best solution. steph