Apollo wrote:
Yes, we intend to restrict the kit available on the public server and are waiting for Cpl. Alexander to prepare his
Fixed Arsenal Mod for us to use.
I'd like to restrict down to Blufor kit only and no thermal scopes.
I'm less favourable to restricting kit based on role - it would be a lot of work, people would just find ways around it, and I think one of the nice things about the public server is it's sandbox nature and allowing variety of choice within certain boundaries.
Private server missions are different of course - you get what you're given, by and large.
Balancing this is a lot of work but possible. In the past I did this for another server and it was pretty restrictive I would say.
1. Restrictions based on the avaible factions.You play as a german soldier (BW mod) and as American (RHS). So the equipment that was specific for a faction was restricted to those. So no US Uniform for the german roles etc.
2. Restrictions based on class.Relatively basic, but still a lot of work. Machinegunners were the only ones who had access to machine guns etc. This sounds simple but you gotta do a lot of finetuning here. To give you a small example, let me show you how much silly lines you had to place for a simple US Soldier.
Quote:
// ********************Bravo Soldaten******************************************************************************************************************************************************************************************
//SquadLeader****************************************************************************************************************************************************************************************************************
if (typeOf player == "rhsusf_army_ocp_squadleader") then {
//Primary
[box1,["rhs_weap_m16a4_carryhandle_pmag","rhs_weap_m16a4","rhs_weap_m16a4_carryhandle","rhs_weap_m16a4_grip","CUP_arifle_M16A4_GL","rhs_weap_m4","rhs_weap_m4_carryhandle","rhs_weap_m4_grip","rhs_m4_m320","CUP_arifle_M4A1","CUP_arifle_M4A1_black","CUP_arifle_M4A1_camo","CUP_arifle_M4A1_desert","CUP_arifle_M4A1_BUIS_GL","CUP_arifle_M4A1_BUIS_desert_GL","CUP_arifle_M4A1_BUIS_camo_GL","rhs_weap_m4a1","rhs_weap_m4a1_grip","rhs_m4a1_m320","CUP_arifle_Mk16_CQC","CUP_arifle_Mk16_CQC_EGLM","CUP_arifle_Mk16_CQC_FG","CUP_arifle_Mk16_CQC_SFG","CUP_arifle_Mk16_STD","CUP_arifle_Mk16_STD_EGLM","CUP_arifle_Mk16_STD_FG","CUP_arifle_Mk16_STD_SFG","CUP_arifle_Mk16_SV","CUP_arifle_Mk17_CQC","CUP_arifle_Mk17_CQC_EGLM","CUP_arifle_Mk17_CQC_FG","CUP_arifle_Mk17_CQC_SFG","CUP_arifle_Mk17_STD","CUP_arifle_Mk17_STD_EGLM","CUP_arifle_Mk17_STD_FG","CUP_arifle_Mk17_STD_SFG","arifle_Mk20_plain_F","arifle_Mk20_GL_plain_F","arifle_MX_GL_F","arifle_MX_GL_Black_F","arifle_MX_F","arifle_MX_Black_F","arifle_MXC_F","arifle_MXC_Black_F","rhs_weap_m4_grip2","rhs_weap_m4a1_grip2","rhs_weap_m4_carryhandle_pmag"],false,true] call BIS_fnc_addVirtualWeaponCargo;
//Launcher
[box1,["rhs_weap_M136","CUP_launch_M136","rhs_weap_M136_hedp","rhs_weap_M136_hp"],false,true] call BIS_fnc_addVirtualWeaponCargo;
//Handgun
[box1,["Binocular","hgun_Pistol_heavy_01_F","CUP_hgun_Glock17","CUP_hgun_Colt1911","CUP_hgun_M9","rhs_weap_pya","BWA3_P8","hgun_Pistol_heavy_02_F"],false,true] call BIS_fnc_addVirtualWeaponCargo;
//Items
[box1,["FirstAidKit","tf_anprc152","ItemMap"],false,true] call BIS_fnc_addVirtualItemCargo;
//NVG's
[box1,["NVGoggles_INDEP","NVGoggles_OPFOR","NVGoggles","rhsusf_ANPVS_14","rhsusf_ANPVS_15"],false,true] call BIS_fnc_addVirtualItemCargo;
//Facewear
[box1,["rhs_balaclava","G_Balaclava_blk","G_Balaclava_oli","G_Bandanna_blk","G_Bandanna_khk","G_Bandanna_oli","BWA3_G_Combat_Black","G_Combat","G_Tactical_Clear"],false,true] call BIS_fnc_addVirtualItemCargo;
//Uniform
[box1,["rhs_uniform_cu_ocp_patchless","rhs_uniform_cu_ucp_patchless","U_B_CombatUniform_mcam","rhs_uniform_cu_ocp","rhs_uniform_cu_ucp"],false,true] call BIS_fnc_addVirtualItemCargo;
//Veste
[box1,["V_PlateCarrier1_rgr","V_PlateCarrierSpec_rgr","rhsusf_iotv_ocp_Squadleader","rhsusf_iotv_ucp_Squadleader"],false,true] call BIS_fnc_addVirtualItemCargo;
//Headgear
[box1,["rhsusf_ach_bare","rhsusf_ach_bare_des","rhsusf_ach_bare_des_ess","rhsusf_ach_bare_des_headset","rhsusf_ach_bare_des_headset_ess","rhsusf_ach_bare_ess","rhsusf_ach_bare_headset","rhsusf_ach_bare_headset_ess","rhsusf_ach_bare_semi","rhsusf_ach_bare_semi_ess","rhsusf_ach_bare_semi_headset","rhsusf_ach_bare_semi_headset_ess","rhsusf_ach_bare_tan","rhsusf_ach_bare_tan_ess","rhsusf_ach_bare_tan_headset","rhsusf_ach_bare_tan_headset_ess","rhsusf_ach_bare_wood","rhsusf_ach_bare_wood_ess","rhsusf_ach_bare_wood_headset","rhsusf_ach_bare_wood_headset_ess","rhsusf_ach_helmet_M81","rhsusf_ach_helmet_ocp","rhsusf_ach_helmet_ESS_ocp","rhsusf_ach_helmet_headset_ocp","rhsusf_ach_helmet_headset_ess_ocp","rhsusf_ach_helmet_camo_ocp","rhsusf_ach_helmet_ucp","rhsusf_ach_helmet_ESS_ucp","rhsusf_ach_helmet_headset_ucp","rhsusf_ach_helmet_headset_ess_ucp","rhs_Booniehat_ocp","rhs_Booniehat_ucp","rhsusf_opscore_02","rhsusf_opscore_01","rhsusf_opscore_02_tan","rhsusf_opscore_01_tan","rhsusf_opscore_04_ocp","rhsusf_opscore_03_ocp","H_HelmetB_light_sand","H_HelmetB_light_snakeskin"],false,true] call BIS_fnc_addVirtualItemCargo;
//Backpack
[box1,["B_AssaultPack_cbr","B_AssaultPack","B_AssaultPack_cbr","B_AssaultPack_rgr","B_AssaultPack_mcamo","B_Carryall_cbr","B_Carryall_khk","B_Carryall_mcamo","B_Carryall_oli","CUP_B_ACRPara_m95","rhsusf_assault_eagleaiii_ocp","rhsusf_assault_eagleaiii_ucp","B_Kitbag_cbr","B_Kitbag_rgr","B_Kitbag_mcamo","tf_rt1523g","tf_rt1523g_big","tf_rt1523g_big_bwmod","tf_rt1523g_big_rhs","tf_rt1523g_black","tf_rt1523g_bwmod","tf_rt1523g_green","tf_rt1523g_rhs","tf_rt1523g_sage"],false,true] call BIS_fnc_addVirtualBackpackCargo;
//Attachments
[box1,["muzzle_snds_acp","optic_MRD","optic_MRCO","optic_DMS","optic_Holosight","optic_Aco","optic_Aco_smg","BWA3_optic_Aimpoint","optic_Arco","optic_Hamr","BWA3_optic_RSAS","BWA3_optic_20x50","BWA3_optic_20x50_NSV","BWA3_optic_Shortdot","optic_SOS","optic_tws","optic_tws_mg","BWA3_optic_24x72","BWA3_optic_ZO4x30","BWA3_optic_ZO4x30_IRV","BWA3_optic_ZO4x30_NSV","CUP_optic_CWS","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_ElcanM145","CUP_optic_ELCAN_SpecterDR","CUP_optic_Eotech533Grey","CUP_optic_Eotech533","CUP_optic_HoloDesert","CUP_optic_HoloBlack","CUP_optic_HoloWdl","CUP_optic_LeupoldMk4_10x40_LRT_Desert","CUP_optic_LeupoldMk4_10x40_LRT_Woodland","CUP_optic_LeupoldM3LR","CUP_optic_LeupoldMk4","CUP_optic_LeupoldMk4_CQ_T","CUP_optic_LeupoldMk4_MRT_tan","CUP_optic_Leupold_VX3","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","CUP_optic_RCO_desert","CUP_optic_ACOG","CUP_optic_TrijiconRx01_black","CUP_optic_TrijiconRx01_desert","rhsusf_acc_LEUPOLDMK4_2","rhsusf_acc_ELCAN","rhsusf_acc_ACOG","rhsusf_acc_ACOG2","rhsusf_acc_ACOG3","rhsusf_acc_compm4","acc_flashlight","acc_pointer_IR","BWA3_acc_LLM01_flash","BWA3_acc_LLM01_irlaser","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_XM8_light_module","rhsusf_acc_anpeq15","rhsusf_acc_anpeq15A","muzzle_snds_H","BWA3_muzzle_snds_G28","BWA3_muzzle_snds_G36","CUP_muzzle_snds_G36_black","CUP_muzzle_snds_G36_desert","CUP_muzzle_snds_AWM","CUP_muzzle_snds_L85","CUP_muzzle_snds_M110","muzzle_snds_B","CUP_muzzle_snds_M16","CUP_muzzle_snds_M16_camo","muzzle_snds_H_MG","CUP_muzzle_snds_G36_black","CUP_muzzle_snds_G36_desert","BWA3_muzzle_snds_MG4","BWA3_muzzle_snds_MG5","CUP_muzzle_mfsup_SCAR_L","CUP_muzzle_snds_SCAR_L","CUP_muzzle_mfsup_SCAR_H","CUP_muzzle_snds_SCAR_H","muzzle_snds_M","muzzle_snds_L","rhsusf_acc_anpeq15_light"],false,true] call BIS_fnc_addVirtualItemCargo;
//Magazine und Granaten
[box1,true,false,true] call BIS_fnc_addVirtualMagazineCargo;
comment "Remove existing items";
removeAllWeapons player;
removeAllItems player;
removeAllAssignedItems player;
removeUniform player;
removeVest player;
removeBackpack player;
removeHeadgear player;
removeGoggles player;
comment "Add containers";
player forceAddUniform "rhs_uniform_cu_ocp_patchless";
comment "Add items";
player linkItem "ItemMap";
player linkItem "ItemCompass";
player linkItem "ItemWatch";
player linkItem "ItemGPS";
};
So what I basically did was taking everything from the players away on spawn via script, put them in the right and empty uniform. After that they had access to the stuff listed via the arsenal.