plasman 0 Posted December 4, 2007 Here is a config I made for a retexture of the SLA. The problem is I get a "Noentry.bin\config.bin/cfgvehicles/cfgGroups.scope" error. It must come fm the groups config but frankly I don't know why. Could you pls help. Quote[/b] ]#define private 0 #define protected 1 #define public 2 #define true 1 #define false 0 #define TEast 0 #define TWest 1 #define TGuerrila 2 #define TCivilian 3 #define TSideUnknown 4 #define TEnemy 5 #define TFriendly 6 #define TLogic 7 class CfgPatches { class RETEXSLA { units[] = {"SLA_SoldierEB", "SLA_TeamLeaderE", "SLA_SquadLeaderE", "SLA_SoldierEG", "SLA_SoldierEMG", "SLA_SoldierEAT", "SLA_SoldierEAA", "SLA_SoldierEMedic", "SLA_SoldierESniper", "SLA_SoldierEMiner", "SLA_OfficerE", "SLA_SoldierESaboteurPipe", "SLA_SoldierESaboteurBizon", "SLA_SoldierESaboteurMarksman" }; weapons[] = {}; requiredVersion = 0.100000; requiredAddons[] = {"CAData","CACharacters","CAWeapons"}; }; }; class CfgVehicleClasses { class SLA_Men { displayName = "SLA RETEX"; }; }; class CfgVehicles { /*extern*/ class SoldierEB; class SLA_SoldierEB: SoldierEB { model = "\Retex_SLA\np_soldier_b"; vehicleClass = "SLA_Men"; }; /*extern*/ class TeamLeaderE; class SLA_TeamLeaderE: TeamLeaderE { model = "\Retex_SLA\np_soldier_b"; vehicleClass = "SLA_Men"; }; /*extern*/ class SquadLeaderE; class SLA_SquadLeaderE: SquadLeaderE { model = "\Retex_SLA\np_soldier_b"; vehicleClass = "SLA_Men"; }; /*extern*/ class SoldierEG; class SLA_SoldierEG: SoldierEG { model = "\Retex_SLA\np_soldier_b"; vehicleClass = "SLA_Men"; }; /*extern*/ class SoldierEMG; class SLA_SoldierEMG: SoldierEMG { model = "\Retex_SLA\np_soldier_b"; vehicleClass = "SLA_Men"; }; /*extern*/ class SoldierEAT; class SLA_SoldierEAT: SoldierEAT { model = "\Retex_SLA\np_soldier_b"; vehicleClass = "SLA_Men"; }; /*extern*/ class SoldierEAA; class SLA_SoldierEAA: SoldierEAA { model = "\Retex_SLA\np_soldier_b"; vehicleClass = "SLA_Men"; } /*extern*/ class SoldierEMedic; class SLA_SoldierEMedic: SoldierEMedic { model = "\Retex_SLA\np_soldier_medic"; vehicleClass = "SLA_Men"; }; /*extern*/ class SoldierESniper; class SLA_SoldierESniper: SoldierESniper { model = "\Retex_SLA\np_soldier_sniper"; vehicleClass = "SLA_Men"; }; /*extern*/ class SoldierEMiner; class SLA_SoldierEMiner: SoldierEMiner { model = "\Retex_SLA\np_soldier_mine"; vehicleClass = "SLA_Men"; }; /*extern*/ class OfficerE; class SLA_OfficerE: OfficerE { model = "\Retex_SLA\np_soldier_sabot"; weapons[] = {"AK74","Makarov","Binocular","NVGoggles","Th row","Put"}; magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "HandGrenade", "HandGrenade", "PipeBomb"}; vehicleClass = "SLA_Men"; }; /*extern*/ class SoldierESaboteurPipe; class SLA_SoldierESaboteurPipe: SoldierESaboteurPipe { model = "\Retex_SLA\np_soldier_sabot"; vehicleClass = "SLA_Men"; }; /*extern*/ class SoldierESaboteurBizon; class SLA_SoldierESaboteurBizon: SoldierESaboteurBizon { model = "\Retex_SLA\np_soldier_sabot"; vehicleClass = "SLA_Men"; }; /*extern*/ class SoldierESaboteurMarksman; class SLA_SoldierESaboteurMarksman: SoldierESaboteurMarksman { model = "\Retex_SLA\np_soldier_sabot"; vehicleClass = "SLA_Men"; }; class CfgGroups { class East { name="OPFOR"; class SLA_Troops { name="Squads_SLA"; class SLA_BasicSquad { name="SLA_Basic_Squad"; class Unit0 { vehicle="SLA_SquadLeaderE"; name="1"; rank="Sergeant"; side = 0; position[]={0,0,0}; }; class Unit1 { name="2"; vehicle="SLA_TeamLeaderE"; rank="Corporal"; side = 0; position[]={5,-2,0}; }; class Unit2 { name="3"; vehicle="SLA_TeamLeaderE"; rank="Corporal"; side = 0; position[]={-5,-2,0}; }; class Unit3 { name="4"; vehicle="SLA_SoldierESniper"; rank="Private"; side = 0; position[]={5,-4,0}; }; class Unit4 { name="5"; vehicle="SLA_SoldierEAT"; rank="Private"; side = 0; position[]={-5,-4,0}; }; class Unit5 { name="6"; vehicle="SLA_SoldierEMG"; rank="Private"; side = 0; position[]={7,-2,0}; }; class Unit6 { name="7"; vehicle="SLA_SoldierEMG"; rank="Private"; side = 0; position[]={-7,-2,0}; }; class Unit7 { name="8"; vehicle="SLA_SoldierEG"; rank="Private"; side = 0; position[]={7,-4,0}; }; class Unit8 { name="9"; vehicle="SLA_SoldierEG"; rank="Private"; side = 0; position[]={-7,-4,0}; }; class Unit9 { name="10"; vehicle="SLA_SoldierEMedic"; rank="Private"; side = 0; position[]={0,-6,0}; }; }; }; }; Share this post Link to post Share on other sites
Planck 1 Posted December 4, 2007 After a quick look I can see that class CfgGroups isn't closed. you need one more }; on the end. Planck Share this post Link to post Share on other sites
plasman 0 Posted December 4, 2007 After a quick look I can see that class CfgGroups isn't closed. you need one more }; on the end.Planck Thanks plank Share this post Link to post Share on other sites
plasman 0 Posted December 5, 2007 After a quick look I can see that class CfgGroups isn't closed. you need one more }; on the end.Planck Sorry ain't working. Still get the same error message and (of course) the squad doesn't show up in the editor screen Share this post Link to post Share on other sites
Planck 1 Posted December 5, 2007 Aye, well, I should have paid more attention to your blurb at the beginning of your first post. It is looking for the scope entry in your cfgGroups section, so adding one in might resolve that error.....possibly scope=public;, or 2, whichever takes your fancy. I suggest you check your RPT file for any other entries that it has found missing from the cfgGroups section, quite often it only reports the first one it finds but the RPT file will list them all. Although, quite why cfgGroups would nees a scope entry is beyond me. Planck Share this post Link to post Share on other sites
plasman 0 Posted December 5, 2007 Thanks for having taken the time to answer Let me know if I got it right: Do you mean I shall add : scope=public; just after class CfgGroups i.e : class CfgGroups scope=public; { class East { name="OPFOR"; class SLA_Troops etc... Share this post Link to post Share on other sites
Planck 1 Posted December 5, 2007 Yes, I would try that, though as I said I don't know why it would need it, I have not seen a cfgGroups section that had a scope entry before. Planck Share this post Link to post Share on other sites
plasman 0 Posted December 7, 2007 Thks. But...no cigar Guess I will have to retype the config entirely (or at least the group config), maybe there's a typing mistake I didn't spot somewhere. Share this post Link to post Share on other sites
BilOlson 0 Posted January 3, 2008 Get it working? I do have a example or two , that work, if you need it.. Example with two squads same side (West), i left some other parts of cpp in there so you can see where I happened to place it in config. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgVehicleClasses { class ASP_NU { displayName = "US Army 5th SFG (ASP)"; }; }; class CfgGroups ///////////////////////CfgGroups Starts { class West { name="BLUEFOR"; class ASP_SFus_Teams { name="US SF Teams (ASP)"; class ASP_5SF_Team_1 { name="5th SFG A-Team1"; class Unit0{ side=1; name="soldier5"; vehicle="NU3"; // Detach Commander rank="MAJOR"; player="PLAY CDG"; position[]={0,5,0}; }; class Unit2{ side=1; name="soldier2"; vehicle="NU2"; // Assistant Weapons NCO rank="MAJOR"; position[]={10,0,0}; }; class Unit4{ side=1; name="soldier1"; vehicle="NU1"; // Enginerr NCO rank="CAPTAIN"; position[]={-10,0,0}; }; class Unit8{ side=1; name="soldier9"; vehicle="NU9"; // Assitant Medical rank="SERGEANT"; position[]={15,0,0}; }; class Unit9{ side=1; name="soldier10"; vehicle="NU10"; // Weapons NCO rank="SERGEANT"; position[]={-15,0,0}; }; class Unit11{ side=1; name="soldier12"; vehicle="NU12"; // Assistant Communications rank="SERGEANT"; position[]={20,0,0}; }; class Unit13{ side=1; name="soldier14"; vehicle="NU14"; // USAF Combat Controller rank="SERGEANT"; position[]={-20,0,0}; }; }; class ASP_5SF_Team_2 { name="5th SFG A-Team2"; class Unit1{ side=1; name="soldier3"; vehicle="NU5"; // Executive Officer rank="CORPORAL"; position[]={0,5,0}; }; class Unit5{ side=1; name="soldier6"; vehicle="NU6"; // Medical NCO rank="CORPORAL"; position[]={10,0,0}; }; class Unit7{ side=1; name="soldier8"; vehicle="NU8"; // Assistant Engineer rank="SERGEANT"; position[]={15,0,0}; }; class Unit10{ side=1; name="soldier11"; vehicle="NU11"; // Communications NCO rank="SERGEANT"; position[]={-10,0,0}; }; class Unit3{ side=1; name="soldier4"; vehicle="NU4"; // Operation NCO rank="CORPORAL"; position[]={-15,0,0}; }; class Unit12{ side=1; name="soldier13"; vehicle="NU13"; // Interperter rank="PRIVATE"; position[]={20,0,0}; }; class Unit6{ side=1; name="soldier7"; vehicle="NU7"; // Intelligence Officer rank="CORPORAL"; position[]={-20,0,0}; }; }; }; }; };/*///////////////////////////////////////cfgGroups Ends//////*/ class CfgVehicles { /*extern*/ class SoldierWAR; /*extern*/ class SoldierWSniper; /*extern*/ class SoldierWSaboteur; class NU1: SoldierWSniper Heres example #2 1 team (this particualr team has my units plus default BIS units in it) <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgVehicleClasses { class ASP { displayName = "SF Units (ASP)"; }; }; class CfgGroups { class West { name="BLUEFOR"; class ASP_SF_Teams { name="SF Teams (ASP)"; class ASP_SF_Team_1 { name="9 man SF Team"; class Unit0{ side=1; name="soldier1"; vehicle="SoldierWSaboteurRecon"; rank="SERGEANT"; player="PLAY CDG"; position[]={0,5,0}; }; class Unit1{ side=1; name="soldier2"; vehicle="sfHSniper"; rank="CORPORAL"; position[]={3,0,0}; }; class Unit2{ side=1; name="soldier3"; vehicle="sfMGunner"; rank="CORPORAL"; position[]={5,0,0}; }; class Unit3{ side=1; name="soldier4"; vehicle="sfEngineer"; rank="CORPORAL"; position[]={7,0,0}; }; class Unit4{ side=1; name="soldier5"; vehicle="sfMedic"; rank="CORPORAL"; position[]={9,0,0}; }; class Unit5{ side=1; name="soldier6"; vehicle="SoldierWSaboteurMarksman"; rank="PRIVATE"; position[]={11,0,0}; }; class Unit6{ side=1; name="soldier7"; vehicle="SoldierWSaboteurRecon"; rank="PRIVATE"; position[]={13,0,0}; }; class Unit7{ side=1; name="soldier8"; vehicle="SoldierWSaboteurPipe"; rank="PRIVATE"; position[]={15,0,0}; }; class Unit8{ side=1; name="soldier9"; vehicle="SoldierWSaboteurPipe"; rank="PRIVATE"; position[]={17,0,0}; }; }; /*///////////////////////////////////////ASP SF Team 1 Ends//////*/ }; /*///////////////////////////////////////ASP SF Teams Ends//////*/ };/*///////////////////////////////////////West Ends//////*/ Hope this helps Share this post Link to post Share on other sites
plasman 0 Posted January 7, 2008 Thanks for these examples Share this post Link to post Share on other sites