icebreakr 3159 Posted January 28, 2010 Hi guys, I've put oil derrick object (ca\misc\vez_ropa.p3d) to my Duala v1.1 project but it seems it doesn't animate? I'm using the following config: class Land_vez_ropa: House { scope = 1; icon = "\ca\data\data\Unknown_object.paa"; animated = 1; destrType = "DestructNo"; ladders[] = { { "start", "end" } }; class AnimationSources { class Vez_ropa_anim { source = "time"; sourceAddress = "loop"; }; }; model = "\ibr\ibr_dtowns\vez_ropa"; }; I'm using the p3d from a hotfix (patched one). Any clues? Share this post Link to post Share on other sites
[aps]gnat 28 Posted January 28, 2010 Have you got a MODEL.CFG in place ? class CfgSkeletons { class Default; class VezRopa : Default { skeletonInherit = "Default"; skeletonBones[] = { "telo","", "pohon","", "tyce","", "kladivo","", "jezditko","", }; }; }; class CfgModels { class Default; class Vez_ropa { skeletonName = "VezRopa"; sections[] = {}; sectionsInherit = ""; class Animations { class Vez_ropa_anim1_0 { type="direct"; source="Vez_ropa_anim"; selection="tyce"; axis = "osa_tyce2"; minValue=0.0; maxValue=0.15; axisDir[]={1,0,0}; axisPos[]={0,0,0}; axisOffset=0.0; angle=8; }; class Vez_ropa_anim1_1: Vez_ropa_anim1_0 { axisDir[]={0,1,0}; axisOffset=0.6; angle=0; }; class Vez_ropa_anim1_2: Vez_ropa_anim1_1 { axisDir[]={0,0,1}; axisOffset=0.8; }; class Vez_ropa_anim2_0: Vez_ropa_anim1_0 { minValue=0.15; maxValue=0.25; angle=12; }; class Vez_ropa_anim2_1: Vez_ropa_anim2_0 { axisDir[]={0,1,0}; axisOffset=0.05; angle=0; }; class Vez_ropa_anim2_2: Vez_ropa_anim2_1 { axisDir[]={0,0,1}; axisOffset=1.4; }; class Vez_ropa_anim3_0: Vez_ropa_anim1_0 { minValue=0.25; maxValue=0.35; angle=7; }; class Vez_ropa_anim3_1: Vez_ropa_anim3_0 { axisDir[]={0,1,0}; axisOffset=-0.4; angle=0; }; class Vez_ropa_anim3_2: Vez_ropa_anim3_1 { axisDir[]={0,0,1}; axisOffset=1.1; }; class Vez_ropa_anim4_0: Vez_ropa_anim1_0 { minValue=0.35; maxValue=0.5; angle=5; }; class Vez_ropa_anim4_1: Vez_ropa_anim4_0 { axisDir[]={0,1,0}; axisOffset=-0.9; angle=0; }; class Vez_ropa_anim4_2: Vez_ropa_anim4_1 { axisDir[]={0,0,1}; axisOffset=0.65; }; class Vez_ropa_anim5_0: Vez_ropa_anim1_0 { minValue=0.5; maxValue=0.7; angle=-11; }; class Vez_ropa_anim5_1: Vez_ropa_anim5_0 { axisDir[]={0,1,0}; axisOffset=-0.4; angle=0; }; class Vez_ropa_anim5_2: Vez_ropa_anim5_1 { axisDir[]={0,0,1}; axisOffset=-1.15; }; class Vez_ropa_anim6_0: Vez_ropa_anim1_0 { minValue=0.7; maxValue=0.85; angle=-16; }; class Vez_ropa_anim6_1: Vez_ropa_anim6_0 { axisDir[]={0,1,0}; axisOffset=0.88; angle=0; }; class Vez_ropa_anim6_2: Vez_ropa_anim6_1 { axisDir[]={0,0,1}; axisOffset=-1.4; }; class Vez_ropa_anim7_0: Vez_ropa_anim1_0 { minValue=0.85; maxValue=1.0; angle=-5; }; class Vez_ropa_anim7_1: Vez_ropa_anim7_0 { axisDir[]={0,1,0}; axisOffset=0.87; angle=0; }; class Vez_ropa_anim7_2: Vez_ropa_anim7_1 { axisDir[]={0,0,1}; axisOffset=-0.6; }; class Kladivo { type = "rotation"; source="Vez_ropa_anim"; selection = "kladivo"; axis = "osa_kladivo"; angle0 = "(rad 1)"; angle1 = "(rad 18)"; minValue=0.0; maxValue=0.2; }; class Kladivo2: Kladivo { angle0 = "(rad 18)"; angle1 = "(rad -19)"; minValue=0.2; maxValue=0.7; }; class Kladivo3: Kladivo { angle0 = "(rad -19)"; angle1 = "(rad 1)"; minValue=0.7; maxValue=1.0; }; class Pohon { type = "rotation"; source="Vez_ropa_anim"; selection = "pohon"; axis = "osa_pohon"; angle0 = "rad 0"; angle1 = "rad 360"; }; class Jezditko1 { type="direct"; source="Vez_ropa_anim"; selection="jezditko"; axis = "osa_tyce2"; minValue=0.0; maxValue=0.2; axisDir[]={0,1,0}; axisPos[]={0,0,0}; axisOffset=-1.0; angle=0; }; class Jezditko2: Jezditko1 { minValue=0.2; maxValue=0.7; axisOffset=2.0; }; class Jezditko3: Jezditko1 { minValue=0.7; maxValue=1.0; axisOffset=-1.0; }; }; }; }; Share this post Link to post Share on other sites
Snake Man 407 Posted January 28, 2010 Don't use config? Share this post Link to post Share on other sites
icebreakr 3159 Posted January 28, 2010 vez_ropa is the only MLOD in the package (ibr_dtowns). Should I binarize it with this model.cfg before repacking it to ibr_dtowns as ODOL? Share this post Link to post Share on other sites
Snake Man 407 Posted January 28, 2010 Ah sorry I didn't read your CODE in first post good enough, I thought you're trying to re-configure default ArmA 2 object. Never mind my previous post :) Share this post Link to post Share on other sites