Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- params
- [
- ['_unit',objNull,[objNull]]
- ];
- if (!local _unit) exitWith {};
- private _vestItems = vestItems _unit;
- private _backpackItems = backpackItems _unit;
- removeHeadgear _unit;
- _unit addHeadgear selectRandom
- [
- "YuE_Shapka1Ol",
- "YuE_Shapka1Bl",
- "YuE_6b7",
- "YuE_SH68",
- "YuE_Bandana_A",
- "YuE_Bandana_E",
- "YuE_Bandana_O",
- "rhs_6b26_digi",
- "rhs_6b26",
- "rhs_6b26_green",
- "rhs_6b27m_green",
- "rhs_6b27m_digi",
- "rhs_6b27m",
- "CUP_H_RUS_6B47_Summer",
- "CUP_H_RUS_6B47",
- "CUP_H_RUS_6B47_headset_goggles",
- "CUP_H_RUS_6B47_SF_headset",
- "CUP_H_RUS_6B47_SF_headset_black",
- "rhs_6b7_1m",
- "AGE_LSHZHC_Black",
- "AGE_LSHZHC_Black_C",
- "AGE_LSHZHC_Black_C_ATACS",
- "AGE_LSHZ_Black",
- "AGE_LSHZ_Black_C",
- "AGE_LSHZ_Black_C_Atacs",
- "AGE_LSHZ_Black_C_L",
- "AGE_LSHZ_Black_L",
- "AGE_LSHZ_Olive",
- "AGE_LSHZ_Olive_C",
- "AGE_LSHZ_Black_C_Atacs_L",
- "AGE_LSHZ_Olive_C_L",
- "AGE_LSHZ_Olive_L",
- "AGE_LSHZ_Painted",
- "AGE_LSHZ_Painted_L",
- "H_Cap_Bandanna_F",
- "rhs_fieldcap_digi2",
- "rhs_ssh68_2",
- "Skyline_HeadGear_Chapka_01_F",
- "Skyline_HeadGear_Chapka_02_F",
- "Skyline_HeadGear_Chapka_03_F",
- "rhs_beanie_green",
- "rhs_beanie"
- ];
- removeUniform _unit;
- _unit forceAddUniform selectRandom
- [
- "Skyline_Character_U_CivilB_04_F",
- "Skyline_Character_U_CivilB_07_F",
- "Skyline_Character_U_CivilE_01_F",
- "Skyline_Character_U_CivilE_02_F",
- "Skyline_Character_U_CivilE_03_F",
- "Skyline_Character_U_CivilE_04_F",
- "Skyline_Character_U_CivilE_06_F",
- "Skyline_Character_U_CivilE_07_F",
- "Skyline_Character_U_CivilC_01_F",
- "Skyline_Character_U_CivilC_02_F",
- "Skyline_Character_U_CivilC_03_F",
- "Skyline_Character_U_CivilC_04_F",
- "Skyline_Character_U_CivilC_05_F",
- "Skyline_Character_U_CivilC_06_F",
- "Skyline_Character_U_CivilC_07_F",
- "wfr_U_O_R_Gorka_01_black_F",
- "YuE_Sumrak_ataks",
- "YuE_Sumrak_kneepads_ataks",
- "YuE_Sumrak_kneepads_right_ataks",
- "YuE_Sumrak_kneepads_elbows_ataks",
- "YuE_Sumrak_gloves_ataks",
- "YuE_Sumrak_gloves_kneepads_ataks",
- "YuE_Sumrak_gloves_kneepads_right_ataks",
- "YuE_Sumrak_berezka",
- "YuE_Sumrak_kneepads_berezka",
- "YuE_Sumrak_kneepads_right_berezka",
- "YuE_Sumrak_kneepads_elbows_berezka",
- "YuE_Sumrak_gloves_berezka",
- "YuE_Sumrak_emp",
- "YuE_Sumrak_kneepads_emp",
- "YuE_Sumrak_kneepads_right_emp",
- "YuE_Sumrak_kneepads_elbows_emp",
- "YuE_Sumrak_gloves_emp",
- "YuE_Sumrak_gloves_kneepads_emp",
- "YuE_Sumrak_gloves_kneepads_right_emp",
- "YuE_Sumrak_gloves_kneepads_elbows_emp",
- "CUP_U_O_RUS_Soldier_Reversible_Suit_6Sh122_Summer_1",
- "CUP_U_O_RUS_Soldier_Reversible_Suit_6Sh122_Summer_2",
- "CUP_U_O_RUS_Soldier_Reversible_Suit_6Sh122_Summer_3",
- "CUP_U_O_RUS_Soldier_Reversible_Suit_6Sh122_Summer_4",
- "wfr_U_O_R_Gorka_01_camo_F",
- "wfr_U_O_R_Gorka_01_brown_F",
- "wfr_U_O_R_Gorka_01_F",
- "CUP_U_O_RUS_Soldier_VKPO_Summer_1",
- "CUP_U_O_RUS_Soldier_VKPO_Summer_2",
- "CUP_U_O_RUS_Soldier_VKPO_Summer_3",
- "CUP_U_O_RUS_Soldier_VKPO_Summer_4",
- "CUP_U_O_RUS_Soldier_VKPO_Rolled_Summer_1",
- "CUP_U_O_RUS_Soldier_VKPO_Rolled_Summer_2",
- "CUP_U_O_RUS_Soldier_VKPO_Rolled_Summer_3",
- "CUP_U_O_RUS_Soldier_VKPO_Rolled_Summer_4",
- "U_WFR_VOIN_FG_p",
- "U_WFR_VOIN_FG_p_glov",
- "U_WFR_VOIN_FG",
- "U_WFR_VOIN_FG_glov",
- "U_WFR_VOIN_jacket_FG_p",
- "U_WFR_VOIN_jacket_FG_p_glov",
- "U_WFR_VOIN_jacket_FG",
- "U_WFR_VOIN_jacket_FG_glov",
- "U_WFR_VOIN_jacket_G_FG_p",
- "U_WFR_VOIN_jacket_G_FG_p_glov",
- "U_WFR_VOIN_jacket_G_FG",
- "U_WFR_VOIN_jacket_G_FG_glov",
- "U_WFR_VOIN_EMR_p",
- "U_WFR_VOIN_EMR_p_glov",
- "U_WFR_VOIN_EMR",
- "U_WFR_VOIN_EMR_glov",
- "U_WFR_VOIN_jacket_EMR_p",
- "U_WFR_VOIN_jacket_EMR_p_glov",
- "U_WFR_VOIN_jacket_EMR",
- "U_WFR_VOIN_jacket_EMR_glov",
- "U_WFR_VOIN_jacket_G_EMR_p",
- "U_WFR_VOIN_jacket_G_EMR_p_glov",
- "U_WFR_VOIN_jacket_G_EMR",
- "U_WFR_VOIN_jacket_G_EMR_glov",
- "U_WFR_VOIN_VKPO_p",
- "U_WFR_VOIN_VKPO_p_glov",
- "U_WFR_VOIN_VKPO",
- "U_WFR_VOIN_VKPO_glov",
- "U_WFR_VOIN_jacket_VKPO_p",
- "U_WFR_VOIN_jacket_VKPO_p_glov",
- "U_WFR_VOIN_jacket_VKPO",
- "U_WFR_VOIN_jacket_VKPO_glov",
- "U_WFR_VOIN_jacket_G_VKPO_p",
- "U_WFR_VOIN_jacket_G_VKPO_p_glov",
- "U_WFR_VOIN_jacket_G_VKPO",
- "U_WFR_VOIN_jacket_G_VKPO_glov",
- "JAM_U_Suit_KZS_Down_spets",
- "U_simc_swetr1_suka",
- "U_simc_swetr1_simc_trop",
- "U_simc_swetr1_floyd_trop",
- "U_simc_swetr1_ninamori",
- "U_simc_swetr1_ua_trop",
- "UK3CB_CHC_C_U_COACH_01",
- "UK3CB_CHC_C_U_COACH_02",
- "UK3CB_CHC_C_U_COACH_03",
- "UK3CB_CHC_C_U_COACH_04",
- "UK3CB_CHC_C_U_COACH_05",
- "U_simc_civ_jean_grun",
- "U_simc_civ_jean_blau_dunkel",
- "U_Simc_bdu_civ",
- "Yue_Spec_Gorka_EMP_EAST_Uniform",
- "Yue_Spec_Gorka_p_EMP_EAST_Uniform",
- "Yue_Spec_Gorka_EMP_nkl_EAST_Uniform",
- "Yue_Spec_Gorka_p_EMP_nkl_EAST_Uniform",
- "Yue_Spec_Gorka_p_EMP_nkl_nlk_EAST_Uniform",
- "Yue_Spec_Gorka_EMP_nkl_nlk_EAST_Uniform",
- "USP_G3F_RGR",
- "USP_G3F_MX_RGR"
- ];
- removeVest _unit;
- _unit addVest selectRandom
- [
- "YuE_6b23_6sh92EMPFl",
- "YuE_6b23EMP_Pioneer_EMP",
- "YuE_6b23EMP_Pioneer_F",
- "YuE_6b23EMP_Tarzan_G",
- "YuE_6b23EMP_Tarzan_W",
- "YuE_6b23_SAK_EMPe",
- "YuE_6b23_SAK_EMPf",
- "YuE_6b23_SAK_EMPa",
- "CUP_V_O_RUS_6B45_SPP_AK_Med_Summer",
- "CUP_V_O_RUS_6B45_SPP_AK_Radio_Summer",
- "CUP_V_O_RUS_6B45_SPP_AK_Med_Radio_Summer",
- "AGE_WAS_Special_MultiCam_Light",
- "AGE_WAS_Special_Holster_MultiCam",
- "AGE_WAS_Special_MultiCam",
- "AGE_WAS_SpecialV3_Holster_MultiCam",
- "AGE_WAS_SpecialV2_Holster_MultiCam",
- "AGE_WAS_Medium_AK_Holster_MultiCam",
- "AGE_WAS_Medium_AK_MultiCam",
- "AGE_WAS_Light_AK_Holster_MultiCam",
- "AGE_WAS_Light_AK_MultiCam",
- "AGE_WAS_LightV2_AK_Holster_MultiCam",
- "AGE_WAS_Heavy_AK_Holster_MultiCam",
- "AGE_WAS_Heavy_AK_HolsterV2_MultiCam",
- "AGE_WAS_Heavy_AK_MultiCam",
- "AGE_WAS_AK_Holster_MultiCam",
- "AGE_WAS_AK_MultiCam",
- "AGE_TV110_SL_Holster_MultiCam",
- "AGE_TV110_AK_Holster_MultiCam",
- "AGE_TV110_AK_MultiCam",
- "AGE_TV110_AK_Flora_Holster_2",
- "AGE_TV110_AK_Flora_Holster",
- "AGE_TV110_AK_Flora",
- "AGE_TV110_AK_Holster_Coyote",
- "AGE_TV110_AK_Coyote",
- "AGE_TV110_AK_Holster_Black",
- "AGE_TV110_AK_Black"
- ];
- removeBackpack _unit;
- if (typeOf _unit in ['WFR_AT_O','O_Soldier_GL_F','','','','','','']) then
- {
- _unit addBackpack selectRandom
- [
- "YuE_Ataka2EMP",
- "YuE_Ataka2A",
- "YuE_Ataka2Gr",
- "Skyline_Backpack_Montagne_04_F",
- "CUP_B_RUS_Raid_bag_Summer",
- "rhs_tortila_emr"
- ];
- {_unit addItemToBackpack _x} forEach _backpackItems;
- }
- else
- {
- _unit addBackpack selectRandom
- [
- "YuE_RD54EMP",
- "MonklodeLite",
- "B_CivilianBackpack_01_Sport_Blue_F",
- "B_CivilianBackpack_01_Sport_Red_F",
- "B_CivilianBackpack_01_Sport_Green_F",
- "Skyline_Backpack_Ecole_03_F",
- "Skyline_Backpack_Ecole_02_F",
- "Skyline_Backpack_Ecole_01_F",
- "rhs_sidor",
- "rhs_sidor2",
- "rhs_sidor3",
- "rhs_rk_sht_30_olive",
- "rhs_rk_sht_30_emr",
- "Skyline_Backpack_Sac_a_dos_01_F",
- "Skyline_Backpack_Sac_a_dos_02_F",
- "Skyline_Backpack_Sac_a_dos_03_F",
- "Skyline_Backpack_Sac_a_dos_04_F",
- "CUP_O_RUS_Patrol_bag_Summer_Shovel",
- "CUP_O_RUS_Patrol_bag_Summer",
- "CUP_O_RUS_Patrol_bag_Green_Shovel",
- "CUP_O_RUS_Patrol_bag_Green",
- "B_CivilianBackpack_01_Everyday_Black_F",
- "Skyline_Backpack_Chasse_01_F",
- "YuE_6sh92rFl"
- ];
- {_unit addItemToBackpack _x} forEach _backpackItems;
- };
- removeGoggles _unit;
- _unit addGoggles selectRandom
- [
- "gm_headgear_foliage_summer_forest_01",
- "gm_headgear_foliage_summer_forest_02",
- "gm_headgear_foliage_summer_forest_03",
- "gm_headgear_foliage_summer_forest_04",
- "gm_headgear_foliage_summer_grass_01",
- "gm_headgear_foliage_summer_grass_02",
- "gm_headgear_foliage_summer_grass_03",
- "gm_headgear_foliage_summer_grass_04",
- "G_Balaclava_oli_lxWS",
- "G_Balaclava_snd_lxWS",
- "G_Balaclava_blk_lxWS",
- "G_Balaclava_blk",
- "CUP_G_RUS_Ratnik_Balaclava_EMR_Summer_1",
- "gm_headgear_foliage_summer_forest_01",
- "CUP_G_RUS_Ratnik_Balaclava_EMR_Summer_2",
- "CUP_G_RUS_Ratnik_Balaclava_Green_1",
- "CUP_G_RUS_Ratnik_Balaclava_Green_2",
- "CUP_G_RUS_Ratnik_Balaclava_Winter_Green_1",
- "CUP_G_RUS_Ratnik_Balaclava_Winter_Green_2",
- "Skyline_Glasses_Masque_GP5_01_F",
- "G_Bandanna_blk",
- "G_Bandanna_khk",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
- ];
- _unit linkItem "Armband_White_XL_NVG";
- if (handgunWeapon _unit isNotEqualTo "") then
- {
- if (_unit canAddItemToVest "vn_m_vc_knife_01") then
- {
- _unit addItemToVest "vn_m_vc_knife_01";
- }
- else
- {
- _unit addItemToBackpack "vn_m_vc_knife_01";
- };
- }
- else
- {
- _unit addWeapon "vn_m_vc_knife_01"
- };
- if (typeOf _unit in ["O_Soldier_GL_F","O_sniper_F"]) then
- {
- _unit addItemToBackpack "rhs_weap_aks74u";
- _unit addItemToBackpack "wfr_ammo_545x39_pack";
- _unit addItemToBackpack "wfr_ammo_545x39_pack";
- }
- else
- {
- _unit removeWeapon (primaryWeapon _unit);
- };
- switch (typeOf _unit) do
- {
- case "O_sniper_F":
- {
- private _wpn = selectRandom
- [
- "VTN_SV98",
- "LTF_DVL10",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
- ];
- };
- default
- {
- if (selectRandom [true,false]) then
- {
- private _mag = selectRandom
- [
- 'wfr_545x397n6_30_12',
- 'wfr_545x397n6_30_12',
- 'wfr_545x397n6_30_12',
- 'wfr_545x397n6_30_12',
- 'wfr_545x397n6_30_12',
- 'wfr_545x397n6_30_12',
- 'wfr_545x397n6_30_bak',
- 'wfr_545x397N6_30',
- 'wfr_545x397n6_30_camow',
- 'wfr_545x397n6_30_wdl',
- 'wfr_545x397n6_30_des',
- 'wfr_545x397n6_30_camod',
- 'wfr_545x397n6_30_plum'
- ];
- _unit addMagazine _mag;
- _unit addWeapon selectRandom
- [
- "CUP_arifle_AKS74_top_rail",
- "rhs_weap_aks74n_npz",
- "rhs_weap_aks74u",
- "rhs_weap_ak74n_npz",
- "CUP_arifle_AK74_top_rail",
- "CUP_arifle_AK74M_top_rail",
- "CUP_arifle_AK74M_railed_afg",
- "CUP_arifle_AK74M_railed",
- "CUP_arifle_AK74M_top_rail_camo",
- "CUP_arifle_AK74M_railed_camo",
- "CUP_arifle_AK74M_railed_afg_camo",
- "CUP_arifle_AK74M_top_rail_desert",
- "CUP_arifle_AK74M_railed_afg_desert",
- "CUP_arifle_AK74M_railed_desert",
- "AK74M_B30_B31C_CTR_RVG",
- "AK74M_B30_B31C_CTR_RVG_camo",
- "AK74M_B30_B31C_CTR_RVG_camoA",
- "NMG_weapons_ak12_22",
- "CUP_arifle_AK12_black",
- "CUP_arifle_AK12_VG_black",
- "CUP_arifle_AK12_AFG_black",
- "CUP_arifle_AK12_lush",
- "CUP_arifle_AK12_VG_lush",
- "CUP_arifle_AK12_AFG_lush",
- "CUP_arifle_AK12_AFG_arid",
- "CUP_arifle_AK12_VG_arid",
- "CUP_arifle_AK12_arid",
- "CUP_arifle_AK12_VG_arid",
- "CUP_arifle_AK12_AFG_arid",
- "CUP_arifle_AK12_AFG_wood",
- "CUP_arifle_AK12_VG_wood",
- "CUP_arifle_AK12_wood",
- "CUP_arifle_AK12_tan",
- "CUP_arifle_AK12_VG_tan",
- "CUP_arifle_AK12_AFG_tan",
- "CUP_arifle_AK12_AFG_bicolor",
- "CUP_arifle_AK12_VG_bicolor",
- "CUP_arifle_AK12_bicolor",
- "CUP_arifle_AK107_railed",
- "rhs_weap_ak105_zenitco01_b33",
- "AK105_B30_B31C_CTR_AFG",
- "AK105_B30_B31C_CTR_AFG_camoA",
- "AK105_B30_B31C_CTR_AFG_tan",
- "AK105_B30_B31C_CTR_AFG_camo"
- ];
- _unit addItemToBackpack "wfr_ammo_545x39_pack";
- _unit addItemToBackpack "wfr_ammo_545x39_pack";
- _unit addItemToBackpack "wfr_ammo_545x39_pack";
- _unit addItemToBackpack "wfr_ammo_545x39_pack";
- if (isPlayer _unit) then
- {
- _unit addPrimaryWeaponItem selectRandom
- [
- "rhs_acc_dtk", "rhs_acc_dtk1", "rhs_acc_dtk2", "rhs_acc_dtk3", "rhs_acc_dtk1983", "rhs_acc_dtk", "rhs_acc_dtk1", "rhs_acc_dtk2", "rhs_acc_dtk3", "rhs_acc_dtk1983", "rhs_acc_dtk", "rhs_acc_dtk1", "rhs_acc_dtk2", "rhs_acc_dtk3", "rhs_acc_dtk1983", "rhs_acc_dtk", "rhs_acc_dtk1", "rhs_acc_dtk2", "rhs_acc_dtk3", "rhs_acc_dtk1983", "rhs_acc_dtk", "rhs_acc_dtk1", "rhs_acc_dtk2", "rhs_acc_dtk3", "rhs_acc_dtk1983",
- "silencer_hybrid_46",
- "silencer_hybrid_46_camo",
- "silencer_hybrid_46_camoa",
- "nmg_silence_dtk_gexagonak",
- "cup_muzzle_snds_kzrzp_ak545_woodland",
- "cup_muzzle_snds_kzrzp_ak545",
- "cup_muzzle_snds_kzrzp_ak545_desert",
- "nmg_silence_pbs_rpk16",
- "cup_muzzle_mfsup_flashhider_545x39_od", "cup_muzzle_mfsup_flashhider_545x39_tan", "cup_muzzle_mfsup_flashhider_545x39_black", "cup_muzzle_mfsup_flashhider_545x39_od", "cup_muzzle_mfsup_flashhider_545x39_tan", "cup_muzzle_mfsup_flashhider_545x39_black", "cup_muzzle_mfsup_flashhider_545x39_od", "cup_muzzle_mfsup_flashhider_545x39_tan", "cup_muzzle_mfsup_flashhider_545x39_black", "cup_muzzle_mfsup_flashhider_545x39_od", "cup_muzzle_mfsup_flashhider_545x39_tan", "cup_muzzle_mfsup_flashhider_545x39_black", "cup_muzzle_mfsup_flashhider_545x39_od", "cup_muzzle_mfsup_flashhider_545x39_tan", "cup_muzzle_mfsup_flashhider_545x39_black"
- ];
- };
- _unit addItemToVest _mag;
- _unit addItemToVest _mag;
- _unit addItemToVest _mag;
- _unit addItemToVest _mag;
- _unit addItemToVest _mag;
- }
- else
- {
- private _mag = selectRandom
- [
- 'wfr_762x39_30_bak',
- 'wfr_762x39_30_od',
- 'wfr_762x39_30_tan',
- 'wfr_762x39_30_des',
- 'wfr_762x39_30',
- 'wfr_762x39_30_pol'
- ];
- _unit addMagazine _mag;
- _unit addWeapon selectRandom
- [
- "rhs_weap_akm_zenitco01_b33",
- "CUP_arifle_AKMN_railed",
- "CUP_arifle_AKMN_railed_desert",
- "CUP_arifle_AKMN_railed_afg",
- "CUP_arifle_AKMN_railed_afg_desert",
- "CUP_arifle_AKMS_top_rail",
- "CUP_arifle_AKM_top_rail",
- "rhs_weap_ak104_zenitco01_b33",
- "AK104_B30_B31C_CTR_AFG",
- "AK104_B30_B31C_CTR_AFG_camoA",
- "AK104_B30_B31C_CTR_AFG_tan",
- "AK104_B30_B31C_CTR_AFG_camo",
- "CUP_arifle_AK103_top_rail",
- "rhs_weap_ak103_zenitco01_b33",
- "AK103_B30_B31C_CTR_RVG",
- "AK103_B30_B31C_CTR_RVG_camoA",
- "AK103_B30_B31C_CTR_RVG_camo"
- ];
- _unit addItemToBackpack "wfr_ammo_545x39_pack";
- _unit addItemToBackpack "wfr_ammo_545x39_pack";
- _unit addItemToBackpack "wfr_ammo_545x39_pack";
- _unit addItemToBackpack "wfr_ammo_545x39_pack";
- if (isPlayer _unit) then
- {
- _unit addPrimaryWeaponItem selectRandom
- [
- "rhs_acc_dtk", "rhs_acc_dtk1", "rhs_acc_dtk2", "rhs_acc_dtk3", "rhs_acc_dtk1983", "rhs_acc_dtk", "rhs_acc_dtk1", "rhs_acc_dtk2", "rhs_acc_dtk3", "rhs_acc_dtk1983", "rhs_acc_dtk", "rhs_acc_dtk1", "rhs_acc_dtk2", "rhs_acc_dtk3", "rhs_acc_dtk1983", "rhs_acc_dtk", "rhs_acc_dtk1", "rhs_acc_dtk2", "rhs_acc_dtk3", "rhs_acc_dtk1983", "rhs_acc_dtk", "rhs_acc_dtk1", "rhs_acc_dtk2", "rhs_acc_dtk3", "rhs_acc_dtk1983",
- "silencer_hybrid_46",
- "silencer_hybrid_46_camo",
- "silencer_hybrid_46_camoa",
- "nmg_silence_dtk_gexagonak"
- ];
- };
- _unit addItemToVest _mag;
- _unit addItemToVest _mag;
- _unit addItemToVest _mag;
- _unit addItemToVest _mag;
- _unit addItemToVest _mag;
- }
- };
- };
- _unit selectWeapon (primaryWeapon _unit);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement