Jump to content

[Release] Wicked AI 2.2.0


f3cuk

Recommended Posts

Anyone has good custom files for an overpoch server? Like overpoch weapons in all crates and on ai??  :)

I have added all the overwatch weapons, except any that take ak ammo because they are crap, to the AI. This will make them spawn in mission crates also using the dynamic system.

 

In config.sqf find and replace

 

ai_wep_assault = [["M16A4_ACG","30Rnd_556x45_Stanag"],["Sa58V_RCO_EP1","30Rnd_762x39_AK47"],["SCAR_L_STD_Mk4CQT","30Rnd_556x45_Stanag"],["M8_sharpshooter","30Rnd_556x45_Stanag"],["M4A1_HWS_GL_camo","30Rnd_556x45_Stanag"],["SCAR_L_STD_HOLO","30Rnd_556x45_Stanag"],["M4A3_CCO_EP1","30Rnd_556x45_Stanag"],["M4A3_CCO_EP1","30Rnd_556x45_Stanag"],["M4A1_AIM_SD_camo","30Rnd_556x45_StanagSD"],["M16A4","30Rnd_556x45_Stanag"],["m8_carbine","30Rnd_556x45_Stanag"],["BAF_L85A2_RIS_Holo","30Rnd_556x45_Stanag"],["Sa58V_CCO_EP1","30Rnd_762x39_AK47"]]; // Assault
ai_wep_machine = [["RPK_74","75Rnd_545x39_RPK"],["MK_48_DZ","100Rnd_762x51_M240"],["M249_EP1_DZ","200Rnd_556x45_M249"],["Pecheneg_DZ","100Rnd_762x54_PK"],["M240_DZ","100Rnd_762x51_M240"]]; // Light machine guns
ai_wep_sniper = [["M14_EP1","20Rnd_762x51_DMR"],["SCAR_H_LNG_Sniper_SD","20Rnd_762x51_SB_SCAR"],["M110_NVG_EP1","20rnd_762x51_B_SCAR"],["SVD_CAMO","10Rnd_762x54_SVD"],["VSS_Vintorez","20Rnd_9x39_SP5_VSS"],["DMR","20Rnd_762x51_DMR"],["M40A3","5Rnd_762x51_M24"]]; // Sniper rifles

 

with:

