Jump to content
Sign in to follow this  
silola

Dynamic-AI-Creator (DAC) V3.0 released

Recommended Posts

Hi :)

Hey guys, some friends in our server are having problems with the Ace backpack feature, we cannot pack anything into our backpacks. This only happens with dac related missions? :S any ideas cause i am puzzled.

If it helps its just stock A2

weedman, You are tapped into the same trap as Manzilla ... sorry :p

If you go back one page, you see, that he had the same problem.

With a small change, you can resolve the problem.

I know arrowhead has been mentioned a few times in this thread but can someone give me a quick overview on how to get DAC working with OA? I'm a bit familiar with DAC as I got it running in Arma2 but I wouldn't know where to begin to get it to work with standalone Arrowhead.

Thanks!

nuggetz, to run DAC with OA, you need a custom DAC_Config_Unit file, where all available units and vehicles from OA are registered.

Then this file must be made available to the DAC.

For more info:

See Readme Page 33 (the configuration-files)

See also the demo mission "# E_31_DAC_intern_single_cfg.utes"

Otherwise, you can also wait until the new version is ready.

There you will find a small example of DAC with OA.

Greeting

Silola

Share this post


Link to post
Share on other sites

Ok, I used the extern with DAC_Config_Unit and have the DAC folder in my missions folder but nothing seems to happen. DAC initializes but doesn't put anything in the zone. Trying to spawn US soldiers in Arrowhead. Maybe I'm missing something.

fun=["z1",[1,0,0],[5,3,10,15],[],[],[],[1,9,1,1]] spawn DAC_Zone

Added Case 9 for US ARMY. Sorry code is a little sloppy, copied and pasted it from a different thread.

//////////////////////////////
//    Dynamic-AI-Creator    //
//    Version 2.1 - 2009    //
//--------------------------//
//    DAC_Config_Units      //
//--------------------------//
//    Script by Silola      //
//    silola@freenet.de     //
//////////////////////////////

private [
           "_TypNumber","_TempArray",
           "_Unit_Pool_S","_Unit_Pool_V","_Unit_Pool_T","_Unit_Pool_A"
       ];

           _TypNumber = _this select 0;_TempArray = [];

