Custom Compositions

  1. 6 years ago
    Edited 6 years ago by Opendome

    Im not sure if this is the right place to put this but Im trying to make some custom camps and roadblock compositions. I downloaded the current version from github and edited the compositions_a3/military/urban/checkpoints.hpp. I only did one so far as a test but it seems that it won't appear and actually removes all of the roadblocks from the game.

    class CheckpointsBarricadesMedium
    {
    name = $STR_ZEC_CheckpointsBarricadesMedium;
    class Checkpoint_BLU_G_F {
    name = $STR_ZEC_Guerrilla_CheckpointsBarricadesMedium_Checkpoint; // Credit: 2600K
    icon = "\a3\Ui_f\data\Map\Markers\Flags\fia_ca.paa";
    class Object1 {side = 8; vehicle = "Land_jbad_Wall_StoneD"; rank = ""; position[] = {-12.4602,-0.129883,0}; dir = 195;};
    class Object2 {side = 8; vehicle = "Land_jbad_Wall_StoneD"; rank = ""; position[] = {15.3074,-3.99292,0}; dir = 0;};
    class Object3 {side = 8; vehicle = "Land_jbad_Wall_Stone"; rank = ""; position[] = {-13.2856,1.3562,0}; dir = 285;};
    class Object4 {side = 8; vehicle = "C_Van_01_transport_F"; rank = ""; position[] = {14.998,5.90063,0}; dir = 195.003;};
    class Object5 {side = 8; vehicle = "LOP_ISTS_Static_DSHKM"; rank = ""; position[] = {-7.625,4.125,0}; dir = 165;};
    class Object6 {side = 8; vehicle = "Land_BagFence_Round_F"; rank = ""; position[] = {10.9377,7.13696,0}; dir = 210;};
    class Object7 {side = 8; vehicle = "Land_BagFence_Round_F"; rank = ""; position[] = {-7.34338,6.9458,0}; dir = 180;};
    class Object8 {side = 8; vehicle = "Land_BagFence_Round_F"; rank = ""; position[] = {6.67059,6.87402,0}; dir = 135;};
    class Object9 {side = 8; vehicle = "Land_BagFence_Round_F"; rank = ""; position[] = {-5.67929,5.09326,0}; dir = 270;};
    class Object10 {side = 8; vehicle = "Land_BagFence_Round_F"; rank = ""; position[] = {6.93726,2.86304,0}; dir = 30;};
    class Object11 {side = 8; vehicle = "Land_BagFence_Round_F"; rank = ""; position[] = {-7.32254,3.05713,0}; dir = 345;};
    class Object12 {side = 8; vehicle = "rhs_mags_crate"; rank = ""; position[] = {13.7727,-0.000976563,0}; dir = 75;};
    class Object13 {side = 8; vehicle = "Land_BagFence_Long_F"; rank = ""; position[] = {6.25555,-5.74438,0}; dir = 210;};
    class Object14 {side = 8; vehicle = "Land_BagFence_Long_F"; rank = ""; position[] = {-11.373,-5.49219,0}; dir = 180;};
    class Object15 {side = 8; vehicle = "Land_BagFence_Long_F"; rank = ""; position[] = {8.63055,-7.11938,0}; dir = 210;};
    class Object16 {side = 8; vehicle = "Land_BagFence_Long_F"; rank = ""; position[] = {-6.12717,-4.11743,0}; dir = 150;};
    class Object17 {side = 8; vehicle = "Land_BagFence_Long_F"; rank = ""; position[] = {11.1289,-8.24316,0}; dir = 195;};
    class Object18 {side = 8; vehicle = "Land_BagFence_Long_F"; rank = ""; position[] = {-8.62512,-5.11694,0}; dir = 165;};
    class Object19 {side = 8; vehicle = "Land_BagFence_Short_F"; rank = ""; position[] = {10.246,2.38477,0}; dir = 60;};
    class Object20 {side = 8; vehicle = "Land_BagFence_Short_F"; rank = ""; position[] = {9.11447,2.87378,0}; dir = 345;};
    class Object21 {side = 8; vehicle = "Land_BagFence_Short_F"; rank = ""; position[] = {6.24854,4.8645,0}; dir = 270;};
    class Object22 {side = 8; vehicle = "Land_BagFence_Short_F"; rank = ""; position[] = {-9.36447,3.37354,0}; dir = 180;};
    class Object23 {side = 8; vehicle = "Land_BagFence_Short_F"; rank = ""; position[] = {8.86447,7.25146,0}; dir = 0;};
    class Object24 {side = 8; vehicle = "Land_BagFence_End_F"; rank = ""; position[] = {12.0118,5.25024,0}; dir = 60;};
    class Object25 {side = 8; vehicle = "Land_BagFence_End_F"; rank = ""; position[] = {11.5386,1.45679,0}; dir = 15;};
    class Object26 {side = 8; vehicle = "Land_BagFence_End_F"; rank = ""; position[] = {-10.8749,2.86328,0}; dir = 150;};
    class Object27 {side = 8; vehicle = "Dirthump_1_F"; rank = ""; position[] = {16.9558,-3.45117,0}; dir = 258.305;};
    class Object28 {side = 8; vehicle = "Land_Ancient_Wall_8m_F"; rank = ""; position[] = {17.1483,3.8938,0}; dir = 105;};
    };
    };

  2. I also tried adding other static weapons to the mil_cqb

    #define SUPERCLASS ALIVE_fnc_baseClassHash
    #define MAINCLASS ALIVE_fnc_CQB

    #define MTEMPLATE "ALiVE_CQB_%1"
    #define DEFAULT_BLACKLIST []
    #define DEFAULT_WHITELIST []
    #define DEFAULT_STATICWEAPONS ["LOP_AM_Static_DSHKM","LOP_AM_Kord","LOP_AM_Static_SPG9","LOP_AM_NSV_TriPod","LOP_PESH_IND_Static_M252","rhs_2b14_82mm_vdv"]

    but I dont think its working either, when IO try and launch it the mission doesn't fully load and the CQB module in the editor doesn't have the image anymore

  3. You can actually add roadblocks and compositions through via description.ext. They have to be in the correct class/namespace though, use the configviewer (configViewer >> "CfgGroups" >> "Empty") to find out the correct spot to place them.

  4. Edited 6 years ago by Opendome

    Thanks! I tried putting

       class CheckpointsBarricadesLarge
        {
            name = $STR_ZEC_CheckpointsBarricadesLarge;
        };
        class CheckpointsBarricadesMedium
        {
            name = $STR_ZEC_CheckpointsBarricadesMedium;
    		class Checkpoint_BLU_G_F {
    			name = $STR_ZEC_Guerrilla_CheckpointsBarricadesMedium_Checkpoint; // Credit: 2600K
    			icon = "\a3\Ui_f\data\Map\Markers\Flags\fia_ca.paa";
    			class Object0 {side = 8; vehicle = "Land_jbad_Wall_StoneD"; rank = ""; position[] = {-12.4602,-0.129883,0}; dir = 195;};
    			class Object1 {side = 8; vehicle = "Land_jbad_Wall_StoneD"; rank = ""; position[] = {15.3074,-3.99292,0}; dir = 0;};
    			class Object2 {side = 8; vehicle = "Land_jbad_Wall_Stone"; rank = ""; position[] = {-13.2856,1.3562,0}; dir = 285;};
    			class Object3 {side = 8; vehicle = "C_Van_01_transport_F"; rank = ""; position[] = {14.998,5.90063,0}; dir = 195.003;};
    			class Object4 {side = 8; vehicle = "LOP_ISTS_Static_DSHKM"; rank = ""; position[] = {-7.625,4.125,0}; dir = 165;};
    			class Object5 {side = 8; vehicle = "Land_BagFence_Round_F"; rank = ""; position[] = {10.9377,7.13696,0}; dir = 210;};
    			class Object6 {side = 8; vehicle = "Land_BagFence_Round_F"; rank = ""; position[] = {-7.34338,6.9458,0}; dir = 180;};
    			class Object7 {side = 8; vehicle = "Land_BagFence_Round_F"; rank = ""; position[] = {6.67059,6.87402,0}; dir = 135;};
    			class Object8 {side = 8; vehicle = "Land_BagFence_Round_F"; rank = ""; position[] = {-5.67929,5.09326,0}; dir = 270;};
    			class Object9 {side = 8; vehicle = "Land_BagFence_Round_F"; rank = ""; position[] = {6.93726,2.86304,0}; dir = 30;};
    			class Object10 {side = 8; vehicle = "Land_BagFence_Round_F"; rank = ""; position[] = {-7.32254,3.05713,0}; dir = 345;};
    			class Object11 {side = 8; vehicle = "rhs_mags_crate"; rank = ""; position[] = {13.7727,-0.000976563,0}; dir = 75;};
    			class Object12 {side = 8; vehicle = "Land_BagFence_Long_F"; rank = ""; position[] = {6.25555,-5.74438,0}; dir = 210;};
    			class Object13 {side = 8; vehicle = "Land_BagFence_Long_F"; rank = ""; position[] = {-11.373,-5.49219,0}; dir = 180;};
    			class Object14 {side = 8; vehicle = "Land_BagFence_Long_F"; rank = ""; position[] = {8.63055,-7.11938,0}; dir = 210;};
    			class Object15 {side = 8; vehicle = "Land_BagFence_Long_F"; rank = ""; position[] = {-6.12717,-4.11743,0}; dir = 150;};
    			class Object16 {side = 8; vehicle = "Land_BagFence_Long_F"; rank = ""; position[] = {11.1289,-8.24316,0}; dir = 195;};
    			class Object17 {side = 8; vehicle = "Land_BagFence_Long_F"; rank = ""; position[] = {-8.62512,-5.11694,0}; dir = 165;};
    			class Object18 {side = 8; vehicle = "Land_BagFence_Short_F"; rank = ""; position[] = {10.246,2.38477,0}; dir = 60;};
    			class Object19 {side = 8; vehicle = "Land_BagFence_Short_F"; rank = ""; position[] = {9.11447,2.87378,0}; dir = 345;};
    			class Object20 {side = 8; vehicle = "Land_BagFence_Short_F"; rank = ""; position[] = {6.24854,4.8645,0}; dir = 270;};
    			class Object21 {side = 8; vehicle = "Land_BagFence_Short_F"; rank = ""; position[] = {-9.36447,3.37354,0}; dir = 180;};
    			class Object22 {side = 8; vehicle = "Land_BagFence_Short_F"; rank = ""; position[] = {8.86447,7.25146,0}; dir = 0;};
    			class Object23 {side = 8; vehicle = "Land_BagFence_End_F"; rank = ""; position[] = {12.0118,5.25024,0}; dir = 60;};
    			class Object24 {side = 8; vehicle = "Land_BagFence_End_F"; rank = ""; position[] = {11.5386,1.45679,0}; dir = 15;};
    			class Object25 {side = 8; vehicle = "Land_BagFence_End_F"; rank = ""; position[] = {-10.8749,2.86328,0}; dir = 150;};
    			class Object26 {side = 8; vehicle = "Dirthump_1_F"; rank = ""; position[] = {16.9558,-3.45117,0}; dir = 258.305;};
    			class Object27 {side = 8; vehicle = "Land_Ancient_Wall_8m_F"; rank = ""; position[] = {17.1483,3.8938,0}; dir = 105;};
    		};
        };
  5. Hmmm no matter what I do I cant get em to work :(

  6. Any errors, etc in your RPT file?

  7. Tbh not sure what the required steps were for defining compositions via description.ext, was a hassle though.

  8. Yea I've been having a really tough time getting any custom stuff working, editing the composition in the AlIVE github version just broke the whole file and no matter what I do with the description it doesn't seem to work :(

 

or Sign Up to reply!