ai_wep_assault = [
["RH_hk416","30Rnd_556x45_Stanag"]
,["RH_hk416s","30Rnd_556x45_Stanag"]
,["RH_hk416saim","30Rnd_556x45_Stanag"]
,["RH_hk416seotech","30Rnd_556x45_Stanag"]
,["RH_hk416sacog","30Rnd_556x45_Stanag"]
,["RH_hk416sd","30Rnd_556x45_StanagSD"]
,["RH_hk416sdaim","30Rnd_556x45_StanagSD"]
,["RH_hk416sdeotech","30Rnd_556x45_StanagSD"]
,["RH_hk416aim","30Rnd_556x45_Stanag"]
,["RH_hk416eotech","30Rnd_556x45_Stanag"]
,["RH_hk416acog","30Rnd_556x45_Stanag"]
,["RH_hk416gl","30Rnd_556x45_Stanag"]
,["RH_hk416glaim","30Rnd_556x45_Stanag"]
,["RH_hk416gleotech","30Rnd_556x45_Stanag"]
,["RH_hk416glacog","30Rnd_556x45_Stanag"]
,["RH_hk416sgl","30Rnd_556x45_Stanag"]
,["RH_hk416sglaim","30Rnd_556x45_Stanag"]
,["RH_hk416sgleotech","30Rnd_556x45_Stanag"]
,["RH_hk416sglacog","30Rnd_556x45_Stanag"]
,["RH_hk416sdgl","30Rnd_556x45_StanagSD"]
,["RH_hk416sdglaim","30Rnd_556x45_StanagSD"]
,["RH_hk416sdgleotech","30Rnd_556x45_StanagSD"]
,["RH_hk417","RH_20Rnd_762x51_hk417"]
,["RH_hk417aim","RH_20Rnd_762x51_hk417"]
,["RH_hk417eotech","RH_20Rnd_762x51_hk417"]
,["RH_hk417acog","RH_20Rnd_762x51_hk417"]
,["RH_hk417s","RH_20Rnd_762x51_hk417"]
,["RH_hk417saim","RH_20Rnd_762x51_hk417"]
,["RH_hk417seotech","RH_20Rnd_762x51_hk417"]
,["RH_hk417sacog","RH_20Rnd_762x51_hk417"]
,["RH_hk417sd","RH_20Rnd_762x51_SD_hk417"]
,["RH_hk417sdaim","RH_20Rnd_762x51_SD_hk417"]
,["RH_hk417sdeotech","RH_20Rnd_762x51_SD_hk417"]
,["RH_hk417sdacog","RH_20Rnd_762x51_SD_hk417"]
,["RH_hk417sdsp","RH_20Rnd_762x51_SD_hk417"]
,["RH_hk417sgl","RH_20Rnd_762x51_hk417"]
,["RH_hk417sglaim","RH_20Rnd_762x51_hk417"]
,["RH_hk417sgleotech","RH_20Rnd_762x51_hk417"]
,["RH_hk417sglacog","RH_20Rnd_762x51_hk417"]
,["RH_ctar21","30Rnd_556x45_Stanag"]
,["RH_ctar21glacog","30Rnd_556x45_Stanag"]
,["RH_ctar21m","30Rnd_556x45_Stanag"]
,["RH_ctar21mgl","30Rnd_556x45_Stanag"]
,["RH_star21","30Rnd_556x45_Stanag"]
,["RH_mas","30Rnd_556x45_Stanag"]
,["RH_masaim","30Rnd_556x45_Stanag"]
,["RH_maseotech","30Rnd_556x45_Stanag"]
,["RH_masacog","30Rnd_556x45_Stanag"]
,["RH_massd","30Rnd_556x45_StanagSD"]
,["RH_massdaim","30Rnd_556x45_StanagSD"]
,["RH_massdeotech","30Rnd_556x45_StanagSD"]
,["RH_massdacog","30Rnd_556x45_StanagSD"]
,["RH_masb","30Rnd_556x45_Stanag"]
,["RH_masbaim","30Rnd_556x45_Stanag"]
,["RH_masbeotech","30Rnd_556x45_Stanag"]
,["RH_masbacog","30Rnd_556x45_Stanag"]
,["RH_masbsd","30Rnd_556x45_StanagSD"]
,["RH_masbsdaim","30Rnd_556x45_StanagSD"]
,["RH_masbsdeotech","30Rnd_556x45_StanagSD"]
,["RH_masbsdacog","30Rnd_556x45_StanagSD"]
,["SCAR_L_CQC","30Rnd_556x45_Stanag"]
,["SCAR_L_CQC_Holo","30Rnd_556x45_Stanag"]
,["SCAR_L_STD_Mk4CQT","30Rnd_556x45_Stanag"]
,["SCAR_L_STD_EGLM_RCO","30Rnd_556x45_Stanag"]
,["SCAR_L_CQC_EGLM_Holo","30Rnd_556x45_Stanag"]
,["SCAR_L_STD_HOLO","30Rnd_556x45_Stanag"]
,["SCAR_L_CQC_CCO_SD","30Rnd_556x45_StanagSD"]
,["SCAR_H_CQC_CCO","20rnd_762x51_B_SCAR"]
,["SCAR_H_CQC_CCO_SD","20rnd_762x51_SB_SCAR"]
,["SCAR_H_STD_EGLM_Spect","20rnd_762x51_B_SCAR"]
,["FHQ_ACR_WDL_IRN","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_IRN_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_IRN_GL","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_IRN_GL_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_CCO","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_CCO_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_CCO_GL","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_CCO_GL_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_RCO","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_RCO_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_RCO_GL","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_RCO_GL_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_HWS","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_HWS_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_HWS_GL","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_HWS_GL_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_G33","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_G33_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_G33_GL","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_G33_GL_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_HAMR","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_HAMR_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_HAMR_GL","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_HAMR_GL_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_IRN","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_IRN_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_IRN_GL","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_IRN_GL_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_CCO","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_CCO_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_CCO_GL","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_CCO_GL_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_RCO","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_RCO_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_RCO_GL","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_RCO_GL_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_HWS","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_HWS_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_HWS_GL","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_HWS_GL_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_G33","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_G33_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_G33_GL","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_G33_GL_F","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_HAMR","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_BLK_HAMR_GL","FHQ_rem_30Rnd_680x43_ACR"]
,["FHQ_ACR_WDL_IRN_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_IRN_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_IRN_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_IRN_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_CCO_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_CCO_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_CCO_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_CCO_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_RCO_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_RCO_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_RCO_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_RCO_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_HWS_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_HWS_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_HWS_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_HWS_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_G33_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_G33_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_G33_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_WDL_G33_GL_SD_F","FHQ_rem_30R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HQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_BLK_G33_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_BLK_G33_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_BLK_G33_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_BLK_G33_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_BLK_HAMR_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_BLK_HAMR_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["FHQ_ACR_BLK_HAMR_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"]
,["vil_G36KVA4","30Rnd_556x45_G36"]
,["vil_G36KA4","30Rnd_556x45_G36"]
,["vil_G36E","30Rnd_556x45_G36"]
,["vil_G36a2","30Rnd_556x45_G36"]
,["vil_AG36","30Rnd_556x45_G36"]
,["vil_AG36A2","30Rnd_556x45_G36"]
,["vil_AG36KV","30Rnd_556x45_G36"]
,["vil_AG36KA4","30Rnd_556x45_G36"]
,["vil_G36VA4","30Rnd_556x45_G36"]
,["vil_G36VA4Eot","30Rnd_556x45_G36"]
,["vil_G36KVZ","30Rnd_556x45_G36"]
,["vil_G36KSK","30Rnd_556x45_G36"]
,["vil_G36KSKdes","30Rnd_556x45_G36"]
,["vil_G36KSKdesES","30Rnd_556x45_G36"]
,["vil_G36CC","30Rnd_556x45_G36"]
,["vil_G36KSKES","30Rnd_556x45_G36"]
,["vil_G36KES","30Rnd_556x45_G36"]
,["vil_G36KV3","30Rnd_556x45_G36"]
,["vil_G36KV3Des","30Rnd_556x45_G36"]
,["vil_SKS","vil_10Rnd_762x39_SKS"]
,["vil_Galil","Vil_35Rnd_556x45_G"]
,["vil_Galil_arm","Vil_35Rnd_556x45_G"]
,["FN_FAL","20Rnd_762x51_FNFAL"]
,["FN_FAL_ANPVS4","20Rnd_762x51_FNFAL"]
,["G36A_camo","30Rnd_556x45_G36"]
,["G36C","30Rnd_556x45_G36"]
,["G36C_camo","30Rnd_556x45_G36"]
,["G36K_camo","30Rnd_556x45_G36"]
,["G36_C_SD_camo","30Rnd_556x45_G36"]
,["M16A2","30Rnd_556x45_Stanag"]
,["M16A2GL","30Rnd_556x45_Stanag"]
,["M16A4_ACG","30Rnd_556x45_Stanag"]
,["M4A1","30Rnd_556x45_Stanag"]
,["M4A1_Aim","30Rnd_556x45_Stanag"]
,["M4A1_AIM_SD_camo","30Rnd_556x45_StanagSD"]
,["M4A1_HWS_GL_camo","30Rnd_556x45_Stanag"]
,["M4A3_CCO_EP1","30Rnd_556x45_Stanag"]
,["Sa58P_EP1","30Rnd_762x39_SA58"]
,["Sa58V_CCO_EP1","30Rnd_762x39_SA58"]
,["Sa58V_EP1","30Rnd_762x39_SA58"]
,["Sa58V_RCO_EP1","30Rnd_762x39_SA58"]
,["m8_compact","30Rnd_556x45_G36"]
,["m8_sharpshooter","30Rnd_556x45_G36"]
,["m8_holo_sd","30Rnd_556x45_G36SD"]
,["m8_carbine","30Rnd_556x45_G36"]
,["BAF_L85A2_RIS_SUSAT","30Rnd_556x45_Stanag"]
,["BAF_L85A2_RIS_Holo","30Rnd_556x45_Stanag"]
,["M4A1_HWS_GL_SD_Camo","30Rnd_556x45_StanagSD"]
,["AK_107_PSO","30Rnd_545x39_AK"]
]; // Assault

ai_wep_machine = [
["RPK_74","75Rnd_545x39_RPK"]
,["MK_48_DZ","100Rnd_762x51_M240"]
,["M249_EP1_DZ","200Rnd_556x45_M249"]
,["Pecheneg_DZ","100Rnd_762x54_PK"]
,["M240_DZ","100Rnd_762x51_M240"]
,["vil_PKP","100Rnd_762x54_PK"]
,["Pecheneg_DZ","100Rnd_762x54_PK"]
,["USSOF_Mk_48","100Rnd_762x51_M240"]
,["vil_PKP_EOT","100Rnd_762x54_PK"]
,["skavil_M60","100Rnd_762x51_M240"]
,["skavil_M60e3","100Rnd_762x51_M240"]
,["vil_zastava_m84","100Rnd_762x54_PK"]
,["vil_PKM","100Rnd_762x54_PK"]
,["vil_RPD","vil_100Rnd_762x39_RPD"]
,["vil_Mg3","100Rnd_762x51_M240"]
,["vil_M249_Para","200Rnd_556x45_M249"]
,["Mk_48_DZ","100Rnd_762x51_M240"]
,["vil_Minimi","200Rnd_556x45_M249"]
,["vil_FnMag","100Rnd_762x51_M240"]
,["vil_M240_B","100Rnd_762x51_M240"]
,["M240_DZ","100Rnd_762x51_M240"]
,["vil_MG4","200Rnd_556x45_M249"]
,["vil_MG4E","200Rnd_556x45_M249"]
,["M249_m145_EP1_DZE","100Rnd_556x45_M249"]
,["m240_scoped_EP1_DZE","100Rnd_762x51_M240"]
,["M60A4_EP1_DZE","100Rnd_762x51_M240"]
]; // Light machine guns

ai_wep_sniper = [
["RH_hk417sp","RH_20Rnd_762x51_hk417"]
,["RH_hk417s","RH_20Rnd_762x51_hk417"]
,["RH_m21","RH_20Rnd_762x51_hk417"]
,["RH_sc2","RH_20Rnd_762x51_hk417"]
,["RH_sc2acog","RH_20Rnd_762x51_hk417"]
,["RH_sc2aim","RH_20Rnd_762x51_hk417"]
,["RH_sc2eot","RH_20Rnd_762x51_hk417"]
,["RH_sc2shd","RH_20Rnd_762x51_hk417"]
,["RH_sc2sp","RH_20Rnd_762x51_hk417"]
,["RH_m1sacog","RH_20Rnd_762x51_hk417"]
,["RH_m1saim","RH_20Rnd_762x51_hk417"]
,["RH_m1seot","RH_20Rnd_762x51_hk417"]
,["RH_m1sshd","RH_20Rnd_762x51_hk417"]
,["RH_m1ssp","RH_20Rnd_762x51_hk417"]
,["RH_m1st","RH_20Rnd_762x51_hk417"]
,["RH_m1stacog","RH_20Rnd_762x51_hk417"]
,["RH_m1staim","RH_20Rnd_762x51_hk417"]
,["RH_m1steot","RH_20Rnd_762x51_hk417"]
,["RH_m1stshd","RH_20Rnd_762x51_hk417"]
,["RH_m1stsp","RH_20Rnd_762x51_hk417"]
,["vil_SR25","20Rnd_762x51_DMR"]
,["vil_M110","20Rnd_762x51_DMR"]
,["SCAR_H_LNG_Sniper","20rnd_762x51_B_SCAR"]
,["SCAR_H_LNG_Sniper_SD","20rnd_762x51_SB_SCAR"]
,["USSR_cheytacM200","USSR_5Rnd_408"]
,["USSR_cheytacM200_sd","USSR_5Rnd_408"]
,["FHQ_RSASS_TAN","FHQ_rem_20Rnd_762x51_PMAG_NT"]
,["FHQ_RSASS_SD_TAN","FHQ_rem_20Rnd_762x51_PMAG_NT_SD"]
,["FHQ_XM2010_DESERT","FHQ_rem_5Rnd_300Win_XM2010_NT"]
,["FHQ_XM2010_SD_DESERT","FHQ_rem_5Rnd_300Win_XM2010_NT_SD"]
,["FHQ_XM2010_NV_DESERT","FHQ_rem_5Rnd_300Win_XM2010_NT"]
,["FHQ_XM2010_NV_SD_DESERT","FHQ_rem_5Rnd_300Win_XM2010_NT_SD"]
,["M14_EP1","20Rnd_762x51_DMR"]
,["vil_M21G","20Rnd_762x51_DMR"]
,["vil_M14G","20Rnd_762x51_DMR"]
,["vil_SVD_63","10Rnd_762x54_SVD"]
,["vil_SVD_N","10Rnd_762x54_SVD"]
,["vil_SVD_P21","10Rnd_762x54_SVD"]
,["vil_SVDK","10Rnd_762x54_SVD"]
,["DMR_DZ","20Rnd_762x51_DMR"]
,["M4SPR","20Rnd_556x45_Stanag"]
,["M40A3","5Rnd_762x51_M24"]
,["SVD_CAMO","10Rnd_762x54_SVD"]
,["huntingrifle","5x_22_LR_17_HMR"]
,["SVD_des_EP1","10Rnd_762x54_SVD"]
,["SVD","10Rnd_762x54_SVD"]
,["M24_des_EP1","5Rnd_762x51_M24"]
,["M24","5Rnd_762x51_M24"]
,["BAF_LRR_scoped","5Rnd_86x70_L115A1"]
,["KSVK_DZE","5Rnd_127x108_KSVK"]
,["VSS_vintorez","10Rnd_9x39_SP5_VSS"]
]; // Sniper rifles

 

You could go further and and make a new array in the config containing only overwatch weapons and call that.

 

I have gone futher by adding more options so I can fill from 2 weapon arrays, 2 tool arrays 4 item arrays and 2 BP arrays. I will share my changes here, but there are 3 warnings.

1) Loot boxes are not that big, stuff will spill out onto the floor, although now boxes dont fill till the mission is complete it just looks untidy.

 