switch (_TypNumber) do
{
//-------------------------------------------------------------------------------------------------
   case 0:
   {
       _Unit_Pool_S =    [

                           "RU_Soldier_Crew","RU_Soldier_Pilot","RU_Soldier_SL","RU_Soldier","RU_Soldier_GL",
                           "RU_Soldier_MG","RU_Soldier2","RU_Soldier_Medic","RU_Soldier_AT",
                           "RU_Soldier_Sniper","RU_Soldier_AR","RU_Soldier_Marksman",
                           "RUS_Soldier_Sab","RUS_Soldier_Marksman"    
                       ];

       _Unit_Pool_V =    [    "UAZMG","UralOpen_INS","UAZ_RU","UAZ_AGS30_RU","BRDM2_INS","UAZ_MG_INS","GAZ_Vodnik_HMG","GAZ_Vodnik"];
       _Unit_Pool_T =    [    "T72_RU","ZSU_INS","BMP3","2S6M_Tunguska","T90","BMP3","BTR90"];
       _Unit_Pool_A =    [    "Mi17_rockets_RU","Ka52","Mi24_V","Mi24_P"];
   };
//-------------------------------------------------------------------------------------------------
   case 1:
   {
       _Unit_Pool_S =    [
                           "USMC_Soldier_Crew","USMC_Soldier_Pilot","USMC_Soldier_SL","USMC_Soldier_HAT",
                           "USMC_Soldier_AR","USMC_Soldier_Medic","USMC_Soldier_MG","USMC_Soldier_GL",
                           "USMC_Soldier_AT","USMC_Soldier_LAT","USMC_SoldierS_Sniper","USMC_SoldierS_SniperH","USMC_SoldierS_Spotter",
                           "USMC_SoldierS_Engineer","USMC_SoldierM_Marksman","USMC_Soldier_TL","USMC_Soldier_MG"

                       ];
       _Unit_Pool_V =    [    "HMMWV","HMMWV_M2","MTVR","HMMWV_MK19","HMMWV_Armored","MTVR","LAV25","HMMWV_TOW","HMMWV_Avenger"];
       _Unit_Pool_T =    [    "M1A1","LAV25","M1A2_TUSK_MG","MLRS","AAV"];
       _Unit_Pool_A =    [    "AH1Z","UH1Y","MH60S"];
   };
//-------------------------------------------------------------------------------------------------
   case 2:
   {
       _Unit_Pool_S =    [
                           "GUE_Soldier_Crew","GUE_Soldier_Pilot","GUE_Soldier_CO","GUE_Soldier_Medic",
                           "GUE_Soldier_1","GUE_Soldier_2","GUE_Soldier_3","GUE_Soldier_AR","GUE_Soldier_MG",
                           "GUE_Soldier_AT","GUE_Soldier_AA","GUE_Soldier_GL",
                           "GUE_Soldier_Sniper","GUE_Soldier_Sab","GUE_Soldier_Scout"
                       ];
       _Unit_Pool_V =    [    "Offroad_DSHKM_INS","Pickup_PK_INS","UAZ_INS","UAZ_AGS30_INS","UAZ_MG_INS","UAZ_SPG9_INS","Ural_INS","UralOpen_INS","Ural_ZU23_INS"];
       _Unit_Pool_T =    [    "BMP2_INS","BRDM2_INS","BRDM2_ATGM_INS","T72_INS","ZSU_INS"];
       _Unit_Pool_A =    [    "Mi17_MG","Ka52","Mi17_MG","Mi24_V","Mi24_D","mi171_Sh","Mi17","Mi24_P","Mi_8T_Hip_C"];
   };
//-------------------------------------------------------------------------------------------------
   case 3:
   {
       _Unit_Pool_S =    [
                           "Citizen1","Citizen2","Citizen3","Citizen4",
                           "Woodlander1","Woodlander2","Woodlander3","Woodlander4",
                           "Profiteer1","Profiteer2","Profiteer3","Profiteer4",
                           "Rocker1","Rocker2","Rocker3","Rocker4",
                           "Woodlander1","Woodlander2","Woodlander3","Woodlander4",
                           "Villager1","Villager2","Villager3","Villager4"
                       ];
       _Unit_Pool_V =    [    "datsun1_civil_2_covered","hilux1_civil_1_open","UralCivil","SkodaBlue","Bus_city","car_sedan","SkodaRed","Skoda","SkodaGreen","datsun1_civil_3_open","car_hatchback"];
       _Unit_Pool_T =    [    "Tractor","UralCivil","    UralCivil2"];
       _Unit_Pool_A =    [];
   };
//-------------------------------------------------------------------------------------------------
   case 4:
   {
       _Unit_Pool_S =    [
                           "FR_TL","FR_TL","FR_TL","FR_AC","FR_GL","FR_Commander",
                           "FR_Miles","FR_OHara","FR_Rodriguez","FR_R","FR_Corpsman","FR_Marksman",
                           "FR_AR","FR_Sapper","FR_Assault_R","FR_Assault_GL","FR_Sykes"
                       ];
       _Unit_Pool_V =    [    "HMMWV","HMMWV_M2","MTVR","HMMWV_MK19","HMMWV_Armored","MTVR","LAV25","HMMWV_TOW","M1030","HMMWV_Avenger"];
       _Unit_Pool_T =    [    "M1A1","LAV25","M1A2_TUSK_MG","MLRS","AAV"];
       _Unit_Pool_A =    [    "AH1Z","UH1Y","MH60S"];
   };
//-------------------------------------------------------------------------------------------------
   case 5:
   {
       _Unit_Pool_S =    [
                           "CDF_Soldier_Crew","CDF_Soldier_Pilot","CDF_Soldier_Officer","CDF_Soldier_SL",
                           "CDF_Soldier_Spotter","CDF_Commander","CDF_Soldier_GL","CDF_Soldier_AR",
                           "CDF_Soldier_Strela","CDF_Soldier_MG","CDF_Soldier_Militia","CDF_Soldier_RPG",
                           "CDF_Soldier_Engineer","CDF_Soldier_Medic",
                           "CDF_Soldier","CDF_Soldier_Sniper","CDF_Soldier_Marksman"
                       ];
       _Unit_Pool_V =    [    "UAZ_CDF","UAZ_AGS30_CDF","UAZ_MG_CDF","Ural_CDF","UralOpen_CDF","Ural_ZU23_CDF"];
       _Unit_Pool_T =    [    "BMP2_CDF","BRDM2_CDF","BRDM2_ATGM_CDF","T72_CDF","ZSU_CDF"];
       _Unit_Pool_A =    [    "Mi17_CDF","Mi24_D"];
   };
//-------------------------------------------------------------------------------------------------
   case 6:
   {
       _Unit_Pool_S =    [
                           "Ins_Soldier_Crew","Ins_Soldier_Pilot","Ins_Commander","Ins_Soldier_GL","Ins_Soldier_AR",
                           "Ins_Soldier_AA","Ins_Soldier_MG","Ins_Soldier_CO","Ins_Soldier_AT",
                           "Ins_Soldier_Sab","Ins_Soldier_Medic","Ins_Soldier_Sappe",
                           "Ins_Soldier_1","Ins_Bardak","Ins_Soldier_2","Ins_Soldier_Sniper"
                       ];
       _Unit_Pool_V =    [    "UAZ_INS","UAZ_AGS30_INS","UAZ_SPG9_INS","UAZ_MG_INS","Ural_INS","UralOpen_INS","Ural_ZU23_INS"];
       _Unit_Pool_T =    [    "BMP2_INS","BRDM2_INS","BRDM2_ATGM_INS","T72_INS","ZSU_INS"];
       _Unit_Pool_A =    [    "Mi17_Ins"];
   };
//-------------------------------------------------------------------------------------------------
   case 7:
   {
       _Unit_Pool_S =    [
                           "RU_Soldier_Crew","RU_Soldier_Pilot","MVD_Soldier_GL","MVD_Soldier_TL","MVD_Soldier_MG","MVD_Soldier",
                           "MVD_Soldier_AT","MVD_Soldier_Sniper","MVD_Soldier_Marksman","MVD_Soldier_Marksman","MVD_Soldier_MG","MVD_Soldier"
                       ];
       _Unit_Pool_V =    [    "UAZ_CDF","UAZ_AGS30_CDF","UAZ_MG_CDF","Ural_CDF","UralOpen_CDF","Ural_ZU23_CDF"];
       _Unit_Pool_T =    [    "BMP2_CDF","BRDM2_CDF","BRDM2_ATGM_CDF","T72_CDF","ZSU_CDF"];
       _Unit_Pool_A =    [    "Mi17_CDF","Mi24_D"];
   };
//-------------------------------------------------------------------------------------------------
   case 8:
   {
       _Unit_Pool_S =    [
                           "RU_Soldier_Crew","RU_Soldier_Pilot","RUS_Commander","RUS_Soldier_GL","RUS_Soldier1","RUS_Soldier2",
                           "RUS_Soldier_Marksman","RUS_Soldier_TL","RUS_Soldier3","RUS_Soldier1","RUS_Soldier2"
                       ];
       _Unit_Pool_V =    [    "UAZ_CDF","UAZ_AGS30_CDF","UAZ_MG_CDF","Ural_CDF","UralOpen_CDF","Ural_ZU23_CDF"];
       _Unit_Pool_T =    [    "BMP2_CDF","BRDM2_CDF","BRDM2_ATGM_CDF","T72_CDF","ZSU_CDF"];
       _Unit_Pool_A =    [    "Mi17_CDF","Mi24_D"];
   };
// USARMY
   case 9:
   {
       _Unit_Pool_S = ["US_Soldier_Crew_EP1","US_Soldier_Pilot_EP1","US_S oldier_SL_EP1","US_Soldier_EP1","US_Soldier_GL_EP1 ","US_Soldier_AR_EP1","US_Soldier_EP1","US_Soldier _LAT_EP1","US_Soldier_MG_EP1","US_Soldier_Sniper_E P1","US_Soldier_AA_EP1","US_Soldier_HAT_EP1","US_Soldier_Medic_EP1","US_Soldier_Marksman_EP1","US_So ldier_AR_EP1","US_Soldier_GL_EP1","US_Soldier_AR_E P1"]; _Unit_Pool_V=["HMMWV_DES_EP1","HMMWV_M998_crows_M2_DES_EP1","HMM WV_MK19_DES_EP1","HMMWV_Terminal_EP1","HMMWV_TOW_DES_EP1","HMMWV_Avenger_DES_EP1","MTVR_DES_EP1","M1 030_US_DES_EP1"];

       _Unit_Pool_T = ["M2A2_EP1","M2A3_EP1","M1A1_US_DES_EP1","M1A2_US_T USK_MG_EP1","M1126_ICV_mk19_EP1","M1126_ICV_M2_EP1 "];
       _Unit_Pool_A = ["MH60S","UH1Y","AH1Z","MV22","AH64D_EP1","AH6J_EP1 ","AH6X_EP1"];
};
//-------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------
case 10: //Takistan_Bevoelkerung
{
_Unit_Pool_S = [

"TK_GUE_Soldier_TL_EP1","TK_GUE_Soldier_TL_EP1","T K_GUE_Warlord_EP1","TK_GUE_Soldier_EP1","TK_GUE_So ldier_2_EP1","TK_GUE_Soldier_3_EP1",
"TK_GUE_Soldier_4_EP1","TK_GUE_Soldier_EP1","TK_GU E_Soldier_5_EP1","TK_GUE_Soldier_HAT_EP1","TK_GUE_ Soldier_AR_EP1","TK_GUE_Soldier_MG_EP1",
"TK_GUE_Soldier_AT_EP1","TK_GUE_Soldier_EP1","TK_G UE_Soldier_AAT_EP1","TK_GUE_Soldier_AA_EP1","TK_GU E_Soldier_Sniper_EP1",
"TK_GUE_Bonesetter_EP1","TK_GUE_Soldier_MG_EP1","T K_GUE_Soldier_EP1","TK_GUE_Soldier_Sniper_EP1"
];

_Unit_Pool_V = [ "Offroad_DSHKM_TK_GUE_EP1","Offroad_SPG9_TK_GUE_EP 1","Pickup_PK_TK_GUE_EP1","V3S_TK_GUE_EP1","Ural_Z U23_TK_GUE_EP1"];
_Unit_Pool_T = [ "BRDM2_TK_GUE_EP1","BRDM2_HQ_TK_GUE_EP1","BTR40_TK _GUE_EP1","BTR40_MG_TK_GUE_EP1","T34_TK_GUE_EP1"," T55_TK_GUE_EP1"];
_Unit_Pool_A = [ "UH1H_TK_GUE_EP1"];
};

//-------------------------------------------------------------------------------------------------
case 11: //Takistan_Miliz
{
_Unit_Pool_S = [
"TK_INS_Soldier_TL_EP1","TK_INS_Soldier_TL_EP1","T K_INS_Warlord_EP1","TK_INS_Soldier_EP1","TK_INS_So ldier_2_EP1","TK_INS_Soldier_3_EP1","TK_INS_Soldie r_4_EP1",
"TK_INS_Soldier_AT_EP1","TK_INS_Soldier_2_EP1","TK _INS_Soldier_EP1","TK_INS_Soldier_AAT_EP1","TK_INS _Soldier_AR_EP1","TK_INS_Soldier_MG_EP1",
"TK_INS_Soldier_AA_EP1","TK_INS_Soldier_Sniper_EP1 ","TK_INS_Soldier_2_EP1","TK_INS_Soldier_EP1","TK_ INS_Soldier_MG_EP1","TK_INS_Bonesetter_EP1"
];
_Unit_Pool_V = [ "LandRover_MG_TK_INS_EP1","LandRover_SPG9_TK_INS_E P1","Old_bike_TK_INS_EP1"];
_Unit_Pool_T = [ "BTR40_MG_TK_INS_EP1","BTR40_TK_INS_EP1","BTR40_MG _TK_INS_EP1"];
_Unit_Pool_A = [ ];
};

//-------------------------------------------------------------------------------------------------
case 12: //Takistan_Army
{
_Unit_Pool_S = [
"TK_Soldier_Crew_EP1","TK_Soldier_Crew_EP1","TK_Co mmander_EP1","TK_Soldier_SL_EP1","TK_Soldier_EP1", "TK_Soldier_Medic_EP1","TK_Soldier_LAT_EP1",
"TK_Soldier_B_EP1","TK_Soldier_MG_EP1","TK_Soldier _HAT_EP1","TK_Soldier_EP1","TK_Soldier_AMG_EP1","T K_Soldier_AAT_EP1","TK_Soldier_AR_EP1","TK_Soldier _AA_EP1",
"TK_Soldier_GL_EP1","TK_Soldier_Engineer_EP1","TK_ Soldier_Officer_EP1","TK_Soldier_Medic_EP1","TK_So ldier_Sniper_EP1","TK_Soldier_MG_EP1",
"TK_Soldier_EP1","TK_Soldier_SniperH_EP1","TK_Sold ier_Spotter_EP1","TK_Soldier_EP1"
];
_Unit_Pool_V = [ "LandRover_MG_TK_EP1","MAZ_543_SCUD_TK_EP1","GRAD_ TK_EP1","LandRover_SPG9_TK_EP1","TT650_TK_EP1","V3 S_TK_EP1","SUV_TK_EP1","UAZ_Unarmed_TK_EP1",
"UAZ_AGS30_TK_EP1","UAZ_MG_TK_EP1","Ural_ZU23_TK_E P1","V3S_Open_TK_EP1"];
_Unit_Pool_T = [ "BTR60_TK_EP1","BMP2_TK_EP1","BMP2_HQ_TK_EP1","BRD M2_TK_EP1","BRDM2_ATGM_TK_EP1","BTR60_TK_EP1","M11 3_TK_EP1","T34_TK_EP1","T55_TK_EP1","ZSU_TK_EP1"," BTR60_TK_EP1","T72_TK_EP1"];
_Unit_Pool_A = [ "Mi24_D_TK_EP1","Mi17_TK_EP1","UH1H_TK_EP1"];
};

//-------------------------------------------------------------------------------------------------
case 13: //Takistan_Army (+ Night_Soldiers)
{
_Unit_Pool_S = [
"TK_Soldier_Crew_EP1","TK_Soldier_Crew_EP1","TK_Co mmander_EP1","TK_Soldier_SL_EP1","TK_Soldier_EP1", "TK_Soldier_TWS_EP1","TK_Soldier_Medic_EP1",
"TK_Soldier_LAT_EP1","TK_Soldier_B_EP1","TK_Soldie r_MG_EP1","TK_Soldier_Sniper_Night_EP1","TK_Soldie r_HAT_EP1","TK_Soldier_EP1","TK_Soldier_AMG_EP1",
"TK_Soldier_AAT_EP1","TK_Soldier_AR_EP1","TK_Soldi er_Night_1_EP1","TK_Soldier_Night_2_EP1","TK_Soldi er_AA_EP1","TK_Soldier_GL_EP1","TK_Soldier_Enginee r_EP1",
"TK_Soldier_Officer_EP1","TK_Soldier_Medic_EP1","T K_Soldier_Sniper_EP1","TK_Soldier_MG_EP1","TK_Sold ier_EP1","TK_Soldier_SniperH_EP1",
"TK_Soldier_Spotter_EP1","TK_Soldier_Night_2_EP1", "TK_Soldier_EP1"
];
_Unit_Pool_V = [ "LandRover_MG_TK_EP1","MAZ_543_SCUD_TK_EP1","GRAD_ TK_EP1","LandRover_SPG9_TK_EP1","TT650_TK_EP1","V3 S_TK_EP1","SUV_TK_EP1","UAZ_Unarmed_TK_EP1",
"UAZ_AGS30_TK_EP1","UAZ_MG_TK_EP1","Ural_ZU23_TK_E P1","V3S_Open_TK_EP1"];
_Unit_Pool_T = [ "BTR60_TK_EP1","BMP2_TK_EP1","BMP2_HQ_TK_EP1","BRD M2_TK_EP1","BRDM2_ATGM_TK_EP1","BTR60_TK_EP1","M11 3_TK_EP1","T34_TK_EP1","T55_TK_EP1","ZSU_TK_EP1"," BTR60_TK_EP1","T72_TK_EP1"];
_Unit_Pool_A = [ "Mi24_D_TK_EP1","Mi17_TK_EP1","UH1H_TK_EP1"];
};

//-------------------------------------------------------------------------------------------------
case 14: //Takistan_Civilians
{
_Unit_Pool_S = [
"TK_CIV_Worker02_EP1","TK_CIV_Takistani02_EP1","TK _CIV_Worker02_EP1","TK_CIV_Woman01_EP1","TK_CIV_Wo rker01_EP1","TK_CIV_Takistani03_EP1","TK_CIV_Takis tani01_EP1",
"TK_CIV_Woman03_EP1","TK_CIV_Takistani05_EP1","TK_ CIV_Takistani04_EP1","TK_CIV_Takistani06_EP1","TK_ CIV_Woman02_EP1"
];
_Unit_Pool_V = [ "Ikarus_TK_CIV_EP1","Old_moto_TK_Civ_EP1","Old_bik e_TK_CIV_EP1","Lada1_TK_CIV_EP1","Lada2_TK_CIV_EP1 ","LandRover_TK_CIV_EP1","TT650_TK_CIV_EP1","Volha Limo_TK_CIV_EP1",
"hilux1_civil_3_open_EP1","S1203_TK_CIV_EP1","SUV_ TK_CIV_EP1","Ural_TK_CIV_EP1","V3S_Open_TK_CIV_EP1 ","Volha_1_TK_CIV_EP1","Volha_2_TK_CIV_EP1"];
_Unit_Pool_T = [ ];
_Unit_Pool_A = [ ];
};

//-------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------
   Default {
               if(DAC_Basic_Value != 5) then
               {
                   DAC_Basic_Value = 5;publicvariable "DAC_Basic_Value";
                   hintc format["DAC_Config_Units > No valid config number = %1",_TypNumber];
               };
               if(true) exitwith {};
           };
};

