XxClon 24 Posted January 20, 2017 I made a double-sided door, but it does not work and it only opens one side, In the bulldozer everything opens, but the problem is the Config.cpp for the game this is my model.cfg, Can someone please make me the config.cpp please? The door is double door Quote // Note: this model config is created with 4-space [tab] symbols. If you use different settings, the structure may not be as clear. class CfgSkeletons { class Default { isDiscrete = 1; skeletonInherit = ""; skeletonBones[] = {}; }; // Skeleton of damaged variant of the house. It has no bones for windows (since all windows are destroyed); on the other hand it has bones for destroyable parts (Dam_#) and their rubble (Unhide_#). // Doors are bound to these destroyable parts of they are part of them, so that they are hidden together by one animation. class in_door_skeleton: Default { skeletonInherit = "Default"; skeletonBones[] = { "porte", "porte_axis", "porte2", "porte2_axis" }; }; }; class CfgModels { class Default; class in_door: Default { skeletonName = "in_door_skeleton"; // Uses skeleton for damage version. sections[] = {}; // No sections are needed at this stage. sectionsInherit = ""; class Animations { class Porte_Rotation { type="translationX"; source="Porte"; selection="porte"; axis="porte_axis"; memory=1; minValue="-1"; maxValue="0"; }; class Porte2_Rotation { type="translationX"; source="Porte2"; selection="porte2"; axis="porte2_axis"; memory=1; minValue="0"; maxValue="1"; }; }; }; }; Share this post Link to post Share on other sites
m1lkm8n 410 Posted January 20, 2017 quick question it is supposed to rotate out or in...because you have translation selected which would mean it is a sliding door The confusion comes from the fact the you have the names of the doors as "class Porte2_Rotation" but translation in the type= Share this post Link to post Share on other sites
XxClon 24 Posted January 20, 2017 1 hour ago, m1lkm8n said: quick question it is supposed to rotate out or in...because you have translation selected which would mean it is a sliding door The confusion comes from the fact the you have the names of the doors as "class Porte2_Rotation" but translation in the type= yes my bad is traslation the 2 doors, and in the buldozer is fine all Share this post Link to post Share on other sites
XxClon 24 Posted January 20, 2017 the problem is in the game, only one face open :/ Share this post Link to post Share on other sites
m1lkm8n 410 Posted January 21, 2017 If they are both supposed to open at the same time you could link one bone to the other. Also so putting the door axis in as a bone is not correct unless you need the axis to move with the door....like if it was an axis for a rotating door knob. So I would remove the current axis bones as they really shouldn't be there Share this post Link to post Share on other sites