yme3 0 Posted October 27, 2022 So, i was trying to make an orbat for the first time, but it is quite the struggle and i do not know what is wrong... i am getting an error that says there is an error on line 14:/CfgORBAT/: "C" Encountered instead of }, can anyone please help? class CfgORBAT { class IranianForces { id = 1; idType = 0; side = "East"; commander = "Petrisnov"; commanderRank = "General"; text = "Army of the Iranian Goverment"; subordinates[] = {Sigma Company}; description = "The Army of the Iranian Goverment has invaded it's neighboring country of Chernarus"; }; class Sigma Company { id = 1; idType = 0; side = "East"; size = "Company"; type = "mechanizedInfantry"; commander = "Gomez"; commanderRank = "Captain"; subordinates[] = {1st Platoon}; }; class 1st Platoon { side = "East"; size = "Platoon"; type = "mechanizedInfantry"; commander = "Nunez"; commanderRank = "captain"; description = "It is said that the captain fights alongside his troops, look for him"; subordinates[] = {AA Section, mortar}; }; class AA Section { id = 1; idType = 2; side = "West"; size = "squad"; type = "infantry"; commander = "Gomez"; commanderRank = "captain"; text = "%1 %2 %3"; textShort = "%1 %2"; color[] = {0,1,0,1}; }; class mortar { id = 4; idType = 2; side = "East"; size = "section"; type = "mortar"; commander = "Gravonski"; commanderRank = "corporal"; text = "%1 %2 %3"; textShort = "%1 %2"; color[] = {0,0,1,1}; }; }; Share this post Link to post Share on other sites
gc8 970 Posted October 27, 2022 i don't know much about orbats but you can't have white spaces in the class names. hope that helps a little 1 Share this post Link to post Share on other sites
Melody_Mike 127 Posted October 30, 2022 I'm not behind my PC, but I suspect @gc8 is correct. Line 14 in your code is: On 10/27/2022 at 11:40 AM, yme3 said: class Sigma Company And I believe that classnames don't have spaces. Would explain why the game is reading "C". Another tip I would give for working with CfgORBAT is that the game gives very little feedback. Eg: if an image isn't correctly referenced, or has wrong formatting/dimensions, then the module will simply not load in the mission, instead of giving an error message. Same if you enter an unrecognized value in a parameter, such as color = "colorIND" , even though colorWEST is given as an example in the BIKI. Many examples like this. Just be prepared for a lot of trial an error. Share this post Link to post Share on other sites