//////////////////////////////
// Dynamic-AI-Creator //
// Version 2.0 - 2007 //
//--------------------------//
// DAC_Config_Units //
//--------------------------//
// Script by Silola //
// //
//////////////////////////////
private [
"_TypNumber","_TempArray",
"_Unit_Pool_S","_Unit_Pool_V","_Unit_Pool_T","_Uni t_Pool_A"
];
_TypNumber = _this select 0;_TempArray = [];
switch (_TypNumber) do
{
//-------------------------------------------------------------------------------------------------
case 0:
{
_Unit_Pool_S = ["LIB_SOV_tank_crew","LIB_SOV_pilot","LIB_SOV_serge ant","LIB_SOV_rifleman","LIB_SOV_AT_grenadier","LI B_SOV_mgunner","LIB_SOV_rifleman","LIB_SOV_AT_lieu tenant","LIB_SOV_medic","LIB_SOV_rifleman","LIB_SO V_assault_mgunner","LIB_SOV_sapper","LIB_SOV_rifle man","LIB_SOV_scout_sniper","LIB_SOV_AT_soldier", " LIB_SOV_rifleman","LIB_SOV_assault_smgunner"];
_Unit_Pool_V = ["Lib_Willys_MB","lib_us6_tent","lib_us6_open", "LIB _Scout_m3","Lib_SdKfz251_captured","Lib_SdKfz251_c aptured"];
_Unit_Pool_T = ["LIB_t34_76","LIB_SU85","LIB_t34_85","LIB_JS2_ 43", "lib_us6_bm13"];
_Unit_Pool_A = ["LIB_P39","LIB_P39","LIB_P39","LIB_Pe2","LIB_P e2"];
};
//-------------------------------------------------------------------------------------------------
case 1:
{
_Unit_Pool_S = [
"LIB_GER_gun_lieutenant","LIB_GER_pilot","LIB_GER_ unterofficer","LIB_GER_mgunner","LIB_GER_medic","L IB_GER_scout_ober_rifleman",
"LIB_GER_ober_rifleman","LIB_GER_rifleman","LIB_GE R_AT_grenadier","LIB_GER_AT_grenadier",
"LIB_GER_rifleman","LIB_GER_scout_rifleman"
];
_Unit_Pool_V = [ "LIB_opelblitz_open_y_camo","LIB_opelblitz_tent_y_ camo","Lib_sdkfz251","LIB_SdKfz_7"];
_Unit_Pool_T = [ "LIB_PzKpfwIV_H","LIB_PzKpfwV","LIB_PzKpfwVI_B_cam o","LIB_PzKpfwVI_B_camo","LIB_StuG_III_G_WS","LIB_ SdKfz_7_AA"];
_Unit_Pool_A = [ "LIB_FW190F8","LIB_FW190F8"];
};
//-------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------
// Insurgents
case 2:
{
_Unit_Pool_S = ["Ins_Soldier_Crew","Ins_Soldier_Pilot","Ins_Soldie r_CO","Ins_Soldier_1","Ins_Soldier_GL","Ins_Soldie r_MG","Ins_Soldier_1","Ins_Soldier_AT","Ins_Soldie r_Medic","Ins_Soldier_2","Ins_Soldier_AR",["Ins_Soldier_1",6],"Ins_Soldier_1","Ins_Soldier_2","Ins_Soldier_A T"];
_Unit_Pool_V = ["UAZ_INS","UAZ_MG_INS","UAZ_SPG9_INS","Offroad_DSH KM_INS","Pickup_PK_INS","Ural_INS","UralOpen_INS"];
_Unit_Pool_T = ["BRDM2_INS","BRDM2_ATGM_INS","BMP2_INS","T72_INS", "ZSU_INS"];
_Unit_Pool_A = ["Mi17_Ins"];
};
//-------------------------------------------------------------------------------------------------
// Civilians
case 3:
{
_Unit_Pool_S = ["Assistant","Citizen1","Citizen2","Citizen3","Citi zen4","Doctor","Functionary1","Functionary2","Prie st","Profiteer1","Profiteer2","Profiteer3","Profit eer4","SchoolTeacher","Villager1","Villager2","Vil lager3","Villager4","Woodlander1","Woodlander2","W oodlander3","Woodlander4","Worker1","Worker2","Wor ker3","Worker4","Damsel1","Damsel2","Damsel3","Dam sel4","Damsel5","Farmwife1","Farmwife2","Farmwife3 ","Farmwife4","Farmwife5","Hooker1","Hooker2","Hoo ker3","Hooker4","Hooker5","HouseWife1","HouseWife2 ","HouseWife3","HouseWife4","HouseWife5","Madam1", "Madam2","Madam3","Madam4","Madam5","Secretary1"," Secretary2","Secretary3","Secretary4","Secretary5" ,"Sportswoman1","Sportswoman2","Sportswoman3","Spo rtswoman4","Sportswoman5","WorkWoman1","WorkWoman2 ","WorkWoman3","WorkWoman4","WorkWoman5"];
_Unit_Pool_V = ["Skoda","SkodaBlue","SkodaGreen","SkodaRed","hilux 1_civil_1_open","hilux1_civil_2_covered","hilux1_c ivil_3_open","datsun1_civil_1_open","datsun1_civil _2_covered","datsun1_civil_3_open","car_sedan","Ur alCivil","UralCivil2","Lada_base","Lada1","Lada"," VWGolf","V3S_Civ","Ikarus"];
_Unit_Pool_T = ["Tractor","UralCivil","UralCivil2","V3S_Civ"];
_Unit_Pool_A = ["Mi17_Civilian"];
};
//-------------------------------------------------------------------------------------------------
Default {
if(DAC_Basic_Value != 5) then
{
DAC_Basic_Value = 5;publicvariable "DAC_Basic_Value";
hintc "Error: DAC_Config_Units > No valid config number";
};
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