I'm interested mostly from needle animators for gauges, however it would be nice to have a full list in one place, anyone has such list? For needles I'm aware of these that work: wheelspeed rpm fuel turboBoost oiltemp oil watertemp Then some other: gear_M gear_A clutch brake throttle turnsignal parkingbrake
Does this mean that any variable in values.electrics could be used as an needle animation source? For example func turboBoost works, but turboTemp does not. Semi uses func gear_M, but none of lua contains such (only one commented out line). I would like to get exhaustTemp, but I guess that would need some lua being made that turns electric servo according to that variable, somehow? What I can't find is also where is for example that servo or something that makes for example semi's rpm needle to turn according to variable rpm.
I try to I try a bit to connect a needle with the brake's pressure, like druck press...same in bmw or nineoneone! but not working now, to be continued! Following picture with gauge completely designed from scratch (in 2-3 hours min) with Gimp and Blender by the way fully customizable and HD! but druckpress not working yet!
Yes! It is working with "brake", thank you. I did it like this at first attempt, but confused others values like "rotation" "min", "max", "offset" were not right. Remains to calibrate the needle now! I would like to know about "offset" value, because I can't found in the wiki an explanation that allows me to fully understand the function... some clarifications are welcome!
Offset, it is bit difficult to explain in a simple way, but it is how much to add to needle position so that needle is at correct position. Say you might have a needle showing 5 when needle should show 10, then you use offset of 5 to correct that error. Base rotation is starting point of needle and rotation is how much needle can rotate, but by offset you adjust needle to show correctly. I had to adjust y rotation and offset together to get my boost gauge to show correctly. Testing and adjusting, little by little. For 270 degrees sweep, min -15 pointing directly down and max 30 pointing directly to right, I got this value set: {"x":90, "y":0, "z":180} , {"x":0, "y":-6.10, "z":0} , {"x":0, "y":0, "z":0}, -15, 30, 14.5, 1], So I used offset to add 14.5 to what needle was showing, so I get needle to show correctly. I don\t know if that is related to min being -15, I would think that base rotation would be for -15, but maybe base rotation is for 0? --- Post updated --- I wish that some day they will give you time to make a tutorial of how to get any electrics value to needle rotation, that would be very cool
Thanks a lot for your explain. This help me a lot, all needles are ok now, with correct calibration, although I can't say that I exactly understood how, why!!! New electric props features can be "easly" added/managed through a bit of Lua script... ...that's right, a little wiki howto for electric values would be nice!