Jump to content
Sign in to follow this  
lsd

Can't get two addons to work together...

Recommended Posts

Each addon below works fine independently, but as soon as you include both in '-mod' the first one in the load order won't show under CfgPatches or CfgGroups.

 

Why? Other addons which use the same format display correctly and I can see no difference between mine and theirs (tried signing them and no difference).

 

Addon 1:

class CfgPatches
{
    class TEST1
    {
        units[] = {};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {};
    };
};

class CfgGroups
{
    class Empty
    {
        class TEST1
        {
            name = "TEST1";
            class TEST1A
            {
                name = "TEST1A";
                class TEST1B
                {
                    name = "TEST1B";
                    class Object0 {side = 8; vehicle = "Land_HBarrier_Big_F"; rank = ""; position[] = {0,0,0}; dir = 0;};
                };
            };
        };
    };
};

Addon 2:

class CfgPatches
{
    class TEST2
    {
        units[] = {};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {};
    };
};

class CfgGroups
{
    class Empty
    {
        class TEST2
        {
            name = "TEST2";
            class TEST2A
            {
                name = "TEST2A";
                class TEST2B
                {
                    name = "TEST2B";
                    class Object0 {side = 8; vehicle = "Land_HBarrier_Big_F"; rank = ""; position[] = {0,0,0}; dir = 0;};
                };
            };
        };
    };
};

Any help appreciated.

 

https://www.dropbox.com/s/48dh6wxu76usrup/testaddons.zip?dl=0

(Compiled and signed addons non-binary)

Share this post


Link to post
Share on other sites

Is anyone able to assist with this?

 

I've tried every iteration I can think of and just can't get both 'TEST1' and 'TEST2' groups to load at once in separate addons.

 

EDIT: Turns out it was due to the $PBOPREFIX$, thanks to everyone here for all your help. May your dreams not be dreams, Dmitry!

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  

×