nzdfcrash 33 Posted September 2, 2010 (edited) howdy i broke the model config on the tiger attack helo somehow, doesnt pop out any errors when i binarize and i cant see the issue myself so hopefully one of you guys can spot it. class CfgSkeletons { class Helicopter; //Define base class. class adf_tigerBones: Helicopter { isDiscrete=1; skeletonInherit = ""; //Inherit all bones from class Car. skeletonBones[]= { "horizont","", "horizont2","", "kompas","", "rpm","", "adf_horizon_01","", "adf_horizon_02","", "adf_compas_01","", "adf_compas_02","", "adf_fuel_01","", "adf_fuel_02","", "adf_tpm_01","", "adf_tpm_02","", "OtocVez","", "OtocHlaven","OtocVez", "damageHide","", "velka vrtule","damageHide", "mala vrtule","damageHide", "adf_tigre_canon_tourelle","", "adf_tigre_canon","adf_tigre_canon_tourelle", "adf_tigre_amort_train_av","", "adf_tigre_amort_train_ar","" }; }; }; class cfgModels { class Helicopter; class adf_tiger: Helicopter { skeletonName = "adf_tigerBones"; sectionsInherit=""; sections[]= { "horizont","horizont2","kompas","rpm","adf_horizon_01","adf_horizon_02", "adf_compas_01","adf_compas_02","adf_fuel_01","adf_fuel_02","adf_tpm_01","adf_tpm_02", "OtocVez","OtocHlaven","damageHide","velka vrtule","mala vrtule","adf_tigre_canon","adf_tigre_canon_tourelle", "adf_tigre_amort_train_av","adf_tigre_amort_train_ar" }; class Animations { class damageHide { type="hide"; source="damage"; selection="damageHide"; }; class adf_Horizon_01_x { type = "rotationX"; source = "horizonDive"; selection = "hexa_horizon_01"; axis = ""; sourceAddress="clamp"; minValue=-1; maxValue=1; angle0="rad -80"; angle1="rad +80"; }; class adf_Horizon_01_z { type = "rotationZ"; source = "horizonBank"; selection = "hexa_horizon_01"; axis = ""; sourceAddress="clamp"; minValue=-1; maxValue=1; angle0="rad -80"; angle1="rad +80"; }; class adf_Horizon_02_x { type = "rotationX"; source = "horizonDive"; selection = "hexa_horizon_02"; axis = ""; sourceAddress="clamp"; minValue=-1; maxValue=1; angle0="rad -80"; angle1="rad +80"; }; class adf_Horizon_02_z { type = "rotationZ"; source = "horizonBank"; selection = "hexa_horizon_02"; axis = ""; sourceAddress="clamp"; minValue=-1; maxValue=1; angle0="rad -80"; angle1="rad +80"; }; class adf_Compas_01 { type = "rotation"; source = "direction"; selection = "hexa_compas_01"; axis = "hexa_axe_compas_01"; memory=1; minValue=-3.141593; maxValue=3.141593; angle0=-3.141593; angle1=3.141593; }; class adf_Compas_02 { type = "rotation"; source = "direction"; selection = "hexa_compas_02"; axis = "hexa_axe_compas_02"; memory=1; minValue=-3.141593; maxValue=3.141593; angle0=-3.141593; angle1=3.141593; }; class adf_Fuel_01 { type="translation"; source="fuel"; selection="hexa_fuel_01"; axis="hexa_axe_fuel_01"; memory=1; minValue=0; maxValue=1; offset0=1.65; offset1=0; }; class adf_Fuel_02 { type="translation"; source="fuel"; selection="hexa_fuel_02"; axis="hexa_axe_fuel_02"; memory=1; minValue=0; maxValue=1; offset0=1.65; offset1=0; }; class adf_Tpm_01 { type="translation"; source="rpm"; selection="hexa_tpm_01"; axis="hexa_axe_tpm_01"; memory=1; minValue=0; maxValue=20; offset0=0; offset1=0.5; }; class adf_Tpm_02 { type="translation"; source="rpm"; selection="hexa_tpm_02"; axis="hexa_axe_tpm_02"; memory=1; minValue=0; maxValue=20; offset0=0; offset1=0.5; }; class mainTurret { type="rotationY"; source="mainTurret"; selection="hexa_tigre_canon_tourelle"; axis="hexa_tigre_axe_canon_tourelle"; animPeriod=0; memory=1; minValue="rad -360"; maxValue="rad +360"; angle0="rad -360"; angle1="rad +360"; }; class maingun { type="rotationX"; source="mainGun"; selection="hexa_tigre_canon"; axis="hexa_tigre_axe_canon"; animPeriod=0; memory=1; minValue="rad -360"; maxValue="rad +360"; angle0="rad -360"; angle1="rad +360"; }; //--- amortisseurs trains tigre class adf_tigre_amortisseur_train_avant { type="rotationX"; source="altRadar"; selection="hexa_tigre_amort_train_av"; axis="hexa_tigre_axe_amort_train_av"; memory=1; maxValue=0.1; angle0=-0.139626; angle1=0.000000; }; class adf_tigre_amortisseur_train_arriere { type="rotationX"; source="altRadar"; selection="hexa_tigre_amort_train_ar"; axis="hexa_tigre_axe_amort_train_ar"; memory=1; maxValue=0.1; angle0=-0.139626; angle1=0.000000; }; }; }; class adf_tiger_HAD_CE : adf_tiger {}; }; Edited September 2, 2010 by NZDF CRASH Share this post Link to post Share on other sites
[frl]myke 14 Posted September 2, 2010 "adf_tigre_canon","adf_tigre_canon_tourelle", isn't there missing a line like this before the above? "adf_tigre_canon_tourelle","", "adf_tigre_canon","adf_tigre_canon_tourelle", Besides this, just to make sure: the model file is named adf_tiger.p3d, correct? Share this post Link to post Share on other sites
soul_assassin 1750 Posted September 2, 2010 yep, "adf_tigre_canon_tourelle" should be a fixed to nothing before you can fix something else to it. Share this post Link to post Share on other sites
nzdfcrash 33 Posted September 2, 2010 updated the code on the first post, still broken animations for well everything Share this post Link to post Share on other sites
soul_assassin 1750 Posted September 2, 2010 why the : class Rotation{ type = "rotation"; memory = 1; minValue = 0; maxValue = 1; angle0 = 0; angle1 = 1; }; in the beginning? remove it Share this post Link to post Share on other sites
nzdfcrash 33 Posted September 2, 2010 hmm still no change in the status Share this post Link to post Share on other sites
[frl]myke 14 Posted September 2, 2010 When packing/binarizing, BinPBO usually creates a logfile (unless unticked) where the pbo ends up. Might help if you upload it to www.pastebin.com so we could have a look at this. Share this post Link to post Share on other sites
nzdfcrash 33 Posted September 2, 2010 (edited) heres the logfile. no noteable code errors http://pastebin.com/bXadseZa Edited September 2, 2010 by NZDF CRASH Share this post Link to post Share on other sites
[frl]myke 14 Posted September 3, 2010 Aye, can't see any errors aswell. Try this model.cfg: http://pastebin.com/HEjbbDyB It is based upon my F-16 which i know it works. Also make sure all axis points are in memory LOD. Share this post Link to post Share on other sites
Jantemplar 0 Posted September 3, 2010 Should work now, found some mistakes. class CfgSkeletons { class Helicopter; //Define base class. class adf_tigerBones: Helicopter { isDiscrete=1; skeletonInherit = ""; //Inherit all bones from class Car. skeletonBones[]= { "horizont","", "horizont2","", "kompas","", "rpm","", "adf_horizon_01","", "adf_horizon_02","", "adf_compas_01","", "adf_compas_02","", "adf_fuel_01","", "adf_fuel_02","", "adf_tpm_01","", "adf_tpm_02","", "OtocVez","", "OtocHlaven","OtocVez", "damageHide","", "velka vrtule","damageHide", "mala vrtule","damageHide", "adf_tigre_canon_tourelle","", "adf_tigre_canon","adf_tigre_canon_tourelle", "adf_tigre_amort_train_av","", "adf_tigre_amort_train_ar","" }; }; }; class cfgModels { class Helicopter; class adf_tiger: Helicopter { skeletonName = "adf_tigerBones"; sectionsInherit=""; sections[]= { "horizont","horizont2","kompas","rpm","adf_horizon_01","adf_horizon_02", "adf_compas_01","adf_compas_02","adf_fuel_01","adf_fuel_02","adf_tpm_01","adf_tpm_02", "OtocVez","OtocHlaven","damageHide","velka vrtule","mala vrtule","adf_tigre_canon","adf_tigre_canon_tourelle", "adf_tigre_amort_train_av","adf_tigre_amort_train_ar" }; class Animations { class damageHide { type="hide"; source="damage"; selection="damageHide"; }; class adf_Horizon_01_x { type = "rotationX"; source = "horizonDive"; selection = "hexa_horizon_01"; axis = ""; sourceAddress="clamp"; minValue=-1; maxValue=1; angle0="rad -80"; angle1="rad +80"; }; class adf_Horizon_01_z { type = "rotationZ"; source = "horizonBank"; selection = "hexa_horizon_01"; axis = ""; sourceAddress="clamp"; minValue=-1; maxValue=1; angle0="rad -80"; angle1="rad +80"; }; class adf_Horizon_02_x { type = "rotationX"; source = "horizonDive"; selection = "hexa_horizon_02"; axis = ""; sourceAddress="clamp"; minValue=-1; maxValue=1; angle0="rad -80"; angle1="rad +80"; }; class adf_Horizon_02_z { type = "rotationZ"; source = "horizonBank"; selection = "hexa_horizon_02"; axis = ""; sourceAddress="clamp"; minValue=-1; maxValue=1; angle0="rad -80"; angle1="rad +80"; }; class adf_Compas_01 { type = "rotation"; source = "direction"; selection = "hexa_compas_01"; axis = "hexa_axe_compas_01"; memory=1; minValue=-3.141593; maxValue=3.141593; angle0=-3.141593; angle1=3.141593; }; class adf_Compas_02 { type = "rotation"; source = "direction"; selection = "hexa_compas_02"; axis = "hexa_axe_compas_02"; memory=1; minValue=-3.141593; maxValue=3.141593; angle0=-3.141593; angle1=3.141593; }; class adf_Fuel_01 { type="translation"; source="fuel"; selection="hexa_fuel_01"; axis="hexa_axe_fuel_01"; memory=1; minValue=0; maxValue=1; offset0=1.65; offset1=0; }; class adf_Fuel_02 { type="translation"; source="fuel"; selection="hexa_fuel_02"; axis="hexa_axe_fuel_02"; memory=1; minValue=0; maxValue=1; offset0=1.65; offset1=0; }; class adf_Tpm_01 { type="translation"; source="rpm"; selection="hexa_tpm_01"; axis="hexa_axe_tpm_01"; memory=1; minValue=0; maxValue=20; offset0=0; offset1=0.5; }; class adf_Tpm_02 { type="translation"; source="rpm"; selection="hexa_tpm_02"; axis="hexa_axe_tpm_02"; memory=1; minValue=0; maxValue=20; offset0=0; offset1=0.5; }; class mainTurret { type="rotationY"; source="mainTurret"; selection="hexa_tigre_canon_tourelle"; axis="hexa_tigre_axe_canon_tourelle"; animPeriod=0; memory=1; minValue="rad -360"; maxValue="rad +360"; angle0="rad -360"; angle1="rad +360"; }; class maingun { type="rotationX"; source="mainGun"; selection="hexa_tigre_canon"; axis="hexa_tigre_axe_canon"; animPeriod=0; memory=1; minValue="rad -360"; maxValue="rad +360"; angle0="rad -360"; angle1="rad +360"; }; //--- amortisseurs trains tigre class adf_tigre_amortisseur_train_avant { type="rotationX"; source="altRadar"; selection="hexa_tigre_amort_train_av"; axis="hexa_tigre_axe_amort_train_av"; memory=1; maxValue=0.1; angle0=-0.139626; angle1=0.000000; }; class adf_tigre_amortisseur_train_arriere { type="rotationX"; source="altRadar"; selection="hexa_tigre_amort_train_ar"; axis="hexa_tigre_axe_amort_train_ar"; memory=1; maxValue=0.1; angle0=-0.139626; angle1=0.000000; }; }; }; class adf_tiger_HAD_CE : adf_tiger {} }; Share this post Link to post Share on other sites
[frl]myke 14 Posted September 3, 2010 Then it is in the model. Honestly, hardly can find any errors in the model cfg unless naming doesn't fit with named selections in the model itself. Share this post Link to post Share on other sites
nzdfcrash 33 Posted September 3, 2010 deanos is looking into the whole thing atm to see if he can find the source of the issue which seems really quite bizzare to say the least Share this post Link to post Share on other sites