2) You will HAVE to update all you mission crate calls to accommodate these changes. I can share mine but that comes with another warning. There ain't much in them, I run a pretty (hard) server where magazines are looted and sold.

 

3) I am a total cut and paste n00b, these changes might not work with your settings, I just don't know.

 

Replace all in dynamic_crate.sqf with: (don't look its dirty)

 

private ["_tool","_crate","_weapon","_weapon1","_item","_item1","_item2","_item3","_backpack","_backpack1","_num_tools","_num_tools1","_num_items","_num_items1","_num_items2","_num_items3","_num_backpacks","_num_backpacks1","_num_weapons","_num_weapons1","_weapons_array","_weapons_array1","_tool_array","_tool_array1","_item_array","_item_array1","_item_array2","_item_array3","_backpack_array","_backpack_array1"];

_crate = _this select 0;

_num_weapons = _this select 1;
_weapons_array = ai_wep_random call BIS_fnc_selectRandom;

_num_tools = _this select 2;
_tool_array = crate_tools;

_num_items = _this select 3;
_item_array = crate_items;

_num_backpacks = _this select 4;
_backpack_array = crate_backpacks_all;

if (count _this > 5 ) then {
if(typeName (_this select 5) == "ARRAY") then {
_num_weapons1 = (_this select 5) select 0;
_weapons_array1 = (_this select 5) select 1;
} else {
_num_weapons1 = _this select 5;
_weapons_array1 = ai_wep_random call BIS_fnc_selectRandom;
};
};

if (count _this > 6 ) then {
if(typeName (_this select 6) == "ARRAY") then {
_num_tools1 = (_this select 6) select 0;
_tool_array1 = (_this select 6) select 1;
} else {
_num_tools1 = _this select 6;
_tool_array1 = crate_tools
};
};

if (count _this > 7 ) then {
if(typeName (_this select 7) == "ARRAY") then {
_num_items1 = (_this select 7) select 0;
_item_array1 = (_this select 7) select 1;
} else {
_num_items1 = _this select 7;
_item_array1 = crate_items
};
};

if (count _this > 8 ) then {
if(typeName (_this select 8) == "ARRAY") then {
_num_backpacks1 = (_this select 8) select 0;
_backpack_array1 = (_this select 8) select 1;
} else {
_num_backpacks1 = _this select 8;
_backpack_array1 = crate_backpacks_all
};
};

if (count _this > 9 ) then {
if(typeName (_this select 9) == "ARRAY") then {
_num_items2 = (_this select 9) select 0;
_item_array2 = (_this select 9) select 1;
} else {
_num_items2 = _this select 9;
_item_array2= crate_items
};
};

if (count _this > 10 ) then {
if(typeName (_this select 10) == "ARRAY") then {
_num_items3 = (_this select 10) select 0;
_item_array3 = (_this select 10) select 1;
} else {
_num_items3 = _this select 10;
_item_array3 = crate_items
};
};

if(debug_mode) then {
diag_log format["WAI: Spawning in a dynamic crate with %1 guns, %5 guns1, %2 tools, %6 tools1, %3 items, %7 items1, %8 items2, %9 items3, %4 backpacks and %10 backpacks1",_num_weapons,_num_tools,_num_items,_num_backpacks,_num_weapons1,_num_tools1,_num_items1,_num_items2,_num_items3,_num_backpacks1];
};

PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_crate];

