brad7 4 Posted December 29, 2013 I get the error "Config: some input after EndofFile" enum { destructengine = 2, destructdefault = 6, destructwreck = 7, destructtree = 3, destructtent = 4, stabilizedinaxisx = 1, stabilizedinaxesxyz = 4, stabilizedinaxisy = 2, stabilizedinaxesboth = 3, destructno = 0, stabilizedinaxesnone = 0, destructman = 5, destructbuilding = 1 }; class CfgPatches { class Bcg_Flek_Troop { units[] = {}; weapons[] = {}; requiredAddons[] = {"A3_Characters_F"}; }; }; class cfgFactionClasses { class Ger_Units { displayName = "Bundeswehr"; priority = 3; side = 1; }; }; class CfgVehicles { class B_Soldier_base_F; class Bcg_Flek_Troop : B_Soldier_base_F { _generalMacro = "B_Soldier_F"; side = 1; faction = "Ger_Units"; scope = 2; displayName = "Rifleman"; nakedUniform = "U_BasicBody"; uniformClass = "Ger_Flek"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"FlekUniform\data\FlekUniform_co.paa"}; model = "\A3\Characters_F\blufor\b_soldier_01.p3d"; identityTypes[] = {"NoGlasses"}; Backpack = "Flek_Pack"; weapons = {"arifle_MX_Black_Hamr_pointer_F","throw","put","binocular"}; respawnweapons = {"arifle_MX_Black_Hamr_pointer_F","throw","put","binocular"}; magazines = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","SmokeShell"}; respawnmagazines = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","SmokeShell"}; linkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; class Bcg_Flek_Troop2 : B_Soldier_base_F { _generalMacro = "B_Soldier_F"; side = 1; faction = "Ger_Units"; scope = 2; displayName = "Officer"; nakedUniform = "U_BasicBody"; uniformClass = "Ger_Flek"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"FlekUniform\data\FlekUniform_co.paa"}; model = "\A3\Characters_F\blufor\b_soldier_01.p3d"; identityTypes[] = {"NoGlasses"}; Backpack = ""; weapons = {"hgun_Rook40_f"}; respawnweapons = {"hgun_Rook40_f"}; magazines = {"30Rnd_9x21_Mag","30Rnd_9x21_Mag","30Rnd_9x21_Mag","30Rnd_9x21_Mag"}; respawnmagazines = {"30Rnd_9x21_Mag","30Rnd_9x21_Mag","30Rnd_9x21_Mag","30Rnd_9x21_Mag"}; linkedItems[] = {"Flek_Beret","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"Flek_Beret","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; class Bcg_Flek_Troop3 : B_Solder_F { _generalMacro = "B_Soldier_F"; side = 1; faction = "Ger_Units"; scope = 2; displayName = "Marksman"; nakedUniform = "U_BasicBody"; uniformClass = "Ger_Flek"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"FlekUniform\data\FlekUniform_co.paa"}; model = "\A3\Characters_F\blufor\b_soldier_01.p3d"; identityTypes[] = {"NoGlasses"}; Backpack = "Flek_Pack"; weapons = {"arifle_MXM_Black_SOS_pointer_F","throw","put","binocular"}; respawnweapons = {"arifle_MXM_Black_SOS_pointer_F","throw","put","binocular"}; magazines = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","SmokeShell"}; respawnmagazines = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","SmokeShell"}; linkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; class Bcg_Flek_Troop4 : B_Solder_F { _generalMacro = "B_Soldier_F"; side = 1; faction = "Ger_Units"; scope = 2; displayName = "Medic"; nakedUniform = "U_BasicBody"; uniformClass = "Ger_Flek"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"FlekUniform\data\FlekMedicUniform_co.paa"}; model = "\A3\Characters_F\blufor\b_soldier_01.p3d"; identityTypes[] = {"NoGlasses"}; Backpack = "Flek_MedicPack"; weapons = {"arifle_MX_Black_Hamr_pointer_F","throw","put","binocular"}; respawnweapons = {"arifle_MX_Black_Hamr_pointer_F","throw","put","binocular"}; magazines = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","SmokeShell"}; respawnmagazines = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","SmokeShell"}; linkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; class Bcg_Flek_Troop5 : B_Solder_F { _generalMacro = "B_Soldier_F"; side = 1; faction = "Ger_Units"; scope = 2; displayName = "Machine Gunner"; nakedUniform = "U_BasicBody"; uniformClass = "Ger_Flek"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"FlekUniform\data\FlekUniform_co.paa"}; model = "\A3\Characters_F\blufor\b_soldier_01.p3d"; identityTypes[] = {"NoGlasses"}; Backpack = "Flek_Pack"; weapons = {"LMG_MK200_F","throw","put","binocular"}; respawnweapons = {"LMG_MK200_F","throw","put","binocular"}; magazines = {"200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","HandGrenade","SmokeShell"}; respawnmagazines = {"200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","HandGrenade","SmokeShell"}; linkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; class cfgWeapons { class Uniform_Base; class UniformItem; class Ger_Flek : Uniform_Base { scope = 2; displayName = "Flecktarn Uniform(GER)"; picture = "\A3\Characters_F\data\ui\icon_u_b_combatuniform_mcam_ca.paa"; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "Bcg_Flek_Troop"; //would be same as our made soldier class containerClass = "Supply20"; //how much it can carry mass = 80; //how much it weights }; }; }; Share this post Link to post Share on other sites
Redphoenix 1540 Posted December 30, 2013 Your missing an }; at the very end. Share this post Link to post Share on other sites
brad7 4 Posted December 30, 2013 Still get the same error with that.. Share this post Link to post Share on other sites
surpher 1 Posted December 30, 2013 Looks like you have your cfgWeapons class inside your CfgVehicles class, CfgVehicles needs a closing }; before cfgWeapons starts. Share this post Link to post Share on other sites
[aps]gnat 28 Posted December 30, 2013 The missing }; needs to be just before class cfgWeapons Use a proper Editor like NotePad++ or one of the community ones to see these problems yourself. Share this post Link to post Share on other sites
brad7 4 Posted December 30, 2013 Im using notePad++, but i still get the error after i put the }; in? enum { destructengine = 2, destructdefault = 6, destructwreck = 7, destructtree = 3, destructtent = 4, stabilizedinaxisx = 1, stabilizedinaxesxyz = 4, stabilizedinaxisy = 2, stabilizedinaxesboth = 3, destructno = 0, stabilizedinaxesnone = 0, destructman = 5, destructbuilding = 1 }; class CfgPatches { class Bcg_Flek_Troop { units[] = {}; weapons[] = {}; requiredAddons[] = {"A3_Characters_F"}; }; }; class cfgFactionClasses { class Ger_Units { displayName = "Bundeswehr"; priority = 3; side = 1; }; }; class CfgVehicles { class B_Soldier_base_F; class Bcg_Flek_Troop : B_Soldier_base_F { _generalMacro = "B_Soldier_F"; side = 1; faction = "Ger_Units"; scope = 2; displayName = "Rifleman"; nakedUniform = "U_BasicBody"; uniformClass = "Ger_Flek"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"FlekUniform\data\FlekUniform_co.paa"}; model = "\A3\Characters_F\blufor\b_soldier_01.p3d"; identityTypes[] = {"NoGlasses"}; Backpack = "Flek_Pack"; weapons = {"arifle_MX_Black_Hamr_pointer_F","throw","put","binocular"}; respawnweapons = {"arifle_MX_Black_Hamr_pointer_F","throw","put","binocular"}; magazines = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","SmokeShell"}; respawnmagazines = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","SmokeShell"}; linkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; class Bcg_Flek_Troop2 : B_Soldier_base_F { _generalMacro = "B_Soldier_F"; side = 1; faction = "Ger_Units"; scope = 2; displayName = "Officer"; nakedUniform = "U_BasicBody"; uniformClass = "Ger_Flek"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"FlekUniform\data\FlekUniform_co.paa"}; model = "\A3\Characters_F\blufor\b_soldier_01.p3d"; identityTypes[] = {"NoGlasses"}; Backpack = ""; weapons = {"hgun_Rook40_f"}; respawnweapons = {"hgun_Rook40_f"}; magazines = {"30Rnd_9x21_Mag","30Rnd_9x21_Mag","30Rnd_9x21_Mag","30Rnd_9x21_Mag"}; respawnmagazines = {"30Rnd_9x21_Mag","30Rnd_9x21_Mag","30Rnd_9x21_Mag","30Rnd_9x21_Mag"}; linkedItems[] = {"Flek_Beret","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"Flek_Beret","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; class Bcg_Flek_Troop3 : B_Solder_F { _generalMacro = "B_Soldier_F"; side = 1; faction = "Ger_Units"; scope = 2; displayName = "Marksman"; nakedUniform = "U_BasicBody"; uniformClass = "Ger_Flek"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"FlekUniform\data\FlekUniform_co.paa"}; model = "\A3\Characters_F\blufor\b_soldier_01.p3d"; identityTypes[] = {"NoGlasses"}; Backpack = "Flek_Pack"; weapons = {"arifle_MXM_Black_SOS_pointer_F","throw","put","binocular"}; respawnweapons = {"arifle_MXM_Black_SOS_pointer_F","throw","put","binocular"}; magazines = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","SmokeShell"}; respawnmagazines = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","SmokeShell"}; linkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; class Bcg_Flek_Troop4 : B_Solder_F { _generalMacro = "B_Soldier_F"; side = 1; faction = "Ger_Units"; scope = 2; displayName = "Medic"; nakedUniform = "U_BasicBody"; uniformClass = "Ger_Flek"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"FlekUniform\data\FlekMedicUniform_co.paa"}; model = "\A3\Characters_F\blufor\b_soldier_01.p3d"; identityTypes[] = {"NoGlasses"}; Backpack = "Flek_MedicPack"; weapons = {"arifle_MX_Black_Hamr_pointer_F","throw","put","binocular"}; respawnweapons = {"arifle_MX_Black_Hamr_pointer_F","throw","put","binocular"}; magazines = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","SmokeShell"}; respawnmagazines = {"30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag","HandGrenade","SmokeShell"}; linkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; class Bcg_Flek_Troop5 : B_Solder_F { _generalMacro = "B_Soldier_F"; side = 1; faction = "Ger_Units"; scope = 2; displayName = "Machine Gunner"; nakedUniform = "U_BasicBody"; uniformClass = "Ger_Flek"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"FlekUniform\data\FlekUniform_co.paa"}; model = "\A3\Characters_F\blufor\b_soldier_01.p3d"; identityTypes[] = {"NoGlasses"}; Backpack = "Flek_Pack"; weapons = {"LMG_MK200_F","throw","put","binocular"}; respawnweapons = {"LMG_MK200_F","throw","put","binocular"}; magazines = {"200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","HandGrenade","SmokeShell"}; respawnmagazines = {"200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","HandGrenade","SmokeShell"}; linkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"Flek_Helmet","Flek_Vest","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; }; class cfgWeapons { class Uniform_Base; class UniformItem; class Ger_Flek : Uniform_Base { scope = 2; displayName = "Flecktarn Uniform(GER)"; picture = "\A3\Characters_F\data\ui\icon_u_b_combatuniform_mcam_ca.paa"; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "Bcg_Flek_Troop"; //would be same as our made soldier class containerClass = "Supply20"; //how much it can carry mass = 80; //how much it weights }; }; }; Share this post Link to post Share on other sites
surpher 1 Posted December 30, 2013 You have arrays missing []. These ones. weapons = {"LMG_MK200_F","throw","put","binocular"}; respawnweapons = {"LMG_MK200_F","throw","put","binocular"}; magazines = {"200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","HandGrenade","SmokeShell"}; respawnmagazines = {"200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","HandGrenade","SmokeShell"}; Should be weapons[] = {"LMG_MK200_F","throw","put","binocular"}; respawnweapons[] = {"LMG_MK200_F","throw","put","binocular"}; magazines[] = {"200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","HandGrenade","SmokeShell"}; respawnmagazines[] = {"200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","200Rnd_65x39_cased_box","HandGrenade","SmokeShell"}; Share this post Link to post Share on other sites
brad7 4 Posted December 30, 2013 Allright cheers for that got it working ingame now :) Share this post Link to post Share on other sites