if(count _this == 2) then
{
   _TempArray = _TempArray + [_Unit_Pool_S,_Unit_Pool_V,_Unit_Pool_T,_Unit_Pool_A];
}
else
{
   _TempArray = _Unit_Pool_V + _Unit_Pool_T + _Unit_Pool_A;
};
_TempArray

Edited by nuggetz

Share this post


Link to post
Share on other sites

Hi nuggetz :)

I see many errors within your "case 9" section ...

Example: "US_S oldier_SL_EP1" or "M1A2_US_T USK_MG_EP1"

As u can see, there are some gaps within the unit type strings.

That's the reason for all your trouble.

When DAC try to create the first unit (allways the third entry of the _Unit_Pool_S),

then DAC gets the (bad) string "US_S oldier_SL_EP1"

and stops immediately, with the result that no unit was generated.

I have changed your "case 9" section a little bit and it looks like this now:

case 9:
{
_Unit_Pool_S = ["US_Soldier_Crew_EP1","US_Soldier_Pilot_EP1","US_Soldier_SL_EP1","US_Soldier_EP1","US_Soldier_GL_EP1","US_Soldier_AR_EP1","US_Soldier_EP1","US_Soldier_LAT_EP1","US_Soldier_MG_EP1","US_Soldier_Sniper_EP1","US_Soldier_AA_EP1","US_Soldier_HAT_EP1","US_Soldier_Medic_EP1","US_Soldier_Marksman_EP1","US_Soldier_AR_EP1","US_Soldier_GL_EP1","US_Soldier_AR_EP1"];
_Unit_Pool_V = ["HMMWV_DES_EP1","HMMWV_M998_crows_M2_DES_EP1","HMMWV_MK19_DES_EP1","HMMWV_Terminal_EP1","HMMWV_TOW_DES_EP1","HMMWV_Avenger_DES_EP1","MTVR_DES_EP1","M1030_US_DES_EP1"];
_Unit_Pool_T = ["M2A2_EP1","M2A3_EP1","M1A1_US_DES_EP1","M1A2_US_TUSK_MG_EP1","M1126_ICV_mk19_EP1","M1126_ICV_M2_EP1"];
_Unit_Pool_A = ["MH60S","UH1Y","AH1Z","MV22","AH64D_EP1","AH6J_EP1","AH6X_EP1"];
};