clearWeaponCargoGlobal _crate;
clearMagazineCargoGlobal _crate;

if(_num_weapons > 0) then {

_num_weapons = (ceil((_num_weapons) / 2) + floor(random (_num_weapons / 2)));

for "_i" from 1 to _num_weapons do {
_weapon = _weapons_array call BIS_fnc_selectRandom;
_crate addWeaponCargoGlobal [(_weapon select 0),1];
_crate addMagazineCargoGlobal [(_weapon select 1), (1 + floor(random 4))];
};

};

if(_num_tools > 0) then {

_num_tools = (ceil((_num_tools) / 2) + floor(random (_num_tools / 2)));

for "_i" from 1 to _num_tools do {
_tool = _tool_array call BIS_fnc_selectRandom;

if(typeName (_tool) == "ARRAY") then {
_crate addWeaponCargoGlobal [_tool select 0,_tool select 1];
} else {
_crate addWeaponCargoGlobal [_tool,1];
};
};

};

if(_num_items > 0) then {

_num_items = (ceil((_num_items) / 2) + floor(random (_num_items / 2)));

for "_i" from 1 to _num_items do {
_item = _item_array call BIS_fnc_selectRandom;

if(typeName (_item) == "ARRAY") then {
_crate addMagazineCargoGlobal [_item select 0,_item select 1];
} else {
_crate addMagazineCargoGlobal [_item,1];
};
};

};

if(_num_backpacks > 0) then {

_num_backpacks = (ceil((_num_backpacks) / 2) + floor(random (_num_backpacks / 2)));

for "_i" from 1 to _num_backpacks do {
_backpack = _backpack_array call BIS_fnc_selectRandom;

if(typeName (_backpack) == "ARRAY") then {
_crate addBackpackCargoGlobal [_backpack select 0,_backpack select 1];
} else {
_crate addBackpackCargoGlobal [_backpack,1];
};
};

};

if(_num_weapons1 > 0) then {

_num_weapons1 = (ceil((_num_weapons1) / 2) + floor(random (_num_weapons1 / 2)));

for "_i" from 1 to _num_weapons1 do {
_weapon1 = _weapons_array1 call BIS_fnc_selectRandom;
_crate addWeaponCargoGlobal [(_weapon1 select 0),1];
_crate addMagazineCargoGlobal [(_weapon1 select 1), (1 + floor(random 4))];
};

};

if(_num_tools1 > 0) then {

_num_tools1 = (ceil((_num_tools1) / 2) + floor(random (_num_tools1 / 2)));

for "_i" from 1 to _num_tools1 do {
_tool1 = _tool_array1 call BIS_fnc_selectRandom;

if(typeName (_tool1) == "ARRAY") then {
_crate addWeaponCargoGlobal [_tool1 select 0,_tool1 select 1];
} else {
_crate addWeaponCargoGlobal [_tool1,1];
};
};

};

