Jump to content

Recommended Posts

I have a problem when I try to place an "ORBAT" on my map. However, I've already tried several things and nothing worked, what could it be?

(My EXT document):

class CfgORBAT
{
    class 2ndDivision
    {
        id = 2;
        idType = 0;
        side = "West";
        size = "Company";
        type = "Infantry";
        commander = "Baller";
        commanderRank = "Major";
        text = "%1 %2 %3";
        textShort = "%1 %3";
        color[] = {0,0,1,1};
        assets[] = {"B_officer_F, 1"};
    }
        class 1stSquad
        {
            id = 1;
            idType = 0;
            side = "West";
            size = "Squad";
            type = "Infantry";
            commander = "Caos";
            commanderRank = "Lieutenant";
            text = "%1 %2 %3";
            textShort = "%1 %3";
            color[] = {0,0,1,1};
            assets[] = {"B_officer_F, 1"};
        };
    };
};

-------------------------------------------------
(My ORBAT GROUP looked like this):

CfgORBAT Path: [missionConfigFile >> "CfgORBAT" >> "2ndDivision" >> "1stSquad"] call BIS_fnc_ORBATGetGroupParams;
CfgORBAT Ceiling: [missionConfigFile >> "CfgORBAT" >> "2ndDivision"] call BIS_fnc_ORBATGetGroupParams;

 

(First error:):

'...) then {_tiers = -1;};

_class =, _class [*]param [0, configfile, [configfile]];
_stop...'
Error type Strings, waiting Config entry
File A3\modules_f\StrategicMap\Functions\fn_moduleStrategicMapORBAT.sqf..., line 16.

----------------------
(Second error, bottom left):

[BIS_fnc_ORBATGetGroupParams] class not found.

 

Share this post


Link to post
Share on other sites

1.Are you using the ORBAT Group Module?

https://community.bistudio.com/wiki/Arma_3:_ORBAT_Viewer

https://community.bistudio.com/wikidata/images/thumb/5/52/A3_ORBATGroup_Module.jpg/400px-A3_ORBATGroup_Module.jpg

 

=> You place the ORBAT Group Module on the Map and fill in the CfgORBAT Path and CfgORBAT Celling

//PATH

missionConfigFile >> "CfgORBAT" >> "2ndDivision" >> "1stSquad"

//Ceiling
missionConfigFile >> "CfgORBAT" >> "2ndDivision"

2. You have 1 bracket to much. If you want that the 1stSquad is under the 2ndDivision, it should look like this (without the closed-bracket before Class 1stSquad)

class CfgORBAT
{
    class 2ndDivision
    {
        id = 2;
        idType = 0;
        side = "West";
        size = "Company";
        type = "Infantry";
        commander = "Baller";
        commanderRank = "Major";
        text = "%1 %2 %3";
        textShort = "%1 %3";
        color[] = {0,0,1,1};
        assets[] = {{"B_MRAP_01_F", 1},{"B_Plane_Fighter_01_F",2}};
    
        class 1stSquad
        {
            id = 1;
            idType = 0;
            side = "West";
            size = "Squad";
            type = "Infantry";
            commander = "Caos";
            commanderRank = "Lieutenant";
            text = "%1 %2 %3";
            textShort = "%1 %3";
            color[] = {0,0,1,1};
            assets[] = {{"B_MRAP_01_F", 1},{"B_Plane_Fighter_01_F",2}};
        };
    };
};

PS: Classnames in Assets are shown as a silhouette/picture in the ORBAT, but that only works for Vehicles. B_officer_F has not silhouette/picture for the ORBAT. (+you were also missing brackets there)

I have added two Vehicles that you can see how it looks when it works.

 

  • Like 1
  • Thanks 1

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

×