Please try this one and let me know how it works ... thx.

Greeting

Silola

Share this post


Link to post
Share on other sites

Having some trouble getting a camp to spawn for a zone.

I have:

Zone 1

nil = ["z1",[1,0,0],[3,3,20,8],[],[],[],[0,0,3,0,1]] spawn DAC_Zone

case 3:

{

_setSkill = [0.2,0.7];

_setCombat = ["white"];

_setBehav = ["safe"];

_setSpeed = ["limited"];

_setForm = ["vee","column","wedge","line","stag column","ech left","ech right","file","diamond"];

_setFleeing = [0,0];

_setHeliVal = [45,100,0.7,1];

_setPause = [[5,220],[5,10],[5,10],[20,30,5,5],[1,3],[0,0]];

_setBldgBeh = [3,20,40,50,1];

_setPatrol = ["45 + (20 * (skill _leader))","(60 + (random 60)) + ((skill _leader) * 50)"];

_setSearch = ["40 + ((skill _leader) * 150)","50 + ((skill _leader) * 50)"];

_setSupport = [1,1];

_setJoin = 2;

_setEmpVeh = [[30,100],[30,100]];

_setSupTime = ["5 + ((skill _unit) * (5 * DAC_AI_Level))",2,5];

_setHidTime = ["(((10 * DAC_AI_Level) + ((skill _leader) * 50)) / ((count units _group) + 1))"];

};

Camp

fun=["z4",[4,0,0],[],[],[],[1,2,50,1,100,5,[z1]],[0,0,0,0]] spawn DAC_Zone

I have markers enabled, so i can see the camp is linked, but it never spawns replacements.

Ideally I want the null camp to do this, but I can not get any evidence of it linking. I get the flag and text saying 5 spawns left, but no link.

Please help

Share this post


Link to post
Share on other sites
Having some trouble getting a camp to spawn for a zone.

I have:

Zone 1

nil = ["z1",[1,0,0],[3,3,20,8],[],[],[],[0,0,3,0,1]] spawn DAC_Zone

case 3:

{

_setSkill = [0.2,0.7];

_setCombat = ["white"];

_setBehav = ["safe"];

_setSpeed = ["limited"];

_setForm = ["vee","column","wedge","line","stag column","ech left","ech right","file","diamond"];

_setFleeing = [0,0];

_setHeliVal = [45,100,0.7,1];

_setPause = [[5,220],[5,10],[5,10],[20,30,5,5],[1,3],[0,0]];

_setBldgBeh = [3,20,40,50,1];

_setPatrol = ["45 + (20 * (skill _leader))","(60 + (random 60)) + ((skill _leader) * 50)"];

_setSearch = ["40 + ((skill _leader) * 150)","50 + ((skill _leader) * 50)"];

_setSupport = [1,1];

_setJoin = 2;

_setEmpVeh = [[30,100],[30,100]];

_setSupTime = ["5 + ((skill _unit) * (5 * DAC_AI_Level))",2,5];

_setHidTime = ["(((10 * DAC_AI_Level) + ((skill _leader) * 50)) / ((count units _group) + 1))"];

};

Camp

fun=["z4",[4,0,0],[],[],[],[1,2,50,1,100,5,[z1]],[0,0,0,0]] spawn DAC_Zone

I have markers enabled, so i can see the camp is linked, but it never spawns replacements.

Ideally I want the null camp to do this, but I can not get any evidence of it linking. I get the flag and text saying 5 spawns left, but no link.

Please help