if(_num_items1 > 0) then {

_num_items1 = (ceil((_num_items1) / 2) + floor(random (_num_items1 / 2)));

for "_i" from 1 to _num_items1 do {
_item1 = _item_array1 call BIS_fnc_selectRandom;

if(typeName (_item1) == "ARRAY") then {
_crate addMagazineCargoGlobal [_item1 select 0,_item1 select 1];
} else {
_crate addMagazineCargoGlobal [_item1,1];
};
};

};

if(_num_items2 > 0) then {

_num_items2 = (ceil((_num_items2) / 2) + floor(random (_num_items2 / 2)));

for "_i" from 1 to _num_items2 do {
_item2 = _item_array2 call BIS_fnc_selectRandom;

if(typeName (_item2) == "ARRAY") then {
_crate addMagazineCargoGlobal [_item2 select 0,_item2 select 1];
} else {
_crate addMagazineCargoGlobal [_item2,1];
};
};

};

if(_num_items3 > 0) then {

_num_items3 = (ceil((_num_items3) / 2) + floor(random (_num_items3 / 2)));

for "_i" from 1 to _num_items3 do {
_item3 = _item_array3 call BIS_fnc_selectRandom;

if(typeName (_item3) == "ARRAY") then {
_crate addMagazineCargoGlobal [_item3 select 0,_item3 select 1];
} else {
_crate addMagazineCargoGlobal [_item3,1];
};
};

};

if(_num_backpacks1 > 0) then {

_num_backpacks1 = (ceil((_num_backpacks1) / 2) + floor(random (_num_backpacks1 / 2)));

for "_i" from 1 to _num_backpacks1 do {
_backpack1 = _backpack_array1 call BIS_fnc_selectRandom;

if(typeName (_backpack1) == "ARRAY") then {
_crate addBackpackCargoGlobal [_backpack1 select 0,_backpack1 select 1];
} else {
_crate addBackpackCargoGlobal [_backpack1,1];
};
};
};

if(wai_high_value) then {

if(random 100 < wai_high_value_chance) then {

_item = crate_items_high_value call BIS_fnc_selectRandom;
_crate addMagazineCargoGlobal [_item,1];
};

};

 

To call a crate example:

[_crate1,3,5,10,1,[1,ai_wep_sniper],[2,crate_tools_buildable],[5,crate_items_buildables],[1,crate_backpacks_large],[10,crate_items_vehicle_repair],0] call dynamic_crate;

 

The first 4 HAVE to be a number only, they are in order,

[#weapons, #tools, #items, #BP's,[#weapons,weapon array],[#tools,tool array],[#items,item array],[#BP's,BP array],[#items,item array], [#items,item array]].

If you are not using a 'slot' you will need to set it to 0. You have to be careful about calling for weapons, tools or items in the wrong place. You can put a weapon in a tools slot, ammo less. The only thing I do that with is the chainsaw to the buildables tools array.

 

I dont know if anyone understand's all that, I barely do and always have trouble explaining myself.

 

I have also added some AI on Napf to the island in the NE, with the array, and Urals full of loot. I can post that too if you would like it, not originally my work TBH.

Link to comment
Share on other sites

@PeterBeer:

Please replace your mission_functions.sqf with this one and report back with your new RPT.

 

isNearWater = {

	private["_result","_position","_radius"];

	_result     = false;
	_position   = _this select 0;
	_radius     = _this select 1;
	
	for "_i" from 0 to 359 step 45 do {
		_position = [(_position select 0) + (sin(_i)*_radius), (_position select 1) + (cos(_i)*_radius)];
		if (surfaceIsWater _position) exitWith {
			_result = true; 
		};
	};

	_result

};

isNearTown = {

	private["_result","_position","_radius","_locations"];

	_result     = false;
	_position   = _this select 0;
	_radius     = _this select 1;
	
	_locations = [["NameCityCapital","NameCity","NameVillage"],[_position,_radius]] call BIS_fnc_locations;

	if (count _locations > 0) then { 
		_result = true; 
	};

	_result

};

isNearRoad = {

	private["_result","_position","_radius","_roads"];

	_result     = false;
	_position   = _this select 0;
	_radius     = _this select 1;
	
	_roads = _position nearRoads _radius;

	if (count _roads > 0) then {
		_result = true;
	};

	_result

};

isSlope = {

	private["_pos","_result","_position","_posx","_posy","_radius","_gradient","_max","_min","_posx","_posy"];

	_result     = false;
	_position   = _this select 0;
	_posx       = _position select 0;
	_posy       = _position select 1;
	_radius     = _this select 1;
	_gradient   = _this select 2;
	_max        = getTerrainHeightASL [_posx,_posy];
	_min        = getTerrainHeightASL [_posx,_posy];

	for "_i" from 0 to 359 step 45 do {
		_pos = [_posx + (sin(_i)*_radius), _posy + (cos(_i)*_radius)];
		_min = _min min getTerrainHeightASL _pos;
		_max = _max max getTerrainHeightASL _pos;
	};

	_result = ((_max - _min) > _gradient);
	_result

};

inDebug = {

	private["_result","_position","_hasdebug","_xLeft","_xRight","_yTop","_yBottom"];

	_result         = false;
	_position       = _this;
	_hasdebug       = false;
	_xLeft          = 0;
	_xRight         = 0;
	_yTop           = 0;
	_yBottom        = 0;

	call {
		if(worldName == "Takistan")             exitWith { _hasdebug = true; _xLeft = 200; _xRight = 12600; _yTop = 12600; _yBottom = 200; };
		if(worldName == "Shapur_BA")            exitWith { _hasdebug = true; _xLeft = 200; _xRight = 1900; _yTop = 1900; _yBottom = 200; };
		if(worldName == "Zargabad")             exitWith { _hasdebug = true; _xLeft = 200; _xRight = 7963; _yTop = 8091; _yBottom = 200; };
		if(worldName == "ProvingGrounds_PMC")   exitWith { _hasdebug = true; _xLeft = 200; _xRight = 1900; _yTop = 1900; _yBottom = 200; };
		if(worldName == "Chernarus")            exitWith { _hasdebug = true; _xLeft = 1000; _xRight = 13350; _yTop = 13350; _yBottom = 1000; };
		if(worldName == "sauerland")            exitWith { _hasdebug = true; _xLeft = 1000; _xRight = 24400; _yTop = 24500; _yBottom = 1200; };
	};

	if(_hasdebug) then {
		if (_position select 0 < _xLeft)    exitWith { _result = true; };
		if (_position select 0 > _xRight)   exitWith { _result = true; };
		if (_position select 1 > _yTop)     exitWith { _result = true; };
		if (_position select 1 < _yBottom)  exitWith { _result = true; };
	};

	diag_log format["WAI: inDebug check | Position %1 | Worldname %2 | Hasdebug: %3 | XY: %4-%5-%6-%7",_position,worldName,_hasdebug,_xLeft,_xRight,_yTop,_yBottom];

	_result

};

get_trader_markers = {

	private["_result"];

	_result = [];

	call {
		if(worldName == "Chernarus")    exitWith { _result = ["Tradercitystary","wholesaleSouth","boatTraderEast","BoatDealerSouth","AirVehicles","BanditDen","Klen","BoatDealerEast","TradercityBash","HeroTrader"]; };
		if(worldName == "Napf")         exitWith { _result = ["NeutralTraderCity","FriendlyTraderCity","HeroVendor","BanditVendor","West Wholesaler","NorthWholesaler","NorthBoatVendor","SouthBoatVendor","NeutralTraderCity","NeutralTraderCIty2","UnarmedAirVehicles"]; };
	};

	_result

};

find_suitable_ammunition = {

	private["_weapon","_result","_ammoArray"];

	_result     = false;
	_weapon     = _this;
	_ammoArray  = getArray (configFile >> "cfgWeapons" >> _weapon >> "magazines");

	if (count _ammoArray > 0) then {
		_result = _ammoArray select 0;
		call {
			if(_result == "20Rnd_556x45_Stanag")    exitWith { _result = "30Rnd_556x45_Stanag"; };
			if(_result == "30Rnd_556x45_G36")       exitWith { _result = "30Rnd_556x45_Stanag"; };
			if(_result == "30Rnd_556x45_G36SD")     exitWith { _result = "30Rnd_556x45_StanagSD"; };
		};
	};

	_result

};

Ok done that file 

 

here are the logs and image 

 

Log : https://www.dropbox.com/s/hyep9f2cupmraat/arma2oaserver.RPT?dl=0

 

Image :

YZkPRRL.jpg

Link to comment
Share on other sites

I have not looked at the files here for awhile... But using the original re-worked WAI before this topic was made I changed the loot in crates for overpoch as follows...

 

In ExtraLargeGunBox.sqf :

//Extra Large Gun Box

_box = _this select 0;
_box setVariable ["ObjectID","1",true];
_box setVariable ["permaLoot",true];
PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_box];

