Jump to content

Recommended Posts

Anyone else replicated the bug found by @LSValmont

I just tried loading the test mission but it requires CUP, always thought the best practise for bug hunting was vanilla style, Ravage/CBA.

Maybe I'll try uploading a vanilla mission to my dedicated server to see if the bug can be replicated there, my first impression was that the mission being hosted locally was the problem..just speculation.

 

  • Like 1
  • Haha 1

Share this post


Link to post
Share on other sites
3 hours ago, EO said:

Anyone else replicated the bug found by @LSValmont

I have not, I have however ran my own MP non dedicated server on the Chernarus REDUX map with ALL the things being said to cause the issue but haven't found any problems, I run 8 scripts in scenario and it REQUIRES 19 mods to be able to run it, still no issues, I even have multiple AI using Animations within towns... Only thing I have noticed is minimal frame drop in cities (Elektro, Cherno, all BIG cities as expected...) All modules are also being run in the scenario with all Atmosphere settings being used... I have played this mission many times with @kodabar and another friend and we played for a solid 5+ hours each run, no lag that I'm aware of, but this again is a separate map from Altis. @LSValmont did say he got the bug to appear in the Altis map with vanilla assets used? (Unless I'm mistaken.) I'm still unsure what the issue is. I just checked back in the forums and I don't believe he ever told us what his actual in game settings were (Draw distance, object distance, etc...) all of those can as well play a major role with lag. Hope we can help him. Cheers!   

  • Confused 1

Share this post


Link to post
Share on other sites
On 27/10/2018 at 8:06 AM, EO said:

Anyone else replicated the bug found by @LSValmont

 

I removed just the Atmosphere module from my mission and never saw the issue again.

Only loaded mods were CBA, CUP and Ravage. Also no scripts running on the mission. (In fact only the mission.sqm was at the mission folder).

 

On 27/10/2018 at 12:18 PM, MuRaZorWitchKING said:

I have not, I have however ran my own MP non dedicated server on the Chernarus REDUX map with ALL the things being said to cause the issue but haven't found any problems.

 

Perhaps one of your mods/scripts was overriding the Atmosphere module's script that was causing the issue for me. (Your mission's complexity makes it harder to really understand what is going on but you are on the lucky side if you did not get any FPS drops!) 

 

I cannot confirm that the issue was really related to the Ai at the camp but that was the place where the FPS drop was most noticeable so I thought it was the Ai there. It was certainly not the Chernarous 2035 map (my very very first guess) because I replicated the issue on Altis and in fact it was getting faster FPS drops there.

 

The particular nastiness of this issue for me was that the FPS drop remained at the location it was generated from and it never got better even after every player moved to a very far location. Caching the Ai there did not fixed the issue either and so restarting the server every 3 hours, effectively resseting all the bandit camps was not a nice experience for my players or me but It was the only solution until I discovered the module's involvement in the issue.

 

PS: Just managed to replicate the issue on a different pc (AMD 3.5GHZ + Gerforce 950ti).

 

My setting are 2000 for both view distance and objects, 100 for shadows and all other settings maxed (1080p 60hz) but my setting were clearly not the issue because:

1- The place it happened was very far from any fps dropping locations. I start the mission and I have 60-70 fps there. I do not move my char and just leave the pc and fps goes to 5 fps after a few hours.

2- On chernarous redux at cherno (the heaviest location) I go from 60 to 40 fps and that is as low as it gets even if I stay there for hours.

3- Module removed fixed the issue on the same settings. (check the screenshot https://drive.google.com/open?id=1fK9J7fTbtWpohRcqLJUXVKqwY2NC3QBp)

 

Since I've fixed my problem by the module's removal I've just added scripts to replicate the module's features and had no problems with the new system (In fact the weather script I am using is a lot more atmospheric). Mission ran flawlessly with a lot more Ai and all mods and scripts loaded. Never dropped from 60FPS at any location. I am quite happy! 

 

Of course I would be happier if I could just use the Module but so far so good.

 

I believe Haleks has the CUP mods so he will be able to run the saved file I sent him and so he will be able to replicate the bug and perhaps fix it. 

Share this post


Link to post
Share on other sites
On 26/10/2018 at 4:01 AM, Vandeanson said:

oh cool thanks, do you have a screenshot at Hand? cant check ithe script out yet:(

 

yes, it works but non island maps (tested mainly on cernarusredux and tanoa) have the empty map bit that needs to be dealth with. so if you are close to the mapborder, and the camps just respawn, they would be spawned out in the empty map. there are ways to counter this but i am looking for the best possible one yet. will provide screenshots once that placement check is properly implemented. (i have the code for it, just need to insert and test;)

There you go, here is the screenshot: (The ui that says Rank and Experience is not part of the package I sent you so don't mind that!)

https://drive.google.com/open?id=1fK9J7fTbtWpohRcqLJUXVKqwY2NC3QBp

 

I hope you like it. It is only small tweaks and changes here and there so it looks less gamey, less intrusive and also use less resources.  

 

About the mapborders, I think you should add a way to black list locations. Perhaps a system that checks for specific markers and its size and not allow anything to spawn at those marker areas.

 

On 26/10/2018 at 12:53 PM, Vandeanson said:

 

is this the setting you apply all the time? 

I think it would be cool to have a fog and nighttime version that applies between evening and morning and at a certain fog level.

 

from your experience, can you recommend a good level for both traits for fog level 0.8+ and dark night?

 

[] spawn { while {true} do { 

 

_foglvl = code to get fog level;

_time = code to get time;

 

if (_foglvl > 0.6 || (_time > "11pm value" && _time < "5am value")) /* that timecheck needs some rework i think*/

then {player setUnitTrait ["camouflageCoef",0.6];
player setUnitTrait ["audibleCoef", 0.6];}

 

else{player setUnitTrait ["camouflageCoef",0.2];
player setUnitTrait ["audibleCoef", 0.2];};

sleep 120;

};};

 

That seems like an awesome idea! 0.2 is a good value considering that camouflageCoef only works before any Ai has detected you. Once one Ai knows about you then camouflageCoef no longer helps reducing the Ai group's ability to find you.

 

camouflageCoef 0.1 will make the Ai too blind of your presence. In my testings I was able to walk right in front of an Ai group during daytime without them noticing me. 0.2 is the minimal amount so they are still dangerous. 0.6 seems like too high under bad weather. I would use 0.4 under bad conditions and 0.2 under heavy fog. I normally use 0.6 for daytime and get good results! Ravage's theme does not allow for the ultra long distance shootings that Arma 3 vanilla normaly has as it would only attract attention and zombies to your location so using lower values not only makes the Ai more human like but it is also the smart thing to do under those conditions (the apocalypse!).

 

Beware thou, most Ai mods such as VCOM and ASR have their own camouflageCoef values adjusted using a by combining a uniform and unit load method and so they might over ride the values your set using your script at some point.

Share this post


Link to post
Share on other sites
10 hours ago, EO said:

Anyone else replicated the bug found by @LSValmont

I just tried loading the test mission but it requires CUP, always thought the best practise for bug hunting was vanilla style, Ravage/CBA.

The CUP requirements remained because I ported the mission from Cherno to Altis.

 

But you can open the mission.sqm with notepad++ and under addons[]= { remove anything CUP related such as: "CUP_CWA_Misc", "CUP_Weapons_Items", "CUP_CASigns_E", "CUP_CAStructures_E_Misc_Misc_Garbage", "CUP_Creatures_People_Civil_Chernarus", "CUP_WaterVehicles_Fishing_Boat", "CUP_Weapons_Curator", "CUP_Weapons_AmmoBoxes", "CUP_Desert2_Config", "CUP_CAMisc_ACR_Shooting_range", "CUP_WarfareBuildings", "CUP_StandaloneTerrains_Core_Faction", "CUP_CABuildings2_Misc_Cargo", "CUP_Misc3_Config", "CUP_Misc_e_Config", "CUP_Editor_Buildings_Config".

 

And boom! Now you can run it!

Share this post


Link to post
Share on other sites
18 hours ago, LSValmont said:

There you go, here is the screenshot: (The ui that says Rank and Experience is not part of the package I sent you so don't mind that!)

looks great! with your link i do not get the little symbols, could you add your description.ext and all gf_status bar related files to your link? something seems to be missing:)

 

simple shop is awesome, i like the rank system. i have put it aside but might start using it again at some point.

 

thanks for the inpunt regarding unit traits, did a short test today with your proposed changes and will test further!

Share this post


Link to post
Share on other sites

We use the Ravage mod Zombie modules only on our Exile server, but we have the problem that rarely any zombies are spawning. On the empty test server its working like it should, but on a populated server 20-60 people there are almost no zombies spawning.
Anyone has a clue what could be the reason ?

I don't wanna use these shitty ryan zombies again, Ravage zombies are soooo much better.

  • Like 1

Share this post


Link to post
Share on other sites
46 minutes ago, PsG1988 said:

We use the Ravage mod Zombie modules only on our Exile server, but we have the problem that rarely any zombies are spawning. On the empty test server its working like it should, but on a populated server 20-60 people there are almost no zombies spawning.
Anyone has a clue what could be the reason ?

I don't wanna use these shitty ryan zombies again, Ravage zombies are soooo much better.

 

Everything about Ravage is top notch! 

 

I've too experienced the little to no zombie and I figured two things could be causing it:

 

- In the zombies module, keep everything at default settings. I changed the zombie spawn min distance from 75 to 100 and that alone did a 70% decrease in zombies found.

- If you place even a single zombie blacklist module the zombie population in general seem to go down (not only for the module's area range).

 

I did a test were I spawned 8 playable Ais spread in a 800mts radius from each other and no zombie spawned because the script that checks for min/max distance seems to be based on playable units rather than real players. So if you don't disable playable Ai in your mission they will be causing potential decrease in zombie population. If I removed the playable Ai and/or placed them together then the zombies spawned normally again. (All this was on the previous Ravage version thou so something might have changed).

  • Thanks 1

Share this post


Link to post
Share on other sites

@PsG1988 If your servers are 20-60 people I would highly recommend changing the actual zombie spawn settings, under the (zombies spawned at one time in game world) tab I believe default setting is 250? Meaning 250 zombies are allowed in the world at a single time...(this may be too little) Also be aware that setting this amount too high can also cause your server to lag quite a bit... I would personally try probably 500 and test that for a bit first. Also try setting the (zombies per player) tab higher than default settings as well. Both should help, Cheers! 

Share this post


Link to post
Share on other sites

Calling all the great coders here at the Ravage universe! I can't figure out why is this script not working:

Spoiler

 


/*	------------------------------------------------------------------------------------------
	Complete Random Unit Equipment Script by VALMONT for the Ravage Mod, Prob. originally for Civilians
	------------------------------------------------------------------------------------------	*/

if !(isServer) exitWith {}; // DO NOT DELETE THIS LINE!

// Only edit this first part!

// Probabilities
_uniformProbability = 100; // 100% chance // You cannot lower this!
_vestProbability = 25; // 25% chance
_backpackProbability = 25; // 25% chance
_headGearProbability = 40; // 40% chance
_gogglesProbability = 40; // 40% chance
_mainWeaponProbability = 50; // 50% chance
_sideArmProbability = 50; // 50% chance
_itemProbability = 40; // 40% chance
_consumablesProbability = 40; // 40% chance
_grenadeProbability = 15; // 15% chance
_doctorProbability = 15; // 15% chance
_mechanicProbability = 15; // 15% chance
_expSpecialistProbability = 5; // 5% chance
_opticProbability = 20; // 20% chance
_muzzleProbability = 5; // 5% chance
_pointerProbability = 15; // 15% chance
_launcherProbability = 5; // 5% chance

// Ammounts
_magAmount = round (1 + random 2) ;//so you'll get enough primerary weapon mags
_magSideArmAmount = round (1 + random 2) ;//so you'll get enough side arm mags
_grenadeAmount = round (1 + random 2) ;//so you'll get enough Grenades
_launcherMagazineAmount = (round(random 1) + 1); // minimum 1, maximum 2 rocket launcher ammo.

/*	------------------------------------------------------------------------------------------
	Equipment Pool
	------------------------------------------------------------------------------------------	*/

_sideArmsPool =
[
//CUP Pistols
"CUP_hgun_Compact",
"CUP_hgun_Duty",
"CUP_hgun_Phantom",
"CUP_hgun_Glock17",
"CUP_hgun_Colt1911",
"CUP_hgun_M9",
"CUP_hgun_Makarov",
"CUP_hgun_MicroUzi",
"CUP_hgun_PB6P9",
"CUP_hgun_SA61",
"CUP_hgun_TaurusTracker455",
"CUP_hgun_TaurusTracker455_gold",
"CUP_hgun_BallisticShield_Armed"
]
	
_weaponsPool = 
[
//SMGs
"CUP_smg_bizon",
"CUP_smg_EVO",
"CUP_smg_MP5A5",
"CUP_smg_MP5SD6",
//Shotguns
"CUP_sgun_AA12",
"CUP_sgun_Saiga12K",
"CUP_sgun_M1014",	
//CUP Rifles
"CUP_arifle_AK107",
//"CUP_arifle_AK107_GL",
"CUP_arifle_AK47",
"CUP_arifle_AK74",
//"CUP_arifle_AK74_GL",
"CUP_arifle_AK74M",
//"CUP_arifle_AK74M_GL",
"CUP_arifle_AKM",
"CUP_arifle_AKS_Gold",
"CUP_arifle_AKS",
"CUP_arifle_AKS74",
"CUP_arifle_AKS74U",
"CUP_arifle_CZ805_A1",
//"CUP_arifle_CZ805_GL",
"CUP_arifle_CZ805_A2",
"CUP_arifle_CZ805_B",
//"CUP_arifle_CZ805_B_GL",
//"CUP_arifle_FNFAL",
"CUP_arifle_FNFAL_railed",
"CUP_arifle_FNFAL5061",
"CUP_arifle_FNFAL5062",
"CUP_arifle_FNFAL_OSW",
"CUP_arifle_G36A",
"CUP_arifle_G36C",
"CUP_arifle_G36K",
"CUP_arifle_G36A_camo",
"CUP_arifle_G36C_camo",
"CUP_arifle_G36K_camo",
"CUP_srifle_L129A1",
"CUP_srifle_L129A1_HG",
"CUP_arifle_L85A2",
"CUP_arifle_L85A2_G",
"CUP_arifle_L85A2_NG",
//"CUP_arifle_L85A2_GL",
"CUP_arifle_L86A2",
"CUP_arifle_M16A2",
//"CUP_arifle_M16A2_GL",
"CUP_arifle_M16A4_Base",
//"CUP_arifle_M16A4_GL",
"CUP_arifle_M4A1",
"CUP_arifle_M4A1_black",
//"CUP_arifle_M4A1_desert",
"CUP_arifle_M4A1_camo",
//"CUP_arifle_M4A1_BUIS_GL",
//"CUP_arifle_M4A1_BUIS_desert_GL",
//"CUP_arifle_M4A1_BUIS_camo_GL",
"CUP_arifle_M4A3_desert",
"CUP_arifle_MG36",
"CUP_arifle_MG36_camo",
"CUP_arifle_Mk16_CQC",
"CUP_arifle_Mk16_CQC_FG",
"CUP_arifle_Mk16_CQC_SFG",
"CUP_arifle_Mk16_CQC_EGLM",
"CUP_arifle_Mk16_STD",
"CUP_arifle_Mk16_STD_FG",
"CUP_arifle_Mk16_STD_SFG",
"CUP_arifle_Mk16_STD_EGLM",
"CUP_arifle_Mk16_SV",
"CUP_arifle_Mk17_CQC",
"CUP_arifle_Mk17_CQC_FG",
"CUP_arifle_Mk17_CQC_SFG",
"CUP_arifle_Mk17_CQC_EGLM",
"CUP_arifle_Mk20",
"CUP_arifle_Mk17_STD",
"CUP_arifle_Mk17_STD_FG",
"CUP_arifle_Mk17_STD_SFG",
"CUP_arifle_Mk17_STD_EGLM",
"CUP_arifle_RPK74_45",
"CUP_arifle_RPK74",
"CUP_arifle_RPK74M",
"CUP_arifle_Sa58RIS1",
//"CUP_arifle_Sa58RIS1_des",
"CUP_arifle_Sa58RIS2",
"CUP_arifle_Sa58RIS2_camo",
//"CUP_arifle_Sa58RIS2_gl",
"CUP_arifle_Sa58P",
//"CUP_arifle_Sa58P_des",
"CUP_arifle_Sa58V",
"CUP_arifle_Sa58V_camo",
//"CUP_arifle_XM8_Carbine",
"CUP_arifle_XM8_Railed",
//"CUP_arifle_XM8_Carbine_GL",
//"CUP_arifle_XM8_Compact",
"CUP_arifle_XM8_Compact_Rail",
"CUP_arifle_XM8_Carbine_FG",
"CUP_arifle_xm8_SAW",
"CUP_arifle_xm8_sharpshooter",
// Machineguns
//"CUP_lmg_minimi",
"CUP_lmg_minimi_railed",
"CUP_lmg_minimipara",
"CUP_lmg_L110A1",
"CUP_lmg_L7A2",
"CUP_lmg_M240",
"CUP_lmg_m249_SQuantoon",
"CUP_lmg_m249_pip1",
"CUP_lmg_m249_pip3",
"CUP_lmg_m249_pip4",
"CUP_lmg_M249_E2",
"CUP_lmg_m249_pip2",
"CUP_lmg_m249_para",
"CUP_lmg_M60E4",
//"CUP_lmg_Mk48_des",
"CUP_lmg_Mk48_wdl",
"CUP_lmg_PKM",
"CUP_lmg_Pecheneg",
"CUP_lmg_UK59",
//CUP Sniper Rifles
"CUP_srifle_AS50",
"CUP_srifle_CZ550",
"CUP_srifle_CZ550_rail",
"CUP_srifle_CZ750",
"CUP_srifle_G22_des",
"CUP_srifle_ksvk",
//"CUP_srifle_AWM_des",
"CUP_srifle_AWM_wdl",
"CUP_srifle_LeeEnfield",
"CUP_srifle_LeeEnfield_rail",
"CUP_srifle_M107_Base",
"CUP_srifle_M110",
"CUP_srifle_M14",
//"CUP_srifle_M14_DMR",
"CUP_srifle_M24_wdl",
//"CUP_srifle_M24_des",
"CUP_srifle_M40A3",
"CUP_srifle_Mk12SPR",
"CUP_srifle_SVD",
//"CUP_srifle_SVD_des",
"CUP_srifle_VSSVintorez"	
];

_launchersPool =
[
//Grenade Launchers
"CUP_glaunch_6G30",
"CUP_glaunch_M32",
"CUP_glaunch_M79",
"CUP_glaunch_Mk13",
//Rocket Launchers
"CUP_launch_Javelin",
"CUP_launch_FIM92Stinger",
"CUP_launch_Igla",
"CUP_launch_M136",
"CUP_launch_M47",
"CUP_launch_MAAWS",
"CUP_launch_Metis",
"CUP_launch_Mk153Mod0",
"CUP_launch_NLAW",
"CUP_launch_RPG7V",
"CUP_launch_RPG18",
"CUP_launch_9K32Strela"
];

_grenadesPool = 
[
"HandGrenade",
"HandGrenade",
"HandGrenade",
"HandGrenade",
"HandGrenade",
"SmokeShellYellow",
"SmokeShellRed",
"SmokeShellPurple",
"SmokeShellOrange",
"SmokeShellGreen",
"SmokeShellBlue",
"Chemlight_blue",
"Chemlight_red",
"rvg_flare",
"APERSBoundingMine_Range_Mag",
"APERSMine_Range_Mag",
"APERSTripMine_Wire_Mag",
"ATMine_Range_Mag",
"SatchelCharge_Remote_Mag"
];

_gearPool = 
[
//sight
"CUP_optic_GOSHAWK",
"CUP_optic_Kobra",
"CUP_optic_NSPU",
"CUP_optic_PSO_1",
"CUP_optic_PSO_3",
"CUP_optic_CompM4",
"CUP_optic_AN_PAS_13c1",
"CUP_optic_AN_PAS_13c2",
"CUP_optic_AN_PVS_10",
"CUP_optic_AN_PVS_4",
"CUP_optic_CWS",
"CUP_optic_ElcanM145",
"CUP_optic_ELCAN_SpecterDR",
"CUP_optic_Elcan",
"CUP_optic_Elcan_reflex",
"CUP_optic_Eotech533Grey",
"CUP_optic_Eotech533",
"CUP_optic_HoloBlack",
"CUP_optic_HoloDesert",
"CUP_optic_HoloWdl",
"CUP_optic_LeupoldMk4_10x40_LRT_Desert",
"CUP_optic_LeupoldMk4_10x40_LRT_Woodland",
"CUP_optic_LeupoldM3LR",
"CUP_optic_LeupoldMk4_CQ_T",
"CUP_optic_LeupoldMk4_MRT_tan",
"CUP_optic_Leupold_VX3",
"CUP_optic_LeupoldMk4",
"CUP_optic_CompM2_Black",
"CUP_optic_CompM2_Desert",
"CUP_optic_CompM2_Woodland2",
"CUP_optic_CompM2_Woodland",
"CUP_optic_MRad",
"CUP_optic_ZDDot",
"CUP_optic_SB_11_4x20_PM",
"CUP_optic_SB_3_12x50_PMII",
"CUP_optic_SUSAT",
"CUP_optic_RCO_desert",
"CUP_optic_ACOG",
"CUP_optic_RCO",
"CUP_optic_TrijiconRx01_black",
"CUP_optic_TrijiconRx01_desert",
"CUP_optic_PechenegScope",
"CUP_optic_MAAWS_Scope",
"CUP_optic_SMAW_Scope",
"CUP_optic_NSPU_RPG",
"CUP_optic_PGO7V",
"CUP_optic_PGO7V2",
"CUP_optic_PGO7V3",
//Muzzle
"CUP_muzzle_Bizon",
"CUP_muzzle_PBS4",
"CUP_muzzle_snds_AWM",
"CUP_muzzle_snds_G36_black",
"CUP_muzzle_snds_G36_desert",
"CUP_acc_bfa",
"CUP_acc_sffh",
"CUP_muzzle_snds_M110",
"CUP_muzzle_snds_M14",
"CUP_muzzle_snds_M16",
"CUP_muzzle_snds_M16_camo",
"CUP_muzzle_mfsup_SCAR_L",
"CUP_muzzle_snds_SCAR_L",
"CUP_muzzle_mfsup_SCAR_H",
"CUP_muzzle_snds_SCAR_H",
"CUP_muzzle_snds_XM8",
"CUP_muzzle_snds_M9",
"CUP_muzzle_snds_MicroUzi",
"CUP_muzzle_PB6P9",
//Laser & Flashlight	
"CUP_acc_ANPEQ_15",
"CUP_acc_ANPEQ_2",
"CUP_acc_ANPEQ_2_camo",
"CUP_acc_ANPEQ_2_desert",
"CUP_acc_ANPEQ_2_grey",
"CUP_acc_Flashlight",
"CUP_acc_Flashlight_desert",
"CUP_acc_Flashlight_wdl",
"CUP_acc_LLM",
"CUP_acc_XM8_light_module",
"CUP_acc_CZ_M3X",
"CUP_acc_Glock17_Flashlight",
//Bipod
"CUP_bipod_Harris_1A2_L",
"CUP_bipod_VLTOR_Modpod",
//Cammo
"CUP_Mxx_camo",
"CUP_Mxx_camo_half",
"CUP_SVD_camo_d",
"CUP_SVD_camo_g",
"CUP_SVD_camo_d_half",
"CUP_SVD_camo_g_half"			
];

_consumablesPool = 
[
"rvg_plasticBottle",
"rvg_plasticBottlePurified",
"rvg_canOpener",
"rvg_spirit",
"rvg_franta",
"rvg_beans",
"rvg_bacon",
"rvg_milk",
"rvg_rice",
"rvg_plasticBottleEmpty",
"rvg_canteenEmpty",
"rvg_plasticBottle",
"rvg_plasticBottlePurified",
"rvg_spirit",
"rvg_franta",
"rvg_beans",
"rvg_bacon",
"rvg_milk",
"rvg_rice",
"rvg_money",
"rvg_money",
"rvg_money",
"rvg_money"
];

_itemsPool = 
[
//Vanilla items
"Item_optic_LRPS",
"Item_bipod_01_F_khk",
//CUP Items
"CUP_optic_LeupoldMk4",
"CUP_optic_Leupold_VX3",
"CUP_bipod_Harris_1A2_L",
"CUP_bipod_VLTOR_Modpod",
//Regular Items
"Binocular",
"FirstAidKit",
"Medikit",
"ToolKit",
"ItemMap",
//Ravage Items
"rvg_canisterFuel_Empty",
"rvg_toolkit",
"rvg_tire",
"rvg_money",
"rvg_docFolder",
"rvg_money",
"rvg_hose",
"rvg_guttingKnife",
"rvg_foldedTent",
"rvg_matches",
"rvg_foldedTent"
];

_backpackPool = 
[
"CUP_B_USPack_Coyote",
"CUP_B_USPack_Black",
"CUP_B_GER_Pack_Tropentarn",
"CUP_B_GER_Pack_Flecktarn",
"CUP_B_ACRPara_m95",
"CUP_B_ACRScout_m95",
"CUP_B_CivPack_WDL",
"CUP_B_RPGPack_Khaki",
"CUP_B_AlicePack_Khaki",
"CUP_B_AlicePack_Bedroll",
"CUP_B_AssaultPack_ACU",
"CUP_B_AssaultPack_Coyote",
"CUP_B_AssaultPack_Black",
"CUP_B_MedicPack_ACU",
"CUP_B_UAVTerminal_Black",
"CUP_B_HikingPack_Civ",
"CUP_B_StaticX_cbr",
"CUP_B_StaticY_cbr",
"CUP_B_Bergen_BAF",
"CUP_B_USMC_AssaultPack",
"CUP_B_USMC_MOLLE",
"CUP_B_USMC_MOLLE_WDL",
"CUP_B_GER_Medic_Desert",
"CUP_B_GER_Medic_Tropentarn",
"CUP_B_GER_Medic_FLecktarn",
"CUP_B_TK_Medic_Desert",
"CUP_B_SLA_Medicbag",
"CUP_B_RUS_Backpack",
"CUP_B_DShkM_Gun_Bag",
"CUP_B_DShkM_TripodHigh_Bag",
"CUP_B_DShkM_TripodLow_Bag",
"CUP_B_Kord_Gun_Bag",
"CUP_B_Kord_Tripod_Bag",
"CUP_B_Metis_Gun_Bag",
"CUP_B_Metis_Tripod_Bag",
"CUP_B_AGS30_Gun_Bag",
"CUP_B_AGS30_Tripod_Bag",
"CUP_B_SPG9_Gun_Bag",
"CUP_B_SPG9_Tripod_Bag",
"CUP_B_Podnos_Gun_Bag",
"CUP_B_Podnos_Bipod_Bag",
"CUP_B_M2_Gun_Bag",
"CUP_B_M2_Tripod_Bag",
"CUP_B_M2_MiniTripod_Bag",
"CUP_B_Mk19_Gun_Bag",
"CUP_B_Mk19_Tripod_Bag",
"CUP_B_Tow_Gun_Bag",
"CUP_B_TOW_Tripod_Bag",
"CUP_B_M252_Gun_Bag",
"CUP_B_M252_Bipod_Bag",
"CUP_US_Backpack_EP1",
"CUP_CZ_Backpack_EP1",
"CUP_CZ_VestPouch_EP1",
"CUP_TK_Assault_Pack_EP1",
"CUP_TK_ALICE_Pack_EP1",
"CUP_US_Assault_Pack_EP1",
"CUP_US_Patrol_Pack_EP1",
"CUP_USBasicBag",
"CUP_US_UAV_Pack_EP1",
"CUP_B_ACRPara_m95_Ammo",
"CUP_B_ACRPara_m95_Specops",
"CUP_B_ACRPara_m95_AmmoMG",
"CUP_B_ACRScout_m95_Sa58",
"CUP_B_ACRScout_m95_M4",
"CUP_B_RPG_Backpack",
"CUP_B_AlicePack_Khaki_Explosives",
"CUP_B_AlicePack_Khaki_AmmoMG",
"CUP_B_AlicePack_Khaki_Ammo",
"CUP_B_AlicePack_Khaki_AmmoAK74",
"CUP_B_CivPack_WDL_Ammo",
"CUP_B_Backpack_SpecOps",
"CUP_B_GER_Backpack_AmmoBearer",
"CUP_B_GER_Backpack_ATAssist",
"CUP_B_GER_Backpack_AAAssist",
"CUP_B_GER_Backpack_Engineer",
"CUP_B_GER_Backpack_AA",
"CUP_B_GER_Backpack_AT",
"CUP_B_GER_Backpack_Medic",
"CUP_B_Backpack_SpecOps_Fleck",
"CUP_B_GER_Backpack_AmmoBearer_Fleck",
"CUP_B_GER_Backpack_ATAssist_Fleck",
"CUP_B_GER_Backpack_AAAssist_Fleck",
"CUP_B_GER_Backpack_Engineer_Fleck",
"CUP_B_GER_Backpack_AA_Fleck",
"CUP_B_GER_Backpack_AT_Fleck",
"CUP_B_GER_Backpack_Medic_Fleck",
"CUP_I_HikingPack_RPK",
"CUP_I_HikingPack_PKM",
"CUP_I_HikingPack_Ammo",
"CUP_B_PMC_AlicePack_Exp",
"CUP_B_PMC_Backpack_Medic",
"CUP_B_PMC_AlicePack_PKM",
"CUP_B_PMC_AlicePack_XM8Auto",
"CUP_B_PMC_Backpack_KSVK",
"CUP_B_PMC_Backpack_GL",
"CUP_B_RUS_Pack_MG",
"CUP_B_RUS_Pack_AR",
"CUP_B_RUS_Pack_AT",
"CUP_B_RUS_Pack_Medic",
"CUP_B_RUS_Pack_ExpSpec",
"CUP_B_RUS_Pack_Engineer",
"CUP_B_RUS_Pack_Saboteur",
"CUP_B_RUS_Pack_Saboteur_Assault",
"CUP_B_SLA_Medicbag_green",
"CUP_B_TK_AssaultPack_Medic",
"CUP_B_TK_AlicePack_Khaki_Explosives",
"CUP_B_TK_CivPack_WDL_RPK",
"CUP_B_TK_CivPack_WDL_Ammo",
"CUP_B_TK_RPG_Backpack",
"CUP_B_TK_RPG_Backpack_Single",
"CUP_B_TK_AlicePack_Khaki_AmmoMG",
"CUP_B_TK_AlicePack_Khaki_Ammo",
"CUP_B_TIK_CivPack_WDL_Ammo",
"CUP_B_TKI_Backpack_RPG",
"CUP_B_TKG_Backpack_RPG",
"CUP_B_TKI_Backpack_Gunner_RPG",
"CUP_B_TKI_CivPack_WDL_RPK",
"CUP_B_TKI_CivPack_WDL_RPK_45",
"CUP_B_TKI_AlicePack_Khaki_AmmoAK74",
"CUP_B_TKG_AlicePack_Khaki_AmmoAK47",
"CUP_B_TKI_AlicePack_MG",
"CUP_B_TKI_AlicePack_Mechanic",
"CUP_B_TKI_AlicePack_Exp",
"CUP_B_USArmy_Medic",
"CUP_B_USArmy_AR",
"CUP_B_USArmy_MG",
"CUP_B_USArmy_MG_SpecOp",
"CUP_B_USArmy_AR_SpecOp",
"CUP_B_USArmy_MinePack",
"CUP_B_USArmy_EOD",
"CUP_B_USArmy_Engineer",
"CUP_B_AssaultPack_ACU_Ammo",
"CUP_B_AssaultPack_ACU_AmmoSAW",
"CUP_B_AssaultPack_ACU_AT",
"CUP_B_AssaultPack_ACU_AT_1",
"CUP_B_AssaultPack_ACU_Explosives",
"CUP_B_AssaultPack_ACU_MG",
"CUP_B_AssaultPack_ACU_Specops_UAV",
"CUP_B_AssaultPack_ACU_Specops_M14",
"CUP_B_AssaultPack_ACU_Specops_JTAC",
"CUP_B_AssaultPack_Coyote_Ammo",
"CUP_B_AssaultPack_Coyote_Specops",
"CUP_B_AssaultPack_Coyote_Specops_GL",
"CUP_B_AssaultPack_Coyote_Specops_M",
"CUP_B_USPack_Coyote_AmmoMG",
"CUP_B_USPack_Coyote_AT",
"CUP_B_USPack_Coyote_Specops",
"CUP_B_USPack_Coyote_Specops_TL",
"CUP_B_USPack_Coyote_Specops_Operator",
"CUP_B_USPack_Coyote_TL",
"CUP_B_USPack_Coyote_SL",
"CUP_B_USMC_AssaultPack_Medic",
"CUP_B_USMC_MOLLE_AR",
"CUP_B_USMC_MOLLE_MG",
"CUP_B_USMC_MOLLE_Exp",
"CUP_B_USMC_AssaultPack_SMAW",
"CUP_B_FR_MOLLE_Sab",
"CUP_B_FR_MOLLE_MG",
"CUP_T10_Parachute_backpack",
"CUP_C_EngineeringBag",
"CUP_B_AssaultPack_RifleAmmo",
"CUP_B_AssaultPack_ARAmmo",
"CUP_B_AssaultPack_MGAmmo",
"CUP_B_AssaultPack_ATAmmo",
"CUP_B_AssaultPack_HATAmmo",
"CUP_B_AssaultPack_Special",
"CUP_B_AssaultPack_FAC",
"CUP_B_AssaultPack_HAAAmmo",
"CUP_B_AssaultPack_LRRAmmo",
"CUP_B_AssaultPack_Medic",
"CUP_B_AssaultPack_Engineer",
"CUP_B_AssaultPack_LAT",
"CUP_B_AssaultPack_AR",
"CUP_B_AssaultPack_MG",
"CUP_B_CDF_MedicPack",
"CUP_B_CDF_RPG_Backpack",
"CUP_B_CDF_EngineerPack",
"CUP_B_CDF_MGPack",
"CUP_B_UN_MedicPack",
"CUP_B_UN_RPG_Backpack",
"CUP_B_UN_EngineerPack",
"CUP_B_UN_MGPack",
"CUP_B_UNO_AlicePack_Khaki_AmmoAK74",
"CUP_B_UN_AlicePack_Khaki_AmmoMG",
"CUP_B_INS_Backpack_Medic",
"CUP_B_INS_RPG_Backpack",
"CUP_B_INS_Backpack_AR",
"CUP_B_INS_Backpack_MG",
"CUP_B_INS_AlicePack_Exp",
"CUP_B_INS_AlicePack_Mines",
"CUP_B_INS_AlicePack_Engineer",
"CUP_B_INS_AlicePack_Ammo"
];

_uniformPool = 
[
"CUP_U_B_GER_Tropentarn_1",
"CUP_U_B_GER_Tropentarn_2",
"CUP_U_B_GER_Ghillie",
"CUP_U_B_GER_Flecktarn_1",
"CUP_U_B_GER_Flecktarn_2",
"CUP_U_B_GER_Fleck_Ghillie",
"CUP_U_I_GUE_Flecktarn",
"CUP_U_I_GUE_Flecktarn2",
"CUP_U_I_GUE_Woodland1",
"CUP_U_I_GUE_Flecktarn3",
"CUP_U_I_Ghillie_Top",
"CUP_U_I_Pilot_01",
"CUP_U_I_Leader_01",
"CUP_U_I_Worker_02",
"CUP_U_I_Woodlander_01",
"CUP_U_I_Woodlander_02",
"CUP_U_I_Woodlander_03",
"CUP_U_I_Villager_03",
"CUP_U_I_Villager_04",
"CUP_U_I_GUE_Anorak_01",
"CUP_U_I_GUE_Anorak_02",
"CUP_U_I_GUE_Anorak_03",
"CUP_I_B_PMC_Unit_1",
"CUP_I_B_PMC_Unit_2",
"CUP_I_B_PMC_Unit_3",
"CUP_I_B_PMC_Unit_4",
"CUP_I_B_PMC_Unit_5",
"CUP_I_B_PMC_Unit_6",
"CUP_I_B_PMC_Unit_7",
"CUP_I_B_PMC_Unit_8",
"CUP_I_B_PMC_Unit_9",
"CUP_I_B_PMC_Unit_10",
"CUP_I_B_PMC_Unit_11",
"CUP_I_B_PMC_Unit_12",
"CUP_I_B_PMC_Unit_13",
"CUP_I_B_PMC_Unit_14",
"CUP_I_B_PMC_Unit_15",
"CUP_I_B_PMC_Unit_16",
"CUP_I_B_PMC_Unit_17",
"CUP_I_B_PMC_Unit_18",
"CUP_I_B_PMC_Unit_19",
"CUP_I_B_PMC_Unit_20",
"CUP_I_B_PMC_Unit_21",
"CUP_I_B_PMC_Unit_22",
"CUP_I_B_PMC_Unit_23",
"CUP_I_B_PMC_Unit_24",
"CUP_I_B_PMC_Unit_25",
"CUP_I_B_PMC_Unit_26",
"CUP_I_B_PMC_Unit_27",
"CUP_I_B_PMC_Unit_28",
"CUP_U_I_RACS_Desert_1",
"CUP_U_I_RACS_Desert_2",
"CUP_U_I_RACS_PilotOverall",
"CUP_U_I_RACS_Urban_1",
"CUP_U_I_RACS_Urban_2",
"CUP_U_I_RACS_WDL_1",
"CUP_U_I_RACS_WDL_2",
"CUP_U_I_RACS_mech_1",
"CUP_U_I_RACS_mech_2",
"CUP_U_O_RUS_Flora_1",
"CUP_U_O_RUS_EMR_1",
"CUP_U_O_RUS_Flora_2",
"CUP_U_O_RUS_EMR_2",
"CUP_U_O_RUS_Flora_1_VDV",
"CUP_U_O_RUS_EMR_1_VDV",
"CUP_U_O_RUS_Flora_2_VDV",
"CUP_U_O_RUS_EMR_2_VDV",
"CUP_U_O_RUS_Commander",
"CUP_U_O_RUS_Gorka_Partizan",
"CUP_U_O_RUS_Gorka_Partizan_A",
"CUP_U_O_RUS_Gorka_Green",
"CUP_U_O_RUS_Ghillie",
"CUP_U_O_SLA_Officer",
"CUP_U_O_SLA_MixedCamo",
"CUP_U_O_SLA_Green",
"CUP_U_O_SLA_Urban",
"CUP_U_O_SLA_Desert",
"CUP_U_O_Partisan_TTsKO",
"CUP_U_O_Partisan_TTsKO_Mixed",
"CUP_U_O_Partisan_VSR_Mixed1",
"CUP_U_O_Partisan_VSR_Mixed2",
"CUP_U_O_SLA_Overalls_Pilot",
"CUP_U_O_SLA_Overalls_Tank",
"CUP_U_O_SLA_Officer_Suit",
"CUP_U_O_TK_Officer",
"CUP_U_O_TK_MixedCamo",
"CUP_U_O_TK_Green",
"CUP_U_O_TK_Ghillie",
"CUP_U_O_TK_Ghillie_Top",
"CUP_O_TKI_Khet_Partug_01",
"CUP_O_TKI_Khet_Partug_02",
"CUP_O_TKI_Khet_Partug_03",
"CUP_O_TKI_Khet_Partug_04",
"CUP_O_TKI_Khet_Partug_05",
"CUP_O_TKI_Khet_Partug_06",
"CUP_O_TKI_Khet_Partug_07",
"CUP_O_TKI_Khet_Partug_08",
"CUP_O_TKI_Khet_Jeans_01",
"CUP_O_TKI_Khet_Jeans_02",
"CUP_O_TKI_Khet_Jeans_03",
"CUP_O_TKI_Khet_Jeans_04",
"CUP_I_TKG_Khet_Partug_01",
"CUP_I_TKG_Khet_Partug_02",
"CUP_I_TKG_Khet_Partug_03",
"CUP_I_TKG_Khet_Partug_04",
"CUP_I_TKG_Khet_Partug_05",
"CUP_I_TKG_Khet_Partug_06",
"CUP_I_TKG_Khet_Partug_07",
"CUP_I_TKG_Khet_Partug_08",
"CUP_I_TKG_Khet_Jeans_01",
"CUP_I_TKG_Khet_Jeans_02",
"CUP_I_TKG_Khet_Jeans_03",
"CUP_I_TKG_Khet_Jeans_04",
"CUP_U_B_USA06_Officer_m81",
"CUP_U_B_USArmy_TwoKnee",
"CUP_U_B_USArmy_UBACS",
"CUP_U_B_USArmy_Soft",
"CUP_U_B_USArmy_Ghillie",
"CUP_U_B_USArmy_PilotOverall",
"CUP_U_B_USMC_Officer",
"CUP_U_B_USMC_MARPAT_WDL_Sleeves",
"CUP_U_B_USMC_MARPAT_WDL_RolledUp",
"CUP_U_B_USMC_MARPAT_WDL_Kneepad",
"CUP_U_B_USMC_MARPAT_WDL_TwoKneepads",
"CUP_U_B_USMC_PilotOverall",
"CUP_U_B_USMC_MARPAT_WDL_RollUpKneepad",
"CUP_U_B_USMC_Ghillie_WDL",
"CUP_U_B_FR_SpecOps",
"CUP_U_B_FR_Scout",
"CUP_U_B_FR_Officer",
"CUP_U_B_FR_Corpsman",
"CUP_U_B_FR_DirAction",
"CUP_U_B_FR_DirAction2",
"CUP_U_B_FR_Light",
"CUP_U_B_FR_Scout1",
"CUP_U_B_FR_Scout2",
"CUP_U_B_FR_Scout3",
"CUP_B_USMC_Navy_Blue",
"CUP_B_USMC_Navy_Brown",
"CUP_B_USMC_Navy_Green",
"CUP_B_USMC_Navy_Red",
"CUP_B_USMC_Navy_Violet",
"CUP_B_USMC_Navy_White",
"CUP_B_USMC_Navy_Yellow",
"CUP_U_B_USMC_FROG1_WMARPAT",
"CUP_U_B_USMC_FROG1_DMARPAT",
"CUP_U_B_USMC_FROG2_WMARPAT",
"CUP_U_B_USMC_FROG2_DMARPAT",
"CUP_U_B_USMC_FROG3_WMARPAT",
"CUP_U_B_USMC_FROG3_DMARPAT",
"CUP_U_B_USMC_FROG4_WMARPAT",
"CUP_U_B_USMC_FROG4_DMARPAT",
"CUP_U_C_Pilot_01",
"CUP_U_C_Citizen_01",
"CUP_U_C_Citizen_02",
"CUP_U_C_Citizen_03",
"CUP_U_C_Citizen_04",
"CUP_U_C_Worker_01",
"CUP_U_C_Worker_02",
"CUP_U_C_Worker_03",
"CUP_U_C_Worker_04",
"CUP_U_C_Profiteer_01",
"CUP_U_C_Profiteer_02",
"CUP_U_C_Profiteer_03",
"CUP_U_C_Profiteer_04",
"CUP_U_C_Woodlander_01",
"CUP_U_C_Woodlander_02",
"CUP_U_C_Woodlander_03",
"CUP_U_C_Woodlander_04",
"CUP_U_C_Villager_01",
"CUP_U_C_Villager_02",
"CUP_U_C_Villager_03",
"CUP_U_C_Villager_04",
"CUP_U_C_Priest_01",
"CUP_U_C_Policeman_01",
"CUP_U_C_Suit_01",
"CUP_U_C_Suit_02",
"CUP_U_C_Labcoat_01",
"CUP_U_C_Labcoat_02",
"CUP_U_C_Labcoat_03",
"CUP_U_C_Rocker_01",
"CUP_U_C_Rocker_02",
"CUP_U_C_Rocker_03",
"CUP_U_C_Rocker_04",
"CUP_U_C_Mechanic_01",
"CUP_U_C_Mechanic_02",
"CUP_U_C_Mechanic_03",
"CUP_U_C_Fireman_01",
"CUP_U_C_Rescuer_01",
"CUP_U_B_CZ_WDL_TShirt",
"CUP_U_B_BAF_DDPM_S1_RolledUp",
"CUP_U_B_BAF_DDPM_S2_UnRolled",
"CUP_U_B_BAF_DDPM_Tshirt",
"CUP_U_B_BAF_DPM_S1_RolledUp",
"CUP_U_B_BAF_DPM_S2_UnRolled",
"CUP_U_B_BAF_DPM_Tshirt",
"CUP_U_B_BAF_MTP_S1_RolledUp",
"CUP_U_B_BAF_MTP_S2_UnRolled",
"CUP_U_B_BAF_MTP_Tshirt",
"CUP_U_B_BAF_MTP_Ghillie",
"CUP_U_B_BAF_DPM_Ghillie",
"CUP_U_B_BAF_DDPM_Ghillie",
"CUP_U_B_BAF_MTP_S3_RolledUp",
"CUP_U_B_BAF_MTP_S4_UnRolled",
"CUP_U_B_BAF_MTP_S5_UnRolled",
"CUP_U_B_BAF_MTP_S6_UnRolled",
"CUP_U_B_CDF_MNT_1",
"CUP_U_B_CDF_MNT_2",
"CUP_U_B_CDF_DST_1",
"CUP_U_B_CDF_DST_2",
"CUP_U_B_CDF_FST_1",
"CUP_U_B_CDF_FST_2",
"CUP_U_I_UNO_MNT_1",
"CUP_U_I_UNO_MNT_2",
"CUP_U_I_UNO_DST_1",
"CUP_U_I_UNO_DST_2",
"CUP_U_I_UNO_FST_1",
"CUP_U_I_UNO_FST_2",
"CUP_U_O_CHDKZ_Bardak",
"CUP_U_O_CHDKZ_Commander",
"CUP_U_O_CHDKZ_Lopotev",
"CUP_U_O_CHDKZ_Kam_01",
"CUP_U_O_CHDKZ_Kam_02",
"CUP_U_O_CHDKZ_Kam_03",
"CUP_U_O_CHDKZ_Kam_04",
"CUP_U_O_CHDKZ_Kam_05",
"CUP_U_O_CHDKZ_Kam_06",
"CUP_U_O_CHDKZ_Kam_07",
"CUP_U_O_CHDKZ_Kam_08",
"CUP_U_O_Pilot_01",
"CUP_U_O_Worker_02",
"CUP_U_O_Woodlander_01",
"CUP_U_O_Woodlander_02",
"CUP_U_O_Woodlander_03",
"CUP_U_O_Villager_03",
"CUP_U_O_Villager_04",
"U_O_officer_noInsignia_hex_F"
];

_headgearPool = 
[
"CUP_H_Ger_Boonie_desert",
"CUP_H_Ger_Boonie_Flecktarn",
"CUP_H_NAPA_Fedora",
"CUP_H_PMC_PRR_Headset",
"CUP_H_PMC_EP_Headset",
"CUP_H_PMC_Cap_Grey",
"CUP_H_PMC_Cap_Tan",
"CUP_H_PMC_Cap_Burberry",
"CUP_H_PMC_Cap_Back_Grey",
"CUP_H_PMC_Cap_Back_Tan",
"CUP_H_PMC_Cap_Back_Burberry",
"CUP_H_PMC_Cap_PRR_Grey",
"CUP_H_PMC_Cap_PRR_Tan",
"CUP_H_PMC_Cap_PRR_Burberry",
"CUP_H_PMC_Cap_Back_PRR_Grey",
"CUP_H_PMC_Cap_Back_PRR_Tan",
"CUP_H_PMC_Cap_Back_PRR_Burberry",
"CUP_H_PMC_Cap_EP_Grey",
"CUP_H_PMC_Cap_EP_Tan",
"CUP_H_PMC_Cap_EP_Burberry",
"CUP_H_PMC_Cap_Back_EP_Grey",
"CUP_H_PMC_Cap_Back_EP_Tan",
"CUP_H_PMC_Cap_Back_EP_Burberry",
"CUP_H_RACS_Helmet_DES",
"CUP_H_RACS_Helmet_Goggles_DES",
"CUP_H_RACS_Helmet_Headset_DES",
"CUP_H_RACS_Helmet_DPAT",
"CUP_H_RACS_Helmet_Goggles_DPAT",
"CUP_H_RACS_Helmet_Headset_DPAT",
"CUP_H_RACS_Helmet_wdl",
"CUP_H_RACS_Helmet_Goggles_wdl",
"CUP_H_RACS_Helmet_Headset_wdl",
"CUP_H_RACS_Helmet_mech",
"CUP_H_RACS_Helmet_Goggles_mech",
"CUP_H_RACS_Helmet_Headset_mech",
"CUP_H_RACS_Helmet_olive",
"CUP_H_RACS_Helmet_tan",
"CUP_H_RACS_Beret_Blue",
"CUP_H_RUS_6B27_NVG",
"CUP_H_RUS_6B27_NVG_olive",
"CUP_H_RUS_6B27",
"CUP_H_RUS_6B27_olive",
"CUP_H_RUS_TSH_4_Brown",
"CUP_H_RUS_ZSH_Shield_Up",
"CUP_H_RUS_ZSH_Shield_Down",
"CUP_H_RUS_Bandana_HS",
"CUP_H_RUS_Beret_VDV",
"CUP_H_RUS_Beret_Spetsnaz",
"CUP_H_RUS_ZSH_1_Goggles",
"CUP_H_RUS_ZSH_1",
"CUP_H_SLA_TankerHelmet",
"CUP_H_SLA_Helmet",
"CUP_H_SLA_Pilot_Helmet",
"CUP_H_SLA_OfficerCap",
"CUP_H_SLA_SLCap",
"CUP_H_SLA_Boonie",
"CUP_H_SLA_Beret",
"CUP_H_SLA_BeanieGreen",
"CUP_H_SLA_BeretRed",
"CUP_H_TK_TankerHelmet",
"CUP_H_TK_PilotHelmet",
"CUP_H_TK_Helmet",
"CUP_H_TK_Lungee",
"CUP_H_TK_Beret",
"CUP_H_TKI_SkullCap_01",
"CUP_H_TKI_SkullCap_02",
"CUP_H_TKI_SkullCap_03",
"CUP_H_TKI_SkullCap_04",
"CUP_H_TKI_SkullCap_05",
"CUP_H_TKI_SkullCap_06",
"CUP_H_TKI_Lungee_01",
"CUP_H_TKI_Lungee_02",
"CUP_H_TKI_Lungee_03",
"CUP_H_TKI_Lungee_04",
"CUP_H_TKI_Lungee_05",
"CUP_H_TKI_Lungee_06",
"CUP_H_TKI_Lungee_Open_01",
"CUP_H_TKI_Lungee_Open_02",
"CUP_H_TKI_Lungee_Open_03",
"CUP_H_TKI_Lungee_Open_04",
"CUP_H_TKI_Lungee_Open_05",
"CUP_H_TKI_Lungee_Open_06",
"CUP_H_TKI_Pakol_1_01",
"CUP_H_TKI_Pakol_1_02",
"CUP_H_TKI_Pakol_1_03",
"CUP_H_TKI_Pakol_1_04",
"CUP_H_TKI_Pakol_1_05",
"CUP_H_TKI_Pakol_1_06",
"CUP_H_TKI_Pakol_2_01",
"CUP_H_TKI_Pakol_2_02",
"CUP_H_TKI_Pakol_2_03",
"CUP_H_TKI_Pakol_2_04",
"CUP_H_TKI_Pakol_2_05",
"CUP_H_TKI_Pakol_2_06",
"CUP_H_USArmy_Boonie",
"CUP_H_USA_Cap",
"CUP_H_USArmy_HelmetMICH",
"CUP_H_USArmy_HelmetMICH_ESS",
"CUP_H_USArmy_HelmetMICH_earpro",
"CUP_H_USArmy_HelmetMICH_earpro_ess",
"CUP_H_USArmy_HelmetMICH_headset",
"CUP_H_USArmy_HelmetMICH_headset_ess",
"CUP_H_USArmy_HelmetMICH_wdl",
"CUP_H_USArmy_Helmet_ECH1_Sand",
"CUP_H_USArmy_Helmet_ECH2_Sand",
"CUP_H_USArmy_Helmet_ECH1_Black",
"CUP_H_USArmy_Helmet_ECH2_Black",
"CUP_H_USArmy_Helmet_ECH1_Green",
"CUP_H_USArmy_Helmet_ECH2_GREEN",
"CUP_H_USArmy_Helmet_Pro",
"CUP_H_USArmy_Helmet_Pro_gog",
"CUP_H_USArmy_Helmet_M1_Olive",
"CUP_H_USArmy_Helmet_M1_Vine",
"CUP_H_USArmy_Helmet_M1_m81",
"CUP_H_USArmy_Helmet_M1_btp",
"CUP_H_USMC_Officer_Cap",
"CUP_H_USMC_HelmetWDL",
"CUP_H_USMC_Headset_HelmetWDL",
"CUP_H_USMC_Headset_GoggleW_HelmetWDL",
"CUP_H_USMC_Crew_Helmet",
"CUP_H_USMC_Goggles_HelmetWDL",
"CUP_H_USMC_Helmet_Pilot",
"CUP_H_FR_Cap_Headset_Green",
"CUP_H_FR_Cap_Officer_Headset",
"CUP_H_FR_BandanaGreen",
"CUP_H_FR_BandanaWdl",
"CUP_H_FR_ECH",
"CUP_H_FR_BoonieMARPAT",
"CUP_H_FR_BoonieWDL",
"CUP_H_FR_BeanieGreen",
"CUP_H_FR_Headset",
"CUP_H_FR_Bandana_Headset",
"CUP_H_FR_Headband_Headset",
"CUP_H_FR_PRR_BoonieWDL",
"CUP_H_Navy_CrewHelmet_Blue",
"CUP_H_Navy_CrewHelmet_Brown",
"CUP_H_Navy_CrewHelmet_Green",
"CUP_H_Navy_CrewHelmet_Red",
"CUP_H_Navy_CrewHelmet_Violet",
"CUP_H_Navy_CrewHelmet_White",
"CUP_H_Navy_CrewHelmet_Yellow",
"CUP_H_USMC_ACVC_WDL",
"CUP_H_USMC_ACVC_DES",
"CUP_H_USMC_MICH2000_WDL",
"CUP_H_USMC_MICH2000_DES",
"CUP_H_USMC_MICH2000_ESS_COMM_WDL",
"CUP_H_USMC_MICH2000_ESS_COMM_DES",
"CUP_H_USMC_MICH2000_COMM_WDL",
"CUP_H_USMC_MICH2000_COMM_DES",
"CUP_H_USMC_MICH2000_DEF_WDL",
"CUP_H_USMC_MICH2000_DEF_DES",
"CUP_H_USMC_MICH2000_DEF_ESS_WDL",
"CUP_H_USMC_MICH2000_DEF_ESS_DES",
"CUP_H_USMC_LWH_NVGMOUNT_WDL",
"CUP_H_USMC_LWH_NVGMOUNT_DES",
"CUP_H_USMC_LWH_WDL",
"CUP_H_USMC_LWH_DES",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_HS_WDL",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_HS_DES",
"CUP_H_USMC_LWH_ESS_HS_WDL",
"CUP_H_USMC_LWH_ESS_HS_DES",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_WDL",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_DES",
"CUP_H_USMC_LWH_ESS_WDL",
"CUP_H_USMC_LWH_ESS_DES",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_LR_WDL",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_LR_DES",
"CUP_H_USMC_LWH_ESS_LR_WDL",
"CUP_H_USMC_LWH_ESS_LR_DES",
"CUP_H_USMC_BOONIE_WDL",
"CUP_H_USMC_BOONIE_DES",
"CUP_H_USMC_BOONIE_PRR_WDL",
"CUP_H_USMC_BOONIE_PRR_DES",
"CUP_H_USMC_CAP_WDL",
"CUP_H_USMC_CAP_DES",
"CUP_H_USMC_CAP_PRR_WDL",
"CUP_H_USMC_CAP_PRR_DES",
"CUP_H_C_MAGA_01",
"CUP_H_C_TrackIR_01",
"CUP_H_C_Ushanka_01",
"CUP_H_C_Ushanka_02",
"CUP_H_C_Ushanka_03",
"CUP_H_C_Ushanka_04",
"CUP_H_C_Beanie_01",
"CUP_H_C_Beanie_02",
"CUP_H_C_Beanie_03",
"CUP_H_C_Beanie_04",
"CUP_H_C_Beret_01",
"CUP_H_C_Beret_02",
"CUP_H_C_Beret_03",
"CUP_H_C_Beret_04",
"CUP_H_C_Policecap_01",
"CUP_H_C_Fireman_Helmet_01",
"CUP_H_BAF_Officer_Beret",
"CUP_H_BAF_Officer_Beret_PRR_U",
"CUP_H_BAF_Officer_Beret_PRR_O",
"CUP_H_BAF_Helmet_Pilot",
"CUP_H_BAF_Crew_Helmet_DDPM",
"CUP_H_BAF_Helmet_1_DDPM",
"CUP_H_BAF_Helmet_2_DDPM",
"CUP_H_BAF_Helmet_Net_2_DDPM",
"CUP_H_BAF_Helmet_3_DDPM",
"CUP_H_BAF_Helmet_4_DDPM",
"CUP_H_BAF_Crew_Helmet_DPM",
"CUP_H_BAF_Helmet_1_DPM",
"CUP_H_BAF_Helmet_Net_2_DPM",
"CUP_H_BAF_Helmet_2_DPM",
"CUP_H_BAF_Helmet_3_DPM",
"CUP_H_BAF_Helmet_4_DPM",
"CUP_H_BAF_Crew_Helmet_MTP",
"CUP_H_BAF_Helmet_Net_2_MTP",
"CUP_H_BAF_Helmet_1_MTP",
"CUP_H_BAF_Helmet_2_MTP",
"CUP_H_BAF_Helmet_3_MTP",
"CUP_H_BAF_Helmet_4_MTP",
"CUP_H_CDF_H_PASGT_MNT",
"CUP_H_CDF_H_PASGT_DST",
"CUP_H_CDF_H_PASGT_FST",
"CUP_H_CDF_H_PASGT_UN",
"CUP_H_CDF_OfficerCap_MNT",
"CUP_H_CDF_OfficerCap_DST",
"CUP_H_CDF_OfficerCap_FST",
"CUP_H_CDF_OfficerCap_UN",
"CUP_H_CDF_Beret_UN",
"CUP_H_ChDKZ_Beret",
"CUP_H_ChDKZ_Beanie",
"CUP_H_ChDKZ_Cap"
];

_vestPool = 
[
"CUP_V_B_GER_Carrier_Rig",
"CUP_V_B_GER_Carrier_Rig_2",
"CUP_V_B_GER_Carrier_Rig_2_Brown",
"CUP_V_B_GER_Carrier_Rig_3_Brown",
"CUP_V_B_GER_Carrier_Vest",
"CUP_V_B_GER_Carrier_Vest_2",
"CUP_V_B_GER_Carrier_Vest_3",
"CUP_V_B_GER_Vest_1",
"CUP_V_B_GER_Vest_2",
"CUP_V_PMC_IOTV_Coyote_Empty",
"CUP_V_PMC_IOTV_Coyote_Patrol",
"CUP_V_PMC_IOTV_Coyote_AR",
"CUP_V_PMC_IOTV_Coyote_Gren",
"CUP_V_PMC_IOTV_Coyote_TL",
"CUP_V_PMC_IOTV_Black_Empty",
"CUP_V_PMC_IOTV_Black_Patrol",
"CUP_V_PMC_IOTV_Black_AR",
"CUP_V_PMC_IOTV_Black_Gren",
"CUP_V_PMC_IOTV_Black_TL",
"CUP_V_PMC_CIRAS_Coyote_Empty",
"CUP_V_PMC_CIRAS_Coyote_Patrol",
"CUP_V_PMC_CIRAS_Coyote_Grenadier",
"CUP_V_PMC_CIRAS_Coyote_TL",
"CUP_V_PMC_CIRAS_Coyote_crate",
"CUP_V_PMC_CIRAS_Black_Empty",
"CUP_V_PMC_CIRAS_Black_Patrol",
"CUP_V_PMC_CIRAS_Black_Grenadier",
"CUP_V_PMC_CIRAS_Black_TL",
"CUP_V_PMC_CIRAS_Black_crate",
"CUP_V_PMC_CIRAS_Winter_Empty",
"CUP_V_PMC_CIRAS_Winter_Patrol",
"CUP_V_PMC_CIRAS_Winter_Grenadier",
"CUP_V_PMC_CIRAS_Winter_TL",
"CUP_V_PMC_CIRAS_Winter_crate",
"CUP_V_I_RACS_Carrier_Rig_2",
"CUP_V_I_RACS_Carrier_Rig_3",
"CUP_V_I_RACS_Carrier_Vest",
"CUP_V_I_RACS_Carrier_Vest_2",
"CUP_V_I_RACS_Carrier_Vest_3",
"CUP_V_I_RACS_Carrier_Rig_wdl_2",
"CUP_V_I_RACS_Carrier_Rig_wdl_3",
"CUP_V_I_RACS_Carrier_Vest_wdl",
"CUP_V_I_RACS_Carrier_Vest_wdl_2",
"CUP_V_I_RACS_Carrier_Vest_wdl_3",
"CUP_V_RUS_6B3_1",
"CUP_V_RUS_6B3_2",
"CUP_V_RUS_6B3_3",
"CUP_V_RUS_6B3_4",
"CUP_V_RUS_Smersh_1",
"CUP_V_RUS_Smersh_2",
"CUP_V_O_SLA_Carrier_Belt",
"CUP_V_O_SLA_Carrier_Belt02",
"CUP_V_O_SLA_Carrier_Belt03",
"CUP_V_O_SLA_Flak_Vest01",
"CUP_V_O_SLA_Flak_Vest02",
"CUP_V_O_SLA_Flak_Vest03",
"CUP_V_O_TK_CrewBelt",
"CUP_V_O_TK_OfficerBelt",
"CUP_V_O_TK_OfficerBelt2",
"CUP_V_O_TK_Vest_1",
"CUP_V_O_TK_Vest_2",
"CUP_V_B_IOTV_SL",
"CUP_V_B_IOTV_Medic",
"CUP_V_B_IOTV_Rifleman",
"CUP_V_B_IOTV_AT",
"CUP_V_B_IOTV_MG",
"CUP_V_B_IOTV_saw",
"CUP_V_B_IOTV_tl",
"CUP_V_B_IOTV_gl",
"CUP_V_B_USArmy_PilotVest",
"CUP_V_B_RangerVest",
"CUP_V_B_Interceptor_Rifleman",
"CUP_V_B_MTV",
"CUP_V_B_MTV_Patrol",
"CUP_V_B_MTV_Pouches",
"CUP_V_B_MTV_noCB",
"CUP_V_B_MTV_Marksman",
"CUP_V_B_MTV_PistolBlack",
"CUP_V_B_MTV_LegPouch",
"CUP_V_B_MTV_MG",
"CUP_V_B_MTV_Mine",
"CUP_V_B_MTV_TL",
"CUP_V_B_PilotVest",
"CUP_V_B_RRV_TL",
"CUP_V_B_RRV_Officer",
"CUP_V_B_RRV_Medic",
"CUP_V_B_RRV_DA1",
"CUP_V_B_RRV_DA2",
"CUP_V_B_RRV_MG",
"CUP_V_B_RRV_Light",
"CUP_V_B_RRV_Scout",
"CUP_V_B_RRV_Scout2",
"CUP_V_B_RRV_Scout3",
"CUP_V_B_Eagle_SPC_Rifleman",
"CUP_V_B_Eagle_SPC_Empty",
"CUP_V_B_Eagle_SPC_Patrol",
"CUP_V_B_Eagle_SPC_GL",
"CUP_V_B_Eagle_SPC_MG",
"CUP_V_B_Eagle_SPC_AR",
"CUP_V_B_Eagle_SPC_AT",
"CUP_V_B_Eagle_SPC_Corpsman",
"CUP_V_B_Eagle_SPC_Crew",
"CUP_V_B_Eagle_SPC_DMR",
"CUP_V_B_Eagle_SPC_Officer",
"CUP_V_B_Eagle_SPC_RTO",
"CUP_V_B_Eagle_SPC_SL",
"CUP_V_B_Eagle_SPC_Scout",
"CUP_V_B_Eagle_SPC_TL",
"CUP_V_B_LHDVest_Blue",
"CUP_V_B_LHDVest_Brown",
"CUP_V_B_LHDVest_Green",
"CUP_V_B_LHDVest_Red",
"CUP_V_B_LHDVest_Violet",
"CUP_V_B_LHDVest_White",
"CUP_V_B_LHDVest_Yellow",
"CUP_V_BAF_Osprey_Mk2_DDPM_Empty",
"CUP_V_BAF_Osprey_Mk2_DDPM_Pilot",
"CUP_V_BAF_Osprey_Mk2_DDPM_Scout",
"CUP_V_BAF_Osprey_Mk2_DDPM_Crewman",
"CUP_V_BAF_Osprey_Mk2_DDPM_equipunit1",
"CUP_V_BAF_Osprey_Mk2_DDPM_equipunit2",
"CUP_V_BAF_Osprey_Mk2_DDPM_Grenadier",
"CUP_V_BAF_Osprey_Mk2_DDPM_Sapper",
"CUP_V_BAF_Osprey_Mk2_DDPM_Medic",
"CUP_V_BAF_Osprey_Mk2_DDPM_Officer",
"CUP_V_BAF_Osprey_Mk2_DPM_Empty",
"CUP_V_BAF_Osprey_Mk2_DPM_Pilot",
"CUP_V_BAF_Osprey_Mk2_DPM_Scout",
"CUP_V_BAF_Osprey_Mk2_DPM_Crewman",
"CUP_V_BAF_Osprey_Mk2_DPM_equipunit1",
"CUP_V_BAF_Osprey_Mk2_DPM_equipunit2",
"CUP_V_BAF_Osprey_Mk2_DPM_Grenadier",
"CUP_V_BAF_Osprey_Mk2_DPM_Sapper",
"CUP_V_BAF_Osprey_Mk2_DPM_Medic",
"CUP_V_BAF_Osprey_Mk2_DPM_Officer",
"CUP_V_BAF_Osprey_Mk4_MTP_Grenadier",
"CUP_V_BAF_Osprey_Mk4_MTP_MachineGunner",
"CUP_V_BAF_Osprey_Mk4_MTP_Rifleman",
"CUP_V_BAF_Osprey_Mk4_MTP_SquadLeader",
"CUP_V_CDF_6B3_1_Green",
"CUP_V_CDF_6B3_1_MNT",
"CUP_V_CDF_6B3_1_DST",
"CUP_V_CDF_6B3_1_FST",
"CUP_V_CDF_6B3_2_Green",
"CUP_V_CDF_6B3_2_MNT",
"CUP_V_CDF_6B3_2_DST",
"CUP_V_CDF_6B3_2_FST",
"CUP_V_CDF_6B3_3_Green",
"CUP_V_CDF_6B3_3_MNT",
"CUP_V_CDF_6B3_3_DST",
"CUP_V_CDF_6B3_3_FST",
"CUP_V_CDF_6B3_4_Green",
"CUP_V_CDF_6B3_4_MNT",
"CUP_V_CDF_6B3_4_DST",
"CUP_V_CDF_6B3_4_FST",
"CUP_V_CDF_6B3_5_Green",
"CUP_V_CDF_6B3_5_MNT",
"CUP_V_CDF_6B3_5_DST",
"CUP_V_CDF_6B3_5_FST",
"CUP_V_CDF_CrewBelt",
"CUP_V_CDF_OfficerBelt",
"CUP_V_CDF_OfficerBelt2",
"CUP_V_B_Delta_1",
"CUP_V_B_Delta_2",
"CUP_V_O_Ins_Carrier_Rig",
"CUP_V_O_Ins_Carrier_Rig_MG",
"CUP_V_O_Ins_Carrier_Rig_Com",
"CUP_V_O_Ins_Carrier_Rig_Light",
"CUP_V_I_Carrier_Belt",
"CUP_V_C_Police_Holster",
"CUP_V_OI_TKI_Jacket1_01",
"CUP_V_OI_TKI_Jacket1_02",
"CUP_V_OI_TKI_Jacket1_03",
"CUP_V_OI_TKI_Jacket1_04",
"CUP_V_OI_TKI_Jacket1_05",
"CUP_V_OI_TKI_Jacket1_06",
"CUP_V_OI_TKI_Jacket2_01",
"CUP_V_OI_TKI_Jacket2_02",
"CUP_V_OI_TKI_Jacket2_03",
"CUP_V_OI_TKI_Jacket2_04",
"CUP_V_OI_TKI_Jacket2_05",
"CUP_V_OI_TKI_Jacket2_06",
"CUP_V_OI_TKI_Jacket3_01",
"CUP_V_OI_TKI_Jacket3_02",
"CUP_V_OI_TKI_Jacket3_03",
"CUP_V_OI_TKI_Jacket3_04",
"CUP_V_OI_TKI_Jacket3_05",
"CUP_V_OI_TKI_Jacket3_06",
"CUP_V_OI_TKI_Jacket4_01",
"CUP_V_OI_TKI_Jacket4_02",
"CUP_V_OI_TKI_Jacket4_03",
"CUP_V_OI_TKI_Jacket4_04",
"CUP_V_OI_TKI_Jacket4_05",
"CUP_V_OI_TKI_Jacket4_06",
"CUP_V_OI_TKI_Jacket5_01",
"CUP_V_OI_TKI_Jacket5_02",
"CUP_V_OI_TKI_Jacket5_03",
"CUP_V_OI_TKI_Jacket5_04",
"CUP_V_OI_TKI_Jacket5_05",
"CUP_V_OI_TKI_Jacket5_06",
"CUP_V_OI_TKI_Jacket6_01",
"CUP_V_OI_TKI_Jacket6_02",
"CUP_V_OI_TKI_Jacket6_03",
"CUP_V_OI_TKI_Jacket6_04",
"CUP_V_OI_TKI_Jacket6_05",
"CUP_V_OI_TKI_Jacket6_06",
"CUP_V_I_Guerilla_Jacket"
];

// Goggles ////////////////////////////////////////////////////////////////////////////////////////
{if (isClass(configFile >> "CfgWeapons" >> _x)) then {0 = rvg_goggles pushBack _x;};} forEach [
"TRYK_Shemagh",
"TRYK_Shemagh_mesh",
"TRYK_Shemagh_G"
];

_gogglesPool = 
[
"TRYK_Shemagh",
"TRYK_Shemagh_mesh",
"TRYK_Shemagh_G"
];

_pistolAmmoPool = 
[
"CUP_10Rnd_9x19_Compact",
"CUP_18Rnd_9x19_Phantom",
"CUP_17Rnd_9x19_glock17",
"CUP_7Rnd_45ACP_1911",
"CUP_15Rnd_9x19_M9",
"CUP_8Rnd_9x18_Makarov_M",
"CUP_8Rnd_9x18_MakarovSD_M",
"CUP_30Rnd_9x19_UZI",
"CUP_20Rnd_B_765x17_Ball_M",
"CUP_6Rnd_45ACP_M"
];

_smgammoAmmoPool = 
[
"CUP_64Rnd_9x19_Bizon_M",
"CUP_64Rnd_Green_Tracer_9x19_Bizon_M",
"CUP_64Rnd_Red_Tracer_9x19_Bizon_M",
"CUP_64Rnd_White_Tracer_9x19_Bizon_M",
"CUP_64Rnd_Yellow_Tracer_9x19_Bizon_M",
"CUP_30Rnd_9x19_EVO",
"CUP_30Rnd_9x19_MP5"
];

_shotgunammoAmmoPool = 
[
"CUP_20Rnd_B_AA12_HE",
"CUP_20Rnd_B_AA12_74Slug",
"CUP_20Rnd_B_AA12_Pellets",
"CUP_8Rnd_B_Beneli_74Pellets",
"CUP_8Rnd_B_Beneli_74Slug",
"CUP_8Rnd_B_Saiga12_74Pellets_M",
"CUP_8Rnd_B_Saiga12_74Slug_M"
];

_rifleAmmoPool = 
[
"CUP_30Rnd_545x39_AK_M",
"CUP_30Rnd_Subsonic_545x39_AK_M",
"CUP_30Rnd_TE1_Green_Tracer_545x39_AK_M",
"CUP_30Rnd_TE1_Red_Tracer_545x39_AK_M",
"CUP_30Rnd_TE1_White_Tracer_545x39_AK_M",
"CUP_30Rnd_TE1_Yellow_Tracer_545x39_AK_M",
"CUP_45Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M",
"CUP_30Rnd_762x39_AK47_M",
"CUP_30Rnd_556x45_Stanag",
"CUP_30Rnd_556x45_G36",
"CUP_30Rnd_TE1_Red_Tracer_556x45_G36",
"CUP_30Rnd_TE1_Green_Tracer_556x45_G36",
"CUP_30Rnd_TE1_Yellow_Tracer_556x45_G36",
"CUP_100Rnd_556x45_BetaCMag",
"CUP_100Rnd_TE1_Red_Tracer_556x45_BetaCMag",
"CUP_100Rnd_TE1_Green_Tracer_556x45_BetaCMag",
"CUP_100Rnd_TE1_Yellow_Tracer_556x45_BetaCMag",
"CUP_20Rnd_556x45_Stanag",
"CUP_20Rnd_762x51_FNFAL_M",
"CUP_20Rnd_762x51_L129_M",
"CUP_20Rnd_762x51_B_SCAR",
"CUP_20Rnd_TE1_Yellow_Tracer_762x51_SCAR",
"CUP_20Rnd_TE1_Red_Tracer_762x51_SCAR",
"CUP_20Rnd_TE1_Green_Tracer_762x51_SCAR",
"CUP_20Rnd_TE1_White_Tracer_762x51_SCAR",
"CUP_30Rnd_Sa58_M_TracerG",
"CUP_30Rnd_Sa58_M_TracerR",
"CUP_30Rnd_Sa58_M_TracerY",
"CUP_30Rnd_Sa58_M",
"CUP_45Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M",
"CUP_75Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M"
];

_sniperAmmoPool = 
[
"CUP_5Rnd_127x99_as50_M",
"CUP_5x_22_LR_17_HMR_M",
"CUP_10Rnd_762x51_CZ750_Tracer",
"CUP_10Rnd_762x51_CZ750",
"CUP_5Rnd_762x67_G22",
"CUP_5Rnd_127x108_KSVK_M",
"CUP_5Rnd_86x70_L115A1",
"CUP_10x_303_M",
"CUP_10Rnd_127x99_M107",
"CUP_20Rnd_762x51_B_M110",
"CUP_20Rnd_TE1_Yellow_Tracer_762x51_M110",
"CUP_20Rnd_TE1_Red_Tracer_762x51_M110",
"CUP_20Rnd_TE1_Green_Tracer_762x51_M110",
"CUP_20Rnd_TE1_White_Tracer_762x51_M110",
"CUP_20Rnd_762x51_DMR",
"CUP_20Rnd_TE1_Yellow_Tracer_762x51_DMR",
"CUP_20Rnd_TE1_Red_Tracer_762x51_DMR",
"CUP_20Rnd_TE1_Green_Tracer_762x51_DMR",
"CUP_20Rnd_TE1_White_Tracer_762x51_DMR",
"CUP_5Rnd_762x51_M24",
"CUP_20Rnd_9x39_SP5_VSS_M",
"CUP_10Rnd_9x39_SP5_VSS_M",
"CUP_10Rnd_762x54_SVD_M"
];

_lmgAmmoPool = 
[
"CUP_200Rnd_TE4_Red_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Yellow_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Green_Tracer_556x45_M249",
"CUP_200Rnd_TE1_Red_Tracer_556x45_M249",
"CUP_100Rnd_TE4_Green_Tracer_556x45_M249",
"CUP_100Rnd_TE4_Red_Tracer_556x45_M249",
"CUP_100Rnd_TE4_Yellow_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Green_Tracer_556x45_L110A1",
"CUP_200Rnd_TE4_Red_Tracer_556x45_L110A1",
"CUP_200Rnd_TE4_Yellow_Tracer_556x45_L110A1",
"CUP_100Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M",
"CUP_100Rnd_TE4_LRT4_White_Tracer_762x51_Belt_M",
"CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Green_M",
"CUP_50Rnd_UK59_762x54R_Tracer"
];

_GrenadeLauncherAmmoPool = 
[
"CUP_6Rnd_HE_GP25_M",
"CUP_1Rnd_HE_GP25_M",
"CUP_IlumFlareWhite_GP25_M",
"CUP_IlumFlareRed_GP25_M",
"CUP_IlumFlareGreen_GP25_M",
"CUP_FlareWhite_GP25_M",
"CUP_FlareGreen_GP25_M",
"CUP_FlareRed_GP25_M",
"CUP_FlareYellow_GP25_M",
"CUP_1Rnd_SMOKE_GP25_M",
"CUP_1Rnd_SmokeRed_GP25_M",
"CUP_1Rnd_SmokeGreen_GP25_M",
"CUP_1Rnd_SmokeYellow_GP25_M",
"CUP_6Rnd_HE_M203",
"CUP_6Rnd_FlareWhite_M203",
"CUP_6Rnd_FlareGreen_M203",
"CUP_6Rnd_FlareRed_M203",
"CUP_6Rnd_FlareYellow_M203",
"CUP_6Rnd_Smoke_M203",
"CUP_6Rnd_SmokeRed_M203",
"CUP_6Rnd_SmokeGreen_M203",
"CUP_6Rnd_SmokeYellow_M203",
"CUP_1Rnd_StarCluster_White_M203",
"CUP_1Rnd_StarCluster_Red_M203",
"CUP_1Rnd_StarCluster_Green_M203",
"CUP_1Rnd_StarFlare_White_M203",
"CUP_1Rnd_StarFlare_Red_M203",
"CUP_1Rnd_StarFlare_Green_M203",
"CUP_1Rnd_HE_M203",
"CUP_1Rnd_HEDP_M203",
"CUP_FlareWhite_M203",
"CUP_FlareGreen_M203",
"CUP_FlareRed_M203",
"CUP_FlareYellow_M203",
"CUP_1Rnd_Smoke_M203",
"CUP_1Rnd_SmokeRed_M203",
"CUP_1Rnd_SmokeGreen_M203",
"CUP_1Rnd_SmokeYellow_M203"
];

_rocketLauncherAmmoPool = 
[
"CUP_Javelin_M",
"CUP_Stinger_M",
"CUP_Igla_M",
"CUP_M136_M",
"CUP_Dragon_EP1_M",
"CUP_MAAWS_HEAT_M",
"CUP_MAAWS_HEDP_M",
"CUP_AT13_M",
"CUP_SMAW_HEAA_M",
"CUP_SMAW_HEDP_M",
"CUP_SMAW_Spotting",
"CUP_NLAW_M",
"CUP_PG7V_M",
"CUP_PG7VM_M",
"CUP_PG7VL_M",
"CUP_PG7VR_M",
"CUP_TBG7V_M",
"CUP_OG7_M",
"CUP_RPG18_M",
"CUP_Strela_2_M"
];

/*	------------------------------------------------------------------------------------------
	DO NOT EDIT BELOW HERE!
	------------------------------------------------------------------------------------------	*/
if (isServer) then {

_equipunit = _this select 0;

//Remove previous equipment

removeUniform _equipunit;
removeHeadgear _equipunit:
removeGoggles _equipunit;
removeVest _equipunit;
removeBackpack _equipunit;
removeAllWeapons _equipunit;
removeAllAssignedItems _equipunit;
removeAllItems _equipunit;


//special states
/*
_equipunit action ["Surrender", this];
_equipunit Setcaptive true;
_equipunit enableFatigue false;
_equipunit setCustomAimCoef 0.90; 
_equipunit setUnitRecoilCoefficient 0.90;
_equipunit setAnimSpeedCoef 1.10; // Unit will play animations faster
_equipunit enablestamina false;
_equipunit setUnitTrait ["camouflageCoef",0.1];
_equipunit setUnitTrait ["audibleCoef", 0.1];
_equipunit setUnitTrait ['loadCoef',0.1];
_equipunit setUnitTrait ["Engineer",true];
_equipunit setUnitTrait ["medic",true];
_equipunit setUnitTrait ["explosiveSpecialist",false]; // _equipunit can deactivate mines
*/

//add random uniform to unit
_equipunit forceAddUniform (selectRandom _uniformPool);

//add random vest
if ((_vestProbability > random 99) || (_vestProbability == 100)) then
{
_equipunit addVest (selectRandom _vestPool);
};

//add random backpack
if ((_backpackProbability > random 99) || (_backpackProbability == 100)) then
{
_equipunit addBackpackGlobal (selectRandom _backpackPool);
};

//add random headgear
if ((_headGearProbability > random 99) || (_headGearProbability == 100)) then
{
_equipunit addHeadgear (selectRandom _headgearPool);
};

//add random goggles
if ((_gogglesProbability > random 99) || (_gogglesProbability == 100)) then
{
_equipunit addGoggles (selectRandom _gogglesPool);
};
	
//add random main weapon to unit
if ((_mainWeaponProbability > random 99) || (_mainWeaponProbability == 100)) then
{
_rndWeapon = selectRandom _weaponsPool;
_rndWeapon = [_equipunit, _rndWeapon, _magAmount] call BIS_fnc_addWeapon;
};

//add random side arm to unit
if ((_sideArmProbability > random 99) || (_sideArmProbability == 100)) then
{
_rndSideArm = selectRandom _sideArmsPool;
_rndSideArm = [_equipunit, _rndSideArm, _magSideArmAmount] call BIS_fnc_addWeapon;
};

//add random item to unit
if ((_itemProbability > random 99) || (_itemProbability == 100)) then
{
_rndItem = selectRandom _itemsPool;
_equipunit addItemToUniform _rndItem;
};

//add random consumable to unit
if ((_itemProbability > random 99) || (_itemProbability == 100)) then
{
_rndConsumable = selectRandom _ConsumablesPool;
_equipunit addItemToUniform _rndConsumable;
};

//add random grenades to unit
if ((_grenadeProbability > random 99) || (_grenadeProbability == 100)) then
{
_rndGrenade = selectRandom _grenadesPool;
_equipunit addMagazines ["_rndGrenade", _grenadeAmount];
};

//add random chance to be a doctor and extra health items to unit
if ((_doctorProbability > random 99) || (_doctorProbability == 100)) then
{
_equipunit addItem "FirstAidKit";
_equipunit addItem "FirstAidKit";
_equipunit addItem "FirstAidKit";
_equipunit setUnitTrait ["Medic",true];
};

//add random chance to be a doctor and extra health items to unit
if ((_mechanicProbability > random 99) || (_mechanicProbability == 100)) then
{
_equipunit addItem "ToolKit";
_equipunit addItem "rvg_tire";
_equipunit addItem "rvg_canisterFuel";
_equipunit setUnitTrait ["Engineer",true];
};

//add random chance to be a doctor and extra health items to unit
if ((_expSpecialistProbability > random 99) || (_expSpecialistProbability == 100)) then
{
_explosivesAmount = round (1 + random 1) ;//so you'll get enough Grenades
_equipunit addMagazines ["ClaymoreDirectionalMine_Remote_Mag", _explosivesAmount];
_equipunit addItem "rvg_Geiger";
_equipunit addMagazines ["APERSTripMine_Wire_Mag", _explosivesAmount];
_equipunit setUnitTrait ["Engineer",true];
};

//add random optics to unit's weapon
if ((_opticProbability > random 99) || (_opticProbability == 100)) then
{
	_equipunitPrimaryOptics = []; _equipunitPrimaryOptics = getArray (configFile >> "CfgWeapons" >> _equipunitPrimaryWeapon >> "WeaponSlotsInfo" >> "CowsSlot" >> "compatibleItems");
	//_equipunitPrimaryOptics = _equipunitPrimaryOptics - _opticsDisallow;
	if ((count _equipunitPrimaryOptics) >= 1) then
	{
		_equipunitPrimaryOptic = selectRandom _equipunitPrimaryOptics;
		_equipunit addPrimaryWeaponItem _equipunitPrimaryOptic;
	};
};

//add random optics to unit's weapon
if ((_muzzleProbability > random 99) || (_muzzleProbability == 100)) then
{
	_equipunitPrimaryMuzzles = []; _equipunitPrimaryMuzzles = getArray (configFile >> "CfgWeapons" >> _equipunitPrimaryWeapon >> "WeaponSlotsInfo" >> "MuzzleSlot" >> "compatibleItems");
	if ((count _equipunitPrimaryMuzzles) >= 1) then
	{
		_equipunitPrimaryMuzzle = selectRandom _equipunitPrimaryMuzzles;
		_equipunit addPrimaryWeaponItem _equipunitPrimaryMuzzle;
	};
};

//add random pointer to unit's weapon
if ((_pointerProbability > random 99) || (_pointerProbability == 100)) then
{
	_equipunitPrimaryPointers = []; _equipunitPrimaryPointers = getArray (configFile >> "CfgWeapons" >> _equipunitPrimaryWeapon >> "WeaponSlotsInfo" >> "PointerSlot" >> "compatibleItems");
	if ((count _equipunitPrimaryPointers) >= 1) then
	{
		_equipunitPrimaryPointer = selectRandom _equipunitPrimaryPointers;
		_equipunit addPrimaryWeaponItem _equipunitPrimaryPointer;
	};
};

//add random launcher to the unit
if ((_launcherProbability > random 99) || (_launcherProbability == 100)) then
{

	if (isNull (unitBackpack _equipunit)) then
	{
		_equipunitBackpack = selectRandom _backPacks;
		_equipunit addBackPack _equipunitBackpack;
	};
	_equipunitLauncherWeapon = selectRandom _launcherWeapons;
	_equipunitLauncherWeaponAdd = [_equipunit, _equipunitLauncherWeapon, _launcherMagazineAmount] call BIS_fnc_addWeapon;
};

};

 

 

 

 

The idea started as I wanted to spawn civilians at cities and towns and the default CUP civilians looked too generic and repetitive and besides I wanted to give the civs a chance to be armed, to be medics etc etc. 

 

Later I plan on using this script to randomize the zombies some more. With this script and the CUP assets you could have so many uniform/headgear/backpack/vests combinations that you would basically never see the same zombie on your games.

 

Anyways, thanks in advance for any advice some of you might have on how to make this script work and/or how to improve it.

Share this post


Link to post
Share on other sites
11 hours ago, Vandeanson said:

looks great! with your link i do not get the little symbols, could you add your description.ext and all gf_status bar related files to your link? something seems to be missing:)

 

simple shop is awesome, i like the rank system. i have put it aside but might start using it again at some point.

 

thanks for the inpunt regarding unit traits, did a short test today with your proposed changes and will test further!

 

Here is my whole mission! Take whatever you want from there. 

https://drive.google.com/open?id=1nG3T9i-VdgwYtehqZrYA0WpRjn8BA2dE

 

Yeah I am customizing the simple shop alot! Its persistence features alone are worth its installation as it saves many important stats to its own database without needing to use dedicated servers and/or SQL databases. With that and Ravage's MP saves I can do local hosting and emulate a full DayZ server. 

  • Thanks 1

Share this post


Link to post
Share on other sites
8 hours ago, LSValmont said:

Calling all the great coders here at the Ravage universe! I can't figure out why is this script not working:

  Reveal hidden contents

 



/*	------------------------------------------------------------------------------------------
	Complete Random Unit Equipment Script by VALMONT for the Ravage Mod, Prob. originally for Civilians
	------------------------------------------------------------------------------------------	*/

if !(isServer) exitWith {}; // DO NOT DELETE THIS LINE!

// Only edit this first part!

// Probabilities
_uniformProbability = 100; // 100% chance // You cannot lower this!
_vestProbability = 25; // 25% chance
_backpackProbability = 25; // 25% chance
_headGearProbability = 40; // 40% chance
_gogglesProbability = 40; // 40% chance
_mainWeaponProbability = 50; // 50% chance
_sideArmProbability = 50; // 50% chance
_itemProbability = 40; // 40% chance
_consumablesProbability = 40; // 40% chance
_grenadeProbability = 15; // 15% chance
_doctorProbability = 15; // 15% chance
_mechanicProbability = 15; // 15% chance
_expSpecialistProbability = 5; // 5% chance
_opticProbability = 20; // 20% chance
_muzzleProbability = 5; // 5% chance
_pointerProbability = 15; // 15% chance
_launcherProbability = 5; // 5% chance

// Ammounts
_magAmount = round (1 + random 2) ;//so you'll get enough primerary weapon mags
_magSideArmAmount = round (1 + random 2) ;//so you'll get enough side arm mags
_grenadeAmount = round (1 + random 2) ;//so you'll get enough Grenades
_launcherMagazineAmount = (round(random 1) + 1); // minimum 1, maximum 2 rocket launcher ammo.

/*	------------------------------------------------------------------------------------------
	Equipment Pool
	------------------------------------------------------------------------------------------	*/

_sideArmsPool =
[
//CUP Pistols
"CUP_hgun_Compact",
"CUP_hgun_Duty",
"CUP_hgun_Phantom",
"CUP_hgun_Glock17",
"CUP_hgun_Colt1911",
"CUP_hgun_M9",
"CUP_hgun_Makarov",
"CUP_hgun_MicroUzi",
"CUP_hgun_PB6P9",
"CUP_hgun_SA61",
"CUP_hgun_TaurusTracker455",
"CUP_hgun_TaurusTracker455_gold",
"CUP_hgun_BallisticShield_Armed"
]
	
_weaponsPool = 
[
//SMGs
"CUP_smg_bizon",
"CUP_smg_EVO",
"CUP_smg_MP5A5",
"CUP_smg_MP5SD6",
//Shotguns
"CUP_sgun_AA12",
"CUP_sgun_Saiga12K",
"CUP_sgun_M1014",	
//CUP Rifles
"CUP_arifle_AK107",
//"CUP_arifle_AK107_GL",
"CUP_arifle_AK47",
"CUP_arifle_AK74",
//"CUP_arifle_AK74_GL",
"CUP_arifle_AK74M",
//"CUP_arifle_AK74M_GL",
"CUP_arifle_AKM",
"CUP_arifle_AKS_Gold",
"CUP_arifle_AKS",
"CUP_arifle_AKS74",
"CUP_arifle_AKS74U",
"CUP_arifle_CZ805_A1",
//"CUP_arifle_CZ805_GL",
"CUP_arifle_CZ805_A2",
"CUP_arifle_CZ805_B",
//"CUP_arifle_CZ805_B_GL",
//"CUP_arifle_FNFAL",
"CUP_arifle_FNFAL_railed",
"CUP_arifle_FNFAL5061",
"CUP_arifle_FNFAL5062",
"CUP_arifle_FNFAL_OSW",
"CUP_arifle_G36A",
"CUP_arifle_G36C",
"CUP_arifle_G36K",
"CUP_arifle_G36A_camo",
"CUP_arifle_G36C_camo",
"CUP_arifle_G36K_camo",
"CUP_srifle_L129A1",
"CUP_srifle_L129A1_HG",
"CUP_arifle_L85A2",
"CUP_arifle_L85A2_G",
"CUP_arifle_L85A2_NG",
//"CUP_arifle_L85A2_GL",
"CUP_arifle_L86A2",
"CUP_arifle_M16A2",
//"CUP_arifle_M16A2_GL",
"CUP_arifle_M16A4_Base",
//"CUP_arifle_M16A4_GL",
"CUP_arifle_M4A1",
"CUP_arifle_M4A1_black",
//"CUP_arifle_M4A1_desert",
"CUP_arifle_M4A1_camo",
//"CUP_arifle_M4A1_BUIS_GL",
//"CUP_arifle_M4A1_BUIS_desert_GL",
//"CUP_arifle_M4A1_BUIS_camo_GL",
"CUP_arifle_M4A3_desert",
"CUP_arifle_MG36",
"CUP_arifle_MG36_camo",
"CUP_arifle_Mk16_CQC",
"CUP_arifle_Mk16_CQC_FG",
"CUP_arifle_Mk16_CQC_SFG",
"CUP_arifle_Mk16_CQC_EGLM",
"CUP_arifle_Mk16_STD",
"CUP_arifle_Mk16_STD_FG",
"CUP_arifle_Mk16_STD_SFG",
"CUP_arifle_Mk16_STD_EGLM",
"CUP_arifle_Mk16_SV",
"CUP_arifle_Mk17_CQC",
"CUP_arifle_Mk17_CQC_FG",
"CUP_arifle_Mk17_CQC_SFG",
"CUP_arifle_Mk17_CQC_EGLM",
"CUP_arifle_Mk20",
"CUP_arifle_Mk17_STD",
"CUP_arifle_Mk17_STD_FG",
"CUP_arifle_Mk17_STD_SFG",
"CUP_arifle_Mk17_STD_EGLM",
"CUP_arifle_RPK74_45",
"CUP_arifle_RPK74",
"CUP_arifle_RPK74M",
"CUP_arifle_Sa58RIS1",
//"CUP_arifle_Sa58RIS1_des",
"CUP_arifle_Sa58RIS2",
"CUP_arifle_Sa58RIS2_camo",
//"CUP_arifle_Sa58RIS2_gl",
"CUP_arifle_Sa58P",
//"CUP_arifle_Sa58P_des",
"CUP_arifle_Sa58V",
"CUP_arifle_Sa58V_camo",
//"CUP_arifle_XM8_Carbine",
"CUP_arifle_XM8_Railed",
//"CUP_arifle_XM8_Carbine_GL",
//"CUP_arifle_XM8_Compact",
"CUP_arifle_XM8_Compact_Rail",
"CUP_arifle_XM8_Carbine_FG",
"CUP_arifle_xm8_SAW",
"CUP_arifle_xm8_sharpshooter",
// Machineguns
//"CUP_lmg_minimi",
"CUP_lmg_minimi_railed",
"CUP_lmg_minimipara",
"CUP_lmg_L110A1",
"CUP_lmg_L7A2",
"CUP_lmg_M240",
"CUP_lmg_m249_SQuantoon",
"CUP_lmg_m249_pip1",
"CUP_lmg_m249_pip3",
"CUP_lmg_m249_pip4",
"CUP_lmg_M249_E2",
"CUP_lmg_m249_pip2",
"CUP_lmg_m249_para",
"CUP_lmg_M60E4",
//"CUP_lmg_Mk48_des",
"CUP_lmg_Mk48_wdl",
"CUP_lmg_PKM",
"CUP_lmg_Pecheneg",
"CUP_lmg_UK59",
//CUP Sniper Rifles
"CUP_srifle_AS50",
"CUP_srifle_CZ550",
"CUP_srifle_CZ550_rail",
"CUP_srifle_CZ750",
"CUP_srifle_G22_des",
"CUP_srifle_ksvk",
//"CUP_srifle_AWM_des",
"CUP_srifle_AWM_wdl",
"CUP_srifle_LeeEnfield",
"CUP_srifle_LeeEnfield_rail",
"CUP_srifle_M107_Base",
"CUP_srifle_M110",
"CUP_srifle_M14",
//"CUP_srifle_M14_DMR",
"CUP_srifle_M24_wdl",
//"CUP_srifle_M24_des",
"CUP_srifle_M40A3",
"CUP_srifle_Mk12SPR",
"CUP_srifle_SVD",
//"CUP_srifle_SVD_des",
"CUP_srifle_VSSVintorez"	
];

_launchersPool =
[
//Grenade Launchers
"CUP_glaunch_6G30",
"CUP_glaunch_M32",
"CUP_glaunch_M79",
"CUP_glaunch_Mk13",
//Rocket Launchers
"CUP_launch_Javelin",
"CUP_launch_FIM92Stinger",
"CUP_launch_Igla",
"CUP_launch_M136",
"CUP_launch_M47",
"CUP_launch_MAAWS",
"CUP_launch_Metis",
"CUP_launch_Mk153Mod0",
"CUP_launch_NLAW",
"CUP_launch_RPG7V",
"CUP_launch_RPG18",
"CUP_launch_9K32Strela"
];

_grenadesPool = 
[
"HandGrenade",
"HandGrenade",
"HandGrenade",
"HandGrenade",
"HandGrenade",
"SmokeShellYellow",
"SmokeShellRed",
"SmokeShellPurple",
"SmokeShellOrange",
"SmokeShellGreen",
"SmokeShellBlue",
"Chemlight_blue",
"Chemlight_red",
"rvg_flare",
"APERSBoundingMine_Range_Mag",
"APERSMine_Range_Mag",
"APERSTripMine_Wire_Mag",
"ATMine_Range_Mag",
"SatchelCharge_Remote_Mag"
];

_gearPool = 
[
//sight
"CUP_optic_GOSHAWK",
"CUP_optic_Kobra",
"CUP_optic_NSPU",
"CUP_optic_PSO_1",
"CUP_optic_PSO_3",
"CUP_optic_CompM4",
"CUP_optic_AN_PAS_13c1",
"CUP_optic_AN_PAS_13c2",
"CUP_optic_AN_PVS_10",
"CUP_optic_AN_PVS_4",
"CUP_optic_CWS",
"CUP_optic_ElcanM145",
"CUP_optic_ELCAN_SpecterDR",
"CUP_optic_Elcan",
"CUP_optic_Elcan_reflex",
"CUP_optic_Eotech533Grey",
"CUP_optic_Eotech533",
"CUP_optic_HoloBlack",
"CUP_optic_HoloDesert",
"CUP_optic_HoloWdl",
"CUP_optic_LeupoldMk4_10x40_LRT_Desert",
"CUP_optic_LeupoldMk4_10x40_LRT_Woodland",
"CUP_optic_LeupoldM3LR",
"CUP_optic_LeupoldMk4_CQ_T",
"CUP_optic_LeupoldMk4_MRT_tan",
"CUP_optic_Leupold_VX3",
"CUP_optic_LeupoldMk4",
"CUP_optic_CompM2_Black",
"CUP_optic_CompM2_Desert",
"CUP_optic_CompM2_Woodland2",
"CUP_optic_CompM2_Woodland",
"CUP_optic_MRad",
"CUP_optic_ZDDot",
"CUP_optic_SB_11_4x20_PM",
"CUP_optic_SB_3_12x50_PMII",
"CUP_optic_SUSAT",
"CUP_optic_RCO_desert",
"CUP_optic_ACOG",
"CUP_optic_RCO",
"CUP_optic_TrijiconRx01_black",
"CUP_optic_TrijiconRx01_desert",
"CUP_optic_PechenegScope",
"CUP_optic_MAAWS_Scope",
"CUP_optic_SMAW_Scope",
"CUP_optic_NSPU_RPG",
"CUP_optic_PGO7V",
"CUP_optic_PGO7V2",
"CUP_optic_PGO7V3",
//Muzzle
"CUP_muzzle_Bizon",
"CUP_muzzle_PBS4",
"CUP_muzzle_snds_AWM",
"CUP_muzzle_snds_G36_black",
"CUP_muzzle_snds_G36_desert",
"CUP_acc_bfa",
"CUP_acc_sffh",
"CUP_muzzle_snds_M110",
"CUP_muzzle_snds_M14",
"CUP_muzzle_snds_M16",
"CUP_muzzle_snds_M16_camo",
"CUP_muzzle_mfsup_SCAR_L",
"CUP_muzzle_snds_SCAR_L",
"CUP_muzzle_mfsup_SCAR_H",
"CUP_muzzle_snds_SCAR_H",
"CUP_muzzle_snds_XM8",
"CUP_muzzle_snds_M9",
"CUP_muzzle_snds_MicroUzi",
"CUP_muzzle_PB6P9",
//Laser & Flashlight	
"CUP_acc_ANPEQ_15",
"CUP_acc_ANPEQ_2",
"CUP_acc_ANPEQ_2_camo",
"CUP_acc_ANPEQ_2_desert",
"CUP_acc_ANPEQ_2_grey",
"CUP_acc_Flashlight",
"CUP_acc_Flashlight_desert",
"CUP_acc_Flashlight_wdl",
"CUP_acc_LLM",
"CUP_acc_XM8_light_module",
"CUP_acc_CZ_M3X",
"CUP_acc_Glock17_Flashlight",
//Bipod
"CUP_bipod_Harris_1A2_L",
"CUP_bipod_VLTOR_Modpod",
//Cammo
"CUP_Mxx_camo",
"CUP_Mxx_camo_half",
"CUP_SVD_camo_d",
"CUP_SVD_camo_g",
"CUP_SVD_camo_d_half",
"CUP_SVD_camo_g_half"			
];

_consumablesPool = 
[
"rvg_plasticBottle",
"rvg_plasticBottlePurified",
"rvg_canOpener",
"rvg_spirit",
"rvg_franta",
"rvg_beans",
"rvg_bacon",
"rvg_milk",
"rvg_rice",
"rvg_plasticBottleEmpty",
"rvg_canteenEmpty",
"rvg_plasticBottle",
"rvg_plasticBottlePurified",
"rvg_spirit",
"rvg_franta",
"rvg_beans",
"rvg_bacon",
"rvg_milk",
"rvg_rice",
"rvg_money",
"rvg_money",
"rvg_money",
"rvg_money"
];

_itemsPool = 
[
//Vanilla items
"Item_optic_LRPS",
"Item_bipod_01_F_khk",
//CUP Items
"CUP_optic_LeupoldMk4",
"CUP_optic_Leupold_VX3",
"CUP_bipod_Harris_1A2_L",
"CUP_bipod_VLTOR_Modpod",
//Regular Items
"Binocular",
"FirstAidKit",
"Medikit",
"ToolKit",
"ItemMap",
//Ravage Items
"rvg_canisterFuel_Empty",
"rvg_toolkit",
"rvg_tire",
"rvg_money",
"rvg_docFolder",
"rvg_money",
"rvg_hose",
"rvg_guttingKnife",
"rvg_foldedTent",
"rvg_matches",
"rvg_foldedTent"
];

_backpackPool = 
[
"CUP_B_USPack_Coyote",
"CUP_B_USPack_Black",
"CUP_B_GER_Pack_Tropentarn",
"CUP_B_GER_Pack_Flecktarn",
"CUP_B_ACRPara_m95",
"CUP_B_ACRScout_m95",
"CUP_B_CivPack_WDL",
"CUP_B_RPGPack_Khaki",
"CUP_B_AlicePack_Khaki",
"CUP_B_AlicePack_Bedroll",
"CUP_B_AssaultPack_ACU",
"CUP_B_AssaultPack_Coyote",
"CUP_B_AssaultPack_Black",
"CUP_B_MedicPack_ACU",
"CUP_B_UAVTerminal_Black",
"CUP_B_HikingPack_Civ",
"CUP_B_StaticX_cbr",
"CUP_B_StaticY_cbr",
"CUP_B_Bergen_BAF",
"CUP_B_USMC_AssaultPack",
"CUP_B_USMC_MOLLE",
"CUP_B_USMC_MOLLE_WDL",
"CUP_B_GER_Medic_Desert",
"CUP_B_GER_Medic_Tropentarn",
"CUP_B_GER_Medic_FLecktarn",
"CUP_B_TK_Medic_Desert",
"CUP_B_SLA_Medicbag",
"CUP_B_RUS_Backpack",
"CUP_B_DShkM_Gun_Bag",
"CUP_B_DShkM_TripodHigh_Bag",
"CUP_B_DShkM_TripodLow_Bag",
"CUP_B_Kord_Gun_Bag",
"CUP_B_Kord_Tripod_Bag",
"CUP_B_Metis_Gun_Bag",
"CUP_B_Metis_Tripod_Bag",
"CUP_B_AGS30_Gun_Bag",
"CUP_B_AGS30_Tripod_Bag",
"CUP_B_SPG9_Gun_Bag",
"CUP_B_SPG9_Tripod_Bag",
"CUP_B_Podnos_Gun_Bag",
"CUP_B_Podnos_Bipod_Bag",
"CUP_B_M2_Gun_Bag",
"CUP_B_M2_Tripod_Bag",
"CUP_B_M2_MiniTripod_Bag",
"CUP_B_Mk19_Gun_Bag",
"CUP_B_Mk19_Tripod_Bag",
"CUP_B_Tow_Gun_Bag",
"CUP_B_TOW_Tripod_Bag",
"CUP_B_M252_Gun_Bag",
"CUP_B_M252_Bipod_Bag",
"CUP_US_Backpack_EP1",
"CUP_CZ_Backpack_EP1",
"CUP_CZ_VestPouch_EP1",
"CUP_TK_Assault_Pack_EP1",
"CUP_TK_ALICE_Pack_EP1",
"CUP_US_Assault_Pack_EP1",
"CUP_US_Patrol_Pack_EP1",
"CUP_USBasicBag",
"CUP_US_UAV_Pack_EP1",
"CUP_B_ACRPara_m95_Ammo",
"CUP_B_ACRPara_m95_Specops",
"CUP_B_ACRPara_m95_AmmoMG",
"CUP_B_ACRScout_m95_Sa58",
"CUP_B_ACRScout_m95_M4",
"CUP_B_RPG_Backpack",
"CUP_B_AlicePack_Khaki_Explosives",
"CUP_B_AlicePack_Khaki_AmmoMG",
"CUP_B_AlicePack_Khaki_Ammo",
"CUP_B_AlicePack_Khaki_AmmoAK74",
"CUP_B_CivPack_WDL_Ammo",
"CUP_B_Backpack_SpecOps",
"CUP_B_GER_Backpack_AmmoBearer",
"CUP_B_GER_Backpack_ATAssist",
"CUP_B_GER_Backpack_AAAssist",
"CUP_B_GER_Backpack_Engineer",
"CUP_B_GER_Backpack_AA",
"CUP_B_GER_Backpack_AT",
"CUP_B_GER_Backpack_Medic",
"CUP_B_Backpack_SpecOps_Fleck",
"CUP_B_GER_Backpack_AmmoBearer_Fleck",
"CUP_B_GER_Backpack_ATAssist_Fleck",
"CUP_B_GER_Backpack_AAAssist_Fleck",
"CUP_B_GER_Backpack_Engineer_Fleck",
"CUP_B_GER_Backpack_AA_Fleck",
"CUP_B_GER_Backpack_AT_Fleck",
"CUP_B_GER_Backpack_Medic_Fleck",
"CUP_I_HikingPack_RPK",
"CUP_I_HikingPack_PKM",
"CUP_I_HikingPack_Ammo",
"CUP_B_PMC_AlicePack_Exp",
"CUP_B_PMC_Backpack_Medic",
"CUP_B_PMC_AlicePack_PKM",
"CUP_B_PMC_AlicePack_XM8Auto",
"CUP_B_PMC_Backpack_KSVK",
"CUP_B_PMC_Backpack_GL",
"CUP_B_RUS_Pack_MG",
"CUP_B_RUS_Pack_AR",
"CUP_B_RUS_Pack_AT",
"CUP_B_RUS_Pack_Medic",
"CUP_B_RUS_Pack_ExpSpec",
"CUP_B_RUS_Pack_Engineer",
"CUP_B_RUS_Pack_Saboteur",
"CUP_B_RUS_Pack_Saboteur_Assault",
"CUP_B_SLA_Medicbag_green",
"CUP_B_TK_AssaultPack_Medic",
"CUP_B_TK_AlicePack_Khaki_Explosives",
"CUP_B_TK_CivPack_WDL_RPK",
"CUP_B_TK_CivPack_WDL_Ammo",
"CUP_B_TK_RPG_Backpack",
"CUP_B_TK_RPG_Backpack_Single",
"CUP_B_TK_AlicePack_Khaki_AmmoMG",
"CUP_B_TK_AlicePack_Khaki_Ammo",
"CUP_B_TIK_CivPack_WDL_Ammo",
"CUP_B_TKI_Backpack_RPG",
"CUP_B_TKG_Backpack_RPG",
"CUP_B_TKI_Backpack_Gunner_RPG",
"CUP_B_TKI_CivPack_WDL_RPK",
"CUP_B_TKI_CivPack_WDL_RPK_45",
"CUP_B_TKI_AlicePack_Khaki_AmmoAK74",
"CUP_B_TKG_AlicePack_Khaki_AmmoAK47",
"CUP_B_TKI_AlicePack_MG",
"CUP_B_TKI_AlicePack_Mechanic",
"CUP_B_TKI_AlicePack_Exp",
"CUP_B_USArmy_Medic",
"CUP_B_USArmy_AR",
"CUP_B_USArmy_MG",
"CUP_B_USArmy_MG_SpecOp",
"CUP_B_USArmy_AR_SpecOp",
"CUP_B_USArmy_MinePack",
"CUP_B_USArmy_EOD",
"CUP_B_USArmy_Engineer",
"CUP_B_AssaultPack_ACU_Ammo",
"CUP_B_AssaultPack_ACU_AmmoSAW",
"CUP_B_AssaultPack_ACU_AT",
"CUP_B_AssaultPack_ACU_AT_1",
"CUP_B_AssaultPack_ACU_Explosives",
"CUP_B_AssaultPack_ACU_MG",
"CUP_B_AssaultPack_ACU_Specops_UAV",
"CUP_B_AssaultPack_ACU_Specops_M14",
"CUP_B_AssaultPack_ACU_Specops_JTAC",
"CUP_B_AssaultPack_Coyote_Ammo",
"CUP_B_AssaultPack_Coyote_Specops",
"CUP_B_AssaultPack_Coyote_Specops_GL",
"CUP_B_AssaultPack_Coyote_Specops_M",
"CUP_B_USPack_Coyote_AmmoMG",
"CUP_B_USPack_Coyote_AT",
"CUP_B_USPack_Coyote_Specops",
"CUP_B_USPack_Coyote_Specops_TL",
"CUP_B_USPack_Coyote_Specops_Operator",
"CUP_B_USPack_Coyote_TL",
"CUP_B_USPack_Coyote_SL",
"CUP_B_USMC_AssaultPack_Medic",
"CUP_B_USMC_MOLLE_AR",
"CUP_B_USMC_MOLLE_MG",
"CUP_B_USMC_MOLLE_Exp",
"CUP_B_USMC_AssaultPack_SMAW",
"CUP_B_FR_MOLLE_Sab",
"CUP_B_FR_MOLLE_MG",
"CUP_T10_Parachute_backpack",
"CUP_C_EngineeringBag",
"CUP_B_AssaultPack_RifleAmmo",
"CUP_B_AssaultPack_ARAmmo",
"CUP_B_AssaultPack_MGAmmo",
"CUP_B_AssaultPack_ATAmmo",
"CUP_B_AssaultPack_HATAmmo",
"CUP_B_AssaultPack_Special",
"CUP_B_AssaultPack_FAC",
"CUP_B_AssaultPack_HAAAmmo",
"CUP_B_AssaultPack_LRRAmmo",
"CUP_B_AssaultPack_Medic",
"CUP_B_AssaultPack_Engineer",
"CUP_B_AssaultPack_LAT",
"CUP_B_AssaultPack_AR",
"CUP_B_AssaultPack_MG",
"CUP_B_CDF_MedicPack",
"CUP_B_CDF_RPG_Backpack",
"CUP_B_CDF_EngineerPack",
"CUP_B_CDF_MGPack",
"CUP_B_UN_MedicPack",
"CUP_B_UN_RPG_Backpack",
"CUP_B_UN_EngineerPack",
"CUP_B_UN_MGPack",
"CUP_B_UNO_AlicePack_Khaki_AmmoAK74",
"CUP_B_UN_AlicePack_Khaki_AmmoMG",
"CUP_B_INS_Backpack_Medic",
"CUP_B_INS_RPG_Backpack",
"CUP_B_INS_Backpack_AR",
"CUP_B_INS_Backpack_MG",
"CUP_B_INS_AlicePack_Exp",
"CUP_B_INS_AlicePack_Mines",
"CUP_B_INS_AlicePack_Engineer",
"CUP_B_INS_AlicePack_Ammo"
];

_uniformPool = 
[
"CUP_U_B_GER_Tropentarn_1",
"CUP_U_B_GER_Tropentarn_2",
"CUP_U_B_GER_Ghillie",
"CUP_U_B_GER_Flecktarn_1",
"CUP_U_B_GER_Flecktarn_2",
"CUP_U_B_GER_Fleck_Ghillie",
"CUP_U_I_GUE_Flecktarn",
"CUP_U_I_GUE_Flecktarn2",
"CUP_U_I_GUE_Woodland1",
"CUP_U_I_GUE_Flecktarn3",
"CUP_U_I_Ghillie_Top",
"CUP_U_I_Pilot_01",
"CUP_U_I_Leader_01",
"CUP_U_I_Worker_02",
"CUP_U_I_Woodlander_01",
"CUP_U_I_Woodlander_02",
"CUP_U_I_Woodlander_03",
"CUP_U_I_Villager_03",
"CUP_U_I_Villager_04",
"CUP_U_I_GUE_Anorak_01",
"CUP_U_I_GUE_Anorak_02",
"CUP_U_I_GUE_Anorak_03",
"CUP_I_B_PMC_Unit_1",
"CUP_I_B_PMC_Unit_2",
"CUP_I_B_PMC_Unit_3",
"CUP_I_B_PMC_Unit_4",
"CUP_I_B_PMC_Unit_5",
"CUP_I_B_PMC_Unit_6",
"CUP_I_B_PMC_Unit_7",
"CUP_I_B_PMC_Unit_8",
"CUP_I_B_PMC_Unit_9",
"CUP_I_B_PMC_Unit_10",
"CUP_I_B_PMC_Unit_11",
"CUP_I_B_PMC_Unit_12",
"CUP_I_B_PMC_Unit_13",
"CUP_I_B_PMC_Unit_14",
"CUP_I_B_PMC_Unit_15",
"CUP_I_B_PMC_Unit_16",
"CUP_I_B_PMC_Unit_17",
"CUP_I_B_PMC_Unit_18",
"CUP_I_B_PMC_Unit_19",
"CUP_I_B_PMC_Unit_20",
"CUP_I_B_PMC_Unit_21",
"CUP_I_B_PMC_Unit_22",
"CUP_I_B_PMC_Unit_23",
"CUP_I_B_PMC_Unit_24",
"CUP_I_B_PMC_Unit_25",
"CUP_I_B_PMC_Unit_26",
"CUP_I_B_PMC_Unit_27",
"CUP_I_B_PMC_Unit_28",
"CUP_U_I_RACS_Desert_1",
"CUP_U_I_RACS_Desert_2",
"CUP_U_I_RACS_PilotOverall",
"CUP_U_I_RACS_Urban_1",
"CUP_U_I_RACS_Urban_2",
"CUP_U_I_RACS_WDL_1",
"CUP_U_I_RACS_WDL_2",
"CUP_U_I_RACS_mech_1",
"CUP_U_I_RACS_mech_2",
"CUP_U_O_RUS_Flora_1",
"CUP_U_O_RUS_EMR_1",
"CUP_U_O_RUS_Flora_2",
"CUP_U_O_RUS_EMR_2",
"CUP_U_O_RUS_Flora_1_VDV",
"CUP_U_O_RUS_EMR_1_VDV",
"CUP_U_O_RUS_Flora_2_VDV",
"CUP_U_O_RUS_EMR_2_VDV",
"CUP_U_O_RUS_Commander",
"CUP_U_O_RUS_Gorka_Partizan",
"CUP_U_O_RUS_Gorka_Partizan_A",
"CUP_U_O_RUS_Gorka_Green",
"CUP_U_O_RUS_Ghillie",
"CUP_U_O_SLA_Officer",
"CUP_U_O_SLA_MixedCamo",
"CUP_U_O_SLA_Green",
"CUP_U_O_SLA_Urban",
"CUP_U_O_SLA_Desert",
"CUP_U_O_Partisan_TTsKO",
"CUP_U_O_Partisan_TTsKO_Mixed",
"CUP_U_O_Partisan_VSR_Mixed1",
"CUP_U_O_Partisan_VSR_Mixed2",
"CUP_U_O_SLA_Overalls_Pilot",
"CUP_U_O_SLA_Overalls_Tank",
"CUP_U_O_SLA_Officer_Suit",
"CUP_U_O_TK_Officer",
"CUP_U_O_TK_MixedCamo",
"CUP_U_O_TK_Green",
"CUP_U_O_TK_Ghillie",
"CUP_U_O_TK_Ghillie_Top",
"CUP_O_TKI_Khet_Partug_01",
"CUP_O_TKI_Khet_Partug_02",
"CUP_O_TKI_Khet_Partug_03",
"CUP_O_TKI_Khet_Partug_04",
"CUP_O_TKI_Khet_Partug_05",
"CUP_O_TKI_Khet_Partug_06",
"CUP_O_TKI_Khet_Partug_07",
"CUP_O_TKI_Khet_Partug_08",
"CUP_O_TKI_Khet_Jeans_01",
"CUP_O_TKI_Khet_Jeans_02",
"CUP_O_TKI_Khet_Jeans_03",
"CUP_O_TKI_Khet_Jeans_04",
"CUP_I_TKG_Khet_Partug_01",
"CUP_I_TKG_Khet_Partug_02",
"CUP_I_TKG_Khet_Partug_03",
"CUP_I_TKG_Khet_Partug_04",
"CUP_I_TKG_Khet_Partug_05",
"CUP_I_TKG_Khet_Partug_06",
"CUP_I_TKG_Khet_Partug_07",
"CUP_I_TKG_Khet_Partug_08",
"CUP_I_TKG_Khet_Jeans_01",
"CUP_I_TKG_Khet_Jeans_02",
"CUP_I_TKG_Khet_Jeans_03",
"CUP_I_TKG_Khet_Jeans_04",
"CUP_U_B_USA06_Officer_m81",
"CUP_U_B_USArmy_TwoKnee",
"CUP_U_B_USArmy_UBACS",
"CUP_U_B_USArmy_Soft",
"CUP_U_B_USArmy_Ghillie",
"CUP_U_B_USArmy_PilotOverall",
"CUP_U_B_USMC_Officer",
"CUP_U_B_USMC_MARPAT_WDL_Sleeves",
"CUP_U_B_USMC_MARPAT_WDL_RolledUp",
"CUP_U_B_USMC_MARPAT_WDL_Kneepad",
"CUP_U_B_USMC_MARPAT_WDL_TwoKneepads",
"CUP_U_B_USMC_PilotOverall",
"CUP_U_B_USMC_MARPAT_WDL_RollUpKneepad",
"CUP_U_B_USMC_Ghillie_WDL",
"CUP_U_B_FR_SpecOps",
"CUP_U_B_FR_Scout",
"CUP_U_B_FR_Officer",
"CUP_U_B_FR_Corpsman",
"CUP_U_B_FR_DirAction",
"CUP_U_B_FR_DirAction2",
"CUP_U_B_FR_Light",
"CUP_U_B_FR_Scout1",
"CUP_U_B_FR_Scout2",
"CUP_U_B_FR_Scout3",
"CUP_B_USMC_Navy_Blue",
"CUP_B_USMC_Navy_Brown",
"CUP_B_USMC_Navy_Green",
"CUP_B_USMC_Navy_Red",
"CUP_B_USMC_Navy_Violet",
"CUP_B_USMC_Navy_White",
"CUP_B_USMC_Navy_Yellow",
"CUP_U_B_USMC_FROG1_WMARPAT",
"CUP_U_B_USMC_FROG1_DMARPAT",
"CUP_U_B_USMC_FROG2_WMARPAT",
"CUP_U_B_USMC_FROG2_DMARPAT",
"CUP_U_B_USMC_FROG3_WMARPAT",
"CUP_U_B_USMC_FROG3_DMARPAT",
"CUP_U_B_USMC_FROG4_WMARPAT",
"CUP_U_B_USMC_FROG4_DMARPAT",
"CUP_U_C_Pilot_01",
"CUP_U_C_Citizen_01",
"CUP_U_C_Citizen_02",
"CUP_U_C_Citizen_03",
"CUP_U_C_Citizen_04",
"CUP_U_C_Worker_01",
"CUP_U_C_Worker_02",
"CUP_U_C_Worker_03",
"CUP_U_C_Worker_04",
"CUP_U_C_Profiteer_01",
"CUP_U_C_Profiteer_02",
"CUP_U_C_Profiteer_03",
"CUP_U_C_Profiteer_04",
"CUP_U_C_Woodlander_01",
"CUP_U_C_Woodlander_02",
"CUP_U_C_Woodlander_03",
"CUP_U_C_Woodlander_04",
"CUP_U_C_Villager_01",
"CUP_U_C_Villager_02",
"CUP_U_C_Villager_03",
"CUP_U_C_Villager_04",
"CUP_U_C_Priest_01",
"CUP_U_C_Policeman_01",
"CUP_U_C_Suit_01",
"CUP_U_C_Suit_02",
"CUP_U_C_Labcoat_01",
"CUP_U_C_Labcoat_02",
"CUP_U_C_Labcoat_03",
"CUP_U_C_Rocker_01",
"CUP_U_C_Rocker_02",
"CUP_U_C_Rocker_03",
"CUP_U_C_Rocker_04",
"CUP_U_C_Mechanic_01",
"CUP_U_C_Mechanic_02",
"CUP_U_C_Mechanic_03",
"CUP_U_C_Fireman_01",
"CUP_U_C_Rescuer_01",
"CUP_U_B_CZ_WDL_TShirt",
"CUP_U_B_BAF_DDPM_S1_RolledUp",
"CUP_U_B_BAF_DDPM_S2_UnRolled",
"CUP_U_B_BAF_DDPM_Tshirt",
"CUP_U_B_BAF_DPM_S1_RolledUp",
"CUP_U_B_BAF_DPM_S2_UnRolled",
"CUP_U_B_BAF_DPM_Tshirt",
"CUP_U_B_BAF_MTP_S1_RolledUp",
"CUP_U_B_BAF_MTP_S2_UnRolled",
"CUP_U_B_BAF_MTP_Tshirt",
"CUP_U_B_BAF_MTP_Ghillie",
"CUP_U_B_BAF_DPM_Ghillie",
"CUP_U_B_BAF_DDPM_Ghillie",
"CUP_U_B_BAF_MTP_S3_RolledUp",
"CUP_U_B_BAF_MTP_S4_UnRolled",
"CUP_U_B_BAF_MTP_S5_UnRolled",
"CUP_U_B_BAF_MTP_S6_UnRolled",
"CUP_U_B_CDF_MNT_1",
"CUP_U_B_CDF_MNT_2",
"CUP_U_B_CDF_DST_1",
"CUP_U_B_CDF_DST_2",
"CUP_U_B_CDF_FST_1",
"CUP_U_B_CDF_FST_2",
"CUP_U_I_UNO_MNT_1",
"CUP_U_I_UNO_MNT_2",
"CUP_U_I_UNO_DST_1",
"CUP_U_I_UNO_DST_2",
"CUP_U_I_UNO_FST_1",
"CUP_U_I_UNO_FST_2",
"CUP_U_O_CHDKZ_Bardak",
"CUP_U_O_CHDKZ_Commander",
"CUP_U_O_CHDKZ_Lopotev",
"CUP_U_O_CHDKZ_Kam_01",
"CUP_U_O_CHDKZ_Kam_02",
"CUP_U_O_CHDKZ_Kam_03",
"CUP_U_O_CHDKZ_Kam_04",
"CUP_U_O_CHDKZ_Kam_05",
"CUP_U_O_CHDKZ_Kam_06",
"CUP_U_O_CHDKZ_Kam_07",
"CUP_U_O_CHDKZ_Kam_08",
"CUP_U_O_Pilot_01",
"CUP_U_O_Worker_02",
"CUP_U_O_Woodlander_01",
"CUP_U_O_Woodlander_02",
"CUP_U_O_Woodlander_03",
"CUP_U_O_Villager_03",
"CUP_U_O_Villager_04",
"U_O_officer_noInsignia_hex_F"
];

_headgearPool = 
[
"CUP_H_Ger_Boonie_desert",
"CUP_H_Ger_Boonie_Flecktarn",
"CUP_H_NAPA_Fedora",
"CUP_H_PMC_PRR_Headset",
"CUP_H_PMC_EP_Headset",
"CUP_H_PMC_Cap_Grey",
"CUP_H_PMC_Cap_Tan",
"CUP_H_PMC_Cap_Burberry",
"CUP_H_PMC_Cap_Back_Grey",
"CUP_H_PMC_Cap_Back_Tan",
"CUP_H_PMC_Cap_Back_Burberry",
"CUP_H_PMC_Cap_PRR_Grey",
"CUP_H_PMC_Cap_PRR_Tan",
"CUP_H_PMC_Cap_PRR_Burberry",
"CUP_H_PMC_Cap_Back_PRR_Grey",
"CUP_H_PMC_Cap_Back_PRR_Tan",
"CUP_H_PMC_Cap_Back_PRR_Burberry",
"CUP_H_PMC_Cap_EP_Grey",
"CUP_H_PMC_Cap_EP_Tan",
"CUP_H_PMC_Cap_EP_Burberry",
"CUP_H_PMC_Cap_Back_EP_Grey",
"CUP_H_PMC_Cap_Back_EP_Tan",
"CUP_H_PMC_Cap_Back_EP_Burberry",
"CUP_H_RACS_Helmet_DES",
"CUP_H_RACS_Helmet_Goggles_DES",
"CUP_H_RACS_Helmet_Headset_DES",
"CUP_H_RACS_Helmet_DPAT",
"CUP_H_RACS_Helmet_Goggles_DPAT",
"CUP_H_RACS_Helmet_Headset_DPAT",
"CUP_H_RACS_Helmet_wdl",
"CUP_H_RACS_Helmet_Goggles_wdl",
"CUP_H_RACS_Helmet_Headset_wdl",
"CUP_H_RACS_Helmet_mech",
"CUP_H_RACS_Helmet_Goggles_mech",
"CUP_H_RACS_Helmet_Headset_mech",
"CUP_H_RACS_Helmet_olive",
"CUP_H_RACS_Helmet_tan",
"CUP_H_RACS_Beret_Blue",
"CUP_H_RUS_6B27_NVG",
"CUP_H_RUS_6B27_NVG_olive",
"CUP_H_RUS_6B27",
"CUP_H_RUS_6B27_olive",
"CUP_H_RUS_TSH_4_Brown",
"CUP_H_RUS_ZSH_Shield_Up",
"CUP_H_RUS_ZSH_Shield_Down",
"CUP_H_RUS_Bandana_HS",
"CUP_H_RUS_Beret_VDV",
"CUP_H_RUS_Beret_Spetsnaz",
"CUP_H_RUS_ZSH_1_Goggles",
"CUP_H_RUS_ZSH_1",
"CUP_H_SLA_TankerHelmet",
"CUP_H_SLA_Helmet",
"CUP_H_SLA_Pilot_Helmet",
"CUP_H_SLA_OfficerCap",
"CUP_H_SLA_SLCap",
"CUP_H_SLA_Boonie",
"CUP_H_SLA_Beret",
"CUP_H_SLA_BeanieGreen",
"CUP_H_SLA_BeretRed",
"CUP_H_TK_TankerHelmet",
"CUP_H_TK_PilotHelmet",
"CUP_H_TK_Helmet",
"CUP_H_TK_Lungee",
"CUP_H_TK_Beret",
"CUP_H_TKI_SkullCap_01",
"CUP_H_TKI_SkullCap_02",
"CUP_H_TKI_SkullCap_03",
"CUP_H_TKI_SkullCap_04",
"CUP_H_TKI_SkullCap_05",
"CUP_H_TKI_SkullCap_06",
"CUP_H_TKI_Lungee_01",
"CUP_H_TKI_Lungee_02",
"CUP_H_TKI_Lungee_03",
"CUP_H_TKI_Lungee_04",
"CUP_H_TKI_Lungee_05",
"CUP_H_TKI_Lungee_06",
"CUP_H_TKI_Lungee_Open_01",
"CUP_H_TKI_Lungee_Open_02",
"CUP_H_TKI_Lungee_Open_03",
"CUP_H_TKI_Lungee_Open_04",
"CUP_H_TKI_Lungee_Open_05",
"CUP_H_TKI_Lungee_Open_06",
"CUP_H_TKI_Pakol_1_01",
"CUP_H_TKI_Pakol_1_02",
"CUP_H_TKI_Pakol_1_03",
"CUP_H_TKI_Pakol_1_04",
"CUP_H_TKI_Pakol_1_05",
"CUP_H_TKI_Pakol_1_06",
"CUP_H_TKI_Pakol_2_01",
"CUP_H_TKI_Pakol_2_02",
"CUP_H_TKI_Pakol_2_03",
"CUP_H_TKI_Pakol_2_04",
"CUP_H_TKI_Pakol_2_05",
"CUP_H_TKI_Pakol_2_06",
"CUP_H_USArmy_Boonie",
"CUP_H_USA_Cap",
"CUP_H_USArmy_HelmetMICH",
"CUP_H_USArmy_HelmetMICH_ESS",
"CUP_H_USArmy_HelmetMICH_earpro",
"CUP_H_USArmy_HelmetMICH_earpro_ess",
"CUP_H_USArmy_HelmetMICH_headset",
"CUP_H_USArmy_HelmetMICH_headset_ess",
"CUP_H_USArmy_HelmetMICH_wdl",
"CUP_H_USArmy_Helmet_ECH1_Sand",
"CUP_H_USArmy_Helmet_ECH2_Sand",
"CUP_H_USArmy_Helmet_ECH1_Black",
"CUP_H_USArmy_Helmet_ECH2_Black",
"CUP_H_USArmy_Helmet_ECH1_Green",
"CUP_H_USArmy_Helmet_ECH2_GREEN",
"CUP_H_USArmy_Helmet_Pro",
"CUP_H_USArmy_Helmet_Pro_gog",
"CUP_H_USArmy_Helmet_M1_Olive",
"CUP_H_USArmy_Helmet_M1_Vine",
"CUP_H_USArmy_Helmet_M1_m81",
"CUP_H_USArmy_Helmet_M1_btp",
"CUP_H_USMC_Officer_Cap",
"CUP_H_USMC_HelmetWDL",
"CUP_H_USMC_Headset_HelmetWDL",
"CUP_H_USMC_Headset_GoggleW_HelmetWDL",
"CUP_H_USMC_Crew_Helmet",
"CUP_H_USMC_Goggles_HelmetWDL",
"CUP_H_USMC_Helmet_Pilot",
"CUP_H_FR_Cap_Headset_Green",
"CUP_H_FR_Cap_Officer_Headset",
"CUP_H_FR_BandanaGreen",
"CUP_H_FR_BandanaWdl",
"CUP_H_FR_ECH",
"CUP_H_FR_BoonieMARPAT",
"CUP_H_FR_BoonieWDL",
"CUP_H_FR_BeanieGreen",
"CUP_H_FR_Headset",
"CUP_H_FR_Bandana_Headset",
"CUP_H_FR_Headband_Headset",
"CUP_H_FR_PRR_BoonieWDL",
"CUP_H_Navy_CrewHelmet_Blue",
"CUP_H_Navy_CrewHelmet_Brown",
"CUP_H_Navy_CrewHelmet_Green",
"CUP_H_Navy_CrewHelmet_Red",
"CUP_H_Navy_CrewHelmet_Violet",
"CUP_H_Navy_CrewHelmet_White",
"CUP_H_Navy_CrewHelmet_Yellow",
"CUP_H_USMC_ACVC_WDL",
"CUP_H_USMC_ACVC_DES",
"CUP_H_USMC_MICH2000_WDL",
"CUP_H_USMC_MICH2000_DES",
"CUP_H_USMC_MICH2000_ESS_COMM_WDL",
"CUP_H_USMC_MICH2000_ESS_COMM_DES",
"CUP_H_USMC_MICH2000_COMM_WDL",
"CUP_H_USMC_MICH2000_COMM_DES",
"CUP_H_USMC_MICH2000_DEF_WDL",
"CUP_H_USMC_MICH2000_DEF_DES",
"CUP_H_USMC_MICH2000_DEF_ESS_WDL",
"CUP_H_USMC_MICH2000_DEF_ESS_DES",
"CUP_H_USMC_LWH_NVGMOUNT_WDL",
"CUP_H_USMC_LWH_NVGMOUNT_DES",
"CUP_H_USMC_LWH_WDL",
"CUP_H_USMC_LWH_DES",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_HS_WDL",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_HS_DES",
"CUP_H_USMC_LWH_ESS_HS_WDL",
"CUP_H_USMC_LWH_ESS_HS_DES",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_WDL",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_DES",
"CUP_H_USMC_LWH_ESS_WDL",
"CUP_H_USMC_LWH_ESS_DES",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_LR_WDL",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_LR_DES",
"CUP_H_USMC_LWH_ESS_LR_WDL",
"CUP_H_USMC_LWH_ESS_LR_DES",
"CUP_H_USMC_BOONIE_WDL",
"CUP_H_USMC_BOONIE_DES",
"CUP_H_USMC_BOONIE_PRR_WDL",
"CUP_H_USMC_BOONIE_PRR_DES",
"CUP_H_USMC_CAP_WDL",
"CUP_H_USMC_CAP_DES",
"CUP_H_USMC_CAP_PRR_WDL",
"CUP_H_USMC_CAP_PRR_DES",
"CUP_H_C_MAGA_01",
"CUP_H_C_TrackIR_01",
"CUP_H_C_Ushanka_01",
"CUP_H_C_Ushanka_02",
"CUP_H_C_Ushanka_03",
"CUP_H_C_Ushanka_04",
"CUP_H_C_Beanie_01",
"CUP_H_C_Beanie_02",
"CUP_H_C_Beanie_03",
"CUP_H_C_Beanie_04",
"CUP_H_C_Beret_01",
"CUP_H_C_Beret_02",
"CUP_H_C_Beret_03",
"CUP_H_C_Beret_04",
"CUP_H_C_Policecap_01",
"CUP_H_C_Fireman_Helmet_01",
"CUP_H_BAF_Officer_Beret",
"CUP_H_BAF_Officer_Beret_PRR_U",
"CUP_H_BAF_Officer_Beret_PRR_O",
"CUP_H_BAF_Helmet_Pilot",
"CUP_H_BAF_Crew_Helmet_DDPM",
"CUP_H_BAF_Helmet_1_DDPM",
"CUP_H_BAF_Helmet_2_DDPM",
"CUP_H_BAF_Helmet_Net_2_DDPM",
"CUP_H_BAF_Helmet_3_DDPM",
"CUP_H_BAF_Helmet_4_DDPM",
"CUP_H_BAF_Crew_Helmet_DPM",
"CUP_H_BAF_Helmet_1_DPM",
"CUP_H_BAF_Helmet_Net_2_DPM",
"CUP_H_BAF_Helmet_2_DPM",
"CUP_H_BAF_Helmet_3_DPM",
"CUP_H_BAF_Helmet_4_DPM",
"CUP_H_BAF_Crew_Helmet_MTP",
"CUP_H_BAF_Helmet_Net_2_MTP",
"CUP_H_BAF_Helmet_1_MTP",
"CUP_H_BAF_Helmet_2_MTP",
"CUP_H_BAF_Helmet_3_MTP",
"CUP_H_BAF_Helmet_4_MTP",
"CUP_H_CDF_H_PASGT_MNT",
"CUP_H_CDF_H_PASGT_DST",
"CUP_H_CDF_H_PASGT_FST",
"CUP_H_CDF_H_PASGT_UN",
"CUP_H_CDF_OfficerCap_MNT",
"CUP_H_CDF_OfficerCap_DST",
"CUP_H_CDF_OfficerCap_FST",
"CUP_H_CDF_OfficerCap_UN",
"CUP_H_CDF_Beret_UN",
"CUP_H_ChDKZ_Beret",
"CUP_H_ChDKZ_Beanie",
"CUP_H_ChDKZ_Cap"
];

_vestPool = 
[
"CUP_V_B_GER_Carrier_Rig",
"CUP_V_B_GER_Carrier_Rig_2",
"CUP_V_B_GER_Carrier_Rig_2_Brown",
"CUP_V_B_GER_Carrier_Rig_3_Brown",
"CUP_V_B_GER_Carrier_Vest",
"CUP_V_B_GER_Carrier_Vest_2",
"CUP_V_B_GER_Carrier_Vest_3",
"CUP_V_B_GER_Vest_1",
"CUP_V_B_GER_Vest_2",
"CUP_V_PMC_IOTV_Coyote_Empty",
"CUP_V_PMC_IOTV_Coyote_Patrol",
"CUP_V_PMC_IOTV_Coyote_AR",
"CUP_V_PMC_IOTV_Coyote_Gren",
"CUP_V_PMC_IOTV_Coyote_TL",
"CUP_V_PMC_IOTV_Black_Empty",
"CUP_V_PMC_IOTV_Black_Patrol",
"CUP_V_PMC_IOTV_Black_AR",
"CUP_V_PMC_IOTV_Black_Gren",
"CUP_V_PMC_IOTV_Black_TL",
"CUP_V_PMC_CIRAS_Coyote_Empty",
"CUP_V_PMC_CIRAS_Coyote_Patrol",
"CUP_V_PMC_CIRAS_Coyote_Grenadier",
"CUP_V_PMC_CIRAS_Coyote_TL",
"CUP_V_PMC_CIRAS_Coyote_crate",
"CUP_V_PMC_CIRAS_Black_Empty",
"CUP_V_PMC_CIRAS_Black_Patrol",
"CUP_V_PMC_CIRAS_Black_Grenadier",
"CUP_V_PMC_CIRAS_Black_TL",
"CUP_V_PMC_CIRAS_Black_crate",
"CUP_V_PMC_CIRAS_Winter_Empty",
"CUP_V_PMC_CIRAS_Winter_Patrol",
"CUP_V_PMC_CIRAS_Winter_Grenadier",
"CUP_V_PMC_CIRAS_Winter_TL",
"CUP_V_PMC_CIRAS_Winter_crate",
"CUP_V_I_RACS_Carrier_Rig_2",
"CUP_V_I_RACS_Carrier_Rig_3",
"CUP_V_I_RACS_Carrier_Vest",
"CUP_V_I_RACS_Carrier_Vest_2",
"CUP_V_I_RACS_Carrier_Vest_3",
"CUP_V_I_RACS_Carrier_Rig_wdl_2",
"CUP_V_I_RACS_Carrier_Rig_wdl_3",
"CUP_V_I_RACS_Carrier_Vest_wdl",
"CUP_V_I_RACS_Carrier_Vest_wdl_2",
"CUP_V_I_RACS_Carrier_Vest_wdl_3",
"CUP_V_RUS_6B3_1",
"CUP_V_RUS_6B3_2",
"CUP_V_RUS_6B3_3",
"CUP_V_RUS_6B3_4",
"CUP_V_RUS_Smersh_1",
"CUP_V_RUS_Smersh_2",
"CUP_V_O_SLA_Carrier_Belt",
"CUP_V_O_SLA_Carrier_Belt02",
"CUP_V_O_SLA_Carrier_Belt03",
"CUP_V_O_SLA_Flak_Vest01",
"CUP_V_O_SLA_Flak_Vest02",
"CUP_V_O_SLA_Flak_Vest03",
"CUP_V_O_TK_CrewBelt",
"CUP_V_O_TK_OfficerBelt",
"CUP_V_O_TK_OfficerBelt2",
"CUP_V_O_TK_Vest_1",
"CUP_V_O_TK_Vest_2",
"CUP_V_B_IOTV_SL",
"CUP_V_B_IOTV_Medic",
"CUP_V_B_IOTV_Rifleman",
"CUP_V_B_IOTV_AT",
"CUP_V_B_IOTV_MG",
"CUP_V_B_IOTV_saw",
"CUP_V_B_IOTV_tl",
"CUP_V_B_IOTV_gl",
"CUP_V_B_USArmy_PilotVest",
"CUP_V_B_RangerVest",
"CUP_V_B_Interceptor_Rifleman",
"CUP_V_B_MTV",
"CUP_V_B_MTV_Patrol",
"CUP_V_B_MTV_Pouches",
"CUP_V_B_MTV_noCB",
"CUP_V_B_MTV_Marksman",
"CUP_V_B_MTV_PistolBlack",
"CUP_V_B_MTV_LegPouch",
"CUP_V_B_MTV_MG",
"CUP_V_B_MTV_Mine",
"CUP_V_B_MTV_TL",
"CUP_V_B_PilotVest",
"CUP_V_B_RRV_TL",
"CUP_V_B_RRV_Officer",
"CUP_V_B_RRV_Medic",
"CUP_V_B_RRV_DA1",
"CUP_V_B_RRV_DA2",
"CUP_V_B_RRV_MG",
"CUP_V_B_RRV_Light",
"CUP_V_B_RRV_Scout",
"CUP_V_B_RRV_Scout2",
"CUP_V_B_RRV_Scout3",
"CUP_V_B_Eagle_SPC_Rifleman",
"CUP_V_B_Eagle_SPC_Empty",
"CUP_V_B_Eagle_SPC_Patrol",
"CUP_V_B_Eagle_SPC_GL",
"CUP_V_B_Eagle_SPC_MG",
"CUP_V_B_Eagle_SPC_AR",
"CUP_V_B_Eagle_SPC_AT",
"CUP_V_B_Eagle_SPC_Corpsman",
"CUP_V_B_Eagle_SPC_Crew",
"CUP_V_B_Eagle_SPC_DMR",
"CUP_V_B_Eagle_SPC_Officer",
"CUP_V_B_Eagle_SPC_RTO",
"CUP_V_B_Eagle_SPC_SL",
"CUP_V_B_Eagle_SPC_Scout",
"CUP_V_B_Eagle_SPC_TL",
"CUP_V_B_LHDVest_Blue",
"CUP_V_B_LHDVest_Brown",
"CUP_V_B_LHDVest_Green",
"CUP_V_B_LHDVest_Red",
"CUP_V_B_LHDVest_Violet",
"CUP_V_B_LHDVest_White",
"CUP_V_B_LHDVest_Yellow",
"CUP_V_BAF_Osprey_Mk2_DDPM_Empty",
"CUP_V_BAF_Osprey_Mk2_DDPM_Pilot",
"CUP_V_BAF_Osprey_Mk2_DDPM_Scout",
"CUP_V_BAF_Osprey_Mk2_DDPM_Crewman",
"CUP_V_BAF_Osprey_Mk2_DDPM_equipunit1",
"CUP_V_BAF_Osprey_Mk2_DDPM_equipunit2",
"CUP_V_BAF_Osprey_Mk2_DDPM_Grenadier",
"CUP_V_BAF_Osprey_Mk2_DDPM_Sapper",
"CUP_V_BAF_Osprey_Mk2_DDPM_Medic",
"CUP_V_BAF_Osprey_Mk2_DDPM_Officer",
"CUP_V_BAF_Osprey_Mk2_DPM_Empty",
"CUP_V_BAF_Osprey_Mk2_DPM_Pilot",
"CUP_V_BAF_Osprey_Mk2_DPM_Scout",
"CUP_V_BAF_Osprey_Mk2_DPM_Crewman",
"CUP_V_BAF_Osprey_Mk2_DPM_equipunit1",
"CUP_V_BAF_Osprey_Mk2_DPM_equipunit2",
"CUP_V_BAF_Osprey_Mk2_DPM_Grenadier",
"CUP_V_BAF_Osprey_Mk2_DPM_Sapper",
"CUP_V_BAF_Osprey_Mk2_DPM_Medic",
"CUP_V_BAF_Osprey_Mk2_DPM_Officer",
"CUP_V_BAF_Osprey_Mk4_MTP_Grenadier",
"CUP_V_BAF_Osprey_Mk4_MTP_MachineGunner",
"CUP_V_BAF_Osprey_Mk4_MTP_Rifleman",
"CUP_V_BAF_Osprey_Mk4_MTP_SquadLeader",
"CUP_V_CDF_6B3_1_Green",
"CUP_V_CDF_6B3_1_MNT",
"CUP_V_CDF_6B3_1_DST",
"CUP_V_CDF_6B3_1_FST",
"CUP_V_CDF_6B3_2_Green",
"CUP_V_CDF_6B3_2_MNT",
"CUP_V_CDF_6B3_2_DST",
"CUP_V_CDF_6B3_2_FST",
"CUP_V_CDF_6B3_3_Green",
"CUP_V_CDF_6B3_3_MNT",
"CUP_V_CDF_6B3_3_DST",
"CUP_V_CDF_6B3_3_FST",
"CUP_V_CDF_6B3_4_Green",
"CUP_V_CDF_6B3_4_MNT",
"CUP_V_CDF_6B3_4_DST",
"CUP_V_CDF_6B3_4_FST",
"CUP_V_CDF_6B3_5_Green",
"CUP_V_CDF_6B3_5_MNT",
"CUP_V_CDF_6B3_5_DST",
"CUP_V_CDF_6B3_5_FST",
"CUP_V_CDF_CrewBelt",
"CUP_V_CDF_OfficerBelt",
"CUP_V_CDF_OfficerBelt2",
"CUP_V_B_Delta_1",
"CUP_V_B_Delta_2",
"CUP_V_O_Ins_Carrier_Rig",
"CUP_V_O_Ins_Carrier_Rig_MG",
"CUP_V_O_Ins_Carrier_Rig_Com",
"CUP_V_O_Ins_Carrier_Rig_Light",
"CUP_V_I_Carrier_Belt",
"CUP_V_C_Police_Holster",
"CUP_V_OI_TKI_Jacket1_01",
"CUP_V_OI_TKI_Jacket1_02",
"CUP_V_OI_TKI_Jacket1_03",
"CUP_V_OI_TKI_Jacket1_04",
"CUP_V_OI_TKI_Jacket1_05",
"CUP_V_OI_TKI_Jacket1_06",
"CUP_V_OI_TKI_Jacket2_01",
"CUP_V_OI_TKI_Jacket2_02",
"CUP_V_OI_TKI_Jacket2_03",
"CUP_V_OI_TKI_Jacket2_04",
"CUP_V_OI_TKI_Jacket2_05",
"CUP_V_OI_TKI_Jacket2_06",
"CUP_V_OI_TKI_Jacket3_01",
"CUP_V_OI_TKI_Jacket3_02",
"CUP_V_OI_TKI_Jacket3_03",
"CUP_V_OI_TKI_Jacket3_04",
"CUP_V_OI_TKI_Jacket3_05",
"CUP_V_OI_TKI_Jacket3_06",
"CUP_V_OI_TKI_Jacket4_01",
"CUP_V_OI_TKI_Jacket4_02",
"CUP_V_OI_TKI_Jacket4_03",
"CUP_V_OI_TKI_Jacket4_04",
"CUP_V_OI_TKI_Jacket4_05",
"CUP_V_OI_TKI_Jacket4_06",
"CUP_V_OI_TKI_Jacket5_01",
"CUP_V_OI_TKI_Jacket5_02",
"CUP_V_OI_TKI_Jacket5_03",
"CUP_V_OI_TKI_Jacket5_04",
"CUP_V_OI_TKI_Jacket5_05",
"CUP_V_OI_TKI_Jacket5_06",
"CUP_V_OI_TKI_Jacket6_01",
"CUP_V_OI_TKI_Jacket6_02",
"CUP_V_OI_TKI_Jacket6_03",
"CUP_V_OI_TKI_Jacket6_04",
"CUP_V_OI_TKI_Jacket6_05",
"CUP_V_OI_TKI_Jacket6_06",
"CUP_V_I_Guerilla_Jacket"
];

// Goggles ////////////////////////////////////////////////////////////////////////////////////////
{if (isClass(configFile >> "CfgWeapons" >> _x)) then {0 = rvg_goggles pushBack _x;};} forEach [
"TRYK_Shemagh",
"TRYK_Shemagh_mesh",
"TRYK_Shemagh_G"
];

_gogglesPool = 
[
"TRYK_Shemagh",
"TRYK_Shemagh_mesh",
"TRYK_Shemagh_G"
];

_pistolAmmoPool = 
[
"CUP_10Rnd_9x19_Compact",
"CUP_18Rnd_9x19_Phantom",
"CUP_17Rnd_9x19_glock17",
"CUP_7Rnd_45ACP_1911",
"CUP_15Rnd_9x19_M9",
"CUP_8Rnd_9x18_Makarov_M",
"CUP_8Rnd_9x18_MakarovSD_M",
"CUP_30Rnd_9x19_UZI",
"CUP_20Rnd_B_765x17_Ball_M",
"CUP_6Rnd_45ACP_M"
];

_smgammoAmmoPool = 
[
"CUP_64Rnd_9x19_Bizon_M",
"CUP_64Rnd_Green_Tracer_9x19_Bizon_M",
"CUP_64Rnd_Red_Tracer_9x19_Bizon_M",
"CUP_64Rnd_White_Tracer_9x19_Bizon_M",
"CUP_64Rnd_Yellow_Tracer_9x19_Bizon_M",
"CUP_30Rnd_9x19_EVO",
"CUP_30Rnd_9x19_MP5"
];

_shotgunammoAmmoPool = 
[
"CUP_20Rnd_B_AA12_HE",
"CUP_20Rnd_B_AA12_74Slug",
"CUP_20Rnd_B_AA12_Pellets",
"CUP_8Rnd_B_Beneli_74Pellets",
"CUP_8Rnd_B_Beneli_74Slug",
"CUP_8Rnd_B_Saiga12_74Pellets_M",
"CUP_8Rnd_B_Saiga12_74Slug_M"
];

_rifleAmmoPool = 
[
"CUP_30Rnd_545x39_AK_M",
"CUP_30Rnd_Subsonic_545x39_AK_M",
"CUP_30Rnd_TE1_Green_Tracer_545x39_AK_M",
"CUP_30Rnd_TE1_Red_Tracer_545x39_AK_M",
"CUP_30Rnd_TE1_White_Tracer_545x39_AK_M",
"CUP_30Rnd_TE1_Yellow_Tracer_545x39_AK_M",
"CUP_45Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M",
"CUP_30Rnd_762x39_AK47_M",
"CUP_30Rnd_556x45_Stanag",
"CUP_30Rnd_556x45_G36",
"CUP_30Rnd_TE1_Red_Tracer_556x45_G36",
"CUP_30Rnd_TE1_Green_Tracer_556x45_G36",
"CUP_30Rnd_TE1_Yellow_Tracer_556x45_G36",
"CUP_100Rnd_556x45_BetaCMag",
"CUP_100Rnd_TE1_Red_Tracer_556x45_BetaCMag",
"CUP_100Rnd_TE1_Green_Tracer_556x45_BetaCMag",
"CUP_100Rnd_TE1_Yellow_Tracer_556x45_BetaCMag",
"CUP_20Rnd_556x45_Stanag",
"CUP_20Rnd_762x51_FNFAL_M",
"CUP_20Rnd_762x51_L129_M",
"CUP_20Rnd_762x51_B_SCAR",
"CUP_20Rnd_TE1_Yellow_Tracer_762x51_SCAR",
"CUP_20Rnd_TE1_Red_Tracer_762x51_SCAR",
"CUP_20Rnd_TE1_Green_Tracer_762x51_SCAR",
"CUP_20Rnd_TE1_White_Tracer_762x51_SCAR",
"CUP_30Rnd_Sa58_M_TracerG",
"CUP_30Rnd_Sa58_M_TracerR",
"CUP_30Rnd_Sa58_M_TracerY",
"CUP_30Rnd_Sa58_M",
"CUP_45Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M",
"CUP_75Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M"
];

_sniperAmmoPool = 
[
"CUP_5Rnd_127x99_as50_M",
"CUP_5x_22_LR_17_HMR_M",
"CUP_10Rnd_762x51_CZ750_Tracer",
"CUP_10Rnd_762x51_CZ750",
"CUP_5Rnd_762x67_G22",
"CUP_5Rnd_127x108_KSVK_M",
"CUP_5Rnd_86x70_L115A1",
"CUP_10x_303_M",
"CUP_10Rnd_127x99_M107",
"CUP_20Rnd_762x51_B_M110",
"CUP_20Rnd_TE1_Yellow_Tracer_762x51_M110",
"CUP_20Rnd_TE1_Red_Tracer_762x51_M110",
"CUP_20Rnd_TE1_Green_Tracer_762x51_M110",
"CUP_20Rnd_TE1_White_Tracer_762x51_M110",
"CUP_20Rnd_762x51_DMR",
"CUP_20Rnd_TE1_Yellow_Tracer_762x51_DMR",
"CUP_20Rnd_TE1_Red_Tracer_762x51_DMR",
"CUP_20Rnd_TE1_Green_Tracer_762x51_DMR",
"CUP_20Rnd_TE1_White_Tracer_762x51_DMR",
"CUP_5Rnd_762x51_M24",
"CUP_20Rnd_9x39_SP5_VSS_M",
"CUP_10Rnd_9x39_SP5_VSS_M",
"CUP_10Rnd_762x54_SVD_M"
];

_lmgAmmoPool = 
[
"CUP_200Rnd_TE4_Red_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Yellow_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Green_Tracer_556x45_M249",
"CUP_200Rnd_TE1_Red_Tracer_556x45_M249",
"CUP_100Rnd_TE4_Green_Tracer_556x45_M249",
"CUP_100Rnd_TE4_Red_Tracer_556x45_M249",
"CUP_100Rnd_TE4_Yellow_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Green_Tracer_556x45_L110A1",
"CUP_200Rnd_TE4_Red_Tracer_556x45_L110A1",
"CUP_200Rnd_TE4_Yellow_Tracer_556x45_L110A1",
"CUP_100Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M",
"CUP_100Rnd_TE4_LRT4_White_Tracer_762x51_Belt_M",
"CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Green_M",
"CUP_50Rnd_UK59_762x54R_Tracer"
];

_GrenadeLauncherAmmoPool = 
[
"CUP_6Rnd_HE_GP25_M",
"CUP_1Rnd_HE_GP25_M",
"CUP_IlumFlareWhite_GP25_M",
"CUP_IlumFlareRed_GP25_M",
"CUP_IlumFlareGreen_GP25_M",
"CUP_FlareWhite_GP25_M",
"CUP_FlareGreen_GP25_M",
"CUP_FlareRed_GP25_M",
"CUP_FlareYellow_GP25_M",
"CUP_1Rnd_SMOKE_GP25_M",
"CUP_1Rnd_SmokeRed_GP25_M",
"CUP_1Rnd_SmokeGreen_GP25_M",
"CUP_1Rnd_SmokeYellow_GP25_M",
"CUP_6Rnd_HE_M203",
"CUP_6Rnd_FlareWhite_M203",
"CUP_6Rnd_FlareGreen_M203",
"CUP_6Rnd_FlareRed_M203",
"CUP_6Rnd_FlareYellow_M203",
"CUP_6Rnd_Smoke_M203",
"CUP_6Rnd_SmokeRed_M203",
"CUP_6Rnd_SmokeGreen_M203",
"CUP_6Rnd_SmokeYellow_M203",
"CUP_1Rnd_StarCluster_White_M203",
"CUP_1Rnd_StarCluster_Red_M203",
"CUP_1Rnd_StarCluster_Green_M203",
"CUP_1Rnd_StarFlare_White_M203",
"CUP_1Rnd_StarFlare_Red_M203",
"CUP_1Rnd_StarFlare_Green_M203",
"CUP_1Rnd_HE_M203",
"CUP_1Rnd_HEDP_M203",
"CUP_FlareWhite_M203",
"CUP_FlareGreen_M203",
"CUP_FlareRed_M203",
"CUP_FlareYellow_M203",
"CUP_1Rnd_Smoke_M203",
"CUP_1Rnd_SmokeRed_M203",
"CUP_1Rnd_SmokeGreen_M203",
"CUP_1Rnd_SmokeYellow_M203"
];

_rocketLauncherAmmoPool = 
[
"CUP_Javelin_M",
"CUP_Stinger_M",
"CUP_Igla_M",
"CUP_M136_M",
"CUP_Dragon_EP1_M",
"CUP_MAAWS_HEAT_M",
"CUP_MAAWS_HEDP_M",
"CUP_AT13_M",
"CUP_SMAW_HEAA_M",
"CUP_SMAW_HEDP_M",
"CUP_SMAW_Spotting",
"CUP_NLAW_M",
"CUP_PG7V_M",
"CUP_PG7VM_M",
"CUP_PG7VL_M",
"CUP_PG7VR_M",
"CUP_TBG7V_M",
"CUP_OG7_M",
"CUP_RPG18_M",
"CUP_Strela_2_M"
];

/*	------------------------------------------------------------------------------------------
	DO NOT EDIT BELOW HERE!
	------------------------------------------------------------------------------------------	*/
if (isServer) then {

_equipunit = _this select 0;

//Remove previous equipment

removeUniform _equipunit;
removeHeadgear _equipunit:
removeGoggles _equipunit;
removeVest _equipunit;
removeBackpack _equipunit;
removeAllWeapons _equipunit;
removeAllAssignedItems _equipunit;
removeAllItems _equipunit;


//special states
/*
_equipunit action ["Surrender", this];
_equipunit Setcaptive true;
_equipunit enableFatigue false;
_equipunit setCustomAimCoef 0.90; 
_equipunit setUnitRecoilCoefficient 0.90;
_equipunit setAnimSpeedCoef 1.10; // Unit will play animations faster
_equipunit enablestamina false;
_equipunit setUnitTrait ["camouflageCoef",0.1];
_equipunit setUnitTrait ["audibleCoef", 0.1];
_equipunit setUnitTrait ['loadCoef',0.1];
_equipunit setUnitTrait ["Engineer",true];
_equipunit setUnitTrait ["medic",true];
_equipunit setUnitTrait ["explosiveSpecialist",false]; // _equipunit can deactivate mines
*/

//add random uniform to unit
_equipunit forceAddUniform (selectRandom _uniformPool);

//add random vest
if ((_vestProbability > random 99) || (_vestProbability == 100)) then
{
_equipunit addVest (selectRandom _vestPool);
};

//add random backpack
if ((_backpackProbability > random 99) || (_backpackProbability == 100)) then
{
_equipunit addBackpackGlobal (selectRandom _backpackPool);
};

//add random headgear
if ((_headGearProbability > random 99) || (_headGearProbability == 100)) then
{
_equipunit addHeadgear (selectRandom _headgearPool);
};

//add random goggles
if ((_gogglesProbability > random 99) || (_gogglesProbability == 100)) then
{
_equipunit addGoggles (selectRandom _gogglesPool);
};
	
//add random main weapon to unit
if ((_mainWeaponProbability > random 99) || (_mainWeaponProbability == 100)) then
{
_rndWeapon = selectRandom _weaponsPool;
_rndWeapon = [_equipunit, _rndWeapon, _magAmount] call BIS_fnc_addWeapon;
};

//add random side arm to unit
if ((_sideArmProbability > random 99) || (_sideArmProbability == 100)) then
{
_rndSideArm = selectRandom _sideArmsPool;
_rndSideArm = [_equipunit, _rndSideArm, _magSideArmAmount] call BIS_fnc_addWeapon;
};

//add random item to unit
if ((_itemProbability > random 99) || (_itemProbability == 100)) then
{
_rndItem = selectRandom _itemsPool;
_equipunit addItemToUniform _rndItem;
};

//add random consumable to unit
if ((_itemProbability > random 99) || (_itemProbability == 100)) then
{
_rndConsumable = selectRandom _ConsumablesPool;
_equipunit addItemToUniform _rndConsumable;
};

//add random grenades to unit
if ((_grenadeProbability > random 99) || (_grenadeProbability == 100)) then
{
_rndGrenade = selectRandom _grenadesPool;
_equipunit addMagazines ["_rndGrenade", _grenadeAmount];
};

//add random chance to be a doctor and extra health items to unit
if ((_doctorProbability > random 99) || (_doctorProbability == 100)) then
{
_equipunit addItem "FirstAidKit";
_equipunit addItem "FirstAidKit";
_equipunit addItem "FirstAidKit";
_equipunit setUnitTrait ["Medic",true];
};

//add random chance to be a doctor and extra health items to unit
if ((_mechanicProbability > random 99) || (_mechanicProbability == 100)) then
{
_equipunit addItem "ToolKit";
_equipunit addItem "rvg_tire";
_equipunit addItem "rvg_canisterFuel";
_equipunit setUnitTrait ["Engineer",true];
};

//add random chance to be a doctor and extra health items to unit
if ((_expSpecialistProbability > random 99) || (_expSpecialistProbability == 100)) then
{
_explosivesAmount = round (1 + random 1) ;//so you'll get enough Grenades
_equipunit addMagazines ["ClaymoreDirectionalMine_Remote_Mag", _explosivesAmount];
_equipunit addItem "rvg_Geiger";
_equipunit addMagazines ["APERSTripMine_Wire_Mag", _explosivesAmount];
_equipunit setUnitTrait ["Engineer",true];
};

//add random optics to unit's weapon
if ((_opticProbability > random 99) || (_opticProbability == 100)) then
{
	_equipunitPrimaryOptics = []; _equipunitPrimaryOptics = getArray (configFile >> "CfgWeapons" >> _equipunitPrimaryWeapon >> "WeaponSlotsInfo" >> "CowsSlot" >> "compatibleItems");
	//_equipunitPrimaryOptics = _equipunitPrimaryOptics - _opticsDisallow;
	if ((count _equipunitPrimaryOptics) >= 1) then
	{
		_equipunitPrimaryOptic = selectRandom _equipunitPrimaryOptics;
		_equipunit addPrimaryWeaponItem _equipunitPrimaryOptic;
	};
};

//add random optics to unit's weapon
if ((_muzzleProbability > random 99) || (_muzzleProbability == 100)) then
{
	_equipunitPrimaryMuzzles = []; _equipunitPrimaryMuzzles = getArray (configFile >> "CfgWeapons" >> _equipunitPrimaryWeapon >> "WeaponSlotsInfo" >> "MuzzleSlot" >> "compatibleItems");
	if ((count _equipunitPrimaryMuzzles) >= 1) then
	{
		_equipunitPrimaryMuzzle = selectRandom _equipunitPrimaryMuzzles;
		_equipunit addPrimaryWeaponItem _equipunitPrimaryMuzzle;
	};
};

//add random pointer to unit's weapon
if ((_pointerProbability > random 99) || (_pointerProbability == 100)) then
{
	_equipunitPrimaryPointers = []; _equipunitPrimaryPointers = getArray (configFile >> "CfgWeapons" >> _equipunitPrimaryWeapon >> "WeaponSlotsInfo" >> "PointerSlot" >> "compatibleItems");
	if ((count _equipunitPrimaryPointers) >= 1) then
	{
		_equipunitPrimaryPointer = selectRandom _equipunitPrimaryPointers;
		_equipunit addPrimaryWeaponItem _equipunitPrimaryPointer;
	};
};

//add random launcher to the unit
if ((_launcherProbability > random 99) || (_launcherProbability == 100)) then
{

	if (isNull (unitBackpack _equipunit)) then
	{
		_equipunitBackpack = selectRandom _backPacks;
		_equipunit addBackPack _equipunitBackpack;
	};
	_equipunitLauncherWeapon = selectRandom _launcherWeapons;
	_equipunitLauncherWeaponAdd = [_equipunit, _equipunitLauncherWeapon, _launcherMagazineAmount] call BIS_fnc_addWeapon;
};

};

 

 

 

 

The idea started as I wanted to spawn civilians at cities and towns and the default CUP civilians looked too generic and repetitive and besides I wanted to give the civs a chance to be armed, to be medics etc etc. 

 

Later I plan on using this script to randomize the zombies some more. With this script and the CUP assets you could have so many uniform/headgear/backpack/vests combinations that you would basically never see the same zombie on your games.

 

Anyways, thanks in advance for any advice some of you might have on how to make this script work and/or how to improve it.

looks nice:)

what exactly is not working, do you get any errors or no result at all? how do you spawn the civilians and where do you call the above script?

 

 

  • Like 1

Share this post


Link to post
Share on other sites

the first array, _sideArmsPool needs to end with ];

it is currently missing the ; and the script does not know that that code is finished.

  • Thanks 1

Share this post


Link to post
Share on other sites
19 hours ago, MuRaZorWitchKING said:

@PsG1988 If your servers are 20-60 people I would highly recommend changing the actual zombie spawn settings, under the (zombies spawned at one time in game world) tab I believe default setting is 250? Meaning 250 zombies are allowed in the world at a single time...(this may be too little) Also be aware that setting this amount too high can also cause your server to lag quite a bit... I would personally try probably 500 and test that for a bit first. Also try setting the (zombies per player) tab higher than default settings as well. Both should help, Cheers! 


I removed all the modules and placed them again, 200 Zombies global max and one blacklist module for the safezone and the same problem, rarely any zombies spawning. No difference to the last setup (Before 80 Zombies max.)
So there is no difference no matter how many zombies max. i set. On a empty server its working like intended, maybe there is some kind of rule "Not spawn zombies below 10 FPS /server ?!

  • Like 2

Share this post


Link to post
Share on other sites

@PsG1988 Hmm... I was hoping the more global amount added, there would be more zombies ha ha! I don’t know man, just keep toying with those settings and you’ll find something that works, that’s usually what I do! :float:

Share this post


Link to post
Share on other sites
1 hour ago, PsG1988 said:


I removed all the modules and placed them again, 200 Zombies global max and one blacklist module for the safezone and the same problem, rarely any zombies spawning. No difference to the last setup (Before 80 Zombies max.)
So there is no difference no matter how many zombies max. i set. On a empty server its working like intended, maybe there is some kind of rule "Not spawn zombies below 10 FPS /server ?!

 

Remove the zombie blacklist module, set the zombie spawn min distance from players to 50 and try again. 

Share this post


Link to post
Share on other sites
10 hours ago, Vandeanson said:

the first array, _sideArmsPool needs to end with ];

it is currently missing the ; and the script does not know that that code is finished.

 

Thanks! Fixed that and a couple more small errors such as that but now I get another error:

 

Error select: type object (Line 1477)

and then only this is in line 1477:

_unit = _this select 0;

Spoiler



/*	------------------------------------------------------------------------------------------
	Complete Random Unit Equipment Script by VALMONT for the Ravage Mod, Prob. originally for Civilians
	------------------------------------------------------------------------------------------	*/

if !(isServer) exitWith {}; // DO NOT DELETE THIS LINE!

// Only edit this first part!

// Probabilities
_uniformProbability = 100; // 100% chance // You cannot lower this!
_vestProbability = 25; // 25% chance
_backpackProbability = 25; // 25% chance
_headGearProbability = 40; // 40% chance
_gogglesProbability = 40; // 40% chance
_mainWeaponProbability = 50; // 50% chance
_sideArmProbability = 50; // 50% chance
_itemProbability = 40; // 40% chance
_consumablesProbability = 40; // 40% chance
_grenadeProbability = 15; // 15% chance
_doctorProbability = 15; // 15% chance
_mechanicProbability = 15; // 15% chance
_expSpecialistProbability = 5; // 5% chance
_opticProbability = 20; // 20% chance
_muzzleProbability = 5; // 5% chance
_pointerProbability = 15; // 15% chance
_launcherProbability = 5; // 5% chance

// Ammounts
_magAmount = round (1 + random 2) ;//so you'll get enough primerary weapon mags
_magSideArmAmount = round (1 + random 2) ;//so you'll get enough side arm mags
_grenadeAmount = round (1 + random 2) ;//so you'll get enough Grenades
_launcherMagazineAmount = round (1 + random 1) ; // minimum 1, maximum 2 rocket launcher ammo.

/*	------------------------------------------------------------------------------------------
	Equipment Pool
	------------------------------------------------------------------------------------------	*/

_sideArmsPool =
[
//CUP Pistols
"CUP_hgun_Compact",
"CUP_hgun_Duty",
"CUP_hgun_Phantom",
"CUP_hgun_Glock17",
"CUP_hgun_Colt1911",
"CUP_hgun_M9",
"CUP_hgun_Makarov",
"CUP_hgun_MicroUzi",
"CUP_hgun_PB6P9",
"CUP_hgun_SA61",
"CUP_hgun_TaurusTracker455",
"CUP_hgun_TaurusTracker455_gold",
"CUP_hgun_BallisticShield_Armed"
];
	
_weaponsPool = 
[
//SMGs
"CUP_smg_bizon",
"CUP_smg_EVO",
"CUP_smg_MP5A5",
"CUP_smg_MP5SD6",
//Shotguns
"CUP_sgun_AA12",
"CUP_sgun_Saiga12K",
"CUP_sgun_M1014",	
//CUP Rifles
"CUP_arifle_AK107",
//"CUP_arifle_AK107_GL",
"CUP_arifle_AK47",
"CUP_arifle_AK74",
//"CUP_arifle_AK74_GL",
"CUP_arifle_AK74M",
//"CUP_arifle_AK74M_GL",
"CUP_arifle_AKM",
"CUP_arifle_AKS_Gold",
"CUP_arifle_AKS",
"CUP_arifle_AKS74",
"CUP_arifle_AKS74U",
"CUP_arifle_CZ805_A1",
//"CUP_arifle_CZ805_GL",
"CUP_arifle_CZ805_A2",
"CUP_arifle_CZ805_B",
//"CUP_arifle_CZ805_B_GL",
//"CUP_arifle_FNFAL",
"CUP_arifle_FNFAL_railed",
"CUP_arifle_FNFAL5061",
"CUP_arifle_FNFAL5062",
"CUP_arifle_FNFAL_OSW",
"CUP_arifle_G36A",
"CUP_arifle_G36C",
"CUP_arifle_G36K",
"CUP_arifle_G36A_camo",
"CUP_arifle_G36C_camo",
"CUP_arifle_G36K_camo",
"CUP_srifle_L129A1",
"CUP_srifle_L129A1_HG",
"CUP_arifle_L85A2",
"CUP_arifle_L85A2_G",
"CUP_arifle_L85A2_NG",
//"CUP_arifle_L85A2_GL",
"CUP_arifle_L86A2",
"CUP_arifle_M16A2",
//"CUP_arifle_M16A2_GL",
"CUP_arifle_M16A4_Base",
//"CUP_arifle_M16A4_GL",
"CUP_arifle_M4A1",
"CUP_arifle_M4A1_black",
//"CUP_arifle_M4A1_desert",
"CUP_arifle_M4A1_camo",
//"CUP_arifle_M4A1_BUIS_GL",
//"CUP_arifle_M4A1_BUIS_desert_GL",
//"CUP_arifle_M4A1_BUIS_camo_GL",
"CUP_arifle_M4A3_desert",
"CUP_arifle_MG36",
"CUP_arifle_MG36_camo",
"CUP_arifle_Mk16_CQC",
"CUP_arifle_Mk16_CQC_FG",
"CUP_arifle_Mk16_CQC_SFG",
"CUP_arifle_Mk16_CQC_EGLM",
"CUP_arifle_Mk16_STD",
"CUP_arifle_Mk16_STD_FG",
"CUP_arifle_Mk16_STD_SFG",
"CUP_arifle_Mk16_STD_EGLM",
"CUP_arifle_Mk16_SV",
"CUP_arifle_Mk17_CQC",
"CUP_arifle_Mk17_CQC_FG",
"CUP_arifle_Mk17_CQC_SFG",
"CUP_arifle_Mk17_CQC_EGLM",
"CUP_arifle_Mk20",
"CUP_arifle_Mk17_STD",
"CUP_arifle_Mk17_STD_FG",
"CUP_arifle_Mk17_STD_SFG",
"CUP_arifle_Mk17_STD_EGLM",
"CUP_arifle_RPK74_45",
"CUP_arifle_RPK74",
"CUP_arifle_RPK74M",
"CUP_arifle_Sa58RIS1",
//"CUP_arifle_Sa58RIS1_des",
"CUP_arifle_Sa58RIS2",
"CUP_arifle_Sa58RIS2_camo",
//"CUP_arifle_Sa58RIS2_gl",
"CUP_arifle_Sa58P",
//"CUP_arifle_Sa58P_des",
"CUP_arifle_Sa58V",
"CUP_arifle_Sa58V_camo",
//"CUP_arifle_XM8_Carbine",
"CUP_arifle_XM8_Railed",
//"CUP_arifle_XM8_Carbine_GL",
//"CUP_arifle_XM8_Compact",
"CUP_arifle_XM8_Compact_Rail",
"CUP_arifle_XM8_Carbine_FG",
"CUP_arifle_xm8_SAW",
"CUP_arifle_xm8_sharpshooter",
// Machineguns
//"CUP_lmg_minimi",
"CUP_lmg_minimi_railed",
"CUP_lmg_minimipara",
"CUP_lmg_L110A1",
"CUP_lmg_L7A2",
"CUP_lmg_M240",
"CUP_lmg_m249_SQuantoon",
"CUP_lmg_m249_pip1",
"CUP_lmg_m249_pip3",
"CUP_lmg_m249_pip4",
"CUP_lmg_M249_E2",
"CUP_lmg_m249_pip2",
"CUP_lmg_m249_para",
"CUP_lmg_M60E4",
//"CUP_lmg_Mk48_des",
"CUP_lmg_Mk48_wdl",
"CUP_lmg_PKM",
"CUP_lmg_Pecheneg",
"CUP_lmg_UK59",
//CUP Sniper Rifles
"CUP_srifle_AS50",
"CUP_srifle_CZ550",
"CUP_srifle_CZ550_rail",
"CUP_srifle_CZ750",
"CUP_srifle_G22_des",
"CUP_srifle_ksvk",
//"CUP_srifle_AWM_des",
"CUP_srifle_AWM_wdl",
"CUP_srifle_LeeEnfield",
"CUP_srifle_LeeEnfield_rail",
"CUP_srifle_M107_Base",
"CUP_srifle_M110",
"CUP_srifle_M14",
//"CUP_srifle_M14_DMR",
"CUP_srifle_M24_wdl",
//"CUP_srifle_M24_des",
"CUP_srifle_M40A3",
"CUP_srifle_Mk12SPR",
"CUP_srifle_SVD",
//"CUP_srifle_SVD_des",
"CUP_srifle_VSSVintorez"	
];

_launchersPool =
[
//Grenade Launchers
"CUP_glaunch_6G30",
"CUP_glaunch_M32",
"CUP_glaunch_M79",
"CUP_glaunch_Mk13",
//Rocket Launchers
"CUP_launch_Javelin",
"CUP_launch_FIM92Stinger",
"CUP_launch_Igla",
"CUP_launch_M136",
"CUP_launch_M47",
"CUP_launch_MAAWS",
"CUP_launch_Metis",
"CUP_launch_Mk153Mod0",
"CUP_launch_NLAW",
"CUP_launch_RPG7V",
"CUP_launch_RPG18",
"CUP_launch_9K32Strela"
];

_grenadesPool = 
[
"HandGrenade",
"HandGrenade",
"HandGrenade",
"HandGrenade",
"HandGrenade",
"SmokeShellYellow",
"SmokeShellRed",
"SmokeShellPurple",
"SmokeShellOrange",
"SmokeShellGreen",
"SmokeShellBlue",
"Chemlight_blue",
"Chemlight_red",
"rvg_flare",
"APERSBoundingMine_Range_Mag",
"APERSMine_Range_Mag",
"APERSTripMine_Wire_Mag",
"ATMine_Range_Mag",
"SatchelCharge_Remote_Mag"
];

_gearPool = 
[
//sight
"CUP_optic_GOSHAWK",
"CUP_optic_Kobra",
"CUP_optic_NSPU",
"CUP_optic_PSO_1",
"CUP_optic_PSO_3",
"CUP_optic_CompM4",
"CUP_optic_AN_PAS_13c1",
"CUP_optic_AN_PAS_13c2",
"CUP_optic_AN_PVS_10",
"CUP_optic_AN_PVS_4",
"CUP_optic_CWS",
"CUP_optic_ElcanM145",
"CUP_optic_ELCAN_SpecterDR",
"CUP_optic_Elcan",
"CUP_optic_Elcan_reflex",
"CUP_optic_Eotech533Grey",
"CUP_optic_Eotech533",
"CUP_optic_HoloBlack",
"CUP_optic_HoloDesert",
"CUP_optic_HoloWdl",
"CUP_optic_LeupoldMk4_10x40_LRT_Desert",
"CUP_optic_LeupoldMk4_10x40_LRT_Woodland",
"CUP_optic_LeupoldM3LR",
"CUP_optic_LeupoldMk4_CQ_T",
"CUP_optic_LeupoldMk4_MRT_tan",
"CUP_optic_Leupold_VX3",
"CUP_optic_LeupoldMk4",
"CUP_optic_CompM2_Black",
"CUP_optic_CompM2_Desert",
"CUP_optic_CompM2_Woodland2",
"CUP_optic_CompM2_Woodland",
"CUP_optic_MRad",
"CUP_optic_ZDDot",
"CUP_optic_SB_11_4x20_PM",
"CUP_optic_SB_3_12x50_PMII",
"CUP_optic_SUSAT",
"CUP_optic_RCO_desert",
"CUP_optic_ACOG",
"CUP_optic_RCO",
"CUP_optic_TrijiconRx01_black",
"CUP_optic_TrijiconRx01_desert",
"CUP_optic_PechenegScope",
"CUP_optic_MAAWS_Scope",
"CUP_optic_SMAW_Scope",
"CUP_optic_NSPU_RPG",
"CUP_optic_PGO7V",
"CUP_optic_PGO7V2",
"CUP_optic_PGO7V3",
//Muzzle
"CUP_muzzle_Bizon",
"CUP_muzzle_PBS4",
"CUP_muzzle_snds_AWM",
"CUP_muzzle_snds_G36_black",
"CUP_muzzle_snds_G36_desert",
"CUP_acc_bfa",
"CUP_acc_sffh",
"CUP_muzzle_snds_M110",
"CUP_muzzle_snds_M14",
"CUP_muzzle_snds_M16",
"CUP_muzzle_snds_M16_camo",
"CUP_muzzle_mfsup_SCAR_L",
"CUP_muzzle_snds_SCAR_L",
"CUP_muzzle_mfsup_SCAR_H",
"CUP_muzzle_snds_SCAR_H",
"CUP_muzzle_snds_XM8",
"CUP_muzzle_snds_M9",
"CUP_muzzle_snds_MicroUzi",
"CUP_muzzle_PB6P9",
//Laser & Flashlight	
"CUP_acc_ANPEQ_15",
"CUP_acc_ANPEQ_2",
"CUP_acc_ANPEQ_2_camo",
"CUP_acc_ANPEQ_2_desert",
"CUP_acc_ANPEQ_2_grey",
"CUP_acc_Flashlight",
"CUP_acc_Flashlight_desert",
"CUP_acc_Flashlight_wdl",
"CUP_acc_LLM",
"CUP_acc_XM8_light_module",
"CUP_acc_CZ_M3X",
"CUP_acc_Glock17_Flashlight",
//Bipod
"CUP_bipod_Harris_1A2_L",
"CUP_bipod_VLTOR_Modpod",
//Cammo
"CUP_Mxx_camo",
"CUP_Mxx_camo_half",
"CUP_SVD_camo_d",
"CUP_SVD_camo_g",
"CUP_SVD_camo_d_half",
"CUP_SVD_camo_g_half"			
];

_consumablesPool = 
[
"rvg_plasticBottle",
"rvg_plasticBottlePurified",
"rvg_canOpener",
"rvg_spirit",
"rvg_franta",
"rvg_beans",
"rvg_bacon",
"rvg_milk",
"rvg_rice",
"rvg_plasticBottleEmpty",
"rvg_canteenEmpty",
"rvg_plasticBottle",
"rvg_plasticBottlePurified",
"rvg_spirit",
"rvg_franta",
"rvg_beans",
"rvg_bacon",
"rvg_milk",
"rvg_rice",
"rvg_money",
"rvg_money",
"rvg_money",
"rvg_money"
];

_itemsPool = 
[
//Vanilla items
"Item_optic_LRPS",
"Item_bipod_01_F_khk",
//CUP Items
"CUP_optic_LeupoldMk4",
"CUP_optic_Leupold_VX3",
"CUP_bipod_Harris_1A2_L",
"CUP_bipod_VLTOR_Modpod",
//Regular Items
"Binocular",
"FirstAidKit",
"Medikit",
"ToolKit",
"ItemMap",
//Ravage Items
"rvg_canisterFuel_Empty",
"rvg_toolkit",
"rvg_tire",
"rvg_money",
"rvg_docFolder",
"rvg_money",
"rvg_hose",
"rvg_guttingKnife",
"rvg_foldedTent",
"rvg_matches",
"rvg_foldedTent"
];

_backpackPool = 
[
"CUP_B_USPack_Coyote",
"CUP_B_USPack_Black",
"CUP_B_GER_Pack_Tropentarn",
"CUP_B_GER_Pack_Flecktarn",
"CUP_B_ACRPara_m95",
"CUP_B_ACRScout_m95",
"CUP_B_CivPack_WDL",
"CUP_B_RPGPack_Khaki",
"CUP_B_AlicePack_Khaki",
"CUP_B_AlicePack_Bedroll",
"CUP_B_AssaultPack_ACU",
"CUP_B_AssaultPack_Coyote",
"CUP_B_AssaultPack_Black",
"CUP_B_MedicPack_ACU",
"CUP_B_UAVTerminal_Black",
"CUP_B_HikingPack_Civ",
"CUP_B_StaticX_cbr",
"CUP_B_StaticY_cbr",
"CUP_B_Bergen_BAF",
"CUP_B_USMC_AssaultPack",
"CUP_B_USMC_MOLLE",
"CUP_B_USMC_MOLLE_WDL",
"CUP_B_GER_Medic_Desert",
"CUP_B_GER_Medic_Tropentarn",
"CUP_B_GER_Medic_FLecktarn",
"CUP_B_TK_Medic_Desert",
"CUP_B_SLA_Medicbag",
"CUP_B_RUS_Backpack",
"CUP_B_DShkM_Gun_Bag",
"CUP_B_DShkM_TripodHigh_Bag",
"CUP_B_DShkM_TripodLow_Bag",
"CUP_B_Kord_Gun_Bag",
"CUP_B_Kord_Tripod_Bag",
"CUP_B_Metis_Gun_Bag",
"CUP_B_Metis_Tripod_Bag",
"CUP_B_AGS30_Gun_Bag",
"CUP_B_AGS30_Tripod_Bag",
"CUP_B_SPG9_Gun_Bag",
"CUP_B_SPG9_Tripod_Bag",
"CUP_B_Podnos_Gun_Bag",
"CUP_B_Podnos_Bipod_Bag",
"CUP_B_M2_Gun_Bag",
"CUP_B_M2_Tripod_Bag",
"CUP_B_M2_MiniTripod_Bag",
"CUP_B_Mk19_Gun_Bag",
"CUP_B_Mk19_Tripod_Bag",
"CUP_B_Tow_Gun_Bag",
"CUP_B_TOW_Tripod_Bag",
"CUP_B_M252_Gun_Bag",
"CUP_B_M252_Bipod_Bag",
"CUP_US_Backpack_EP1",
"CUP_CZ_Backpack_EP1",
"CUP_CZ_VestPouch_EP1",
"CUP_TK_Assault_Pack_EP1",
"CUP_TK_ALICE_Pack_EP1",
"CUP_US_Assault_Pack_EP1",
"CUP_US_Patrol_Pack_EP1",
"CUP_USBasicBag",
"CUP_US_UAV_Pack_EP1",
"CUP_B_ACRPara_m95_Ammo",
"CUP_B_ACRPara_m95_Specops",
"CUP_B_ACRPara_m95_AmmoMG",
"CUP_B_ACRScout_m95_Sa58",
"CUP_B_ACRScout_m95_M4",
"CUP_B_RPG_Backpack",
"CUP_B_AlicePack_Khaki_Explosives",
"CUP_B_AlicePack_Khaki_AmmoMG",
"CUP_B_AlicePack_Khaki_Ammo",
"CUP_B_AlicePack_Khaki_AmmoAK74",
"CUP_B_CivPack_WDL_Ammo",
"CUP_B_Backpack_SpecOps",
"CUP_B_GER_Backpack_AmmoBearer",
"CUP_B_GER_Backpack_ATAssist",
"CUP_B_GER_Backpack_AAAssist",
"CUP_B_GER_Backpack_Engineer",
"CUP_B_GER_Backpack_AA",
"CUP_B_GER_Backpack_AT",
"CUP_B_GER_Backpack_Medic",
"CUP_B_Backpack_SpecOps_Fleck",
"CUP_B_GER_Backpack_AmmoBearer_Fleck",
"CUP_B_GER_Backpack_ATAssist_Fleck",
"CUP_B_GER_Backpack_AAAssist_Fleck",
"CUP_B_GER_Backpack_Engineer_Fleck",
"CUP_B_GER_Backpack_AA_Fleck",
"CUP_B_GER_Backpack_AT_Fleck",
"CUP_B_GER_Backpack_Medic_Fleck",
"CUP_I_HikingPack_RPK",
"CUP_I_HikingPack_PKM",
"CUP_I_HikingPack_Ammo",
"CUP_B_PMC_AlicePack_Exp",
"CUP_B_PMC_Backpack_Medic",
"CUP_B_PMC_AlicePack_PKM",
"CUP_B_PMC_AlicePack_XM8Auto",
"CUP_B_PMC_Backpack_KSVK",
"CUP_B_PMC_Backpack_GL",
"CUP_B_RUS_Pack_MG",
"CUP_B_RUS_Pack_AR",
"CUP_B_RUS_Pack_AT",
"CUP_B_RUS_Pack_Medic",
"CUP_B_RUS_Pack_ExpSpec",
"CUP_B_RUS_Pack_Engineer",
"CUP_B_RUS_Pack_Saboteur",
"CUP_B_RUS_Pack_Saboteur_Assault",
"CUP_B_SLA_Medicbag_green",
"CUP_B_TK_AssaultPack_Medic",
"CUP_B_TK_AlicePack_Khaki_Explosives",
"CUP_B_TK_CivPack_WDL_RPK",
"CUP_B_TK_CivPack_WDL_Ammo",
"CUP_B_TK_RPG_Backpack",
"CUP_B_TK_RPG_Backpack_Single",
"CUP_B_TK_AlicePack_Khaki_AmmoMG",
"CUP_B_TK_AlicePack_Khaki_Ammo",
"CUP_B_TIK_CivPack_WDL_Ammo",
"CUP_B_TKI_Backpack_RPG",
"CUP_B_TKG_Backpack_RPG",
"CUP_B_TKI_Backpack_Gunner_RPG",
"CUP_B_TKI_CivPack_WDL_RPK",
"CUP_B_TKI_CivPack_WDL_RPK_45",
"CUP_B_TKI_AlicePack_Khaki_AmmoAK74",
"CUP_B_TKG_AlicePack_Khaki_AmmoAK47",
"CUP_B_TKI_AlicePack_MG",
"CUP_B_TKI_AlicePack_Mechanic",
"CUP_B_TKI_AlicePack_Exp",
"CUP_B_USArmy_Medic",
"CUP_B_USArmy_AR",
"CUP_B_USArmy_MG",
"CUP_B_USArmy_MG_SpecOp",
"CUP_B_USArmy_AR_SpecOp",
"CUP_B_USArmy_MinePack",
"CUP_B_USArmy_EOD",
"CUP_B_USArmy_Engineer",
"CUP_B_AssaultPack_ACU_Ammo",
"CUP_B_AssaultPack_ACU_AmmoSAW",
"CUP_B_AssaultPack_ACU_AT",
"CUP_B_AssaultPack_ACU_AT_1",
"CUP_B_AssaultPack_ACU_Explosives",
"CUP_B_AssaultPack_ACU_MG",
"CUP_B_AssaultPack_ACU_Specops_UAV",
"CUP_B_AssaultPack_ACU_Specops_M14",
"CUP_B_AssaultPack_ACU_Specops_JTAC",
"CUP_B_AssaultPack_Coyote_Ammo",
"CUP_B_AssaultPack_Coyote_Specops",
"CUP_B_AssaultPack_Coyote_Specops_GL",
"CUP_B_AssaultPack_Coyote_Specops_M",
"CUP_B_USPack_Coyote_AmmoMG",
"CUP_B_USPack_Coyote_AT",
"CUP_B_USPack_Coyote_Specops",
"CUP_B_USPack_Coyote_Specops_TL",
"CUP_B_USPack_Coyote_Specops_Operator",
"CUP_B_USPack_Coyote_TL",
"CUP_B_USPack_Coyote_SL",
"CUP_B_USMC_AssaultPack_Medic",
"CUP_B_USMC_MOLLE_AR",
"CUP_B_USMC_MOLLE_MG",
"CUP_B_USMC_MOLLE_Exp",
"CUP_B_USMC_AssaultPack_SMAW",
"CUP_B_FR_MOLLE_Sab",
"CUP_B_FR_MOLLE_MG",
"CUP_T10_Parachute_backpack",
"CUP_C_EngineeringBag",
"CUP_B_AssaultPack_RifleAmmo",
"CUP_B_AssaultPack_ARAmmo",
"CUP_B_AssaultPack_MGAmmo",
"CUP_B_AssaultPack_ATAmmo",
"CUP_B_AssaultPack_HATAmmo",
"CUP_B_AssaultPack_Special",
"CUP_B_AssaultPack_FAC",
"CUP_B_AssaultPack_HAAAmmo",
"CUP_B_AssaultPack_LRRAmmo",
"CUP_B_AssaultPack_Medic",
"CUP_B_AssaultPack_Engineer",
"CUP_B_AssaultPack_LAT",
"CUP_B_AssaultPack_AR",
"CUP_B_AssaultPack_MG",
"CUP_B_CDF_MedicPack",
"CUP_B_CDF_RPG_Backpack",
"CUP_B_CDF_EngineerPack",
"CUP_B_CDF_MGPack",
"CUP_B_UN_MedicPack",
"CUP_B_UN_RPG_Backpack",
"CUP_B_UN_EngineerPack",
"CUP_B_UN_MGPack",
"CUP_B_UNO_AlicePack_Khaki_AmmoAK74",
"CUP_B_UN_AlicePack_Khaki_AmmoMG",
"CUP_B_INS_Backpack_Medic",
"CUP_B_INS_RPG_Backpack",
"CUP_B_INS_Backpack_AR",
"CUP_B_INS_Backpack_MG",
"CUP_B_INS_AlicePack_Exp",
"CUP_B_INS_AlicePack_Mines",
"CUP_B_INS_AlicePack_Engineer",
"CUP_B_INS_AlicePack_Ammo"
];

_uniformPool = 
[
"CUP_U_B_GER_Tropentarn_1",
"CUP_U_B_GER_Tropentarn_2",
"CUP_U_B_GER_Ghillie",
"CUP_U_B_GER_Flecktarn_1",
"CUP_U_B_GER_Flecktarn_2",
"CUP_U_B_GER_Fleck_Ghillie",
"CUP_U_I_GUE_Flecktarn",
"CUP_U_I_GUE_Flecktarn2",
"CUP_U_I_GUE_Woodland1",
"CUP_U_I_GUE_Flecktarn3",
"CUP_U_I_Ghillie_Top",
"CUP_U_I_Pilot_01",
"CUP_U_I_Leader_01",
"CUP_U_I_Worker_02",
"CUP_U_I_Woodlander_01",
"CUP_U_I_Woodlander_02",
"CUP_U_I_Woodlander_03",
"CUP_U_I_Villager_03",
"CUP_U_I_Villager_04",
"CUP_U_I_GUE_Anorak_01",
"CUP_U_I_GUE_Anorak_02",
"CUP_U_I_GUE_Anorak_03",
"CUP_I_B_PMC_Unit_1",
"CUP_I_B_PMC_Unit_2",
"CUP_I_B_PMC_Unit_3",
"CUP_I_B_PMC_Unit_4",
"CUP_I_B_PMC_Unit_5",
"CUP_I_B_PMC_Unit_6",
"CUP_I_B_PMC_Unit_7",
"CUP_I_B_PMC_Unit_8",
"CUP_I_B_PMC_Unit_9",
"CUP_I_B_PMC_Unit_10",
"CUP_I_B_PMC_Unit_11",
"CUP_I_B_PMC_Unit_12",
"CUP_I_B_PMC_Unit_13",
"CUP_I_B_PMC_Unit_14",
"CUP_I_B_PMC_Unit_15",
"CUP_I_B_PMC_Unit_16",
"CUP_I_B_PMC_Unit_17",
"CUP_I_B_PMC_Unit_18",
"CUP_I_B_PMC_Unit_19",
"CUP_I_B_PMC_Unit_20",
"CUP_I_B_PMC_Unit_21",
"CUP_I_B_PMC_Unit_22",
"CUP_I_B_PMC_Unit_23",
"CUP_I_B_PMC_Unit_24",
"CUP_I_B_PMC_Unit_25",
"CUP_I_B_PMC_Unit_26",
"CUP_I_B_PMC_Unit_27",
"CUP_I_B_PMC_Unit_28",
"CUP_U_I_RACS_Desert_1",
"CUP_U_I_RACS_Desert_2",
"CUP_U_I_RACS_PilotOverall",
"CUP_U_I_RACS_Urban_1",
"CUP_U_I_RACS_Urban_2",
"CUP_U_I_RACS_WDL_1",
"CUP_U_I_RACS_WDL_2",
"CUP_U_I_RACS_mech_1",
"CUP_U_I_RACS_mech_2",
"CUP_U_O_RUS_Flora_1",
"CUP_U_O_RUS_EMR_1",
"CUP_U_O_RUS_Flora_2",
"CUP_U_O_RUS_EMR_2",
"CUP_U_O_RUS_Flora_1_VDV",
"CUP_U_O_RUS_EMR_1_VDV",
"CUP_U_O_RUS_Flora_2_VDV",
"CUP_U_O_RUS_EMR_2_VDV",
"CUP_U_O_RUS_Commander",
"CUP_U_O_RUS_Gorka_Partizan",
"CUP_U_O_RUS_Gorka_Partizan_A",
"CUP_U_O_RUS_Gorka_Green",
"CUP_U_O_RUS_Ghillie",
"CUP_U_O_SLA_Officer",
"CUP_U_O_SLA_MixedCamo",
"CUP_U_O_SLA_Green",
"CUP_U_O_SLA_Urban",
"CUP_U_O_SLA_Desert",
"CUP_U_O_Partisan_TTsKO",
"CUP_U_O_Partisan_TTsKO_Mixed",
"CUP_U_O_Partisan_VSR_Mixed1",
"CUP_U_O_Partisan_VSR_Mixed2",
"CUP_U_O_SLA_Overalls_Pilot",
"CUP_U_O_SLA_Overalls_Tank",
"CUP_U_O_SLA_Officer_Suit",
"CUP_U_O_TK_Officer",
"CUP_U_O_TK_MixedCamo",
"CUP_U_O_TK_Green",
"CUP_U_O_TK_Ghillie",
"CUP_U_O_TK_Ghillie_Top",
"CUP_O_TKI_Khet_Partug_01",
"CUP_O_TKI_Khet_Partug_02",
"CUP_O_TKI_Khet_Partug_03",
"CUP_O_TKI_Khet_Partug_04",
"CUP_O_TKI_Khet_Partug_05",
"CUP_O_TKI_Khet_Partug_06",
"CUP_O_TKI_Khet_Partug_07",
"CUP_O_TKI_Khet_Partug_08",
"CUP_O_TKI_Khet_Jeans_01",
"CUP_O_TKI_Khet_Jeans_02",
"CUP_O_TKI_Khet_Jeans_03",
"CUP_O_TKI_Khet_Jeans_04",
"CUP_I_TKG_Khet_Partug_01",
"CUP_I_TKG_Khet_Partug_02",
"CUP_I_TKG_Khet_Partug_03",
"CUP_I_TKG_Khet_Partug_04",
"CUP_I_TKG_Khet_Partug_05",
"CUP_I_TKG_Khet_Partug_06",
"CUP_I_TKG_Khet_Partug_07",
"CUP_I_TKG_Khet_Partug_08",
"CUP_I_TKG_Khet_Jeans_01",
"CUP_I_TKG_Khet_Jeans_02",
"CUP_I_TKG_Khet_Jeans_03",
"CUP_I_TKG_Khet_Jeans_04",
"CUP_U_B_USA06_Officer_m81",
"CUP_U_B_USArmy_TwoKnee",
"CUP_U_B_USArmy_UBACS",
"CUP_U_B_USArmy_Soft",
"CUP_U_B_USArmy_Ghillie",
"CUP_U_B_USArmy_PilotOverall",
"CUP_U_B_USMC_Officer",
"CUP_U_B_USMC_MARPAT_WDL_Sleeves",
"CUP_U_B_USMC_MARPAT_WDL_RolledUp",
"CUP_U_B_USMC_MARPAT_WDL_Kneepad",
"CUP_U_B_USMC_MARPAT_WDL_TwoKneepads",
"CUP_U_B_USMC_PilotOverall",
"CUP_U_B_USMC_MARPAT_WDL_RollUpKneepad",
"CUP_U_B_USMC_Ghillie_WDL",
"CUP_U_B_FR_SpecOps",
"CUP_U_B_FR_Scout",
"CUP_U_B_FR_Officer",
"CUP_U_B_FR_Corpsman",
"CUP_U_B_FR_DirAction",
"CUP_U_B_FR_DirAction2",
"CUP_U_B_FR_Light",
"CUP_U_B_FR_Scout1",
"CUP_U_B_FR_Scout2",
"CUP_U_B_FR_Scout3",
"CUP_B_USMC_Navy_Blue",
"CUP_B_USMC_Navy_Brown",
"CUP_B_USMC_Navy_Green",
"CUP_B_USMC_Navy_Red",
"CUP_B_USMC_Navy_Violet",
"CUP_B_USMC_Navy_White",
"CUP_B_USMC_Navy_Yellow",
"CUP_U_B_USMC_FROG1_WMARPAT",
"CUP_U_B_USMC_FROG1_DMARPAT",
"CUP_U_B_USMC_FROG2_WMARPAT",
"CUP_U_B_USMC_FROG2_DMARPAT",
"CUP_U_B_USMC_FROG3_WMARPAT",
"CUP_U_B_USMC_FROG3_DMARPAT",
"CUP_U_B_USMC_FROG4_WMARPAT",
"CUP_U_B_USMC_FROG4_DMARPAT",
"CUP_U_C_Pilot_01",
"CUP_U_C_Citizen_01",
"CUP_U_C_Citizen_02",
"CUP_U_C_Citizen_03",
"CUP_U_C_Citizen_04",
"CUP_U_C_Worker_01",
"CUP_U_C_Worker_02",
"CUP_U_C_Worker_03",
"CUP_U_C_Worker_04",
"CUP_U_C_Profiteer_01",
"CUP_U_C_Profiteer_02",
"CUP_U_C_Profiteer_03",
"CUP_U_C_Profiteer_04",
"CUP_U_C_Woodlander_01",
"CUP_U_C_Woodlander_02",
"CUP_U_C_Woodlander_03",
"CUP_U_C_Woodlander_04",
"CUP_U_C_Villager_01",
"CUP_U_C_Villager_02",
"CUP_U_C_Villager_03",
"CUP_U_C_Villager_04",
"CUP_U_C_Priest_01",
"CUP_U_C_Policeman_01",
"CUP_U_C_Suit_01",
"CUP_U_C_Suit_02",
"CUP_U_C_Labcoat_01",
"CUP_U_C_Labcoat_02",
"CUP_U_C_Labcoat_03",
"CUP_U_C_Rocker_01",
"CUP_U_C_Rocker_02",
"CUP_U_C_Rocker_03",
"CUP_U_C_Rocker_04",
"CUP_U_C_Mechanic_01",
"CUP_U_C_Mechanic_02",
"CUP_U_C_Mechanic_03",
"CUP_U_C_Fireman_01",
"CUP_U_C_Rescuer_01",
"CUP_U_B_CZ_WDL_TShirt",
"CUP_U_B_BAF_DDPM_S1_RolledUp",
"CUP_U_B_BAF_DDPM_S2_UnRolled",
"CUP_U_B_BAF_DDPM_Tshirt",
"CUP_U_B_BAF_DPM_S1_RolledUp",
"CUP_U_B_BAF_DPM_S2_UnRolled",
"CUP_U_B_BAF_DPM_Tshirt",
"CUP_U_B_BAF_MTP_S1_RolledUp",
"CUP_U_B_BAF_MTP_S2_UnRolled",
"CUP_U_B_BAF_MTP_Tshirt",
"CUP_U_B_BAF_MTP_Ghillie",
"CUP_U_B_BAF_DPM_Ghillie",
"CUP_U_B_BAF_DDPM_Ghillie",
"CUP_U_B_BAF_MTP_S3_RolledUp",
"CUP_U_B_BAF_MTP_S4_UnRolled",
"CUP_U_B_BAF_MTP_S5_UnRolled",
"CUP_U_B_BAF_MTP_S6_UnRolled",
"CUP_U_B_CDF_MNT_1",
"CUP_U_B_CDF_MNT_2",
"CUP_U_B_CDF_DST_1",
"CUP_U_B_CDF_DST_2",
"CUP_U_B_CDF_FST_1",
"CUP_U_B_CDF_FST_2",
"CUP_U_I_UNO_MNT_1",
"CUP_U_I_UNO_MNT_2",
"CUP_U_I_UNO_DST_1",
"CUP_U_I_UNO_DST_2",
"CUP_U_I_UNO_FST_1",
"CUP_U_I_UNO_FST_2",
"CUP_U_O_CHDKZ_Bardak",
"CUP_U_O_CHDKZ_Commander",
"CUP_U_O_CHDKZ_Lopotev",
"CUP_U_O_CHDKZ_Kam_01",
"CUP_U_O_CHDKZ_Kam_02",
"CUP_U_O_CHDKZ_Kam_03",
"CUP_U_O_CHDKZ_Kam_04",
"CUP_U_O_CHDKZ_Kam_05",
"CUP_U_O_CHDKZ_Kam_06",
"CUP_U_O_CHDKZ_Kam_07",
"CUP_U_O_CHDKZ_Kam_08",
"CUP_U_O_Pilot_01",
"CUP_U_O_Worker_02",
"CUP_U_O_Woodlander_01",
"CUP_U_O_Woodlander_02",
"CUP_U_O_Woodlander_03",
"CUP_U_O_Villager_03",
"CUP_U_O_Villager_04",
"U_O_officer_noInsignia_hex_F"
];

_headgearPool = 
[
"CUP_H_Ger_Boonie_desert",
"CUP_H_Ger_Boonie_Flecktarn",
"CUP_H_NAPA_Fedora",
"CUP_H_PMC_PRR_Headset",
"CUP_H_PMC_EP_Headset",
"CUP_H_PMC_Cap_Grey",
"CUP_H_PMC_Cap_Tan",
"CUP_H_PMC_Cap_Burberry",
"CUP_H_PMC_Cap_Back_Grey",
"CUP_H_PMC_Cap_Back_Tan",
"CUP_H_PMC_Cap_Back_Burberry",
"CUP_H_PMC_Cap_PRR_Grey",
"CUP_H_PMC_Cap_PRR_Tan",
"CUP_H_PMC_Cap_PRR_Burberry",
"CUP_H_PMC_Cap_Back_PRR_Grey",
"CUP_H_PMC_Cap_Back_PRR_Tan",
"CUP_H_PMC_Cap_Back_PRR_Burberry",
"CUP_H_PMC_Cap_EP_Grey",
"CUP_H_PMC_Cap_EP_Tan",
"CUP_H_PMC_Cap_EP_Burberry",
"CUP_H_PMC_Cap_Back_EP_Grey",
"CUP_H_PMC_Cap_Back_EP_Tan",
"CUP_H_PMC_Cap_Back_EP_Burberry",
"CUP_H_RACS_Helmet_DES",
"CUP_H_RACS_Helmet_Goggles_DES",
"CUP_H_RACS_Helmet_Headset_DES",
"CUP_H_RACS_Helmet_DPAT",
"CUP_H_RACS_Helmet_Goggles_DPAT",
"CUP_H_RACS_Helmet_Headset_DPAT",
"CUP_H_RACS_Helmet_wdl",
"CUP_H_RACS_Helmet_Goggles_wdl",
"CUP_H_RACS_Helmet_Headset_wdl",
"CUP_H_RACS_Helmet_mech",
"CUP_H_RACS_Helmet_Goggles_mech",
"CUP_H_RACS_Helmet_Headset_mech",
"CUP_H_RACS_Helmet_olive",
"CUP_H_RACS_Helmet_tan",
"CUP_H_RACS_Beret_Blue",
"CUP_H_RUS_6B27_NVG",
"CUP_H_RUS_6B27_NVG_olive",
"CUP_H_RUS_6B27",
"CUP_H_RUS_6B27_olive",
"CUP_H_RUS_TSH_4_Brown",
"CUP_H_RUS_ZSH_Shield_Up",
"CUP_H_RUS_ZSH_Shield_Down",
"CUP_H_RUS_Bandana_HS",
"CUP_H_RUS_Beret_VDV",
"CUP_H_RUS_Beret_Spetsnaz",
"CUP_H_RUS_ZSH_1_Goggles",
"CUP_H_RUS_ZSH_1",
"CUP_H_SLA_TankerHelmet",
"CUP_H_SLA_Helmet",
"CUP_H_SLA_Pilot_Helmet",
"CUP_H_SLA_OfficerCap",
"CUP_H_SLA_SLCap",
"CUP_H_SLA_Boonie",
"CUP_H_SLA_Beret",
"CUP_H_SLA_BeanieGreen",
"CUP_H_SLA_BeretRed",
"CUP_H_TK_TankerHelmet",
"CUP_H_TK_PilotHelmet",
"CUP_H_TK_Helmet",
"CUP_H_TK_Lungee",
"CUP_H_TK_Beret",
"CUP_H_TKI_SkullCap_01",
"CUP_H_TKI_SkullCap_02",
"CUP_H_TKI_SkullCap_03",
"CUP_H_TKI_SkullCap_04",
"CUP_H_TKI_SkullCap_05",
"CUP_H_TKI_SkullCap_06",
"CUP_H_TKI_Lungee_01",
"CUP_H_TKI_Lungee_02",
"CUP_H_TKI_Lungee_03",
"CUP_H_TKI_Lungee_04",
"CUP_H_TKI_Lungee_05",
"CUP_H_TKI_Lungee_06",
"CUP_H_TKI_Lungee_Open_01",
"CUP_H_TKI_Lungee_Open_02",
"CUP_H_TKI_Lungee_Open_03",
"CUP_H_TKI_Lungee_Open_04",
"CUP_H_TKI_Lungee_Open_05",
"CUP_H_TKI_Lungee_Open_06",
"CUP_H_TKI_Pakol_1_01",
"CUP_H_TKI_Pakol_1_02",
"CUP_H_TKI_Pakol_1_03",
"CUP_H_TKI_Pakol_1_04",
"CUP_H_TKI_Pakol_1_05",
"CUP_H_TKI_Pakol_1_06",
"CUP_H_TKI_Pakol_2_01",
"CUP_H_TKI_Pakol_2_02",
"CUP_H_TKI_Pakol_2_03",
"CUP_H_TKI_Pakol_2_04",
"CUP_H_TKI_Pakol_2_05",
"CUP_H_TKI_Pakol_2_06",
"CUP_H_USArmy_Boonie",
"CUP_H_USA_Cap",
"CUP_H_USArmy_HelmetMICH",
"CUP_H_USArmy_HelmetMICH_ESS",
"CUP_H_USArmy_HelmetMICH_earpro",
"CUP_H_USArmy_HelmetMICH_earpro_ess",
"CUP_H_USArmy_HelmetMICH_headset",
"CUP_H_USArmy_HelmetMICH_headset_ess",
"CUP_H_USArmy_HelmetMICH_wdl",
"CUP_H_USArmy_Helmet_ECH1_Sand",
"CUP_H_USArmy_Helmet_ECH2_Sand",
"CUP_H_USArmy_Helmet_ECH1_Black",
"CUP_H_USArmy_Helmet_ECH2_Black",
"CUP_H_USArmy_Helmet_ECH1_Green",
"CUP_H_USArmy_Helmet_ECH2_GREEN",
"CUP_H_USArmy_Helmet_Pro",
"CUP_H_USArmy_Helmet_Pro_gog",
"CUP_H_USArmy_Helmet_M1_Olive",
"CUP_H_USArmy_Helmet_M1_Vine",
"CUP_H_USArmy_Helmet_M1_m81",
"CUP_H_USArmy_Helmet_M1_btp",
"CUP_H_USMC_Officer_Cap",
"CUP_H_USMC_HelmetWDL",
"CUP_H_USMC_Headset_HelmetWDL",
"CUP_H_USMC_Headset_GoggleW_HelmetWDL",
"CUP_H_USMC_Crew_Helmet",
"CUP_H_USMC_Goggles_HelmetWDL",
"CUP_H_USMC_Helmet_Pilot",
"CUP_H_FR_Cap_Headset_Green",
"CUP_H_FR_Cap_Officer_Headset",
"CUP_H_FR_BandanaGreen",
"CUP_H_FR_BandanaWdl",
"CUP_H_FR_ECH",
"CUP_H_FR_BoonieMARPAT",
"CUP_H_FR_BoonieWDL",
"CUP_H_FR_BeanieGreen",
"CUP_H_FR_Headset",
"CUP_H_FR_Bandana_Headset",
"CUP_H_FR_Headband_Headset",
"CUP_H_FR_PRR_BoonieWDL",
"CUP_H_Navy_CrewHelmet_Blue",
"CUP_H_Navy_CrewHelmet_Brown",
"CUP_H_Navy_CrewHelmet_Green",
"CUP_H_Navy_CrewHelmet_Red",
"CUP_H_Navy_CrewHelmet_Violet",
"CUP_H_Navy_CrewHelmet_White",
"CUP_H_Navy_CrewHelmet_Yellow",
"CUP_H_USMC_ACVC_WDL",
"CUP_H_USMC_ACVC_DES",
"CUP_H_USMC_MICH2000_WDL",
"CUP_H_USMC_MICH2000_DES",
"CUP_H_USMC_MICH2000_ESS_COMM_WDL",
"CUP_H_USMC_MICH2000_ESS_COMM_DES",
"CUP_H_USMC_MICH2000_COMM_WDL",
"CUP_H_USMC_MICH2000_COMM_DES",
"CUP_H_USMC_MICH2000_DEF_WDL",
"CUP_H_USMC_MICH2000_DEF_DES",
"CUP_H_USMC_MICH2000_DEF_ESS_WDL",
"CUP_H_USMC_MICH2000_DEF_ESS_DES",
"CUP_H_USMC_LWH_NVGMOUNT_WDL",
"CUP_H_USMC_LWH_NVGMOUNT_DES",
"CUP_H_USMC_LWH_WDL",
"CUP_H_USMC_LWH_DES",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_HS_WDL",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_HS_DES",
"CUP_H_USMC_LWH_ESS_HS_WDL",
"CUP_H_USMC_LWH_ESS_HS_DES",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_WDL",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_DES",
"CUP_H_USMC_LWH_ESS_WDL",
"CUP_H_USMC_LWH_ESS_DES",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_LR_WDL",
"CUP_H_USMC_LWH_NVGMOUNT_ESS_LR_DES",
"CUP_H_USMC_LWH_ESS_LR_WDL",
"CUP_H_USMC_LWH_ESS_LR_DES",
"CUP_H_USMC_BOONIE_WDL",
"CUP_H_USMC_BOONIE_DES",
"CUP_H_USMC_BOONIE_PRR_WDL",
"CUP_H_USMC_BOONIE_PRR_DES",
"CUP_H_USMC_CAP_WDL",
"CUP_H_USMC_CAP_DES",
"CUP_H_USMC_CAP_PRR_WDL",
"CUP_H_USMC_CAP_PRR_DES",
"CUP_H_C_MAGA_01",
"CUP_H_C_TrackIR_01",
"CUP_H_C_Ushanka_01",
"CUP_H_C_Ushanka_02",
"CUP_H_C_Ushanka_03",
"CUP_H_C_Ushanka_04",
"CUP_H_C_Beanie_01",
"CUP_H_C_Beanie_02",
"CUP_H_C_Beanie_03",
"CUP_H_C_Beanie_04",
"CUP_H_C_Beret_01",
"CUP_H_C_Beret_02",
"CUP_H_C_Beret_03",
"CUP_H_C_Beret_04",
"CUP_H_C_Policecap_01",
"CUP_H_C_Fireman_Helmet_01",
"CUP_H_BAF_Officer_Beret",
"CUP_H_BAF_Officer_Beret_PRR_U",
"CUP_H_BAF_Officer_Beret_PRR_O",
"CUP_H_BAF_Helmet_Pilot",
"CUP_H_BAF_Crew_Helmet_DDPM",
"CUP_H_BAF_Helmet_1_DDPM",
"CUP_H_BAF_Helmet_2_DDPM",
"CUP_H_BAF_Helmet_Net_2_DDPM",
"CUP_H_BAF_Helmet_3_DDPM",
"CUP_H_BAF_Helmet_4_DDPM",
"CUP_H_BAF_Crew_Helmet_DPM",
"CUP_H_BAF_Helmet_1_DPM",
"CUP_H_BAF_Helmet_Net_2_DPM",
"CUP_H_BAF_Helmet_2_DPM",
"CUP_H_BAF_Helmet_3_DPM",
"CUP_H_BAF_Helmet_4_DPM",
"CUP_H_BAF_Crew_Helmet_MTP",
"CUP_H_BAF_Helmet_Net_2_MTP",
"CUP_H_BAF_Helmet_1_MTP",
"CUP_H_BAF_Helmet_2_MTP",
"CUP_H_BAF_Helmet_3_MTP",
"CUP_H_BAF_Helmet_4_MTP",
"CUP_H_CDF_H_PASGT_MNT",
"CUP_H_CDF_H_PASGT_DST",
"CUP_H_CDF_H_PASGT_FST",
"CUP_H_CDF_H_PASGT_UN",
"CUP_H_CDF_OfficerCap_MNT",
"CUP_H_CDF_OfficerCap_DST",
"CUP_H_CDF_OfficerCap_FST",
"CUP_H_CDF_OfficerCap_UN",
"CUP_H_CDF_Beret_UN",
"CUP_H_ChDKZ_Beret",
"CUP_H_ChDKZ_Beanie",
"CUP_H_ChDKZ_Cap"
];

_vestPool = 
[
"CUP_V_B_GER_Carrier_Rig",
"CUP_V_B_GER_Carrier_Rig_2",
"CUP_V_B_GER_Carrier_Rig_2_Brown",
"CUP_V_B_GER_Carrier_Rig_3_Brown",
"CUP_V_B_GER_Carrier_Vest",
"CUP_V_B_GER_Carrier_Vest_2",
"CUP_V_B_GER_Carrier_Vest_3",
"CUP_V_B_GER_Vest_1",
"CUP_V_B_GER_Vest_2",
"CUP_V_PMC_IOTV_Coyote_Empty",
"CUP_V_PMC_IOTV_Coyote_Patrol",
"CUP_V_PMC_IOTV_Coyote_AR",
"CUP_V_PMC_IOTV_Coyote_Gren",
"CUP_V_PMC_IOTV_Coyote_TL",
"CUP_V_PMC_IOTV_Black_Empty",
"CUP_V_PMC_IOTV_Black_Patrol",
"CUP_V_PMC_IOTV_Black_AR",
"CUP_V_PMC_IOTV_Black_Gren",
"CUP_V_PMC_IOTV_Black_TL",
"CUP_V_PMC_CIRAS_Coyote_Empty",
"CUP_V_PMC_CIRAS_Coyote_Patrol",
"CUP_V_PMC_CIRAS_Coyote_Grenadier",
"CUP_V_PMC_CIRAS_Coyote_TL",
"CUP_V_PMC_CIRAS_Coyote_crate",
"CUP_V_PMC_CIRAS_Black_Empty",
"CUP_V_PMC_CIRAS_Black_Patrol",
"CUP_V_PMC_CIRAS_Black_Grenadier",
"CUP_V_PMC_CIRAS_Black_TL",
"CUP_V_PMC_CIRAS_Black_crate",
"CUP_V_PMC_CIRAS_Winter_Empty",
"CUP_V_PMC_CIRAS_Winter_Patrol",
"CUP_V_PMC_CIRAS_Winter_Grenadier",
"CUP_V_PMC_CIRAS_Winter_TL",
"CUP_V_PMC_CIRAS_Winter_crate",
"CUP_V_I_RACS_Carrier_Rig_2",
"CUP_V_I_RACS_Carrier_Rig_3",
"CUP_V_I_RACS_Carrier_Vest",
"CUP_V_I_RACS_Carrier_Vest_2",
"CUP_V_I_RACS_Carrier_Vest_3",
"CUP_V_I_RACS_Carrier_Rig_wdl_2",
"CUP_V_I_RACS_Carrier_Rig_wdl_3",
"CUP_V_I_RACS_Carrier_Vest_wdl",
"CUP_V_I_RACS_Carrier_Vest_wdl_2",
"CUP_V_I_RACS_Carrier_Vest_wdl_3",
"CUP_V_RUS_6B3_1",
"CUP_V_RUS_6B3_2",
"CUP_V_RUS_6B3_3",
"CUP_V_RUS_6B3_4",
"CUP_V_RUS_Smersh_1",
"CUP_V_RUS_Smersh_2",
"CUP_V_O_SLA_Carrier_Belt",
"CUP_V_O_SLA_Carrier_Belt02",
"CUP_V_O_SLA_Carrier_Belt03",
"CUP_V_O_SLA_Flak_Vest01",
"CUP_V_O_SLA_Flak_Vest02",
"CUP_V_O_SLA_Flak_Vest03",
"CUP_V_O_TK_CrewBelt",
"CUP_V_O_TK_OfficerBelt",
"CUP_V_O_TK_OfficerBelt2",
"CUP_V_O_TK_Vest_1",
"CUP_V_O_TK_Vest_2",
"CUP_V_B_IOTV_SL",
"CUP_V_B_IOTV_Medic",
"CUP_V_B_IOTV_Rifleman",
"CUP_V_B_IOTV_AT",
"CUP_V_B_IOTV_MG",
"CUP_V_B_IOTV_saw",
"CUP_V_B_IOTV_tl",
"CUP_V_B_IOTV_gl",
"CUP_V_B_USArmy_PilotVest",
"CUP_V_B_RangerVest",
"CUP_V_B_Interceptor_Rifleman",
"CUP_V_B_MTV",
"CUP_V_B_MTV_Patrol",
"CUP_V_B_MTV_Pouches",
"CUP_V_B_MTV_noCB",
"CUP_V_B_MTV_Marksman",
"CUP_V_B_MTV_PistolBlack",
"CUP_V_B_MTV_LegPouch",
"CUP_V_B_MTV_MG",
"CUP_V_B_MTV_Mine",
"CUP_V_B_MTV_TL",
"CUP_V_B_PilotVest",
"CUP_V_B_RRV_TL",
"CUP_V_B_RRV_Officer",
"CUP_V_B_RRV_Medic",
"CUP_V_B_RRV_DA1",
"CUP_V_B_RRV_DA2",
"CUP_V_B_RRV_MG",
"CUP_V_B_RRV_Light",
"CUP_V_B_RRV_Scout",
"CUP_V_B_RRV_Scout2",
"CUP_V_B_RRV_Scout3",
"CUP_V_B_Eagle_SPC_Rifleman",
"CUP_V_B_Eagle_SPC_Empty",
"CUP_V_B_Eagle_SPC_Patrol",
"CUP_V_B_Eagle_SPC_GL",
"CUP_V_B_Eagle_SPC_MG",
"CUP_V_B_Eagle_SPC_AR",
"CUP_V_B_Eagle_SPC_AT",
"CUP_V_B_Eagle_SPC_Corpsman",
"CUP_V_B_Eagle_SPC_Crew",
"CUP_V_B_Eagle_SPC_DMR",
"CUP_V_B_Eagle_SPC_Officer",
"CUP_V_B_Eagle_SPC_RTO",
"CUP_V_B_Eagle_SPC_SL",
"CUP_V_B_Eagle_SPC_Scout",
"CUP_V_B_Eagle_SPC_TL",
"CUP_V_B_LHDVest_Blue",
"CUP_V_B_LHDVest_Brown",
"CUP_V_B_LHDVest_Green",
"CUP_V_B_LHDVest_Red",
"CUP_V_B_LHDVest_Violet",
"CUP_V_B_LHDVest_White",
"CUP_V_B_LHDVest_Yellow",
"CUP_V_BAF_Osprey_Mk2_DDPM_Empty",
"CUP_V_BAF_Osprey_Mk2_DDPM_Pilot",
"CUP_V_BAF_Osprey_Mk2_DDPM_Scout",
"CUP_V_BAF_Osprey_Mk2_DDPM_Crewman",
"CUP_V_BAF_Osprey_Mk2_DDPM_unit1",
"CUP_V_BAF_Osprey_Mk2_DDPM_unit2",
"CUP_V_BAF_Osprey_Mk2_DDPM_Grenadier",
"CUP_V_BAF_Osprey_Mk2_DDPM_Sapper",
"CUP_V_BAF_Osprey_Mk2_DDPM_Medic",
"CUP_V_BAF_Osprey_Mk2_DDPM_Officer",
"CUP_V_BAF_Osprey_Mk2_DPM_Empty",
"CUP_V_BAF_Osprey_Mk2_DPM_Pilot",
"CUP_V_BAF_Osprey_Mk2_DPM_Scout",
"CUP_V_BAF_Osprey_Mk2_DPM_Crewman",
"CUP_V_BAF_Osprey_Mk2_DPM_unit1",
"CUP_V_BAF_Osprey_Mk2_DPM_unit2",
"CUP_V_BAF_Osprey_Mk2_DPM_Grenadier",
"CUP_V_BAF_Osprey_Mk2_DPM_Sapper",
"CUP_V_BAF_Osprey_Mk2_DPM_Medic",
"CUP_V_BAF_Osprey_Mk2_DPM_Officer",
"CUP_V_BAF_Osprey_Mk4_MTP_Grenadier",
"CUP_V_BAF_Osprey_Mk4_MTP_MachineGunner",
"CUP_V_BAF_Osprey_Mk4_MTP_Rifleman",
"CUP_V_BAF_Osprey_Mk4_MTP_SquadLeader",
"CUP_V_CDF_6B3_1_Green",
"CUP_V_CDF_6B3_1_MNT",
"CUP_V_CDF_6B3_1_DST",
"CUP_V_CDF_6B3_1_FST",
"CUP_V_CDF_6B3_2_Green",
"CUP_V_CDF_6B3_2_MNT",
"CUP_V_CDF_6B3_2_DST",
"CUP_V_CDF_6B3_2_FST",
"CUP_V_CDF_6B3_3_Green",
"CUP_V_CDF_6B3_3_MNT",
"CUP_V_CDF_6B3_3_DST",
"CUP_V_CDF_6B3_3_FST",
"CUP_V_CDF_6B3_4_Green",
"CUP_V_CDF_6B3_4_MNT",
"CUP_V_CDF_6B3_4_DST",
"CUP_V_CDF_6B3_4_FST",
"CUP_V_CDF_6B3_5_Green",
"CUP_V_CDF_6B3_5_MNT",
"CUP_V_CDF_6B3_5_DST",
"CUP_V_CDF_6B3_5_FST",
"CUP_V_CDF_CrewBelt",
"CUP_V_CDF_OfficerBelt",
"CUP_V_CDF_OfficerBelt2",
"CUP_V_B_Delta_1",
"CUP_V_B_Delta_2",
"CUP_V_O_Ins_Carrier_Rig",
"CUP_V_O_Ins_Carrier_Rig_MG",
"CUP_V_O_Ins_Carrier_Rig_Com",
"CUP_V_O_Ins_Carrier_Rig_Light",
"CUP_V_I_Carrier_Belt",
"CUP_V_C_Police_Holster",
"CUP_V_OI_TKI_Jacket1_01",
"CUP_V_OI_TKI_Jacket1_02",
"CUP_V_OI_TKI_Jacket1_03",
"CUP_V_OI_TKI_Jacket1_04",
"CUP_V_OI_TKI_Jacket1_05",
"CUP_V_OI_TKI_Jacket1_06",
"CUP_V_OI_TKI_Jacket2_01",
"CUP_V_OI_TKI_Jacket2_02",
"CUP_V_OI_TKI_Jacket2_03",
"CUP_V_OI_TKI_Jacket2_04",
"CUP_V_OI_TKI_Jacket2_05",
"CUP_V_OI_TKI_Jacket2_06",
"CUP_V_OI_TKI_Jacket3_01",
"CUP_V_OI_TKI_Jacket3_02",
"CUP_V_OI_TKI_Jacket3_03",
"CUP_V_OI_TKI_Jacket3_04",
"CUP_V_OI_TKI_Jacket3_05",
"CUP_V_OI_TKI_Jacket3_06",
"CUP_V_OI_TKI_Jacket4_01",
"CUP_V_OI_TKI_Jacket4_02",
"CUP_V_OI_TKI_Jacket4_03",
"CUP_V_OI_TKI_Jacket4_04",
"CUP_V_OI_TKI_Jacket4_05",
"CUP_V_OI_TKI_Jacket4_06",
"CUP_V_OI_TKI_Jacket5_01",
"CUP_V_OI_TKI_Jacket5_02",
"CUP_V_OI_TKI_Jacket5_03",
"CUP_V_OI_TKI_Jacket5_04",
"CUP_V_OI_TKI_Jacket5_05",
"CUP_V_OI_TKI_Jacket5_06",
"CUP_V_OI_TKI_Jacket6_01",
"CUP_V_OI_TKI_Jacket6_02",
"CUP_V_OI_TKI_Jacket6_03",
"CUP_V_OI_TKI_Jacket6_04",
"CUP_V_OI_TKI_Jacket6_05",
"CUP_V_OI_TKI_Jacket6_06",
"CUP_V_I_Guerilla_Jacket"
];

// Goggles ////////////////////////////////////////////////////////////////////////////////////////
{if (isClass(configFile >> "CfgWeapons" >> _x)) then {0 = rvg_goggles pushBack _x;};} forEach [
"TRYK_Shemagh",
"TRYK_Shemagh_mesh",
"TRYK_Shemagh_G"
];

_gogglesPool = 
[
"TRYK_Shemagh",
"TRYK_Shemagh_mesh",
"TRYK_Shemagh_G"
];

_pistolAmmoPool = 
[
"CUP_10Rnd_9x19_Compact",
"CUP_18Rnd_9x19_Phantom",
"CUP_17Rnd_9x19_glock17",
"CUP_7Rnd_45ACP_1911",
"CUP_15Rnd_9x19_M9",
"CUP_8Rnd_9x18_Makarov_M",
"CUP_8Rnd_9x18_MakarovSD_M",
"CUP_30Rnd_9x19_UZI",
"CUP_20Rnd_B_765x17_Ball_M",
"CUP_6Rnd_45ACP_M"
];

_smgammoAmmoPool = 
[
"CUP_64Rnd_9x19_Bizon_M",
"CUP_64Rnd_Green_Tracer_9x19_Bizon_M",
"CUP_64Rnd_Red_Tracer_9x19_Bizon_M",
"CUP_64Rnd_White_Tracer_9x19_Bizon_M",
"CUP_64Rnd_Yellow_Tracer_9x19_Bizon_M",
"CUP_30Rnd_9x19_EVO",
"CUP_30Rnd_9x19_MP5"
];

_shotgunammoAmmoPool = 
[
"CUP_20Rnd_B_AA12_HE",
"CUP_20Rnd_B_AA12_74Slug",
"CUP_20Rnd_B_AA12_Pellets",
"CUP_8Rnd_B_Beneli_74Pellets",
"CUP_8Rnd_B_Beneli_74Slug",
"CUP_8Rnd_B_Saiga12_74Pellets_M",
"CUP_8Rnd_B_Saiga12_74Slug_M"
];

_rifleAmmoPool = 
[
"CUP_30Rnd_545x39_AK_M",
"CUP_30Rnd_Subsonic_545x39_AK_M",
"CUP_30Rnd_TE1_Green_Tracer_545x39_AK_M",
"CUP_30Rnd_TE1_Red_Tracer_545x39_AK_M",
"CUP_30Rnd_TE1_White_Tracer_545x39_AK_M",
"CUP_30Rnd_TE1_Yellow_Tracer_545x39_AK_M",
"CUP_45Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M",
"CUP_30Rnd_762x39_AK47_M",
"CUP_30Rnd_556x45_Stanag",
"CUP_30Rnd_556x45_G36",
"CUP_30Rnd_TE1_Red_Tracer_556x45_G36",
"CUP_30Rnd_TE1_Green_Tracer_556x45_G36",
"CUP_30Rnd_TE1_Yellow_Tracer_556x45_G36",
"CUP_100Rnd_556x45_BetaCMag",
"CUP_100Rnd_TE1_Red_Tracer_556x45_BetaCMag",
"CUP_100Rnd_TE1_Green_Tracer_556x45_BetaCMag",
"CUP_100Rnd_TE1_Yellow_Tracer_556x45_BetaCMag",
"CUP_20Rnd_556x45_Stanag",
"CUP_20Rnd_762x51_FNFAL_M",
"CUP_20Rnd_762x51_L129_M",
"CUP_20Rnd_762x51_B_SCAR",
"CUP_20Rnd_TE1_Yellow_Tracer_762x51_SCAR",
"CUP_20Rnd_TE1_Red_Tracer_762x51_SCAR",
"CUP_20Rnd_TE1_Green_Tracer_762x51_SCAR",
"CUP_20Rnd_TE1_White_Tracer_762x51_SCAR",
"CUP_30Rnd_Sa58_M_TracerG",
"CUP_30Rnd_Sa58_M_TracerR",
"CUP_30Rnd_Sa58_M_TracerY",
"CUP_30Rnd_Sa58_M",
"CUP_45Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M",
"CUP_75Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M"
];

_sniperAmmoPool = 
[
"CUP_5Rnd_127x99_as50_M",
"CUP_5x_22_LR_17_HMR_M",
"CUP_10Rnd_762x51_CZ750_Tracer",
"CUP_10Rnd_762x51_CZ750",
"CUP_5Rnd_762x67_G22",
"CUP_5Rnd_127x108_KSVK_M",
"CUP_5Rnd_86x70_L115A1",
"CUP_10x_303_M",
"CUP_10Rnd_127x99_M107",
"CUP_20Rnd_762x51_B_M110",
"CUP_20Rnd_TE1_Yellow_Tracer_762x51_M110",
"CUP_20Rnd_TE1_Red_Tracer_762x51_M110",
"CUP_20Rnd_TE1_Green_Tracer_762x51_M110",
"CUP_20Rnd_TE1_White_Tracer_762x51_M110",
"CUP_20Rnd_762x51_DMR",
"CUP_20Rnd_TE1_Yellow_Tracer_762x51_DMR",
"CUP_20Rnd_TE1_Red_Tracer_762x51_DMR",
"CUP_20Rnd_TE1_Green_Tracer_762x51_DMR",
"CUP_20Rnd_TE1_White_Tracer_762x51_DMR",
"CUP_5Rnd_762x51_M24",
"CUP_20Rnd_9x39_SP5_VSS_M",
"CUP_10Rnd_9x39_SP5_VSS_M",
"CUP_10Rnd_762x54_SVD_M"
];

_lmgAmmoPool = 
[
"CUP_200Rnd_TE4_Red_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Yellow_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Green_Tracer_556x45_M249",
"CUP_200Rnd_TE1_Red_Tracer_556x45_M249",
"CUP_100Rnd_TE4_Green_Tracer_556x45_M249",
"CUP_100Rnd_TE4_Red_Tracer_556x45_M249",
"CUP_100Rnd_TE4_Yellow_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Green_Tracer_556x45_L110A1",
"CUP_200Rnd_TE4_Red_Tracer_556x45_L110A1",
"CUP_200Rnd_TE4_Yellow_Tracer_556x45_L110A1",
"CUP_100Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M",
"CUP_100Rnd_TE4_LRT4_White_Tracer_762x51_Belt_M",
"CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Green_M",
"CUP_50Rnd_UK59_762x54R_Tracer"
];

_GrenadeLauncherAmmoPool = 
[
"CUP_6Rnd_HE_GP25_M",
"CUP_1Rnd_HE_GP25_M",
"CUP_IlumFlareWhite_GP25_M",
"CUP_IlumFlareRed_GP25_M",
"CUP_IlumFlareGreen_GP25_M",
"CUP_FlareWhite_GP25_M",
"CUP_FlareGreen_GP25_M",
"CUP_FlareRed_GP25_M",
"CUP_FlareYellow_GP25_M",
"CUP_1Rnd_SMOKE_GP25_M",
"CUP_1Rnd_SmokeRed_GP25_M",
"CUP_1Rnd_SmokeGreen_GP25_M",
"CUP_1Rnd_SmokeYellow_GP25_M",
"CUP_6Rnd_HE_M203",
"CUP_6Rnd_FlareWhite_M203",
"CUP_6Rnd_FlareGreen_M203",
"CUP_6Rnd_FlareRed_M203",
"CUP_6Rnd_FlareYellow_M203",
"CUP_6Rnd_Smoke_M203",
"CUP_6Rnd_SmokeRed_M203",
"CUP_6Rnd_SmokeGreen_M203",
"CUP_6Rnd_SmokeYellow_M203",
"CUP_1Rnd_StarCluster_White_M203",
"CUP_1Rnd_StarCluster_Red_M203",
"CUP_1Rnd_StarCluster_Green_M203",
"CUP_1Rnd_StarFlare_White_M203",
"CUP_1Rnd_StarFlare_Red_M203",
"CUP_1Rnd_StarFlare_Green_M203",
"CUP_1Rnd_HE_M203",
"CUP_1Rnd_HEDP_M203",
"CUP_FlareWhite_M203",
"CUP_FlareGreen_M203",
"CUP_FlareRed_M203",
"CUP_FlareYellow_M203",
"CUP_1Rnd_Smoke_M203",
"CUP_1Rnd_SmokeRed_M203",
"CUP_1Rnd_SmokeGreen_M203",
"CUP_1Rnd_SmokeYellow_M203"
];

_rocketLauncherAmmoPool = 
[
"CUP_Javelin_M",
"CUP_Stinger_M",
"CUP_Igla_M",
"CUP_M136_M",
"CUP_Dragon_EP1_M",
"CUP_MAAWS_HEAT_M",
"CUP_MAAWS_HEDP_M",
"CUP_AT13_M",
"CUP_SMAW_HEAA_M",
"CUP_SMAW_HEDP_M",
"CUP_SMAW_Spotting",
"CUP_NLAW_M",
"CUP_PG7V_M",
"CUP_PG7VM_M",
"CUP_PG7VL_M",
"CUP_PG7VR_M",
"CUP_TBG7V_M",
"CUP_OG7_M",
"CUP_RPG18_M",
"CUP_Strela_2_M"
];

/*	------------------------------------------------------------------------------------------
	DO NOT EDIT BELOW HERE!
	------------------------------------------------------------------------------------------	*/
if (isServer) then {

_unit = _this select 0;

//Remove previous equipment

removeUniform _unit;
removeHeadgear _unit;
removeGoggles _unit;
removeVest _unit;
removeBackpack _unit;
removeAllWeapons _unit;
removeAllAssignedItems _unit;
removeAllItems _unit;

//special states
/*
_unit action ["Surrender", this];
_unit Setcaptive true;
_unit enableFatigue false;
_unit setCustomAimCoef 0.90; 
_unit setUnitRecoilCoefficient 0.90;
_unit setAnimSpeedCoef 1.10; // Unit will play animations faster
_unit enablestamina false;
_unit setUnitTrait ["camouflageCoef",0.1];
_unit setUnitTrait ["audibleCoef", 0.1];
_unit setUnitTrait ['loadCoef',0.1];
_unit setUnitTrait ["Engineer",true];
_unit setUnitTrait ["medic",true];
_unit setUnitTrait ["explosiveSpecialist",false]; // _unit can deactivate mines
*/

//add random uniform to unit
_unit forceAddUniform (selectRandom _uniformPool);

//add random vest
if ((_vestProbability > random 99) || (_vestProbability == 100)) then
{
_unit addVest (selectRandom _vestPool);
};

//add random backpack
if ((_backpackProbability > random 99) || (_backpackProbability == 100)) then
{
_unit addBackpackGlobal (selectRandom _backpackPool);
};

//add random headgear
if ((_headGearProbability > random 99) || (_headGearProbability == 100)) then
{
_unit addHeadgear (selectRandom _headgearPool);
};

//add random goggles
if ((_gogglesProbability > random 99) || (_gogglesProbability == 100)) then
{
_unit addGoggles (selectRandom _gogglesPool);
};
	
//add random main weapon to unit
if ((_mainWeaponProbability > random 99) || (_mainWeaponProbability == 100)) then
{
_rndWeapon = selectRandom _weaponsPool;
_rndWeapon = [_unit, _rndWeapon, _magAmount] call BIS_fnc_addWeapon;
};

//add random side arm to unit
if ((_sideArmProbability > random 99) || (_sideArmProbability == 100)) then
{
_rndSideArm = selectRandom _sideArmsPool;
_rndSideArm = [_unit, _rndSideArm, _magSideArmAmount] call BIS_fnc_addWeapon;
};

//add random item to unit
if ((_itemProbability > random 99) || (_itemProbability == 100)) then
{
_rndItem = selectRandom _itemsPool;
_unit addItemToUniform _rndItem;
};

//add random consumable to unit
if ((_itemProbability > random 99) || (_itemProbability == 100)) then
{
_rndConsumable = selectRandom _ConsumablesPool;
_unit addItemToUniform _rndConsumable;
};

//add random grenades to unit
if ((_grenadeProbability > random 99) || (_grenadeProbability == 100)) then
{
_rndGrenade = selectRandom _grenadesPool;
_unit addMagazines ["_rndGrenade", _grenadeAmount];
};

//add random chance to be a doctor and extra health items to unit
if ((_doctorProbability > random 99) || (_doctorProbability == 100)) then
{
_unit addItem "FirstAidKit";
_unit addItem "FirstAidKit";
_unit addItem "FirstAidKit";
_unit setUnitTrait ["Medic",true];
};

//add random chance to be a doctor and extra health items to unit
if ((_mechanicProbability > random 99) || (_mechanicProbability == 100)) then
{
_unit addItem "ToolKit";
_unit addItem "rvg_tire";
_unit addItem "rvg_canisterFuel";
_unit setUnitTrait ["Engineer",true];
};

//add random chance to be a doctor and extra health items to unit
if ((_expSpecialistProbability > random 99) || (_expSpecialistProbability == 100)) then
{
_explosivesAmount = round (1 + random 1) ;//so you'll get enough Grenades
_unit addMagazines ["ClaymoreDirectionalMine_Remote_Mag", _explosivesAmount];
_unit addItem "rvg_Geiger";
_unit addMagazines ["APERSTripMine_Wire_Mag", _explosivesAmount];
_unit setUnitTrait ["Engineer",true];
};

//add random optics to unit's weapon
if ((_opticProbability > random 99) || (_opticProbability == 100)) then
{
	_unitPrimaryOptics = []; _unitPrimaryOptics = getArray (configFile >> "CfgWeapons" >> _unitPrimaryWeapon >> "WeaponSlotsInfo" >> "CowsSlot" >> "compatibleItems");
	//_unitPrimaryOptics = _unitPrimaryOptics - _opticsDisallow;
	if ((count _unitPrimaryOptics) >= 1) then
	{
		_unitPrimaryOptic = selectRandom _unitPrimaryOptics;
		_unit addPrimaryWeaponItem _unitPrimaryOptic;
	};
};

//add random optics to unit's weapon
if ((_muzzleProbability > random 99) || (_muzzleProbability == 100)) then
{
	_unitPrimaryMuzzles = []; _unitPrimaryMuzzles = getArray (configFile >> "CfgWeapons" >> _unitPrimaryWeapon >> "WeaponSlotsInfo" >> "MuzzleSlot" >> "compatibleItems");
	if ((count _unitPrimaryMuzzles) >= 1) then
	{
		_unitPrimaryMuzzle = selectRandom _unitPrimaryMuzzles;
		_unit addPrimaryWeaponItem _unitPrimaryMuzzle;
	};
};

//add random pointer to unit's weapon
if ((_pointerProbability > random 99) || (_pointerProbability == 100)) then
{
	_unitPrimaryPointers = []; _unitPrimaryPointers = getArray (configFile >> "CfgWeapons" >> _unitPrimaryWeapon >> "WeaponSlotsInfo" >> "PointerSlot" >> "compatibleItems");
	if ((count _unitPrimaryPointers) >= 1) then
	{
		_unitPrimaryPointer = selectRandom _unitPrimaryPointers;
		_unit addPrimaryWeaponItem _unitPrimaryPointer;
	};
};

//add random launcher to the unit
if ((_launcherProbability > random 99) || (_launcherProbability == 100)) then
{

	if (isNull (unitBackpack _unit)) then
	{
		_unitBackpack = selectRandom _backPacks;
		_unit addBackPack _unitBackpack;
	};
	_unitLauncherWeapon = selectRandom _launcherWeapons;
	_unitLauncherWeaponAdd = [_unit, _unitLauncherWeapon, _launcherMagazineAmount] call BIS_fnc_addWeapon;
};

};


 

 

Share this post


Link to post
Share on other sites
3 hours ago, LSValmont said:

 

Remove the zombie blacklist module, set the zombie spawn min distance from players to 50 and try again. 

I set Global max to 300,no blacklist, everything else default settings. 17 Zombies with 53 players on the server. I will try this tweak aswell but i think there must be a problem somewhere else :/

Share this post


Link to post
Share on other sites
28 minutes ago, PsG1988 said:

I set Global max to 300,no blacklist, everything else default settings. 17 Zombies with 53 players on the server. I will try this tweak aswell but i think there must be a problem somewhere else :/

 

Change the min distance in the default settings. Set it to 50 instead of the default 70.

 

Still, Haleks is your man for these kind of questions. I've too experienced the low zombie population but it has been fixed on my server for some reason even thou I have all modules on default settings. 

Share this post


Link to post
Share on other sites

Doing one of my "Survivors vs the Military" missions a player managed to steal this:

https://drive.google.com/open?id=1EnKLtGq2MjImY27fs2LMeyWICGq9Wzfk

 

Did a 10 hours session with 30 players yesterday and all the participants declared getting 60FPS+ for the whole session and also the best time they've had with Arma and it is all thanks to Ravage.

 

Thanks again!

  • Like 3

Share this post


Link to post
Share on other sites
12 minutes ago, LSValmont said:

Did a 10 hours session with 30 players yesterday and all the participants declared getting 60FPS+ for the whole session and also the best time they've had with Arma and it is all thanks to Ravage.

 

Thanks again!

 

What the name of your server? And which time zone? As i would be interested in playing.

  • Like 1

Share this post


Link to post
Share on other sites
2 minutes ago, R0adki11 said:

 

What the name of your server? And which time zone? As i would be interested in playing.

 

I will be sending you the details in a PM!

Share this post


Link to post
Share on other sites
20 hours ago, LSValmont said:

Error select: type object (Line 1477)

and then only this is in line 1477:

_unit = _this select 0;

how do you call/activate the above script? [aiunit] execvm "equip.sqf";? maybe you are passing a wrong argument when calling the script?

Share this post


Link to post
Share on other sites
1 hour ago, Vandeanson said:

how do you call/activate the above script? [aiunit] execvm "equip.sqf";? maybe you are passing a wrong argument when calling the script?

 

this execVM "scripts\randomunitequip.sqf";

 

From the unit's init in the Eden editor. 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×