theevancat 277 Posted September 20, 2014 So I've been using the model.cfg from Zach Gibson's weapon tutorial and I've just been trying to set up simple preliminary reload and empty animations for my weapon. However, whenever I try to spin up Buldozer to see it, I always get an error like this: File P:\CSAT_Weapons\VEPR-34\model.cfg, line 40:/CfgModels/: '-' encountered instead of '{' For reference: class CfgSkeletons { class Default { isDiscrete=1; skeletonInherit=""; skeletonBones[]={}; }; class tb_arifle_m16a4_base: Default { skeletonBones[]= { "magazine", "", "bolt", "" }; }; }; class CfgModels { class Default { sectionsInherit=""; sections[]={}; skeletonName=""; }; class tb_arifle_m16a4_base: Default { sections[]= { "magazine", "bolt" }; skeletonName="tb_arifle_m16a4_base"; class Animations { }; }; class VEPR-34: tb_arifle_m16a4_base { class Animations { class magazine_reload_move_1 { type="translation"; source="reloadMagazine"; selection="magazine"; axis="magazine_axis"; minValue=0.145; maxValue=0.2; offset0=0; offset1=0.40000001; }; class magazine_hide { type="hide"; source="reloadMagazine"; selection="magazine"; minValue= 0; maxValue=1; minPhase= 0; maxPhase=1; hideValue=1; sourceAddress="mirror"; }; class bolt_empty { type="translation"; source="isempty"; selection="bolt"; memory=1; sourceAddress="clamp"; minValue=0; maxValue=1; begin="bolt_start"; end="bolt_end"; offset0=0; offset1=1; }; }; }; }; Am new to weapon configs. What do? Share this post Link to post Share on other sites
dezkit 28 Posted September 20, 2014 you can't have - in class names class VEPR-34: tb_arifle_m16a4_base to class VEPR34: tb_arifle_m16a4_base and make sure thats gonna be the name of the p3d (VEPR34.p3d) or animations WONT work 1 1 Share this post Link to post Share on other sites