Don't use "nil" in the line I highlighted. Never use nil for this. I hope that fixes your issue.

Share this post


Link to post
Share on other sites

Thankyou,

I worked out I was causing them not to respawn by being too close to the camp while testing. Works fine now.

Now, can you tell me how to make a spawn point (camp) without the camp?

I want to spawn soldiers from within some barracks and also vehicles from a hanger or compound.

I have tried using: case 11

case 11:

{

_campBasic = ["NULL"];

_campAmmo = [];

_campStatic = [];

_campAddUnit = [];

_campUserObj = [];

_campRandomObj = [];

_campWall = [];

_campObjInit = [[],[],[],[],[],[],[]];

};

but it doesn't work for me?

Share this post


Link to post
Share on other sites

First time here and love DAC mod. How do you make spawned Helicopters land at other zones(i.e., insertion and extraction) to load and offload troops.

I could get them to fly to other linked zones but I don't have any idea on how to make them land there.

Share this post


Link to post
Share on other sites
First time here and love DAC mod. How do you make spawned Helicopters land at other zones(i.e., insertion and extraction) to load and offload troops.

I could get them to fly to other linked zones but I don't have any idea on how to make them land there.

Welcome! :welcome:

I'm interested in finding out a good method to do this using DAC as well.

Good call!

Share this post


Link to post
Share on other sites
Hi nuggetz :)

I see many errors within your "case 9" section ...

Example: "US_S oldier_SL_EP1" or "M1A2_US_T USK_MG_EP1"

As u can see, there are some gaps within the unit type strings.

That's the reason for all your trouble.

When DAC try to create the first unit (allways the third entry of the _Unit_Pool_S),

then DAC gets the (bad) string "US_S oldier_SL_EP1"

and stops immediately, with the result that no unit was generated.

I have changed your "case 9" section a little bit and it looks like this now:

case 9:
{
   _Unit_Pool_S = ["US_Soldier_Crew_EP1","US_Soldier_Pilot_EP1","US_Soldier_SL_EP1","US_Soldier_EP1","US_Soldier_GL_EP1","US_Soldier_AR_EP1","US_Soldier_EP1","US_Soldier_LAT_EP1","US_Soldier_MG_EP1","US_Soldier_Sniper_EP1","US_Soldier_AA_EP1","US_Soldier_HAT_EP1","US_Soldier_Medic_EP1","US_Soldier_Marksman_EP1","US_Soldier_AR_EP1","US_Soldier_GL_EP1","US_Soldier_AR_EP1"];
   _Unit_Pool_V = ["HMMWV_DES_EP1","HMMWV_M998_crows_M2_DES_EP1","HMMWV_MK19_DES_EP1","HMMWV_Terminal_EP1","HMMWV_TOW_DES_EP1","HMMWV_Avenger_DES_EP1","MTVR_DES_EP1","M1030_US_DES_EP1"];
   _Unit_Pool_T = ["M2A2_EP1","M2A3_EP1","M1A1_US_DES_EP1","M1A2_US_TUSK_MG_EP1","M1126_ICV_mk19_EP1","M1126_ICV_M2_EP1"];
   _Unit_Pool_A = ["MH60S","UH1Y","AH1Z","MV22","AH64D_EP1","AH6J_EP1","AH6X_EP1"];
};

Please try this one and let me know how it works ... thx.

Greeting

Silola

Thanks Silola, I should have known to check the spelling - especially something that I didn't create myself. I'm sure this will work. Will try it tonight. Thanks for the support and the great addon!

Share this post


Link to post
Share on other sites

If someone can use this, it is my Unit Config for OA and DAC which is working Great.

WATCH OUT FOR THE SPACES (DELETE THEM) IN THE SOLDIER NOT SURE WHY THE PAST FEATURE IS PUTTING THEM IN THERE BUT i CANNOT REMOVE THEM.

/-------------------------------------------------------------------------------------------------

case 0:

{

_Unit_Pool_S = [

"TK_Soldier_Crew_EP1","TK_Soldier_Pilot_EP1","TK_Soldier_SL_EP1","TK_Soldier_EP1","TK_Soldier_GL_EP1",

"TK_Soldier_MG_EP1","TK_Soldier_AMG_EP1","TK_Soldier_Medic_EP1","TK_Soldier_AT_EP1",

"TK_Soldier_SniperH_EP1","TK_Soldier_LAT_EP1","TK_Soldier_AR_EP1",

"TK_Soldier_AA_EP1","TK_Soldier_Engineer_EP1"

];

_Unit_Pool_V = [ "BMP2_TK_EP1","V3S_Open_TK_EP1","Ural_ZU23_TK_EP1","BTR60_TK_EP1","UAZ_AGS30_TK_EP1","V3S_TK_EP1","V3S_TK_EP1","BRDM2_ATGM_TK_EP1","BRDM2_TK_EP1"];

_Unit_Pool_T = [ "M113_TK_EP1","T34_TK_EP1","T55_TK_EP1","T72_TK_EP1","T55_TK_EP1","V3S_TK_EP1","T72_TK_EP1","T72_TK_EP1"];

_Unit_Pool_A = [ "Mi24_D_TK_EP1","Mi17_TK_EP1","UH1H_TK_EP1","Mi24_D_TK_EP1","UH1H_TK_EP1","Mi17_TK_EP1"];

};

//-------------------------------------------------------------------------------------------------

case 10:

{

_Unit_Pool_S = [

"US_Soldier_GL_EP1","USMC_Soldier_Pilot","US_Soldier_SL_EP1","US_Soldier_AT_EP1",

"US_Soldier_Marksman_EP1","US_Soldier_Medic_EP1","US_Soldier_MG_EP1","US_Soldier_GL_EP1",

"US_Soldier_AT_EP1","US_Soldier_AT_EP1","US_Soldier_B_EP1","US_Soldier_GL_EP1","US_Soldier_AA_EP1",

"US_Soldier_Medic_EP1","US_Soldier_AA_EP1","US_Soldier_SL_EP1","US_Soldier_MG_EP1"

];

_Unit_Pool_V = [ "M1126_ICV_mk19_EP1","HMMWV_M1151_M2_DES_EP1","MTVR_DES_EP1","HMMWV_MK19_DES_EP1","HMMWV_TOW_DES_EP1","MTVR_DES_EP1","M1126_ICV_mk19_EP1","HMMWV_TOW_DES_EP1","HMMWV_Avenger_DES_EP1"];

_Unit_Pool_T = [ "M1A2_US_TUSK_MG_EP1","M2A3_EP1","M1A2_US_TUSK_MG_EP1","MLRS_DES_EP1","M2A3_EP1"];

_Unit_Pool_A = [ "MH6J_EP1","CH_47F_EP1","UH60M_EP1","AH64D_EP1"];

};

//-------------------------------------------------------------------------------------------------

Edited by vengeance1

Share this post


Link to post
Share on other sites

Sil,

I love the basic functionality of this addon but I am running into stumbling blocks. I am trying to use the "Ikarus" as a civilian bus and I am adding them across Chenarus.

I created a new case for them in the unit config file under case9:

//Bus Route --------------------------------------------------------------------------------------

