July 25, 200421 yr Hi,I have made an xml gauge with an L bool variable. Good part: Gauge works fine. Bad part: I want to add a part in the makemdl.parts.xml. Up to now nothing worked.How do I implement the L bool variable inbetween the animation tacks?ReagardsDirk
August 28, 200421 yr Hi,The code in the makemdl.parts.xml file is very simple but depends on the animation key code in the .x file.In your case assuming the .x file has something of the form:Animation your_part {{ your_part }AnimationKey {0;2;0;4;-1.000000,0.000000,0.000000,0.000000;;, //position when OFF100;4;-0.981627,0.000000,-0.190809,0.000000;;; //position when ON}}then you need your XML file entry to provide a value of either 0 or 100 to match the keyframe values, typically this might be:your_part (L:your_xml_variable,bool) 100 *Regards,Trevor.
Create an account or sign in to comment