clearWeaponCargoGlobal _box;
clearMagazineCargoGlobal _box;

// RIFLES
_numberofguns=round(random 7)+1;
for "_i" from 1 to _numberofguns do {
    _weapon = WAIprimaryList call BIS_fnc_selectRandom;
    _mags = getArray (configFile >> "cfgWeapons" >> _weapon >> "magazines");
    _box addWeaponCargoGlobal [_weapon,1];
    _box addMagazineCargoGlobal [(_mags select 0),round(random 2) + 1];
};

// PISTOLS
_numberofpistols=round(random 2)+1;
for "_i" from 1 to _numberofpistols do {
    _weapon = WAIpistolList call BIS_fnc_selectRandom;
    _mags = getArray (configFile >> "cfgWeapons" >> _weapon >> "magazines");
    _box addWeaponCargoGlobal [_weapon,1];
    _box addMagazineCargoGlobal [(_mags select 0),round(random 2) + 1];
};

//BACKPACKS
_numPacks=round(random 2)+1;
for "_i" from 1 to _numPacks do {
    _backPack = ai_packs call BIS_fnc_selectRandom;
    _box addBackpackCargoGlobal [_backPack,1];
};

// CLOTHING
_box addMagazineCargoGlobal ["Skin_Drake_Light_DZ", 2];
 

 

in AIConfig.sqf

 

WAIpistolList = ["Colt1911","glock17_EP1","M9","M9SD","Makarov","MakarovSD","revolver_EP1","UZI_EP1"];

 