case 9:

{

_Unit_Pool_S = [];

_Unit_Pool_V = ["Ikarus","Ikarus","Ikarus","Ikarus"];

_Unit_Pool_T = [];

_Unit_Pool_A = [];

};

I then add this spawn code in the init field:

buspop=["SECiv_Bus9",[7,0,0],[],[1,1,2,10],[],[],[3,9,6,0]] spawn DAC_Zone

Then I run the module and I get this succession of errors:

"WP search was interrupted

Zone SECiv_Bus9 is not suitable for unit type

(Unarmed vehicles)"

Then the second error:

"Attention: Dac has caused an error.

The initialization has missed.

Error number 7 (waypoint)"

How can I correct this issue?

Thanks,

RogerWilco

Share this post


Link to post
Share on other sites

try buspop=["SECiv_Bus9",[7,0,0],[],[1,1,10,5],[],[],[3,9,6,0]] spawn DAC_Zone

Share this post


Link to post
Share on other sites

@andersson:

-------------

I have scripted a solution for you (and maybe for other users).

Example:

There are two zones (z1 + z2) and each zone has one camp with some respawns.

Now you want to check the number of respawns in these camps,

and trigger an action when the respawns all been used up:

action for zone "z1" when all respawns been used up: [z3] call DAC_Activate

(the zone with the name "z3" will be activated)

action for zone "z2" when all respawns been used up: [z4] call DAC_Activate

(the zone with the name "z4" will be activated)

Ok, this is our plan. Now the solution to get this working:

write this into your init.sqf:

DAC_Basic_Value = 0;
waituntil{DAC_Basic_Value > 0};
if(isServer) then {[["z1","[z3] call DAC_Activate"],["z2","[z4] call DAC_Activate"]] execVM "countRespawns.sqf"};

After the DAC is initialized the script countRespawns.sqf is started with 2 parameters (arrays)

Each array contains a zone to check (sting) and an action code.

In this case an action to activate a DAC zone.

And now the script countRespawns.sqf to check the respawn count and fire up an action:

private ["_i","_z","_u","_c","_t","_zones","_action","_curZonePos","_curCampPos"];

_zones = _this;

_i = 0;_z = 0;_u = 0;_c = 0;_t = 0;
_action = count _zones;
_curZonePos = ""; 
_curCampPos = "";

while{_i < count _zones} do
{
   _curZonePos    = format[
                           "%1",
                           ((position (call compile ((_zones select _i) select 0))) select 0) +
                           ((position (call compile ((_zones select _i) select 0))) select 1)
                       ];
   _z = 0;
   while{_z < count DAC_Spawn_CampsW} do
   {
       _curCampPos    = format[
                               "%1",
                               (((DAC_Spawn_CampsW select _z) select 0) select 0) +
                               (((DAC_Spawn_CampsW select _z) select 0) select 1)
                           ];

       if(_curZonePos == _curCampPos) then
       {
           (_zones select _i) set [count (_zones select _i), _z];
       };
       _z = _z + 1;
   };
   _i = _i + 1;
};

sleep 1;

while{_action > 0} do
{
   _u = 0;
   while{_u < count _zones} do
   {
       if(format["%1",((_zones select _u) select 0)] != "EMPTY") then
       {
           _c = 0;_t = 2;
           while{_t < count (_zones select _u)} do
           {
               _c = _c + (((DAC_Spawn_CampsW select ((_zones select _u) select _t)) select 5) select 0);
               _t = _t + 1;
           };
           if(_c == 0) then
           {
               hint format["No respawns left in zone %1",((_zones select _u) select 0)];
               call compile ((_zones select _u) select 1);
               (_zones select _u) set[0, "EMPTY"];
               _action = _action - 1;
           };
       };
       _u = _u + 1;
   };
   sleep 1;
};

Finally had the opportunity to try it and it worked like a sharm! Thank you!

For others trying this script, be aware that it only checks west spawns. As Im making this for east I had to change 'DAC_Spawn_CampsW' to 'DAC_Spawn_CampsE'.

Now the fun can begin!!

edit: Is there any way to check if a zone is active?

I need to add another check in your script. If a zone is deactivated from the start it triggers another zone as theres no respawns. I need the next zone to be triggered when a zone have no respawns AND is active. Always something, isnt it? :)

Edited by andersson

Share this post


Link to post
Share on other sites

Hi :)

edit: Is there any way to check if a zone is active?

Yes, there is a way ...

[color="Blue"]if(Zone in DAC_Inactive_Zones) then
{
hint format["Zone %1 is not active",Zone];
}
else
{
hint format["Zone %1 is active",Zone];
};[/color]

Zone is the real name of your zone ... z1 for example.

Greeting

Silola

---------- Post added at 05:00 PM ---------- Previous post was at 04:34 PM ----------

Hi again :)

@RogerWilco:

//Bus Route --------------------------------------------------------------------------------------
case 9:
{
_Unit_Pool_S = [];
_Unit_Pool_V = ["Ikarus","Ikarus","Ikarus","Ikarus"];
_Unit_Pool_T = [];
_Unit_Pool_A = [];
};

Note: the _Unit_Pool_S needs allways at least 3 entrys.

example:

[color="Blue"]case 9:
{
_Unit_Pool_S = ["Assistant","Citizen1","Citizen2"];
_Unit_Pool_V = ["Ikarus"];
_Unit_Pool_T = [];
_Unit_Pool_A = [];
};[/color]

Otherwise, your generated "Ikarus" have no crew or no driver ;)

See also readme page 39 (lower section).

Greeting

Silola

Share this post


Link to post
Share on other sites

Not only do you create amazing scripts, your support is second to none! Thank you :)

Edited by andersson
LOL. Yes, second to none... Thanks DMarkwick ;)

Share this post


Link to post
Share on other sites
Not only do you create amazing scripts, your support is next to none! Thank you :)

You mean second to none ;)

Share this post


Link to post
Share on other sites

Many Thanks :)

Share this post


Link to post
Share on other sites

I cant get my scenario to work the way I want to. I know its something Im not doing right but I cant figure it out.

A town got 4 zones. One zone is spawning units, two zones give them waypoints and one zone is respawning units.

This is made so we as players wont see units spawning infront of us and make AI walk-drive into the area where they will operate. The extra camp zone is there to avoid the "zone activation with camp" bug.

Example Khelm:

waypoint zone covering the town:

khelm=["z1",[1,0,0],[10],[5],[3],[],[0,0,0,1]] spawn DAC_Zone
bigger waypoint zone covering the town + surroundings:
khelmp=["z1_p",[1,0,0],[5],[],[3],[],[0,0,0,1]] spawn DAC_Zone
zone where units spawns away from the waypoint zones:
khelms=["z1_s",[1,0,0],[3,2,1,10],[1,1,1,5],[1,1,1,3],[],[0,0,0,11]] spawn DAC_Zone
camp zone to supply with units x-amount of respawns:
khelmb=["z1_b",[1,0,0],[],[],[],[1,1,25,0,100,2,[z1_s]],[0,0,0,11]] spawn DAC_Zone
A few towns close to each other got the same setup. My problem is that there is global respawn even though I defined zones to supply for the camp-zones. I have also tried to define all 4 zones there but the same thing happens ( [z1,z1_p,z1_s,z1_b] ), too often another camp respawn instead of the defined zone.

