Jump to content

[Release] Wicked AI 2.2.0


f3cuk

Recommended Posts

I'm not sure if this or the GIT is the best place for a feature request.

 

Some people have modded WAI  to run "side" missions that spawn while a "main" mission is running.  These are smaller missions that use a smaller marker.  If I can provide any more info please let me know.  Players love it!

Link to comment
Share on other sites

After the mission completes the script is only spawning flares, any ideas ?  also getting the below errors

 

 

 

 

21:32:26 Error in expression <(_x select 0),(_x select 1)];
} forEach _aicskill;

{
_x addweapon "Makarov";
_x>
21:32:26   Error position: <_aicskill;

{
_x addweapon "Makarov";
_x>
21:32:26   Error Undefined variable in expression: _aicskill
21:32:26 File z\addons\dayz_server\WAI\compile\heli_patrol.sqf, line 63
21:32:26 Error in expression <(_x select 0),(_x select 1)];
} forEach _aicskill;

{
_x addweapon "Makarov";
_x>
21:32:26   Error position: <_aicskill;

{
_x addweapon "Makarov";
_x>
21:32:26   Error Undefined variable in expression: _aicskill
21:32:26 File z\addons\dayz_server\WAI\compile\heli_patrol.sqf, line 63

Link to comment
Share on other sites

Looking forward to adding this to our server soon, thanks for the update.

 

We're having a problem with people biking into missions now and the AI, even at their hardest skill level, do not respond quick enough.  They can make it to mission vehicles and drive off in most cases with no issue.  Anyone know of anything that can be done to fix it?  I'd love to see something that auto ejects you from the bike if you are within X distance of an AI.

Link to comment
Share on other sites

Hello, can do you reckon someone could tell me where abouts I have to edit to add in overpoch weapons please. In previous versions it was in the missioncfg.cfg but it looks all different now.

 

old config file :

 

// Number of guns to spawn in ammo boxes
    wai_mission_numberofguns = 9;
    // classnames of guns to spawn in ammo boxes (only class weapons)
    ammo_box_guns = [
    "M9SD",
    "M9",
    "AKS_74_UN_kobra",
    "AK_107_GL_kobra",
    "M4A3_CCO_EP1",
    "M4A1_AIM_SD_camo",
    "M16A4_ACG",
    "M8_carbineGL",
    "VSS_vintorez",
    "M8_sharpshooter",
    "M40A3",
    "Mk_48_DZ",
    "M240_DZ",
    "M249_DZ",
    "Pecheneg_DZ",
    "RPK_74",
    "BAF_LRR_scoped",
    "DMR",
    "SVD_CAMO",
    "SCAR_H_LNG_Sniper_SD",
    "M110_NVG_EP1",
    "Sa58V_RCO_EP1",
    "KSVK_DZE",
    "BAF_L86A2_ACOG",
    "M14_EP1",
    "Sa58V_CCO_EP1",
    "AK_47_M","AK_74","AKS_74_kobra","AKS_74_U","BAF_L85A2_RIS_Holo","bizon_silenced","FN_FAL_ANPVS4","FN_FAL","G36A_camo","G36C_camo","G36C","G36K_camo","M1014","M16A2","M16A2GL","M4A1_AIM_SD_camo","M4A1_Aim","M4A1_HWS_GL_camo","M4A1","M4A3_CCO_EP1","Remington870_lamp","Sa58P_EP1","Sa58V_CCO_EP1","Sa58V_EP1","Sa58V_RCO_EP1",
    "FHQ_ACR_BASE","FHQ_ACR_BASE_F","FHQ_ACR_BASE_L","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_G33_GL_SD","FHQ_ACR_BLK_G33_GL_SD_F",
    "FHQ_ACR_BLK_G33_SD","FHQ_ACR_BLK_G33_SD_F","FHQ_ACR_BLK_HAMR","FHQ_ACR_BLK_HAMR_F","FHQ_ACR_BLK_HAMR_GL","FHQ_ACR_BLK_HAMR_GL_F","FHQ_ACR_BLK_HAMR_GL_SD","FHQ_ACR_BLK_HAMR_GL_SD_F","FHQ_ACR_BLK_HAMR_SD","FHQ_ACR_BLK_HAMR_SD_F","FHQ_ACR_BLK_HWS","FHQ_ACR_BLK_HWS_F","FHQ_ACR_BLK_HWS_GL","FHQ_ACR_BLK_HWS_GL_F","FHQ_ACR_BLK_HWS_GL_SD","FHQ_ACR_BLK_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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",
    "FHQ_MSR_BASE","FHQ_MSR_DESERT","FHQ_MSR_NV_DESERT","FHQ_MSR_NV_SD_DESERT","FHQ_MSR_SD_BASE","FHQ_MSR_SD_DESERT","FHQ_RSASS_BASE","FHQ_RSASS_SD_BASE","FHQ_RSASS_SD_TAN","FHQ_RSASS_TAN","FHQ_XM2010_BASE","FHQ_XM2010_DESERT","FHQ_XM2010_NV_DESERT",
    "FHQ_XM2010_NV_SD_DESERT","FHQ_XM2010_SD_BASE","FHQ_XM2010_SD_DESERT","FHQ_XM2010_WDL_CAMO","gms_k98","gms_k98zf39","gms_k98_knife","gms_k98_rg","RH_acr","RH_acracog","RH_acraim","RH_acrb","RH_acrbacog","RH_acrbaim","RH_acrbeotech","RH_acrbgl","RH_acrbglacog","RH_acrbglaim","RH_acrbgleotech","RH_acreotech",
    "RH_acrgl","RH_acrglacog","RH_acrglaim","RH_acrgleotech","RH_anac","RH_anacg","RH_browninghp","RH_bull","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_hk416sglacog","RH_hk416sglaim","RH_hk416sgleotech","RH_hk417","RH_hk417acog","RH_hk417aim","RH_hk417eotech","RH_hk417s","RH_hk417sacog","RH_hk417saim","RH_hk417sd","RH_hk417sdacog","RH_hk417sdaim","RH_hk417sdeotech","RH_hk417sdsp","RH_hk417seotech",
    "RH_hk417sgl","RH_hk417sglacog","RH_hk417sglaim","RH_hk417sgleotech","RH_hk417sp","RH_m14","RH_m14acog","RH_m14aim","RH_m14eot","RH_m1s","RH_m1sacog","RH_m1saim","RH_m1seot","RH_m1sshd","RH_m1ssp","RH_m1st","RH_m1stacog","RH_m1staim","RH_m1steot","RH_m1stshd","RH_m1stsp","RH_m21","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_mk2","RH_mk22","RH_mk22sd","RH_mk22v","RH_mk22vsd","RH_muzi","RH_p226","RH_p226s","RH_p38","RH_ppk","RH_python","RH_sc2","RH_sc2acog","RH_sc2aim","RH_sc2eot","RH_sc2shd","RH_sc2sp","RH_star21","RH_tec9",
    "RH_tt33","RH_vz61","skavil_M60","skavil_M60e3","vilas_rpg22","vilas_rpg26","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_AK47_BASE",
    "vil_AKM","vil_AKMS","vil_AKMSB","vil_AKMS_GP25","vil_AKM_BASE","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_AKS_BASE","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_N","vil_AK_74m_p29","vil_AK_74M_PSO","vil_AK_74P","vil_AK_74_gp","vil_AK_74_N","vil_AK_nato_m1","vil_AK_nato_m80","vil_AMD",
    "vil_AMD63","vil_APS","vil_apssd","vil_ASH82","vil_B_HP","vil_CG84T","vil_DRM_BASE","vil_Fal","vil_Fal_Para","vil_FnMag","vil_G36a2","vil_G36CC","vil_G36E","vil_G36KA4","vil_G36KES","vil_G36KSK","vil_G36KSKdes","vil_G36KSKdesES","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_Galil_arm","vil_Groza_GL","vil_Groza_HG","vil_Groza_SC","vil_Groza_SD","vil_HK33","vil_HK416_Aim","VIL_HK416_EDR","vil_HK416_EOT","vil_HK416_GL","vil_HK416_IS","vil_HK417s","vil_Insas","vil_Insas_lmg","vil_M110",
    "vil_M110sd","vil_M14","vil_M14G","vil_M16A1","vil_M21","vil_M21G","vil_M240_B","vil_M249_Para","vil_M24b","VIL_M4","vil_m40a3","VIL_M4_aim","vil_M4_EOT","vil_M64","vil_M70","vil_M70B","vil_M76","vil_M91","vil_Mg3","vil_MG4","vil_MG4E","vil_Minimi","vil_MP5SD_EOTech","vil_MP5_EOTech","vil_MPi","vil_NATO_AK","vil_Panzerfaust3","vil_PK","vil_PKM",
    "vil_PKM_N","vil_PKP","vil_PKP_EOT","vil_PMI","vil_PMI74S","vil_PMIS","vil_PSL1","Vil_PYA","vil_Rak74sgl","vil_RPD","Vil_RPG16","Vil_RPG29","Vil_RPG7d_PGO","Vil_RPG7V_PGO","vil_RPK","vil_RPK74","vil_RPK74M","vil_RPK74M_N","vil_RPK74M_P29","vil_RPK75","vil_RPK75_M72","vil_RPK75_Romania","Vil_RPO_A","vil_sg540","vil_sg542","vil_sg542f","vil_SKS","vil_SR25",
    "vil_SR25SD","vil_SVDK","vil_SVD_63","vil_SVD_BASE","vil_SVD_M","vil_SVD_N","vil_SVD_P21","vil_SVD_S","vil_SVU","vil_SVU_A","vil_SV_98","vil_SV_98_69","vil_SV_98_SD","vil_Tt33","vil_type88_1","vil_VAL","vil_VAL_C","vil_VAL_N","vil_Vikhr","vil_vsk94","vil_VSS_N","vil_VSS_PSO","vil_zastava_m84"
    ];


// Number of tools to spawn in ammo boxes 

 

 

Not sure where to put it now.

 

 

Cheers

 

 

Robbie

Link to comment
Share on other sites

Ok my Pck_boxes works well. Unfortunately the build in boxes have an error if called from custom spawn.

[..]
22:29:05 "WAI: Spawning in a dynamic box with <null> guns, <null> tools and <null> items"
22:29:05 Error in expression <ns	= _this select 1;
_num_tools	= _this select 2;
_num_items	= _this select 3;

>
22:29:05   Error position: <select 2;
_num_items	= _this select 3;

>
[..]

We have changed the spawn_ammo_box to include 3 paramaters for number of guns, number of items and number of tools. Use it like this

5 guns

15 items

3 tools

 

[5,15,3] call spawn_ammo_box;
 

For some reason the tank traps dont disapear after the missions ends, but the mines do, could a mod like plot 4 life or deploy anything have something to do?

 

Could you post your server RPT file?

 

I'm not sure if this or the GIT is the best place for a feature request.

 

Some people have modded WAI  to run "side" missions that spawn while a "main" mission is running.  These are smaller missions that use a smaller marker.  If I can provide any more info please let me know.  Players love it!

This is actually something planned for future release. But interested to learn how you "some people" have done this.

 

@f3uck - appreciate the reply, works like a charm. Made my evening.

 

happy gaming

 

Red

Hi Red, glad you like it so much!

 

After the mission completes the script is only spawning flares, any ideas ?  also getting the below errors

What do you mean with "only spawning flares"? I don't think it is suppossed to do anything else. The heli_patrol has been fixed in 2.0.2

 

Looking forward to adding this to our server soon, thanks for the update.

 

We're having a problem with people biking into missions now and the AI, even at their hardest skill level, do not respond quick enough.  They can make it to mission vehicles and drive off in most cases with no issue.  Anyone know of anything that can be done to fix it?  I'd love to see something that auto ejects you from the bike if you are within X distance of an AI.

Hmm this is new to me and will be something we'll look at in the future.

 

Hello, can do you reckon someone could tell me where abouts I have to edit to add in overpoch weapons please. In previous versions it was in the missioncfg.cfg but it looks all different now.

 

old config file :

[...] 

 

Not sure where to put it now.

 

 

Cheers

 

 

Robbie

For now you can add them in the main (and only) config file. We are working on a feature that auto selects all weapons in your loot table.

Link to comment
Share on other sites

We have changed the spawn_ammo_box to include 3 paramaters for number of guns, number of items and number of tools. Use it like this

5 guns

15 items

3 tools

 

[5,15,3] call spawn_ammo_box;

Hi thanks for reply.

I cant find the way how to define that in :

_box1 = createVehicle ["BAF_VehicleBox",[4467.0278,10659.71,-3.0517578e-005], [], 0, "CAN_COLLIDE"];
[_box1] call spawn_ammo_box;

Should be something like this?:

_box1 = createVehicle ["BAF_VehicleBox",[4467.0278,10659.71,-3.0517578e-005], [], 0, "CAN_COLLIDE"];
[[_box1],[5,15,3]] call spawn_ammo_box;
Link to comment
Share on other sites

 

Hi thanks for reply.

I cant find the way how to define that in :

_box1 = createVehicle ["BAF_VehicleBox",[4467.0278,10659.71,-3.0517578e-005], [], 0, "CAN_COLLIDE"];
[_box1] call spawn_ammo_box;

Should be something like this?:

_box1 = createVehicle ["BAF_VehicleBox",[4467.0278,10659.71,-3.0517578e-005], [], 0, "CAN_COLLIDE"];
[[_box1],[5,15,3]] call spawn_ammo_box;

Close..

[_box1,5,15,3] call spawn_ammo_box;
Link to comment
Share on other sites

We're having a problem with people biking into missions now and the AI, even at their hardest skill level, do not respond quick enough. 

 

 

Even the slightest bit of server low performance directly impacts AI awareness. But you can set the vehicles fuel to 0 to stop them driving off or set damage to remove a wheel. 

Link to comment
Share on other sites

We have changed the spawn_ammo_box to include 3 paramaters for number of guns, number of items and number of tools. Use it like this

5 guns

15 items

3 tools

 

[5,15,3] call spawn_ammo_box;
 

 

Could you post your server RPT file?

 

This is actually something planned for future release. But interested to learn how you "some people" have done this.

 

Hi Red, glad you like it so much!

 

What do you mean with "only spawning flares"? I don't think it is suppossed to do anything else. The heli_patrol has been fixed in 2.0.2

 

Hmm this is new to me and will be something we'll look at in the future.

 

For now you can add them in the main (and only) config file. We are working on a feature that auto selects all weapons in your loot table.

 

 

If you look on my server, I have one big mission and two small missions running at the same time. The way that I do it though is using Wicked AI and DZMS. ZMS ctually works side by side with WAI wich is what I thought is cool about it!

Link to comment
Share on other sites

Hello, can do you reckon someone could tell me where abouts I have to edit to add in overpoch weapons please. In previous versions it was in the missioncfg.cfg but it looks all different now.

 

old config file :

 

// Number of guns to spawn in ammo boxes
    wai_mission_numberofguns = 9;
    // classnames of guns to spawn in ammo boxes (only class weapons)
    ammo_box_guns = [
    "M9SD",
    "M9",
    "AKS_74_UN_kobra",
    "AK_107_GL_kobra",
    "M4A3_CCO_EP1",
    "M4A1_AIM_SD_camo",
    "M16A4_ACG",
    "M8_carbineGL",
    "VSS_vintorez",
    "M8_sharpshooter",
    "M40A3",
    "Mk_48_DZ",
    "M240_DZ",
    "M249_DZ",
    "Pecheneg_DZ",
    "RPK_74",
    "BAF_LRR_scoped",
    "DMR",
    "SVD_CAMO",
    "SCAR_H_LNG_Sniper_SD",
    "M110_NVG_EP1",
    "Sa58V_RCO_EP1",
    "KSVK_DZE",
    "BAF_L86A2_ACOG",
    "M14_EP1",
    "Sa58V_CCO_EP1",
    "AK_47_M","AK_74","AKS_74_kobra","AKS_74_U","BAF_L85A2_RIS_Holo","bizon_silenced","FN_FAL_ANPVS4","FN_FAL","G36A_camo","G36C_camo","G36C","G36K_camo","M1014","M16A2","M16A2GL","M4A1_AIM_SD_camo","M4A1_Aim","M4A1_HWS_GL_camo","M4A1","M4A3_CCO_EP1","Remington870_lamp","Sa58P_EP1","Sa58V_CCO_EP1","Sa58V_EP1","Sa58V_RCO_EP1",
    "FHQ_ACR_BASE","FHQ_ACR_BASE_F","FHQ_ACR_BASE_L","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_G33_GL_SD","FHQ_ACR_BLK_G33_GL_SD_F",
    "FHQ_ACR_BLK_G33_SD","FHQ_ACR_BLK_G33_SD_F","FHQ_ACR_BLK_HAMR","FHQ_ACR_BLK_HAMR_F","FHQ_ACR_BLK_HAMR_GL","FHQ_ACR_BLK_HAMR_GL_F","FHQ_ACR_BLK_HAMR_GL_SD","FHQ_ACR_BLK_HAMR_GL_SD_F","FHQ_ACR_BLK_HAMR_SD","FHQ_ACR_BLK_HAMR_SD_F","FHQ_ACR_BLK_HWS","FHQ_ACR_BLK_HWS_F","FHQ_ACR_BLK_HWS_GL","FHQ_ACR_BLK_HWS_GL_F","FHQ_ACR_BLK_HWS_GL_SD","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R_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",
    "FHQ_MSR_BASE","FHQ_MSR_DESERT","FHQ_MSR_NV_DESERT","FHQ_MSR_NV_SD_DESERT","FHQ_MSR_SD_BASE","FHQ_MSR_SD_DESERT","FHQ_RSASS_BASE","FHQ_RSASS_SD_BASE","FHQ_RSASS_SD_TAN","FHQ_RSASS_TAN","FHQ_XM2010_BASE","FHQ_XM2010_DESERT","FHQ_XM2010_NV_DESERT",
    "FHQ_XM2010_NV_SD_DESERT","FHQ_XM2010_SD_BASE","FHQ_XM2010_SD_DESERT","FHQ_XM2010_WDL_CAMO","gms_k98","gms_k98zf39","gms_k98_knife","gms_k98_rg","RH_acr","RH_acracog","RH_acraim","RH_acrb","RH_acrbacog","RH_acrbaim","RH_acrbeotech","RH_acrbgl","RH_acrbglacog","RH_acrbglaim","RH_acrbgleotech","RH_acreotech",
    "RH_acrgl","RH_acrglacog","RH_acrglaim","RH_acrgleotech","RH_anac","RH_anacg","RH_browninghp","RH_bull","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_hk416sglacog","RH_hk416sglaim","RH_hk416sgleotech","RH_hk417","RH_hk417acog","RH_hk417aim","RH_hk417eotech","RH_hk417s","RH_hk417sacog","RH_hk417saim","RH_hk417sd","RH_hk417sdacog","RH_hk417sdaim","RH_hk417sdeotech","RH_hk417sdsp","RH_hk417seotech",
    "RH_hk417sgl","RH_hk417sglacog","RH_hk417sglaim","RH_hk417sgleotech","RH_hk417sp","RH_m14","RH_m14acog","RH_m14aim","RH_m14eot","RH_m1s","RH_m1sacog","RH_m1saim","RH_m1seot","RH_m1sshd","RH_m1ssp","RH_m1st","RH_m1stacog","RH_m1staim","RH_m1steot","RH_m1stshd","RH_m1stsp","RH_m21","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_mk2","RH_mk22","RH_mk22sd","RH_mk22v","RH_mk22vsd","RH_muzi","RH_p226","RH_p226s","RH_p38","RH_ppk","RH_python","RH_sc2","RH_sc2acog","RH_sc2aim","RH_sc2eot","RH_sc2shd","RH_sc2sp","RH_star21","RH_tec9",
    "RH_tt33","RH_vz61","skavil_M60","skavil_M60e3","vilas_rpg22","vilas_rpg26","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_AK47_BASE",
    "vil_AKM","vil_AKMS","vil_AKMSB","vil_AKMS_GP25","vil_AKM_BASE","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_AKS_BASE","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_N","vil_AK_74m_p29","vil_AK_74M_PSO","vil_AK_74P","vil_AK_74_gp","vil_AK_74_N","vil_AK_nato_m1","vil_AK_nato_m80","vil_AMD",
    "vil_AMD63","vil_APS","vil_apssd","vil_ASH82","vil_B_HP","vil_CG84T","vil_DRM_BASE","vil_Fal","vil_Fal_Para","vil_FnMag","vil_G36a2","vil_G36CC","vil_G36E","vil_G36KA4","vil_G36KES","vil_G36KSK","vil_G36KSKdes","vil_G36KSKdesES","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_Galil_arm","vil_Groza_GL","vil_Groza_HG","vil_Groza_SC","vil_Groza_SD","vil_HK33","vil_HK416_Aim","VIL_HK416_EDR","vil_HK416_EOT","vil_HK416_GL","vil_HK416_IS","vil_HK417s","vil_Insas","vil_Insas_lmg","vil_M110",
    "vil_M110sd","vil_M14","vil_M14G","vil_M16A1","vil_M21","vil_M21G","vil_M240_B","vil_M249_Para","vil_M24b","VIL_M4","vil_m40a3","VIL_M4_aim","vil_M4_EOT","vil_M64","vil_M70","vil_M70B","vil_M76","vil_M91","vil_Mg3","vil_MG4","vil_MG4E","vil_Minimi","vil_MP5SD_EOTech","vil_MP5_EOTech","vil_MPi","vil_NATO_AK","vil_Panzerfaust3","vil_PK","vil_PKM",
    "vil_PKM_N","vil_PKP","vil_PKP_EOT","vil_PMI","vil_PMI74S","vil_PMIS","vil_PSL1","Vil_PYA","vil_Rak74sgl","vil_RPD","Vil_RPG16","Vil_RPG29","Vil_RPG7d_PGO","Vil_RPG7V_PGO","vil_RPK","vil_RPK74","vil_RPK74M","vil_RPK74M_N","vil_RPK74M_P29","vil_RPK75","vil_RPK75_M72","vil_RPK75_Romania","Vil_RPO_A","vil_sg540","vil_sg542","vil_sg542f","vil_SKS","vil_SR25",
    "vil_SR25SD","vil_SVDK","vil_SVD_63","vil_SVD_BASE","vil_SVD_M","vil_SVD_N","vil_SVD_P21","vil_SVD_S","vil_SVU","vil_SVU_A","vil_SV_98","vil_SV_98_69","vil_SV_98_SD","vil_Tt33","vil_type88_1","vil_VAL","vil_VAL_C","vil_VAL_N","vil_Vikhr","vil_vsk94","vil_VSS_N","vil_VSS_PSO","vil_zastava_m84"
    ];


// Number of tools to spawn in ammo boxes 

 

 

Not sure where to put it now.

 

 

Cheers

 

 

Robbie

 

Here you have modified config lines epoch and overwatch mix:

 

UPDATED due typo

 

 

ai_wep_assault = [["AKS_74_kobra","30Rnd_545x39_AK"],["AKS_74_U","30Rnd_545x39_AK"],["AK_47_M","30Rnd_762x39_AK47"],["AK_74","30Rnd_545x39_AK"],["BAF_L85A2_RIS_Holo","30Rnd_556x45_Stanag"],["BAF_L85A2_RIS_SUSAT","30Rnd_556x45_Stanag"],["bizon","64Rnd_9x19_Bizon"],["bizon_silenced","64Rnd_9x19_SD_Bizon"],["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_CCO_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_CCO_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_CCO_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_CCO_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["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_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_G33_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_G33_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_HAMR","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_BLK_HAMR_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_BLK_HAMR_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_BLK_HAMR_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["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"],["FHQ_ACR_BLK_HAMR_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_HAMR_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["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_HWS_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_HWS_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_HWS_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_HWS_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["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_IRN_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_IRN_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_IRN_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_IRN_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["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_RCO_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_RCO_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_RCO_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_BLK_RCO_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_CCO","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_CCO_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_CCO_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_CCO_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_CCO_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_CCO_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_CCO_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_CCO_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_G33","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_G33_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_G33_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_G33_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_G33_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_G33_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_G33_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_G33_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_HAMR","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_HAMR_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_HAMR_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_HAMR_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_HAMR_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_HAMR_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_HAMR_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_HAMR_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_HWS","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_HWS_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_HWS_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_HWS_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_HWS_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_HWS_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_HWS_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_HWS_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_IRN","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_IRN_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_IRN_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_IRN_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_IRN_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_IRN_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_IRN_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_IRN_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_RCO","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_RCO_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_RCO_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_RCO_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_SNW_RCO_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_RCO_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_RCO_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_SNW_RCO_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_CCO","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_CCO_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_CCO_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_CCO_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_CCO_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_CCO_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_CCO_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_CCO_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_G33","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_G33_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_G33_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_G33_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_G33_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_G33_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_G33_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_G33_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_HAMR","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_HAMR_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_HAMR_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_HAMR_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_HAMR_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_HAMR_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_HAMR_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_HAMR_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_HWS","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_HWS_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_HWS_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_HWS_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_HWS_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_HWS_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_HWS_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_HWS_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_IRN","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_IRN_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_IRN_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_IRN_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_IRN_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_IRN_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_IRN_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_IRN_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_RCO","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_RCO_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_RCO_GL","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_RCO_GL_F","FHQ_rem_30Rnd_680x43_ACR"],["FHQ_ACR_TAN_RCO_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_RCO_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_RCO_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_TAN_RCO_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["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_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_CCO_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_WDL_CCO_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["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_G33_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_WDL_G33_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_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_WDL_HAMR_GL_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_WDL_HAMR_GL_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_WDL_HAMR_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_WDL_HAMR_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["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_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_HWS_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_WDL_HWS_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["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_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_IRN_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_WDL_IRN_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["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_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_RCO_SD","FHQ_rem_30Rnd_680x43_ACR_SD"],["FHQ_ACR_WDL_RCO_SD_F","FHQ_rem_30Rnd_680x43_ACR_SD"],["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_G36SD"],["gms_k98","gms_k98_mag"],["vil_G36KSKdesES","30Rnd_556x45_G36"],["M14_EP1","20Rnd_762x51_DMR"],["M16A2","30Rnd_556x45_Stanag"],["M16A2GL","30Rnd_556x45_Stanag"],["M16A4","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"],["M4A1_HWS_GL_SD_Camo","30Rnd_556x45_StanagSD"],["M4A3_CCO_EP1","30Rnd_556x45_Stanag"],["m8_carbine","30Rnd_556x45_G36"],["m8_carbine","30Rnd_556x45_Stanag"],["m8_compact","30Rnd_556x45_G36"],["m8_holo_sd","30Rnd_556x45_G36SD"],["M8_SAW","100Rnd_556x45_BetaCMag"],["M8_sharpshooter","30Rnd_556x45_Stanag"],["MP5A5","30Rnd_9x19_MP5"],["MP5SD","30Rnd_9x19_MP5SD"],["RH_ctar21","30Rnd_556x45_Stanag"],["RH_ctar21glacog","30Rnd_556x45_Stanag"],["RH_ctar21m","30Rnd_556x45_Stanag"],["RH_ctar21mgl","30Rnd_556x45_Stanag"],["RH_hk416","30Rnd_556x45_Stanag"],["RH_hk416acog","30Rnd_556x45_Stanag"],["RH_hk416aim","30Rnd_556x45_Stanag"],["RH_hk416eotech","30Rnd_556x45_Stanag"],["RH_hk416gl","30Rnd_556x45_Stanag"],["RH_hk416glacog","30Rnd_556x45_Stanag"],["RH_hk416glaim","30Rnd_556x45_Stanag"],["RH_hk416gleotech","30Rnd_556x45_Stanag"],["RH_hk416s","30Rnd_556x45_Stanag"],["RH_hk416sacog","30Rnd_556x45_Stanag"],["RH_hk416saim","30Rnd_556x45_Stanag"],["RH_hk416sd","30Rnd_556x45_StanagSD"],["RH_hk416sdaim","30Rnd_556x45_StanagSD"],["RH_hk416sdeotech","30Rnd_556x45_StanagSD"],["RH_hk416sdgl","30Rnd_556x45_StanagSD"],["RH_hk416sdglaim","30Rnd_556x45_StanagSD"],["RH_hk416sdgleotech","30Rnd_556x45_StanagSD"],["RH_hk416seotech","30Rnd_556x45_Stanag"],["RH_hk416sgl","30Rnd_556x45_Stanag"],["RH_hk416sglaim","30Rnd_556x45_Stanag"],["RH_hk417","RH_20Rnd_762x51_hk417"],["RH_hk417acog","RH_20Rnd_762x51_hk417"],["RH_hk417aim","RH_20Rnd_762x51_hk417"],["RH_hk417eotech","RH_20Rnd_762x51_hk417"],["RH_hk417sacog","RH_20Rnd_762x51_hk417"],["RH_hk417saim","RH_20Rnd_762x51_hk417"],["RH_hk417sd","RH_20Rnd_762x51_SD_hk417"],["RH_hk417sdacog","RH_20Rnd_762x51_SD_hk417"],["RH_hk417sdaim","RH_20Rnd_762x51_SD_hk417"],["RH_hk417sdeotech","RH_20Rnd_762x51_SD_hk417"],["RH_hk417seotech","RH_20Rnd_762x51_hk417"],["RH_hk417sgl","RH_20Rnd_762x51_hk417"],["RH_hk417sglacog","RH_20Rnd_762x51_hk417"],["RH_hk417sglaim","RH_20Rnd_762x51_hk417"],["RH_hk417sgleotech","RH_20Rnd_762x51_hk417"],["RH_m14","20Rnd_762x51_DMR"],["RH_m14acog","20Rnd_762x51_DMR"],["RH_m14aim","20Rnd_762x51_DMR"],["RH_m14eot","20Rnd_762x51_DMR"],["RH_m1sacog","20Rnd_762x51_DMR"],["RH_m1saim","20Rnd_762x51_DMR"],["RH_m1seot","20Rnd_762x51_DMR"],["RH_m1stacog","20Rnd_762x51_DMR"],["RH_m1staim","20Rnd_762x51_DMR"],["RH_m1steot","20Rnd_762x51_DMR"],["RH_mas","30Rnd_556x45_Stanag"],["RH_masacog","30Rnd_556x45_Stanag"],["RH_masaim","30Rnd_556x45_Stanag"],["RH_masb","30Rnd_556x45_Stanag"],["RH_masbacog","30Rnd_556x45_Stanag"],["RH_masbaim","30Rnd_556x45_Stanag"],["RH_masbeotech","30Rnd_556x45_Stanag"],["RH_masbsd","30Rnd_556x45_StanagSD"],["RH_masbsdacog","30Rnd_556x45_StanagSD"],["RH_masbsdaim","30Rnd_556x45_StanagSD"],["RH_masbsdeotech","30Rnd_556x45_StanagSD"],["RH_maseotech","30Rnd_556x45_Stanag"],["RH_massd","30Rnd_556x45_StanagSD"],["RH_massdacog","30Rnd_556x45_StanagSD"],["RH_massdaim","30Rnd_556x45_StanagSD"],["RH_massdeotech","30Rnd_556x45_StanagSD"],["RH_sc2acog","20Rnd_762x51_DMR"],["RH_sc2aim","20Rnd_762x51_DMR"],["RH_sc2eot","20Rnd_762x51_DMR"],["RH_star21","30Rnd_556x45_Stanag"],["Sa58P_EP1","30Rnd_762x39_SA58"],["Sa58V_CCO_EP1","30Rnd_762x39_AK47"],["Sa58V_CCO_EP1","30Rnd_762x39_SA58"],["Sa58V_EP1","30Rnd_762x39_SA58"],["Sa58V_RCO_EP1","0Rnd_762x39_SA58"],["Sa58V_RCO_EP1","30Rnd_762x39_AK47"],["Saiga12K","8Rnd_B_Saiga12_74Slug"],["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"],["SCAR_L_CQC","30Rnd_556x45_Stanag"],["SCAR_L_CQC_CCO_SD","30Rnd_556x45_StanagSD"],["SCAR_L_CQC_EGLM_Holo","30Rnd_556x45_Stanag"],["SCAR_L_CQC_Holo","30Rnd_556x45_Stanag"],["SCAR_L_STD_EGLM_RCO","30Rnd_556x45_Stanag"],["SCAR_L_STD_HOLO","30Rnd_556x45_Stanag"],["SCAR_L_STD_Mk4CQT","30Rnd_556x45_Stanag"],["vil_9a91","vil_20Rnd_9x39_SP6ns_OC"],["vil_9a91_c","vil_20Rnd_9x39_SP6ns_OC"],["vil_9a91_csd","vil_20Rnd_9x39_SP6_OC"],["vil_Abakan","30Rnd_545x39_AK"],["vil_Abakan_gp","30Rnd_545x39_AK"],["vil_Abakan_P29","30Rnd_545x39_AK"],["vil_AEK1","30Rnd_545x39_AK"],["vil_AEK2","30Rnd_545x39_AK"],["vil_AeK_23","30Rnd_762x39_AK47"],["vil_AeK_3","30Rnd_762x39_AK47"],["vil_AeK_3_K","30Rnd_762x39_AK47"],["vil_AEK_GL","30Rnd_545x39_AK"],["vil_AG3","vil_20Rnd_762x51_G3"],["vil_AG36","30Rnd_556x45_G36"],["vil_AG36A2","30Rnd_556x45_G36"],["vil_AG36KA4","30Rnd_556x45_G36"],["vil_AG36KV","30Rnd_556x45_G36"],["vil_AG3EOT","vil_20Rnd_762x51_G3"],["vil_ak12","30Rnd_545x39_AK"],["vil_ak12_ap","30Rnd_545x39_AK"],["vil_ak12_gp","30Rnd_545x39_AK"],["vil_AKM","30Rnd_762x39_AK47"],["vil_AKMS","30Rnd_762x39_AK47"],["vil_AKMSB","vil_30Rnd_762x39_AKSD"],["vil_AKMS_GP25","30Rnd_762x39_AK47"],["vil_AKM_GL","30Rnd_762x39_AK47"],["vil_AKS_47","30Rnd_762x39_AK47"],["vil_AKS_74","30Rnd_545x39_AK"],["vil_AKS_74p","30Rnd_545x39_AK"],["vil_AKS_74p_45","vil_45Rnd_545x39_AK"],["vil_AKS_74p_gp","30Rnd_545x39_AK"],["vil_AKS_74_gp","30Rnd_545x39_AK"],["vil_AKs_74_u","30Rnd_545x39_AK"],["vil_AKs_74_u45","vil_45Rnd_545x39_AK"],["Vil_AKS_74_UB","30Rnd_545x39_AKSD"],["Vil_AKS_74_UN_kobra","30Rnd_545x39_AKSD"],["vil_AK_101","VIL_30Rnd_556x45_AK"],["vil_AK_103","30Rnd_762x39_AK47"],["vil_AK_105","30Rnd_545x39_AK"],["Vil_AK_105_c","30Rnd_545x39_AK"],["vil_AK_107","30Rnd_545x39_AK"],["Vil_AK_107_c","30Rnd_545x39_AK"],["vil_AK_47","30Rnd_762x39_AK47"],["vil_AK_47_49","30Rnd_762x39_AK47"],["vil_AK_47_m1","30Rnd_762x39_AK47"],["vil_AK_74","30Rnd_545x39_AK"],["vil_AK_74m","30Rnd_545x39_AK"],["vil_AK_74m_c","30Rnd_545x39_AK"],["vil_AK_74m_EOT","30Rnd_545x39_AK"],["vil_AK_74m_EOT_Alfa","30Rnd_545x39_AK"],["vil_AK_74m_EOT_FSB","30Rnd_545x39_AK"],["vil_AK_74m_EOT_FSB_45","vil_45Rnd_545x39_AK"],["vil_AK_74m_EOT_FSB_60","vil_60Rnd_545x39_AK"],["vil_AK_74m_gp","30Rnd_545x39_AK"],["vil_AK_74m_gp_29","30Rnd_545x39_AK"],["vil_AK_74m_k","30Rnd_545x39_AK"],["vil_AK_74m_p29","30Rnd_545x39_AK"],["vil_AK_74M_PSO","30Rnd_545x39_AK"],["vil_AK_74P","30Rnd_545x39_AK"],["vil_AK_74_N","30Rnd_545x39_AK"],["vil_AK_nato_m1","VIL_30Rnd_556x45_AK"],["vil_AK_nato_m80","VIL_30Rnd_556x45_AK"],["vil_AMD","30Rnd_762x39_AK47"],["vil_AMD63","30Rnd_762x39_AK47"],["vil_ASH82","30Rnd_762x39_AK47"],["vil_G36a2","30Rnd_556x45_G36"],["vil_G36CC","30Rnd_556x45_G36"],["vil_G36E","30Rnd_556x45_G36"],["vil_G36KA4","30Rnd_556x45_G36"],["vil_G36KES","30Rnd_556x45_G36"],["vil_G36KSK","30Rnd_556x45_G36"],["vil_G36KSKdes","30Rnd_556x45_G36"],["vil_G36KSKES","30Rnd_556x45_G36"],["vil_G36KV3","30Rnd_556x45_G36"],["vil_G36KV3Des","30Rnd_556x45_G36"],["vil_G36KVA4","30Rnd_556x45_G36"],["vil_G36KVZ","30Rnd_556x45_G36"],["vil_G36VA4","30Rnd_556x45_G36"],["vil_G36VA4Eot","30Rnd_556x45_G36"],["vil_G3a2","vil_20Rnd_762x51_G3"],["vil_G3a3","vil_20Rnd_762x51_G3"],["vil_G3a4","vil_20Rnd_762x51_G3"],["vil_G3a4b","vil_20Rnd_762x51_G3"],["vil_G3an","vil_20Rnd_762x51_G3"],["vil_G3anb","vil_20Rnd_762x51_G3"],["vil_G3SG1","vil_20Rnd_762x51_G3"],["vil_G3sg1b","vil_20Rnd_762x51_G3"],["vil_G3TGS","vil_20Rnd_762x51_G3"],["vil_G3TGSb","vil_20Rnd_762x51_G3"],["vil_G3ZF","vil_20Rnd_762x51_G3"],["vil_G3zfb","vil_20Rnd_762x51_G3"],["vil_Galil","Vil_35Rnd_556x45_G"],["vil_Groza_GL","vil_20Rnd_9x39_SP6ns_OC"],["vil_Groza_HG","vil_20Rnd_9x39_SP6ns_OC"],["vil_Groza_SC","vil_20Rnd_9x39_SP6_OC"],["vil_Groza_SD","vil_20Rnd_9x39_SP6_OC"],["vil_M14G","20Rnd_762x51_DMR"],["vil_M64","30Rnd_762x39_AK47"],["vil_M70","30Rnd_762x39_AK47"],["vil_M70B","30Rnd_762x39_AK47"],["vil_MP5SD_EOTech","30Rnd_9x19_MP5SD"],["vil_MP5_EOTech","30Rnd_9x19_MP5"],["vil_MPi","30Rnd_762x39_AK47"],["vil_PMI","30Rnd_762x39_AK47"],["vil_PMI74S","30Rnd_545x39_AK"],["vil_PMIS","30Rnd_762x39_AK47"],["vil_SKS","vil_10Rnd_762x39_SKS"],["vil_type88_1","30Rnd_545x39_AK"],["vil_VAL","vil_20Rnd_9x39_SP6_VAL"],["vil_VAL_C","vil_20Rnd_9x39_SP6_VAL"],["vil_Vikhr","vil_20Rnd_9x39_SP6ns_OC"],["vil_vsk94","vil_20Rnd_9x39_SP6_OC"]];
 
ai_wep_machine = [["M240_DZ","100Rnd_762x51_M240"],["M240_DZ","100Rnd_762x51_M240"],["m240_scoped_EP1_DZE","100Rnd_762x51_M240"],["M249_DZ","200Rnd_556x45_M249"],["vil_zastava_m84","100Rnd_762x54_PK"],["M249_EP1_DZ","200Rnd_556x45_M249"],["M249_m145_EP1_DZE","100Rnd_556x45_M249"],["M60A4_EP1_DZE","100Rnd_762x51_M240"],["MG36","100Rnd_556x45_BetaCMag"],["MG36_camo","100Rnd_556x45_BetaCMag"],["Mk_48_DZ","100Rnd_762x51_M240"],["Pecheneg_DZ","100Rnd_762x54_PK"],["RPK_74","75Rnd_545x39_RPK"],["skavil_M60","100Rnd_762x51_M240"],["skavil_M60e3","100Rnd_762x51_M240"],["vil_Galil_arm","Vil_50Rnd_556x45_G"],["vil_M240_B","100Rnd_762x51_M240"],["vil_M249_Para","200Rnd_556x45_M249"],["vil_Mg3","100Rnd_762x51_M240"],["vil_MG4","200Rnd_556x45_M249"],["vil_MG4E","200Rnd_556x45_M249"],["vil_PK","100Rnd_762x54_PK"],["vil_PKM","100Rnd_762x54_PK"],["vil_PKP","100Rnd_762x54_PK"],["vil_PKP_EOT","100Rnd_762x54_PK"],["vil_RPD","vil_100Rnd_762x39_RPD"],["vil_RPK","vil_40Rnd_762x39_AK47"],["vil_RPK74","vil_45Rnd_545x39_AK"],["vil_RPK74M","vil_45Rnd_545x39_AK"],["vil_RPK74M_P29","vil_45Rnd_545x39_AK"],["vil_RPK75","vil_75Rnd_762x39_AK47"],["vil_RPK75_M72","vil_75Rnd_762x39_AK47"],["vil_RPK75_Romania","vil_75Rnd_762x39_AK47"]];
 
ai_wep_sniper = [["BAF_LRR_scoped","5Rnd_86x70_L115A1"],["DMR","20Rnd_762x51_DMR"],["FHQ_MSR_DESERT","FHQ_rem_7Rnd_338Lapua_MSR_NT"],["FHQ_MSR_NV_DESERT","FHQ_rem_7Rnd_338Lapua_MSR_NT"],["FHQ_MSR_NV_SD_DESERT","FHQ_rem_7Rnd_338Lapua_MSR_NT_SD"],["FHQ_MSR_SD_DESERT","FHQ_rem_7Rnd_338Lapua_MSR_NT_SD"],["FHQ_RSASS_SD_TAN","FHQ_rem_20Rnd_762x51_PMAG_NT_SD"],["vil_SV_98_69","vil_10Rnd_762x54_SV"],["vil_SV_98_SD","vil_10Rnd_762x54_SV"],["VSS_Vintorez","20Rnd_9x39_SP5_VSS"],["FHQ_RSASS_TAN","FHQ_rem_20Rnd_762x51_PMAG_NT"],["FHQ_XM2010_DESERT","FHQ_rem_5Rnd_300Win_XM2010_NT"],["FHQ_XM2010_NV_DESERT","FHQ_rem_5Rnd_300Win_XM2010_NT"],["FHQ_XM2010_NV_SD_DESERT","FHQ_rem_5Rnd_300Win_XM2010_NT_SD"],["FHQ_XM2010_SD_DESERT","FHQ_rem_5Rnd_300Win_XM2010_NT_SD"],["gms_k98zf39","gms_k98_mag"],["gms_k98_knife","gms_k98_mag"],["gms_k98_rg","gms_k98_mag"],["huntingrifle","5x_22_LR_17_HMR"],["KSVK_DZE","5Rnd_127x108_KSVK"],["M110_NVG_EP1","20rnd_762x51_B_SCAR"],["M24","5Rnd_762x51_M24"],["M24_des_EP1","5Rnd_762x51_M24"],["M40A3","5Rnd_762x51_M24"],["M4SPR","20Rnd_556x45_Stanag"],["m8_sharpshooter","30Rnd_556x45_G36"],["RH_hk417sdsp","RH_20Rnd_762x51_SD_hk417"],["RH_hk417sp","RH_20Rnd_762x51_hk417"],["RH_hk417s","RH_20Rnd_762x51_hk417"],["RH_m1s","20Rnd_762x51_DMR"],["RH_m1sshd","20Rnd_762x51_DMR"],["RH_m1ssp","20Rnd_762x51_DMR"],["RH_m1st","20Rnd_762x51_DMR"],["RH_m1stshd","20Rnd_762x51_DMR"],["RH_m1stsp","20Rnd_762x51_DMR"],["RH_m21","20Rnd_762x51_DMR"],["RH_sc2","20Rnd_762x51_DMR"],["RH_sc2shd","20Rnd_762x51_DMR"],["RH_sc2sp","20Rnd_762x51_DMR"],["SCAR_H_LNG_Sniper","20rnd_762x51_B_SCAR"],["SCAR_H_LNG_Sniper_SD","20Rnd_762x51_SB_SCAR"],["SCAR_H_LNG_Sniper_SD","20rnd_762x51_SB_SCAR"],["SVD","10Rnd_762x54_SVD"],["SVD_CAMO","10Rnd_762x54_SVD"],["SVD_CAMO","10Rnd_762x54_SVD"],["SVD_des_EP1","10Rnd_762x54_SVD"],["USSR_cheytacM200","USSR_5Rnd_408"],["USSR_cheytacM200_sd","USSR_5Rnd_408"],["vil_HK417s","20Rnd_762x51_DMR"],["vil_M110","20Rnd_762x51_DMR"],["vil_M110sd","20Rnd_762x51_DMR"],["vil_M21G","20Rnd_762x51_DMR"],["vil_SR25","20Rnd_762x51_DMR"],["vil_SR25SD","20Rnd_762x51_DMR"],["vil_SVDK","vil_10Rnd_SVDK"],["vil_SVD_63","10Rnd_762x54_SVD"],["vil_SVD_M","10Rnd_762x54_SVD"],["vil_SVD_N","10Rnd_762x54_SVD"],["vil_SVD_P21","10Rnd_762x54_SVD"],["vil_SVD_S","10Rnd_762x54_SVD"],["vil_SV_98","vil_10Rnd_762x54_SV"]];
 

Link to comment
Share on other sites

ALL WORK AWESOME.

 

But have an error never seen before.

From my reaserch it is epoch bug causing server lag and desync.

 

It is about 

removeBackpack _unit;

Is there posibility to command out this variable in on_kill.sqf like that?


		if (ai_clean_roadkill) then {

			ai_roadkills = (ai_roadkills + 1);

//			removeBackpack _unit;
			removeAllWeapons _unit;

			{
				_unit removeMagazine _x
			} forEach magazines _unit;
18:20:08 Strange convex component12 in rh_m14\rh_sc2aim.p3d:geometry
18:20:15 "WAI: Spawning a UH1H_DZ with 5 units to be para dropped at [4420.63,10648,0]"
18:20:15 "WAI: Spawning a UH1H_DZ with 5 units to be para dropped at [4430.63,10648,0]"
18:20:15 "WAI: Spawning a UH1H_DZ with 5 units to be para dropped at [4440.63,10648,0]"
18:21:05 Strange convex component05 in vilas_wwp\ska_m60.p3d:geometry
18:22:20 "WAI: Spawned in 5 ai units for paradrop"
18:22:20 "WAI: Spawned in 5 ai units for paradrop"
18:22:21 "WAI: Spawned in 5 ai units for paradrop"
18:22:40 Error in expression < getVariable["actionSet", false];

if (!_actionSet) then {
s_player_holderPickup>
18:22:40   Error position: <_actionSet) then {
s_player_holderPickup>
18:22:40   Error Undefined variable in expression: _actionset
18:22:40 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13
18:23:11 "TIME SYNC: Local Time set to [2013,8,3,14,23]"
18:24:31 "WAI: Paradrop helicopter cleaned up"
18:26:54 "11 Active ground units"
18:26:54 "1 Active emplacement units"
18:26:54 "3 Active chopper patrol units (Crew)"
18:26:54 "3 Active vehicle patrol units (Crew)"
18:26:55 "WAI: Starting mission disabled_milchopper"
18:26:55 "WAI: Mission Armed Chopper Started At [7375.66,11535.5]"
18:26:55 "WAI: Mission Armed Chopper spawned a UH-1Y"
18:26:55 "WAI: Spawned a group of 4 bandits at [7375.66,11535.5,0]"
18:26:56 "WAI: Spawned a group of 4 bandits at [7375.66,11535.5,0]"
18:26:56 "WAI: Spawned a group of 4 bandits at [7375.66,11535.5,0]"
18:26:57 "WAI: Spawned a group of 4 bandits at [7375.66,11535.5,0]"
18:26:57 "WAI: Spawned in 2 M2StaticMG"
18:28:11 "TIME SYNC: Local Time set to [2013,8,3,14,28]"
18:29:42 Error in expression < getVariable["actionSet", false];

if (!_actionSet) then {
s_player_holderPickup>
18:29:42   Error position: <_actionSet) then {
s_player_holderPickup>
18:29:42   Error Undefined variable in expression: _actionset
18:29:42 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13
18:30:06 "RUNNING EVENT: crash_spawner on [2014,8,19,14,30]"
18:31:26 "DZAI Monitor :: Server Uptime: [0d 0h 23m 4s]. Active AI Units: 14."
18:31:26 "DZAI Monitor :: Static Spawns: 5. Respawn Queue: 0 groups queued."
18:31:26 "DZAI Monitor :: Dynamic Spawns: 0. Air Patrols: 1. Land Patrols: 3."
18:33:11 "TIME SYNC: Local Time set to [2013,8,3,14,33]"
18:34:58 [EMS]: Running Major Mission SM10.
18:34:58 "[EMS]: Major SM10 UH1H Mission has started."
18:35:02 [EMS]: (DZMSUnitsMajor) 15 AI Spawned, 15 units in mission.
18:35:07 [EMS]: (DZMSUnitsMajor) Waiting for 15/15 Units or Less to be Alive and a Player to be Near the Objective.
Link to comment
Share on other sites

Has nothing to do with server performance from what I've seen, it's due to AI just not recognizing a player on a bike since it's an invisible entity to them.

 

 

Right enough just checked with DZMS, DZAI and WAI there was a delay with all of them but they do engage after a few seconds. Its unlikely there is a fix for this unless you stagger your AI further from the vehicle/loot. Still setting fuel means they can't drive off, even if they did the stationary guns and or RPGs should prevent a free loot escape. 

Link to comment
Share on other sites

I'll just post what I did to create the SpawnDeadGroup function, it's easier. (I hope)

1. Copied SpawnGroup.sqf file to SpawnDeadGroup.sqf (All work done in this new file)
2. Added two random values from 1 - 10 to space the bodies out
3. Added "_unit SetDamage 1;" command right after the section near line 109 of old WAI that starts "if (_mission) then {"
4. Modified the "init.sqf" for WAI by copying the line "spawn_group = ..." to "spawn_dead = ..."

I'll post file from server below

 

WAI\Init.cfg

 

spawn_group =  compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\compile\SpawnGroup.sqf";
spawn_dead =  compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\compile\SpawnDeadGroup.sqf";
group_waypoints = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\compile\patrol.sqf";
spawn_static  = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\compile\SpawnStatic.sqf";
heli_para  = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\compile\heli_para.sqf";
heli_patrol = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\compile\heli_patrol.sqf";
vehicle_patrol = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf";

on_kill = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\compile\ai_killed.sqf";

ai_monitor = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\compile\AImonitor.sqf";
veh_monitor = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\compile\vehicle_monitor.sqf";

createCenter east;
WEST setFriend [EAST,0];
EAST setFriend [WEST,0];
WAIconfigloaded = False;
WAImissionconfig = False;

ai_ground_units = 0;
ai_emplacement_units = 0;
ai_air_units = 0;
ai_vehicle_units = 0;

//Load config
[] ExecVM "\z\addons\dayz_server\WAI\AIconfig.sqf";
//Wait for config
waitUntil {WAIconfigloaded};
diag_log "WAI: AI Config File Loaded";
[] spawn ai_monitor;
//Load custom spawns
[] ExecVM "\z\addons\dayz_server\WAI\customSpawns.sqf";
if (ai_mission_sysyem) then {
 //Load AI mission system
 [] ExecVM "\z\addons\dayz_server\WAI\missions\missionIni.sqf";
};

 

WAI\compile\SpawnDeadGroup.sqf

 

private ["_randomAdj1","_randomAdj2","_mission","_aipack","_aicskill","_position","_unitnumber","_skill","_gun","_mags","_backpack","_skin","_gear","_aiweapon","_aigear","_aiskin","_skillarray","_unitGroup","_weapon","_magazine","_weaponandmag","_gearmagazines","_geartools","_unit"];
_position = _this select 0;
_unitnumber = _this select 1;
_skill = _this select 2;
_gun = _this select 3;
_mags = _this select 4;
_backpack = _this select 5;
_skin = _this select 6;
_gear = _this select 7;
if (count _this > 8) then {
 _mission = _this select 8;
} else {
 _mission = False;
};

_aiweapon = [];
_aigear = [];
_aiskin = "";
_aicskill = [];
_aipack = "";
_skillarray = ["aimingAccuracy","aimingShake","aimingSpeed","endurance","spotDistance","spotTime","courage","reloadSpeed","commanding","general"];
_unitGroup = createGroup east;

if (!isServer) exitWith {};

for "_x" from 1 to _unitnumber do {
 switch (_gun) do {
  case 0 : {_aiweapon = ai_wep0;};
  case 1 : {_aiweapon = ai_wep1;};
  case 2 : {_aiweapon = ai_wep2;};
  case 3 : {_aiweapon = ai_wep3;};
  case 4 : {_aiweapon = ai_wep4;};
  case 5 : {_aiweapon = ai_wep5;};
  case 6 : {_aiweapon = ai_wep6;};
  case 7 : {_aiweapon = ai_wep7;};
  case 8 : {_aiweapon = ai_wep8;};
  case 98 : {_aiweapon = ai_wep98;};
  case 99 : {_aiweapon = ai_wep99;};
  case "Random" : {_aiweapon = ai_wep_random call BIS_fnc_selectRandom;};
 };
 _weaponandmag = _aiweapon call BIS_fnc_selectRandom;
 _weapon = _weaponandmag select 0;
 _magazine = _weaponandmag select 1;
  switch (_gear) do {
  case 0 : {_aigear = ai_gear0;};
  case 1 : {_aigear = ai_gear1;};
  case 2 : {_aigear = ai_gear2;};
  case 3 : {_aigear = ai_gear3;};
  case 4 : {_aigear = ai_gear4;};
  case 5 : {_aigear = ai_gear5;};
  case 6 : {_aigear = ai_gear6;};
  case "Random" : {_aigear = ai_gear_random call BIS_fnc_selectRandom;};
 };
 _gearmagazines = _aigear select 0;
 _geartools = _aigear select 1;
 if (_skin == "") then {
  _aiskin = ai_skin call BIS_fnc_selectRandom;
 } else {
  _aiskin = _skin
 };
 _randomAdj1 = random 10;
 _randomAdj2 = random 10;

 _unit = _unitGroup createUnit [_aiskin, [((_position select 0) + _randomAdj1),((_position select 1) + _randomAdj2),(_position select 2)], [], 10, "PRIVATE"];
 [_unit] joinSilent _unitGroup;
 if (_backpack == "") then {
  _aipack = ai_packs call BIS_fnc_selectRandom;
 } else {
  _aipack = _backpack
 };
 _unit enableAI "TARGET";
 _unit enableAI "AUTOTARGET";
 _unit enableAI "MOVE";
 _unit enableAI "ANIM";
 _unit enableAI "FSM";
 _unit setCombatMode ai_combatmode;
 _unit setBehaviour ai_behaviour;
 removeAllWeapons _unit;
 removeAllItems _unit;
 _unit addweapon _weapon;
 for "_i" from 1 to _mags do {_unit addMagazine _magazine;};
 _unit addBackpack _aipack;
 {_unit addMagazine _x} forEach _gearmagazines;
 {_unit addweapon _x} forEach _geartools;
 if (ai_custom_skills) then {
  switch (_skill) do {
  case 0 : {_aicskill = ai_custom_array1;};
  case 1 : {_aicskill = ai_custom_array2;};
  case 2 : {_aicskill = ai_custom_array3;};
  case 3 : {_aicskill = ai_custom_array4;};
  case 4 : {_aicskill = ai_custom_array5;};
  case 5 : {_aicskill = ai_custom_array6;};
  case "Random" : {_aicskill = ai_skill_random call BIS_fnc_selectRandom;};
 };
  {_unit setSkill [(_x select 0),(_x select 1)]} forEach _aicskill;
 } else {
  {_unit setSkill [_x,_skill]} forEach _skillarray;
 };
 ai_ground_units = (ai_ground_units + 1);
 _unit addEventHandler ["Killed",{[_this select 0, _this select 1, "ground"] call on_kill;}];
 if (_mission) then {
  _unit setVariable ["missionclean", "ground"];
 };
 _unit setDamage 1;
};
_unitGroup selectLeader ((units _unitGroup) select 0);
[_unitGroup, _position, _mission] call group_waypoints;

diag_log format ["WAI: Spawned a DEAD group of %1 Bandits at %2",_unitnumber,_position];

Link to comment
Share on other sites

Also, in DZMS, there is option not to say the mission was complete till a certan % of the AI were dead, using the code below.. is it possible to add this to wai ?

 

 

//function to wait for mission completion
DZMSWaitMissionComp = {
    private["_objective","_unitArrayName","_numSpawned","_numKillReq"];
    
    _objective = _this select 0;
    _unitArrayName = _this select 1;
    
    call compile format["_numSpawned = count %1;",_unitArrayName];
    _numKillReq = ceil(DZMSRequiredKillPercent * _numSpawned);
    
    diag_log text format["[DZMS]: (%3) Waiting for %1/%2 Units or Less to be Alive and a Player to be Near the Objective.",(_numSpawned - _numKillReq),_numSpawned,_unitArrayName];
    
    call compile format["waitUntil{sleep 1; ({isPlayer _x && _x distance _objective <= 30} count playableUnits > 0) && ({alive _x} count %1 <= (_numSpawned - _numKillReq));};",_unitArrayName];
    
    if (DZMSSceneryDespawnTimer > 0) then {_objective spawn DZMSCleanupThread;};
};

Link to comment
Share on other sites

I havd the same problem.

That is easy to do.

There is my custom spawn file: WAI\static\default.sqf

Analize this and you get your answer.

I use default build in boxes with edited content and one customize box created by my self called Pck_box.

All works well.

 

if(isServer) then {


	//Custom Spawns file//
	/*
	Custom group spawns Eg.

	[
		[953.237,4486.48,0.001],			// Position
		4,									// Number Of units
		"Random",							// Skill level of unit (easy, medium, hard, extreme, Random)
		"Random",							// Primary gun set number. "Random" for random weapon set
		4,									// Number of magazines
		"Random",							// Backpack classname, use "Random" or classname here
		"Random",							// Skin classname, use "Random" or classname here
		"Random"							// Gearset number. "Random" for random gear set
	] call spawn_group;

	Place your custom group spawns below
	*/

[[8147.00,8564.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[10700.0,6810.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[11144.0,7806.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[9336.00,3584.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[9244.00,4978.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[11074.0,5312.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[5740.00,9634.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[8664.00,11182.0,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[7632.00,5806.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[3104.00,9278.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[4128.00,5470.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[2656.00,2950.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[3032.00,2078.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[5488.00,2078.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[5024.00,3934.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[4648.00,7590.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[10424.0,9150.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[9288.00,2054.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[13040.0,3854.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[13376.0,6662.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[8000.00,7150.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[2152.00,4766.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[2824.00,7102.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[5809.00,7442.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[5910.00,5831.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[7094.00,4508.00,0],2,"Random","Random",4,"Random","Random","Random"] call spawn_group;



/*
	Custom static weapon spawns Eg. (with mutiple positions)

	[
		[									// Position(s) (can be multiple)
			[911.21,4532.76,2.62],
			[921.21,4542.76,2.62]
		],
		"M2StaticMG",						// Classname of turret
		"easy",								// Skill level of unit (easy, medium, hard, extreme, Random)
		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
		"Random",							// Primary gun set number. "Random" for random weapon set
		2,									// Number of magazines
		"Random",							// Backpack classname, use "Random" or classname here
		"Random"							// Gearset classname, use "Random" or classname here
	] call spawn_static;

	Place your custom static weapon spawns below
	*/
[[[4382.14,10631.1,0.001]],"Igla_AA_pod_East","hard","TK_GUE_Soldier_AAT_EP1","Random",4,"Random","Random"] call spawn_static;
[[[4515.79,10616.1,0.001]],"M2StaticMG","hard","Bandit2_DZ","Random",4,"Random","Random"] call spawn_static;
[[[4383.74,10596.1,0.001]],"M2StaticMG","medium","Bandit2_DZ","Random",4,"Random","Random"] call spawn_static;




/*
	Custom Chopper Patrol spawn Eg.

	[
		[725.391,4526.06,0],				// Position to patrol
		[0,0,0],							// Position to spawn chopper at
		2000,								// Radius of patrol
		10,									// Number of waypoints to give
		"UH1H_DZ",							// Classname of vehicle (make sure it has driver and two gunners)
		"Random"							// Skill level of units (easy, medium, hard, extreme, Random)
	] spawn heli_patrol;

	Place your heli patrols below
	*/






		/* 
	Custom Vehicle patrol spawns Eg. (Watch out they are stupid)

	[
		[725.391,4526.06,0],				// Position to patrol
		[725.391,4526.06,0],				// Position to spawn at
		200,								// Radius of patrol
		10,									// Number of waypoints to give
		"HMMWV_Armored",					// Classname of vehicle (make sure it has driver and gunner)
		"Random"							// Skill level of units (easy, medium, hard, extreme, Random)
	] spawn vehicle_patrol;

	Place your vehicle patrols below this line
	*/
[[4358.00,10374.0,0],[4488.00,10711.0,0],50,10,"HMMWV_M2_USArmy","easy"] spawn vehicle_patrol;
[[4492.00,10347.0,0],[4535.00,10663.0,0],50,10,"HMMWV_M998_crows_M2_DES_EP1","medium"] spawn vehicle_patrol;
[[4472.00,10447.0,0],[4635.00,10763.0,0],50,10,"HMMWV_TOW_DES_EP1","hard"] spawn vehicle_patrol;



	/*
	Paradropped unit custom spawn Eg.

	[
		[911.21545,4532.7612,2.6292224],	// Position that units will be dropped by
		[0,0,0],							// Starting position of the heli
		400,								// Radius from drop position a player has to be to spawn chopper
		"UH1H_DZ",							// Classname of chopper (Make sure it has 2 gunner seats!)
		5,									// Number of units to be para dropped
		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
		"Random",							// Primary gun set number. "Random" for random weapon set.
		4,									// Number of magazines
		"Random",							// Backpack classname, use "Random" or classname here
		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
		"Random",							// Gearset number. "Random" for random gear set.
		true								// true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. 
	] spawn heli_para;

	Place your paradrop spawns under this line
	*/
// BanditsSupplyBase
[[4420.63,10648.0,0],[1130.00,7294.00,100],300,"UH1H_DZ",5,"Random","Random",4,"Random","Bandit2_DZ","Random",false] spawn heli_para;
[[4440.63,10648.0,0],[1140.00,7294.00,100],300,"UH1H_DZ",5,"Random","Random",4,"Random","Bandit2_DZ","Random",true] spawn heli_para;
[[4430.63,10648.0,0],[1120.00,7294.00,100],300,"UH1H_DZ",5,"Random","Random",4,"Random","Bandit2_DZ","Random",true] spawn heli_para;
//NEAF
//[[12360.0,12598.0,0],[11736.0,14330.0,100],300,"UH1H_DZ",5,"Random","Random",4,"Random","Bandit2_DZ","Random",true] spawn heli_para;
[[12370.0,12598.0,0],[11746.0,14330.0,100],300,"UH1H_DZ",5,"Random","Random",4,"Random","Bandit2_DZ","Random",true] spawn heli_para;
//BALOTA
//[[4777.00,2515.00,0],[4344.00,166.000,100],300,"UH1H_DZ",5,"Random","Random",4,"Random","Bandit2_DZ","Random",true] spawn heli_para;
[[4787.00,2515.00,0],[4354.00,166.000,100],300,"UH1H_DZ",5,"Random","Random",4,"Random","Bandit2_DZ","Random",true] spawn heli_para;
	diag_log "WAI: Static mission loaded";

//Boxes
//Bandit Supply Base
_box = createVehicle ["BAF_VehicleBox",[4491.11,10634.4,0.001], [], 0, "CAN_COLLIDE"];
[_box] call Construction_Supply_Box;
_box1 = createVehicle ["BAF_VehicleBox",[4467.0278,10659.71,-3.0517578e-005], [], 0, "CAN_COLLIDE"];
[_box1,5,15,3] call spawn_ammo_box;
_box2 = createVehicle ["BAF_VehicleBox",[4403.1333,10581.208,-3.0517578e-005], [], 0, "CAN_COLLIDE"];
[_box2] call Chain_Bullet_Box;
_box3 = createVehicle ["BAF_VehicleBox",[4423.4888,10611.725,6.1035156e-005], [], 0, "CAN_COLLIDE"];
[_box3] call Extra_Large_Gun_Box;

//PCK
Pck_Box	= compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\static\boxes\Pck_Box.sqf";

_box4 = createVehicle ["RUBasicWeaponsBox",[2655.64,2296.98,0.2], [], 0, "CAN_COLLIDE"];
[_box4] call Pck_Box;
_box5 = createVehicle ["RUBasicWeaponsBox",[7551.63,3908.92,0.1], [], 0, "CAN_COLLIDE"];
[_box5] call Pck_Box;
_box6 = createVehicle ["RUBasicWeaponsBox",[10943.7,3382.27,0.4], [], 0, "CAN_COLLIDE"];
[_box6] call Pck_Box;
_box7 = createVehicle ["RUBasicWeaponsBox",[12988.4,5972.07,0.75], [], 0, "CAN_COLLIDE"];
[_box7] call Pck_Box; 
};
[/code]

Link to comment
Share on other sites

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