WAIprimaryList = ["AKS_74_kobra","AKS_74_U","AK_47_M","AK_74","BAF_L85A2_RIS_Holo","BAF_L85A2_RIS_SUSAT","bizon","bizon_silenced","FHQ_ACR_BLK_CCO","FHQ_ACR_BLK_CCO_F","FHQ_ACR_BLK_CCO_GL","FHQ_ACR_BLK_CCO_GL_F","FHQ_ACR_BLK_CCO_GL_SD","FHQ_ACR_BLK_CCO_GL_SD_F","FHQ_ACR_BLK_CCO_SD","FHQ_ACR_BLK_CCO_SD_F","FHQ_ACR_BLK_G33","FHQ_ACR_BLK_G33_F","FHQ_ACR_BLK_G33_GL","FHQ_ACR_BLK_G33_GL_F","FHQ_ACR_BLK_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_SD","FHQ_ACR_WDL_G33_SD_F","FHQ_ACR_WDL_HAMR","FHQ_ACR_WDL_HAMR_F","FHQ_ACR_WDL_HAMR_GL","FHQ_ACR_WDL_HAMR_GL_F","FHQ_ACR_WDL_HAMR_GL_SD","FHQ_ACR_WDL_HAMR_GL_SD_F","FHQ_ACR_WDL_HAMR_SD","FHQ_ACR_WDL_HAMR_SD_F","FHQ_ACR_WDL_HWS","FHQ_ACR_WDL_HWS_F","FHQ_ACR_WDL_HWS_GL","FHQ_ACR_WDL_HWS_GL_F","FHQ_ACR_WDL_HWS_GL_SD","FHQ_ACR_WDL_HWS_GL_SD_F","FHQ_ACR_WDL_HWS_SD","FHQ_ACR_WDL_HWS_SD_F","FHQ_ACR_WDL_IRN","FHQ_ACR_WDL_IRN_F","FHQ_ACR_WDL_IRN_GL","FHQ_ACR_WDL_IRN_GL_F","FHQ_ACR_WDL_IRN_GL_SD","FHQ_ACR_WDL_IRN_GL_SD_F","FHQ_ACR_WDL_IRN_SD","FHQ_ACR_WDL_IRN_SD_F","FHQ_ACR_WDL_RCO","FHQ_ACR_WDL_RCO_F","FHQ_ACR_WDL_RCO_GL","FHQ_ACR_WDL_RCO_GL_F","FHQ_ACR_WDL_RCO_GL_SD","FHQ_ACR_WDL_RCO_GL_SD_F","FHQ_ACR_WDL_RCO_SD","FHQ_ACR_WDL_RCO_SD_F","FN_FAL","FN_FAL_ANPVS4","G36A_camo","G36C","G36C_camo","G36K_camo","G36_C_SD_camo","gms_k98","vil_G36KSKdesES","M14_EP1","M16A2","M16A2GL","M16A4","M16A4_ACG","M4A1","M4A1_Aim","M4A1_AIM_SD_camo","M4A1_HWS_GL_camo","M4A1_HWS_GL_SD_Camo","M4A3_CCO_EP1","m8_carbine","m8_carbine","m8_compact","m8_holo_sd","M8_SAW","M8_sharpshooter","MP5A5","MP5SD","RH_ctar21","RH_ctar21glacog","RH_ctar21m","RH_ctar21mgl","RH_hk416","RH_hk416acog","RH_hk416aim","RH_hk416eotech","RH_hk416gl","RH_hk416glacog","RH_hk416glaim","RH_hk416gleotech","RH_hk416s","RH_hk416sacog","RH_hk416saim","RH_hk416sd","RH_hk416sdaim","RH_hk416sdeotech","RH_hk416sdgl","RH_hk416sdglaim","RH_hk416sdgleotech","RH_hk416seotech","RH_hk416sgl","RH_hk416sglaim","RH_hk417","RH_hk417acog","RH_hk417aim","RH_hk417eotech","RH_hk417sacog","RH_hk417saim","RH_hk417sd","RH_hk417sdacog","RH_hk417sdaim","RH_hk417sdeotech","RH_hk417seotech","RH_hk417sgl","RH_hk417sglacog","RH_hk417sglaim","RH_hk417sgleotech","RH_m14","RH_m14acog","RH_m14aim","RH_m14eot","RH_m1sacog","RH_m1saim","RH_m1seot","RH_m1stacog","RH_m1staim","RH_m1steot","RH_mas","RH_masacog","RH_masaim","RH_masb","RH_masbacog","RH_masbaim","RH_masbeotech","RH_masbsd""RH_masbsdacog""RH_masbsdaim""RH_masbsdeotech""RH_maseotech","RH_massd""RH_massdacog""RH_massdaim""RH_massdeotech""RH_sc2acog","RH_sc2aim","RH_sc2eot","RH_star21","Sa58P_EP1","Sa58V_CCO_EP1","Sa58V_CCO_EP1","Sa58V_EP1","Sa58V_RCO_EP1","Sa58V_RCO_EP1","Saiga12K","SCAR_H_CQC_CCO","SCAR_H_CQC_CCO_SD","SCAR_H_STD_EGLM_Spect","SCAR_L_CQC","SCAR_L_CQC_CCO_SD""SCAR_L_CQC_EGLM_Holo","SCAR_L_CQC_Holo","SCAR_L_STD_EGLM_RCO","SCAR_L_STD_HOLO","SCAR_L_STD_Mk4CQT","vil_9a91","vil_9a91_c","vil_9a91_csd","vil_Abakan","vil_Abakan_gp","vil_Abakan_P29","vil_AEK1","vil_AEK2","vil_AeK_23","vil_AeK_3","vil_AeK_3_K","vil_AEK_GL","vil_AG3","vil_AG36","vil_AG36A2","vil_AG36KA4","vil_AG36KV","vil_AG3EOT","vil_ak12","vil_ak12_ap","vil_ak12_gp","vil_AKM","vil_AKMS","vil_AKMSB","vil_AKMS_GP25","vil_AKM_GL","vil_AKS_47","vil_AKS_74","vil_AKS_74p","vil_AKS_74p_45","vil_AKS_74p_gp","vil_AKS_74_gp","vil_AKs_74_u","vil_AKs_74_u45","Vil_AKS_74_UB""Vil_AKS_74_UN_kobra""vil_AK_101","vil_AK_103","vil_AK_105","Vil_AK_105_c","vil_AK_107","Vil_AK_107_c","vil_AK_47","vil_AK_47_49","vil_AK_47_m1","vil_AK_74","vil_AK_74m","vil_AK_74m_c","vil_AK_74m_EOT","vil_AK_74m_EOT_Alfa","vil_AK_74m_EOT_FSB","vil_AK_74m_EOT_FSB_45","vil_AK_74m_EOT_FSB_60","vil_AK_74m_gp","vil_AK_74m_gp_29","vil_AK_74m_k","vil_AK_74m_p29","vil_AK_74M_PSO","vil_AK_74P","vil_AK_74_N","vil_AK_nato_m1","vil_AK_nato_m80","vil_AMD","vil_AMD63","vil_ASH82","vil_G36a2","vil_G36CC","vil_G36E","vil_G36KA4","vil_G36KES","vil_G36KSK","vil_G36KSKdes","vil_G36KSKES","vil_G36KV3","vil_G36KV3Des","vil_G36KVA4","vil_G36KVZ","vil_G36VA4","vil_G36VA4Eot","vil_G3a2","vil_G3a3","vil_G3a4","vil_G3a4b","vil_G3an","vil_G3anb","vil_G3SG1","vil_G3sg1b","vil_G3TGS","vil_G3TGSb","vil_G3ZF","vil_G3zfb","vil_Galil","vil_Groza_GL","vil_Groza_HG","vil_Groza_SC","vil_Groza_SD","vil_M14G","vil_M64","vil_M70","vil_M70B","vil_MP5SD_EOTech","vil_MP5_EOTech","vil_MPi","vil_PMI","vil_PMI74S","vil_PMIS","vil_SKS","vil_type88_1","vil_VAL","vil_VAL_C","vil_Vikhr","vil_vsk94"];

 