I have setup so a new zone is activated when a zone runs out of respawns (thank you for the help with that script!). This global respawn f**ks up my planned activation order :(

Any insights or ideas?

I use external scripts if it matters..?

Thank you.

Share this post


Link to post
Share on other sites

Hi andersson :)

Please show me all your script-calls from all zones you have placed in your mission (splitted into the areas/towns you have defined).

And show me also your DAC_Config_Creator please.

I think it's only a small problem ;)

Greeting

Silola

Share this post


Link to post
Share on other sites

:)

Here is the config creator:

//////////////////////////////

// Dynamic-AI-Creator //

// Version 3.0 - 2010 //

//--------------------------//

// DAC_Config_Creator //

//--------------------------//

// Script by Silola //

// silola@freenet.de //

//////////////////////////////

waituntil{time > 0.3};

if(isServer) then {if(local player) then {DAC_Code = 1} else {DAC_Code = 0}} else {if(isnull player) then {DAC_Code = 3} else {DAC_Code = 2}};

if(isNil "DAC_Basic_Value") then {DAC_Basic_Value = 0};

if(isNil "DAC_Obj_Init") then {DAC_Obj_Init = []};

scalar = "any";DAC_Init_Camps = 0;

//===============|

// DAC_Settings |

//===============|=============================================================================================|

if(isNil "DAC_STRPlayers") then { DAC_STRPlayers = ["co","a1","a2","a3","a4","a5","a6","a7","a8","a9","b1","b2","b3","b4","b5","b6","b7","b8","b9","c1","c2","c3","c4","c5","c6","c7","c8","c9"]};

if(isNil "DAC_AI_Count_Level") then { DAC_AI_Count_Level = [[2,4],[2,6],[2,8],[2,12],[5,0]] };

if(isNil "DAC_Dyn_Weather") then { DAC_Dyn_Weather = [300,120,1,0.7] };

if(isNil "DAC_Reduce_Value") then { DAC_Reduce_Value = [800,850,0.3] };

if(isNil "DAC_AI_Spawn") then { DAC_AI_Spawn = [[10,5,5],[10,5,15],0,120,250,0] };

if(isNil "DAC_Delete_Value") then { DAC_Delete_Value = [[120,150],[140,150],300] };

if(isNil "DAC_Del_PlayerBody") then { DAC_Del_PlayerBody = [0,0] };

if(isNil "DAC_Com_Values") then { DAC_Com_Values = [0,2,0] };

if(isNil "DAC_AI_AddOn") then { DAC_AI_AddOn = 1 };

if(isNil "DAC_AI_Level") then { DAC_AI_Level = 3 };

if(isNil "DAC_Res_Side") then { DAC_Res_Side = 1 };

if(isNil "DAC_VehAllowed") then { DAC_VehAllowed = [0,1] };

if(isNil "DAC_Marker") then { DAC_Marker = 1 };

if(isNil "DAC_WP_Speed") then { DAC_WP_Speed = 0.01 };

if(isNil "DAC_Join_Action") then { DAC_Join_Action = false };

if(isNil "DAC_Fast_Init") then { DAC_Fast_Init = false };

if(isNil "DAC_Player_Marker") then { DAC_Player_Marker = false };

if(isNil "DAC_Direct_Start") then { DAC_Direct_Start = false };

if(isNil "DAC_Activate_Sound") then { DAC_Activate_Sound = false };

if(isNil "DAC_Auto_UnitCount") then { DAC_Auto_UnitCount = [8,10] };

if(isNil "DAC_Player_Support") then { DAC_Player_Support = [10,[10,2000,3,1000]] };

if(isNil "DAC_SaveDistance") then { DAC_SaveDistance = [500,["DAC_Save_Pos"]] };

DAC_BadBuildings = ["Camp","CampEast","Land_vez"];

DAC_SP_Soldiers = ["RU_Soldier_MG","USMC_Soldier_MG","GUE_Soldier_MG","CDF_Soldier_MG","Ins_Soldier_MG"];

DAC_GunAllowed = [

"Stinger_Pod","M2StaticMG","M252","M2HD_mini_TriPod","MK19_TriPod","SearchLight","TOW_TriPod","M119",

"USMC_WarfareBMGNest_M240","AGS_CDF","D30_CDF","DSHKM_CDF","DSHkM_Mini_TriPod_CDF","2b14_82mm_CDF",

"SPG9_CDF","SearchLight_CDF","ZU23_CDF","CDF_WarfareBMGNest_PK","KORD_high","Minitripod KORD","AGS_RU",

"D30_RU","Igla_AA_pod_East","Metis","2B14 2b14_82mm_RU","SearchLight_RUS","RU_WarfareBMGNest_PK","AGS_INS",

"D30_INS","DSHKM_INS","DSHkM_Mini_TriPod_INS","2B14 2b14_82mm_INS","SPG9_INS","SearchLight_INS","ZU23_INS",

"INS_WarfareBMGNest_PK","DSHKM_GUE","2B14 2b14_82mm_GUE","SPG9_GUE","SearchLight_GUE","ZU23_GUE",

"GUE_WarfareBMGNest_PK","Fort_Nest_M240"

];

//=============================================================================================================|

[]execVM "\DAC_Source\Scripts\DAC_Start_Creator.sqf";

waituntil {(DAC_Basic_Value > 0)};

if(DAC_Code < 2) then

{

//===========================================|

// StartScriptOnServer |

//===========================================|

//player sidechat "ServerStart"

//[] execVM "myServerScript.sqf";

//onMapSingleClick "_fun = [_pos,_shift]execVM ""Action.sqf""";

}

else

{

if(DAC_Code == 3) then

{

//===========================================|

// StartScriptOnJipClient |

//===========================================|

//player sidechat "JipClientStart"

//[] execVM "myJipClientScript.sqf";

}

else

{

//===========================================|

// StartScriptOnClient |

//===========================================|

//player sidechat "ClientStart"

//[] execVM "myClientScript.sqf";

//onMapSingleClick "_fun = [_pos,_shift]execVM ""Action.sqf""";

};

};

Im not sure what you want me to show when you say this

Please show me all your script-calls from all zones you have placed in your mission (splitted into the areas/towns you have defined).
but this is how the init.sqf looks like:

DAC_Basic_Value = 0;
waituntil{DAC_Basic_Value > 0};
if(isServer) then {[
["z8_b","[z7,z7_p,z7_b,z7_s] call DAC_Activate"],
["z2_b","[z4,z4_p,z4_b,z4_s] call DAC_Activate"],
["z2_b","[z5,z5_p,z5_b,z5_s] call DAC_Activate"],
["z5_b","[z7,z7_p,z7_b,z7_s] call DAC_Activate"],
["z7_b","[z6,z6_p,z6_b,z6_s] call DAC_Activate"],
["z5_b","[z6,z6_p,z6_b,z6_s] call DAC_Activate"]
] execVM "countRespawns.sqf"};

