Sakai 1 Posted April 24, 2013 Heyoh lads! I got a unusual problem I never got before and oxygen 2 is telling me that the problem is coming out from model.cfg so I had to make a type or forgot something but I kept on looking and found nothing :| Here is the error! ---------------------------Buldozer Viewer --------------------------- ar15\model.cfg, line 36: Config: End of line encountered after (null) --------------------------- OK --------------------------- My model.cfg http://pastebin.com/UMeuAG27 Could anyone point me out? :) Share this post Link to post Share on other sites
surpher 1 Posted April 24, 2013 You have a extra ," in this part. sections[]= { "zasleh","magazine","zamek","ironsights","siderail","bullet_cover","trigger","fire_selector_switch"," }; Share this post Link to post Share on other sites
Sakai 1 Posted April 24, 2013 Doh, how could of I not see that >.< however after that im getting another error... --------------------------- \ar15\model.cfg, line 147: '/CfgModels/Animations.': '{' encountered instead of '=' --------------------------- OK --------------------------- Which is rather weird because I use the same layout on my M16A1 :-| and I had no model.cfg problems Share this post Link to post Share on other sites
koffeinflummi 96 Posted April 24, 2013 You might have 2 parantheses too much here (marked in red): class sak_ar15: Default { sections[]= { "zasleh","magazine","zamek","ironsights","siderail","bullet_cover","trigger","fire_selector_switch" }; skeletonName="sak_ar15"; [color="#FF0000"]};[/color] class Animations { .... class fire_selector_switch { .... }; [color="#FF0000"]{[/color] class unloaded_magazine_hide { ... }; }; }; Share this post Link to post Share on other sites
Sakai 1 Posted April 24, 2013 You might have 2 parantheses too much here (marked in red): class sak_ar15: Default { sections[]= { "zasleh","magazine","zamek","ironsights","siderail","bullet_cover","trigger","fire_selector_switch" }; skeletonName="sak_ar15"; [color="#FF0000"]};[/color] class Animations { .... class fire_selector_switch { .... }; [color="#FF0000"]{[/color] class unloaded_magazine_hide { ... }; }; }; That { by unloaded magazine hide did fix something because now it says something different O.o ---------------------------\ar15\model.cfg, line 148: '/CfgModels/Animations/unloaded_magazine_hide.': '{' encountered instead of '=' --------------------------- OK --------------------------- Share this post Link to post Share on other sites
roberthammer 582 Posted April 24, 2013 In line 148 you got another { - which cause the problem Share this post Link to post Share on other sites
koffeinflummi 96 Posted April 24, 2013 Since I'm not quite sure how you're file looks like now, can you try this one?: http://pastebin.com/w7U27VJf Share this post Link to post Share on other sites
roberthammer 582 Posted April 24, 2013 //:edit nvm :D Share this post Link to post Share on other sites
Sakai 1 Posted April 24, 2013 Doh thanks lads, those edits are very... Hard to digest... Share this post Link to post Share on other sites
koffeinflummi 96 Posted April 24, 2013 Doh thanks lads, those edits are very... Hard to digest... Does that mean it works? Share this post Link to post Share on other sites
Sakai 1 Posted April 24, 2013 Does that mean it works? Yap works perfectly fine! Share this post Link to post Share on other sites