ai_packs = [
"DZ_Czech_Vest_Puch",
"DZ_ALICE_Pack_EP1",
"DZ_TK_Assault_Pack_EP1",
"DZ_British_ACU",
"DZ_GunBag_EP1",
"DZ_CivilBackpack_EP1",
"DZ_Backpack_EP1",
"DZ_LargeGunBag_EP1"
];

 

Hope this helps someone.  Especially the part where someone mentioned making a list of magazines for guns... my method there works best using the cfg files

_mags = getArray (configFile >> "cfgWeapons" >> _weapon >> "magazines");

_box addMagazineCargoGlobal [(_mags select 0),round(random 2) + 1];

Link to comment
Share on other sites

Seems like I fixed it it by changing : wai_mission_spread = 2000; to wai_mission_spread = 1500;

 

Hmm weird, that should have popped up with Did you get round updating to that one?

 

At least we know we know what is causing it. I'm guessing something is now working well with the DZMS, will need to look into their code to be sure about that. You might wanna lower the value a bit further (and next time it might be wise to tell us about these kind of changes  :P)

Link to comment
Share on other sites

@UKCPirate: Wow i'm actually impressed you managed to do that with little or no scripting experience! You might wanna do something with that ;)

I'll work on extending the dynamic crate to better suit your needs, so you can use it like this.

[
    _crate,    
    [
        [ai_weapons_sniper,5],
        [ai_waepons_assault,3]
    ],
    [ai_tools_sniper,3],
    [
        [ai_items_sniper,5],
        [ai_items_buildables,30],
        [ai_items_medical,20]
    ],
    [ai_backpacks_large,5]
] call dynamic_crate;
Link to comment
Share on other sites

 

@UKCPirate: Wow i'm actually impressed you managed to do that with little or no scripting experience! You might wanna do something with that ;)

I'll work on extending the dynamic crate to better suit your needs, so you can use it like this.

[
    _crate,    
    [
        [ai_weapons_sniper,5],
        [ai_waepons_assault,3]
    ],
    [ai_tools_sniper,3],
    [
        [ai_items_sniper,5],
        [ai_items_buildables,30],
        [ai_items_medical,20]
    ],
    [ai_backpacks_large,5]
] call dynamic_crate;

Thanks, I might just be a cut and paste pro! Do you have a job for me. ;)

 

That would be great, I knew there was an array way of do it but was far too complicated for me.

 

Just noticed the para drops start position isn't what I thought it was. ATM on Napf they all start in the bottom left, took ages before they got to my NE AI island. Players were all comfortable looting the Ural's then.... and most of them died. Was great to watch after the initial where the hell are my paratroopers.

Link to comment
Share on other sites

I am sorry but I have to be a noob BUT I am trying to get the loot crates to here any TWS weapons dont get on my server. I have never had a problem with it until now so how can i take them out? Whn a player picks one up, Infistar kicks them so I need to delete the code for all those weapons. Thanks for the help! I am running an EPOCH server.

Link to comment
Share on other sites

I am sorry but I have to be a noob BUT I am trying to get the loot crates to here any TWS weapons dont get on my server. I have never had a problem with it until now so how can i take them out? Whn a player picks one up, Infistar kicks them so I need to delete the code for all those weapons. Thanks for the help! I am running an EPOCH server.

TWS weapons are not included in our missions by default... maybe it's another mod?

Link to comment
Share on other sites

Hero Missions are for heroes but at hero mission there's a "B" in the Marker :D So confusing.. Changed that because my players were going insane not knowing which mission was for them. 
Besides that so far it seems to working great and my own missions seem to be working as well so thank you for the update! =)

Link to comment
Share on other sites

Get the following error when setting backpacks to none on troops.

 

Warning Message: Bad vehicle type

Bad bug! *squash*

 

change

		if(_aipack != "none") then {
			_unit addBackpack _aipack;
		};

to

		if(_backpack != "none") then {
			_unit addBackpack _aipack;
		};

Thanks!

Link to comment
Share on other sites

Update 2.1.2
Fixed some minor issues with 2.1.1

Changelog

2.1.2

  • Added output variable to all unit group spawns
  • Position the mayor inside a random room until player arrives
  • Fixed bad vehicle on "none" backpack
  • Fixed overpowered loot at President in Town mission

Please update to the latest version or do the changes yourself.

Download

Link to comment
Share on other sites

We run a PvE Epoch server and don't really need the distinction between the bandit and hero missions. I have all the missions defined as bandit now but am not sure how to change the markers so that they show just as bandit or better yet so they just show the name of the missions. I'm pretty sure it's in this block but I'm not sure what to change. If anyone could help I would greatly appreciate it.

 

call {
if(_type == "mainhero") exitWith { _name = " " + _name; };
if(_type == "mainbandit") exitWith { _name = " " + _name; };
if(_type == "special") exitWith { _name = " " + _name; };
 
Could I just take out the "/[H]" so that the call is if(_type == "mainhero") exitWith { _name = _name; }; or would it be if(_type == "mainhero") exitWith { _name; };?
 
Thanks for the help.
Link to comment
Share on other sites

 

We run a PvE Epoch server and don't really need the distinction between the bandit and hero missions. I have all the missions defined as bandit now but am not sure how to change the markers so that they show just as bandit or better yet so they just show the name of the missions. I'm pretty sure it's in this block but I'm not sure what to change. If anyone could help I would greatly appreciate it.

 

call {
if(_type == "mainhero") exitWith { _name = " " + _name; };
if(_type == "mainbandit") exitWith { _name = " " + _name; };
if(_type == "special") exitWith { _name = " " + _name; };
 
Could I just take out the "/[H]" so that the call is if(_type == "mainhero") exitWith { _name = _name; }; or would it be if(_type == "mainhero") exitWith { _name; };?
 
Thanks for the help.

 

If you really want to do that you could just remove that whole call block

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Advertisement
×
×
  • Create New...