In the mission I have 8 towns, 4 zones each the way I explained in my earlier post.

z#,z#_p,z#_b,z#_s

I hope your right (you tend to be) and that its only a small problem :)

Thank you for all help!

Share this post


Link to post
Share on other sites

Hi :)

I mean the script-calls to create the DAC zones.

For example:

khelmb=["z1_b",[1,0,0],[],[],[],[1,1,25,0,100,2,[z1_s]],[0,0,0,11]] spawn DAC_Zone 

How many DAC zones you have placed within your mission?

I need the script-call from each DAC zone (trigger).

Silola

Share this post


Link to post
Share on other sites

Ohh, ok. Here you go:

khelm=["z1",[1,0,0],[10],[5],[3],[],[0,0,0,1]] spawn DAC_Zone

khelmp=["z1_p",[1,0,0],[5],[],[3],[],[0,0,0,1]] spawn DAC_Zone

khelms=["z1_s",[1,0,0],[3,2,1,10],[1,1,1,5],[1,1,1,3],[],[0,0,0,11]] spawn DAC_Zone

khelmb=["z1_b",[1,0,0],[],[],[],[1,1,25,0,100,2,[z1_s]],[0,0,0,11]] spawn DAC_Zone

dubrovka=["z2",[2,0,0],[10],[5],[3],[],[0,0,0,1]] spawn DAC_Zone

dubrovkap=["z2_p",[2,0,0],[5],[],[3],[],[0,0,0,1]] spawn DAC_Zone

dubrovkas=["z2_s",[2,0,0],[3,2,1,10],[1,1,1,5],[1,1,1,3],[],[0,0,0,11]] spawn DAC_Zone

dubrovkab=["z2_b",[2,0,0],[],[],[],[1,1,25,0,50,2,[z2_s]],[0,0,0,11]] spawn DAC_Zone

gvozdno=["z3",[3,0,0],[10],[5],[3],[],[0,0,0,1]] spawn DAC_Zone

gvozdnop=["z3_p",[3,0,0],[5],[],[3],[],[0,0,0,1]] spawn DAC_Zone

gvozdnos=["z3_s",[3,0,0],[3,2,1,10],[1,1,1,5],[1,1,1,3],[],[0,0,0,11]] spawn DAC_Zone

gvozdnob=["z3_b",[3,0,0],[],[],[],[1,1,25,0,50,2,[z3_s]],[0,0,0,11]] spawn DAC_Zone

gorka=["z4",[4,0,0],[10],[5],[3],[],[0,0,0,1]] spawn DAC_Zone

gorkap=["z4_p",[4,0,0],[5],[],[3],[],[0,0,0,1]] spawn DAC_Zone

gorkas=["z4_s",[4,1,0],[3,2,1,10],[1,1,1,5],[1,1,1,3],[],[0,0,0,11]] spawn DAC_Zone

gorkab=["z4_b",[4,1,0],[],[],[],[1,1,25,0,50,2,[z4_s]],[0,0,0,11]] spawn DAC_Zone

polana=["z5",[5,0,0],[10],[5],[3],[],[0,0,0,1]] spawn DAC_Zone

polanap=["z5_p",[5,0,0],[5],[],[3],[],[0,0,0,1]] spawn DAC_Zone

polanas=["z5_s",[5,1,0],[3,2,1,10],[1,1,1,5],[1,1,1,3],[],[0,0,0,11]] spawn DAC_Zone

polanab=["z5_b",[5,1,0],[],[],[],[1,1,25,0,50,2,[z5_s]],[0,0,0,11]] spawn DAC_Zone

dolina=["z6",[6,0,0],[10],[5],[3],[],[0,0,0,1]] spawn DAC_Zone

dolinap=["z6_p",[6,0,0],[5],[],[3],[],[0,0,0,1]] spawn DAC_Zone

dolinas=["z6_s",[6,1,0],[3,2,1,10],[1,1,1,5],[1,1,1,3],[],[0,0,0,11]] spawn DAC_Zone

dolinab=["z6_b",[6,1,0],[],[],[],[1,1,25,0,50,2,[z6_s]],[0,0,0,11]] spawn DAC_Zone

orlovets=["z7",[7,0,0],[10],[5],[3],[],[0,0,0,1]] spawn DAC_Zone

orlovetsp=["z7_p",[7,0,0],[5],[],[3],[],[0,0,0,1]] spawn DAC_Zone

orlovetss=["z7_s",[7,1,0],[2,2,1,10],[],[1,1,1,3],[],[0,0,0,11]] spawn DAC_Zone

orlovetsb=["z7_b",[7,1,0],[],[],[],[1,1,25,0,50,2,[z7_s]],[0,0,0,11]] spawn DAC_Zone

berezino=["z8",[8,0,0],[10],[5],[3],[],[0,0,0,1]] spawn DAC_Zone

berezinop=["z8_p",[8,0,0],[5],[3],[6],[],[0,0,0,1]] spawn DAC_Zone

berezinos=["z8_s",[8,0,0],[5,3,1,10],[2,2,1,5],[2,1,1,3],[],[0,0,0,11]] spawn DAC_Zone

berezinob=["z8_b",[8,0,0],[],[],[],[1,1,25,0,50,2,[z8_s]],[0,0,0,11]] spawn DAC_Zone

A question about all this; when a camp zone is respawning to a defined zone and the unit that dies are in another waypoint zone, will that affect the respawn? Do the waypoint zone need to be defined in the "camp support zones" aswell, ie the unit that dies belong to the waypoint zone and not the original zone?

I tried

berezinob=["z8_b",[8,0,0],[],[],[],[1,1,25,0,50,2,[z8_s]],[0,0,0,11]]  spawn DAC_Zone

and

berezinob=["z8_b",[8,0,0],[],[],[],[1,1,25,0,50,2,[z8,z8_p,z8_b,z8_s]],[0,0,0,11]] spawn DAC_Zone
but I couldnt draw any conclusions as sometimes it worked and sometimes not regardless of scriptcall. Also the fact that other camps helped to spawn made it harder for me to find out.

Share this post


Link to post
Share on other sites

I guess it wasnt a small problem..?

While Im bothering you I might aswell continue ;) I'm implementing arty and I noticed that the arty smoke is normal smokeshells, the effect is not that impressive. I tried the "ARTY_Sh_105_SMOKE" but it doesnt work. "ARTY_Sh_105_ILLUM" doesnt work either and it would be really cool to have.

I really hope Im not annoying you with all this, but I'm so DAC dependent so I play around with that more than OA's new features..

Share this post


Link to post
Share on other sites

Silola,

I am having great success with your DAC, I have converted all but Convoy Domination OA Side Missions to DAC, works fantastic AI don't just wonder off from area anymore. Can make Side Missions any config I want using 3 master Templates and the ChangeZone

[z0, position Logic0,[230,230,0],0,0,0] call DAC_fChangeZone;

Just waiting for the Script Version so an Add-on won't be required to play.

Thanks for all your great work! ;)

Edited by vengeance1

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  

×