[frl]myke 15 Posted January 4, 2010 (edited) Hi folks, i try to create an artificial horizon for the F-16 and i ran into a problem and don't see what is causing it. Let me first draw a pic of the actual situation: Named selections: ball_horizon_bank //this is the horizon object, including the axis points (2)for the dive anim ball_horizon_dive //same horizon object but without additional axis points axis_ball_horizon_bank //2 axis points for the bank anim axis_ball_horizon_dive //2 axis points for the dive anim model.cfg (shortened to relevant parts): class CfgSkeletons { class glt_falcon_Skeleton { isDiscrete=1; skeletonInherit=""; skeletonBones[]= { "ball_horizon_bank", "", "ball_horizon_dive", "" }; }; }; class Rotation; class CfgModels { class Default { sectionsInherit=""; sections[]={}; }; class glt_falcon: Default { sections[]= { "zbytek", "camo1", "camo2", "left_mfd", "right_mfd", "mfd_compass", "tailmark" }; skeletonName="glt_falcon_Skeleton"; class Animations { class HorizonBank { type="rotation"; source="horizonBank"; selection="horizon"; axis="axis_horizon"; minValue=-6.283190; maxValue=6.283190; angle0=6.283185; angle1=-6.283185; }; class HorizonBank3D: HorizonBank { memory=0; selection="ball_horizon_bank"; axis="axis_ball_horizon_bank"; }; class HorizonDive3D { source="horizonDive"; type="rotation"; memory=0; selection="ball_horizon_dive"; axis="axis_ball_horizon_dive"; minValue=-0.785398; maxValue=0.785398; angle0=-0.785398; angle1=0.785398; }; }; }; }; The class "HorizonBank" has in general nothing to do with this proble but since i use it as baseclass for the artificial horizon, i left the code in it. What dow work and what not: Well, the banking anim does work, no problems there. But the dive/climb anim doesn't. If anyone has an idea what i'm doing wrong, please enlighten me. :D :EDITH: Just noticed, if i swap the order in the skeletonBones, the functionality is also swapped. Therefor i've tried this: "ball_horizon_bank","", "ball_horizon_dive","ball_horizon_bank" and this aswell: "ball_horizon_dive","", "ball_horizon_bank","ball_horizon_dive" Besides the fact that the first anim worked but the second not, it didn't helped. Another :EDITH: Solved, but don't ask me how. Although i'm almost sure i've already previously closed and reopened O2 (and therefor Buldozer), this time it works. It's odd. Fore completeness, this code now did the trick: "ball_horizon_bank","", "ball_horizon_dive","ball_horizon_bank" I'm sorry for the now pointless thread. O2 is a biatch sometimes. :D :EDITH (final): I guess i've figured out why it wasn't working. While switching between LOD's doe reload the CfgModels part, it doesn't reload the CfgSkeletons part. Save and reload did solve the problem. Just thought i'll add this info for those O2-noobs like me that struggles into the same trap. Edited January 4, 2010 by [FRL]Myke Share this post Link to post Share on other sites