Jump to content
Sign in to follow this  
daeiea

ORBAT cannot take more than one subordinate

Recommended Posts

class CfgORBAT
{
class 1stBn
{
id = 1;
idType = 0;
side = "East";
size = "Battalion";
type = "Infantry";
commander = "Anderson";
commanderRank = "Colonel";
text = "%1 %2 %3"; 
textShort = "%1 %2 Assault Battalion";
colorInisgnia[] = {0,0,0,1};
description = "After the flashpoint on Altis and Stratis, the 27th Mechanized Regiment 'Griffin' was given a handfull of new battalions, including the 1st Infantry Assault lead by Colonel Reed Anderson."; 
subordinates[] = {ACo};
};
 
class ACo
{
id = 1;
idType = 2;
type = "Infantry";
size = "Company";
side = "East";
commander = "<InsertNameHere>";
commanderRank = "Captain";
text = "%1 %3";
textShort = "A %3";
subordinates[] = {Yellow, Red};
colorInisgnia[] = {0,0,0,1};
};
 
class BCo
{
id = 2;
idType = 2;
type = "Recon";
size = "Company";
side = "East";
commander = "<InsertNameHere>";
commanderRank = "Captain";
text = "%1 %3";
textShort = "B %3";
colorInisgnia[] = {0,0,0,1};
 };
 
class Airforce
{
id = 3;
idType = 2;
type = "AviationSupport";
size = "Platoon";
side = "East";
commander = "<InsertNameHere>";
commanderRank = "Captain";
text = "Hydra %3";
textShort = "Hydra";
colorInisgnia[] = {0,0,0,1};
 };
 
class Support
{
id = 4;
idType = 0;
type = "Support";
size = "Platoon";
side = "East";
commander = "<InsertNameHere>";
commanderRank = "Lieutenant";
text = "Support Group";
textShort = "Support Group";
colorInisgnia[] = {0,0,0,1};
 };
 
class Yellow
{
id = 4
idType = 3
type = "MechanizedInfantry"
size = "Platoon"
side = "East"
commander = "<InsertNameHere>";
commanderRank = "Lieutenant";
text = "Viper-%1 Mechanized Infantry";
textShort = "Viper-%1";
colorInisgnia[] = {0,0,0,1};
};
 
class Red
{
id = 1
idType = 3
type = "Maritime"
size = "Platoon"
side = "East"
commander = "<InsertNameHere>";
commanderRank = "Lieutenant";
text = "Viper-%1 Marinal Infantry";
textShort = "Viper-%1";
colorInisgnia[] = {0,0,0,1};
};
};

Didn't have your subordinate under 1stBn, also found missing "", ;, should work fine now  :D

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×