Joedapro 2 Posted September 13, 2019 I need a easier way to spawn random units instead of individually pulling all classes from the in game editor and pasting it while adding quotations and commas like this: ["B_mas_med_Army_ENG_F", "B_mas_med_Army_EXP_F", "B_mas_med_Army_GL_F",]. I want to use a script that when called it will pull a random unit from a given side of a given type (infantry, land, air) and spawn them in a group. The group will be filled with random units. I also want it to pull units from mods that I download. I dont want to have to keep updating the script every time I download another unit mod. The mod MMC sandbox has no problem in doing this but I dont know how they did it. Share this post Link to post Share on other sites
killzone_kid 1331 Posted September 13, 2019 2 hours ago, Joedapro said: I dont know how they did it. You can always open up the mod and have a look at the source Share this post Link to post Share on other sites
Larrow 2822 Posted September 13, 2019 A very basic example of sorting CfgVehicles by side and type. Code Spoiler // [ // //East // [ // [], //MEN // [], //CARS // [], //TANKS // [], //HELICOPTERS // [], //PLANES // [], //SHIPS // [] //STATIC WEAPONS // ], // //WEST // [] // //etc // ] _data = [ [ [], [], [], [], [], [], [] ], //EAST [ [], [], [], [], [], [], [] ], //WEST [ [], [], [], [], [], [], [] ], //INDEPENDENT [ [], [], [], [], [], [], [] ] //CIVILIAN ]; { if ( getNumber( _x >> "scope" ) isEqualTo 2 ) then { _index = switch ( true ) do { case ( configName _x isKindOf "CAManBase" ) : { 0 }; case ( configName _x isKindOf "Car_F" ) : { 1 }; case ( configName _x isKindOf "Tank" ) : { 2 }; case ( configName _x isKindOf "Helicopter" ) : { 3 }; case ( configName _x isKindOf "Plane" ) : { 4 }; case ( configName _x isKindOf "Ship" ) : { 5 }; case ( configName _x isKindOf "StaticWeapon" ) : { 6 }; default{ -1 }; }; if ( _index > -1 ) then { _side = getNumber( _x >> "side" ); if ( _side in [ 0, 1, 2, 3 ] ) then { _data select _side select _index pushBack configName _x; }; }; }; }forEach ( "true" configClasses( configFile >> "CfgVehicles" )); //Code below this set of comments just makes the data readable //If not needed then just uncomment... //copyToClipboard str _data //And delete everything from here on _RETURN = [ 13, 10 ]; _TAB = [ 09 ]; _output = ""; _tabIndent = 0; _fnc_addTabs = { params[ "_numTabs" ]; _tabs = ""; for "_i" from 1 to _numTabs do { _tabs = formatText[ "%1%2", _tabs, toString _TAB ]; }; _tabs }; _fnc_output = { params[ "_array", "_isLast" ]; _tabs = [ _tabIndent ] call _fnc_addTabs; _output = formatText[ "%1%2%3[%2", _output, toString _RETURN, _tabs ]; _tabIndent = _tabIndent + 1; { if ( _x isEqualType [] ) then { [ _x, _forEachIndex isEqualTo ( count _array - 1 ) ] call _fnc_output; }else{ _tabs = [ _tabIndent ] call _fnc_addTabs; _output = formatText[ "%1%2%3%4%5", _output, toString _RETURN, _tabs, str _x, [ "", "," ] select ( _forEachIndex < ( count _array - 1 )) ]; }; }forEach _array; _tabIndent = _tabIndent - 1; _tabs = [ _tabIndent ] call _fnc_addTabs; _output = formatText[ "%1%2%3]%4", _output, toString _RETURN, _tabs, [ "", "," ] select !_isLast ]; }; [ _data, true ] call _fnc_output; copyToClipboard str _output A3 vanilla output Spoiler [ [ [ "O_G_Soldier_F", "O_G_Soldier_lite_F", "O_G_Soldier_SL_F", "O_G_Soldier_TL_F", "O_G_Soldier_AR_F", "O_G_medic_F", "O_G_engineer_F", "O_G_Soldier_exp_F", "O_G_Soldier_GL_F", "O_G_Soldier_M_F", "O_G_Soldier_LAT_F", "O_G_Soldier_A_F", "O_G_officer_F", "O_G_Soldier_unarmed_F", "O_G_Survivor_F", "O_Soldier_F", "O_officer_F", "O_Soldier_lite_F", "O_Soldier_GL_F", "O_Soldier_AR_F", "O_Soldier_SL_F", "O_Soldier_TL_F", "O_soldier_M_F", "O_Soldier_LAT_F", "O_medic_F", "O_soldier_repair_F", "O_soldier_exp_F", "O_helipilot_F", "O_Soldier_A_F", "O_Soldier_AT_F", "O_Soldier_AA_F", "O_engineer_F", "O_crew_F", "O_Pilot_F", "O_helicrew_F", "O_soldier_PG_F", "O_Story_Colonel_F", "O_Story_CEO_F", "O_soldier_UAV_F", "O_Survivor_F", "O_Soldier_unarmed_F", "O_diver_F", "O_diver_TL_F", "O_diver_exp_F", "O_spotter_F", "O_sniper_F", "O_recon_F", "O_recon_M_F", "O_recon_LAT_F", "O_recon_medic_F", "O_recon_exp_F", "O_recon_JTAC_F", "O_recon_TL_F", "O_Soldier_AAR_F", "O_Soldier_AAT_F", "O_Soldier_AAA_F", "O_support_MG_F", "O_support_GMG_F", "O_support_Mort_F", "O_support_AMG_F", "O_support_AMort_F", "O_soldierU_F", "O_soldierU_AR_F", "O_soldierU_AAR_F", "O_soldierU_LAT_F", "O_soldierU_AT_F", "O_soldierU_AAT_F", "O_soldierU_AA_F", "O_soldierU_AAA_F", "O_soldierU_TL_F", "O_SoldierU_SL_F", "O_soldierU_medic_F", "O_soldierU_repair_F", "O_soldierU_exp_F", "O_engineer_U_F", "O_soldierU_M_F", "O_soldierU_A_F", "O_SoldierU_GL_F", "O_SoldierU_unarmed_F", "O_Soldier_VR_F", "O_Protagonist_VR_F", "O_ghillie_lsh_F", "O_ghillie_sard_F", "O_ghillie_ard_F", "O_Sharpshooter_F", "O_Urban_Sharpshooter_F", "O_Pathfinder_F", "O_HeavyGunner_F", "O_Urban_HeavyGunner_F", "O_G_Sharpshooter_F", "O_T_Soldier_A_F", "O_T_Soldier_AAR_F", "O_T_Support_AMG_F", "O_T_Support_AMort_F", "O_T_Soldier_AAA_F", "O_T_Soldier_AAT_F", "O_T_Soldier_AR_F", "O_T_Medic_F", "O_T_Crew_F", "O_T_Engineer_F", "O_T_Soldier_Exp_F", "O_T_Soldier_GL_F", "O_T_Support_GMG_F", "O_T_Support_MG_F", "O_T_Support_Mort_F", "O_T_Helicrew_F", "O_T_Helipilot_F", "O_T_Soldier_M_F", "O_T_Soldier_AA_F", "O_T_Soldier_AT_F", "O_T_Officer_F", "O_T_Soldier_PG_F", "O_T_Pilot_F", "O_T_Soldier_Repair_F", "O_T_Soldier_F", "O_T_Soldier_LAT_F", "O_T_Soldier_SL_F", "O_T_Soldier_TL_F", "O_T_Soldier_UAV_F", "O_T_Diver_F", "O_T_Diver_Exp_F", "O_T_Diver_TL_F", "O_T_Recon_Exp_F", "O_T_Recon_JTAC_F", "O_T_Recon_M_F", "O_T_Recon_Medic_F", "O_T_Recon_F", "O_T_Recon_LAT_F", "O_T_Recon_TL_F", "O_T_Sniper_F", "O_T_Spotter_F", "O_T_ghillie_tna_F", "O_T_Soldier_unarmed_F", "O_V_Soldier_hex_F", "O_V_Soldier_TL_hex_F", "O_V_Soldier_Exp_hex_F", "O_V_Soldier_Medic_hex_F", "O_V_Soldier_M_hex_F", "O_V_Soldier_LAT_hex_F", "O_V_Soldier_JTAC_hex_F", "O_V_Soldier_ghex_F", "O_V_Soldier_TL_ghex_F", "O_V_Soldier_Exp_ghex_F", "O_V_Soldier_Medic_ghex_F", "O_V_Soldier_M_ghex_F", "O_V_Soldier_LAT_ghex_F", "O_V_Soldier_JTAC_ghex_F", "O_Fighter_Pilot_F", "O_soldier_UAV_06_F", "O_soldier_UAV_06_medical_F", "O_T_soldier_UAV_06_F", "O_T_soldier_UAV_06_medical_F", "O_soldier_mine_F", "O_T_soldier_mine_F", "O_A_soldier_F", "O_A_soldier_TL_F", "O_G_Soldier_LAT2_F", "O_Soldier_HAT_F", "O_T_Soldier_HAT_F", "O_Soldier_AHAT_F", "O_T_Soldier_AHAT_F", "O_R_Soldier_TL_F", "O_R_Soldier_GL_F", "O_R_soldier_exp_F", "O_R_Soldier_AR_F", "O_R_soldier_M_F", "O_R_medic_F", "O_R_Soldier_LAT_F", "O_R_JTAC_F", "O_R_recon_TL_F", "O_R_recon_exp_F", "O_R_recon_AR_F", "O_R_recon_M_F", "O_R_recon_medic_F", "O_R_recon_GL_F", "O_R_recon_LAT_F", "O_R_recon_JTAC_F", "O_R_Patrol_Soldier_TL_F", "O_R_Patrol_Soldier_AR_F", "O_R_Patrol_Soldier_AR2_F", "O_R_Patrol_Soldier_GL_F", "O_R_Patrol_Soldier_A_F", "O_R_Patrol_Soldier_M_F", "O_R_Patrol_Soldier_M2_F", "O_R_Patrol_Soldier_Medic", "O_R_Patrol_Soldier_Engineer_F", "O_R_Patrol_Soldier_LAT_F" ], [ "O_MRAP_02_F", "O_MRAP_02_hmg_F", "O_MRAP_02_gmg_F", "O_G_Offroad_01_repair_F", "O_G_Offroad_01_F", "O_G_Offroad_01_armed_F", "O_G_Offroad_01_AT_F", "O_Quadbike_01_F", "O_G_Quadbike_01_F", "O_Truck_02_covered_F", "O_Truck_02_transport_F", "O_Truck_02_box_F", "O_Truck_02_medical_F", "O_Truck_02_Ammo_F", "O_Truck_02_fuel_F", "O_G_Van_01_transport_F", "O_G_Van_01_fuel_F", "O_APC_Wheeled_02_rcws_v2_F", "O_UGV_01_F", "O_UGV_01_rcws_F", "O_Truck_03_transport_F", "O_Truck_03_covered_F", "O_Truck_03_repair_F", "O_Truck_03_ammo_F", "O_Truck_03_fuel_F", "O_Truck_03_medical_F", "O_Truck_03_device_F", "O_T_LSV_02_armed_F", "O_T_LSV_02_unarmed_F", "O_T_LSV_02_AT_F", "O_LSV_02_armed_F", "O_LSV_02_unarmed_F", "O_LSV_02_AT_F", "O_T_MRAP_02_ghex_F", "O_T_MRAP_02_hmg_ghex_F", "O_T_MRAP_02_gmg_ghex_F", "O_T_Quadbike_01_ghex_F", "O_T_Truck_02_F", "O_T_Truck_02_transport_F", "O_T_Truck_02_fuel_F", "O_T_Truck_02_Ammo_F", "O_T_Truck_02_Box_F", "O_T_Truck_02_Medical_F", "O_T_Truck_03_transport_ghex_F", "O_T_Truck_03_covered_ghex_F", "O_T_Truck_03_repair_ghex_F", "O_T_Truck_03_ammo_ghex_F", "O_T_Truck_03_fuel_ghex_F", "O_T_Truck_03_medical_ghex_F", "O_T_Truck_03_device_ghex_F", "O_T_UGV_01_ghex_F", "O_T_UGV_01_rcws_ghex_F", "O_T_APC_Wheeled_02_rcws_v2_ghex_F", "O_G_Van_02_transport_F", "O_G_Van_02_vehicle_F" ], [ "O_APC_Tracked_02_cannon_F", "O_APC_Tracked_02_AA_F", "O_MBT_02_cannon_F", "O_MBT_02_arty_F", "O_T_APC_Tracked_02_cannon_ghex_F", "O_T_APC_Tracked_02_AA_ghex_F", "O_T_MBT_02_cannon_ghex_F", "O_T_MBT_02_arty_ghex_F", "O_MBT_04_cannon_F", "O_T_MBT_04_cannon_F", "O_MBT_04_command_F", "O_T_MBT_04_command_F", "O_UGV_02_Science_F", "O_UGV_02_Demining_F" ], [ "O_Heli_Light_02_dynamicLoadout_F", "O_Heli_Light_02_unarmed_F", "O_Heli_Attack_02_dynamicLoadout_F", "O_UAV_01_F", "O_Heli_Transport_04_F", "O_Heli_Transport_04_ammo_F", "O_Heli_Transport_04_bench_F", "O_Heli_Transport_04_box_F", "O_Heli_Transport_04_covered_F", "O_Heli_Transport_04_fuel_F", "O_Heli_Transport_04_medevac_F", "O_Heli_Transport_04_repair_F", "O_UAV_06_F", "O_UAV_06_medical_F" ], [ "O_Plane_CAS_02_dynamicLoadout_F", "O_UAV_02_dynamicLoadout_F", "O_T_UAV_04_CAS_F", "O_T_VTOL_02_infantry_dynamicLoadout_F", "O_T_VTOL_02_vehicle_dynamicLoadout_F", "O_Plane_Fighter_02_F", "O_Plane_Fighter_02_Stealth_F" ], [ "O_Boat_Armed_01_hmg_F", "O_Boat_Transport_01_F", "O_Lifeboat", "O_SDV_01_F", "O_G_Boat_Transport_01_F", "O_T_Boat_Armed_01_hmg_F", "O_T_Boat_Transport_01_F", "O_T_Lifeboat" ], [ "O_HMG_01_F", "O_HMG_01_high_F", "O_HMG_01_A_F", "O_GMG_01_F", "O_GMG_01_high_F", "O_GMG_01_A_F", "O_Mortar_01_F", "O_G_Mortar_01_F", "O_static_AA_F", "O_static_AT_F", "Land_Pod_Heli_Transport_04_bench_F", "Land_Pod_Heli_Transport_04_covered_F", "Land_Pod_Heli_Transport_04_medevac_F", "O_Static_Designator_02_F", "O_Radar_System_02_F", "O_SAM_System_04_F" ] ], [ [ "B_Soldier_F", "B_RangeMaster_F", "B_Soldier_lite_F", "B_Soldier_GL_F", "B_soldier_AR_F", "B_Soldier_SL_F", "B_Soldier_TL_F", "B_soldier_M_F", "B_soldier_LAT_F", "B_medic_F", "B_soldier_repair_F", "B_soldier_exp_F", "B_Helipilot_F", "B_Soldier_A_F", "B_soldier_AT_F", "B_soldier_AA_F", "B_engineer_F", "B_crew_F", "B_officer_F", "B_Competitor_F", "B_Pilot_F", "B_helicrew_F", "B_soldier_PG_F", "B_soldier_UAV_F", "B_Survivor_F", "B_Soldier_unarmed_F", "B_diver_F", "B_diver_TL_F", "B_diver_exp_F", "B_recon_F", "B_recon_LAT_F", "B_recon_exp_F", "B_recon_medic_F", "B_recon_TL_F", "B_recon_M_F", "B_recon_JTAC_F", "B_spotter_F", "B_sniper_F", "B_Story_SF_Captain_F", "B_Story_Protagonist_F", "B_Story_Pilot_F", "B_CTRG_soldier_GL_LAT_F", "B_CTRG_soldier_engineer_exp_F", "B_CTRG_soldier_M_medic_F", "B_CTRG_soldier_AR_A_F", "B_soldier_AAR_F", "B_soldier_AAT_F", "B_soldier_AAA_F", "B_support_MG_F", "B_support_GMG_F", "B_support_Mort_F", "B_support_AMG_F", "B_support_AMort_F", "B_G_Soldier_F", "B_G_Soldier_lite_F", "B_G_Soldier_SL_F", "B_G_Soldier_TL_F", "B_G_Soldier_AR_F", "B_G_medic_F", "B_G_engineer_F", "B_G_Soldier_exp_F", "B_G_Soldier_GL_F", "B_G_Soldier_M_F", "B_G_Soldier_LAT_F", "B_G_Soldier_A_F", "B_G_officer_F", "B_G_Soldier_unarmed_F", "B_G_Survivor_F", "I_G_Story_Protagonist_F", "I_G_Story_SF_Captain_F", "I_G_resistanceLeader_F", "B_Soldier_VR_F", "B_Protagonist_VR_F", "B_ghillie_lsh_F", "B_ghillie_sard_F", "B_ghillie_ard_F", "B_Sharpshooter_F", "B_Recon_Sharpshooter_F", "B_CTRG_Sharphooter_F", "B_HeavyGunner_F", "B_G_Sharpshooter_F", "B_Captain_Pettka_F", "B_Captain_Jay_F", "B_T_Soldier_A_F", "B_T_Soldier_AAR_F", "B_T_Support_AMG_F", "B_T_Support_AMort_F", "B_T_Soldier_AAA_F", "B_T_Soldier_AAT_F", "B_T_Soldier_AR_F", "B_T_Medic_F", "B_T_Crew_F", "B_T_Engineer_F", "B_T_Soldier_Exp_F", "B_T_Soldier_GL_F", "B_T_Support_GMG_F", "B_T_Support_MG_F", "B_T_Support_Mort_F", "B_T_Helicrew_F", "B_T_Helipilot_F", "B_T_soldier_M_F", "B_T_Soldier_AA_F", "B_T_Soldier_AT_F", "B_T_Officer_F", "B_T_Soldier_PG_F", "B_T_Pilot_F", "B_T_Soldier_Repair_F", "B_T_Soldier_F", "B_T_Soldier_LAT_F", "B_T_Soldier_SL_F", "B_T_Soldier_TL_F", "B_T_Soldier_UAV_F", "B_T_Diver_F", "B_T_Diver_Exp_F", "B_T_Diver_TL_F", "B_T_Recon_Exp_F", "B_T_Recon_JTAC_F", "B_T_Recon_M_F", "B_T_Recon_Medic_F", "B_T_Recon_F", "B_T_Recon_LAT_F", "B_T_Recon_TL_F", "B_T_Sniper_F", "B_T_Spotter_F", "B_T_ghillie_tna_F", "B_T_Soldier_unarmed_F", "B_CTRG_Soldier_TL_tna_F", "B_CTRG_Soldier_Exp_tna_F", "B_CTRG_Soldier_Medic_tna_F", "B_CTRG_Soldier_M_tna_F", "B_CTRG_Soldier_tna_F", "B_CTRG_Soldier_LAT_tna_F", "B_CTRG_Soldier_AR_tna_F", "B_CTRG_Soldier_JTAC_tna_F", "B_CTRG_Miller_F", "B_GEN_Soldier_F", "B_GEN_Commander_F", "B_Captain_Dwarden_F", "B_G_Captain_Ivan_F", "B_Deck_Crew_F", "B_Fighter_Pilot_F", "B_Patrol_Soldier_TL_F", "B_Patrol_Soldier_UAV_F", "B_Patrol_Soldier_M_F", "B_Patrol_Medic_F", "B_Patrol_Soldier_AR_F", "B_Patrol_Soldier_MG_F", "B_Patrol_HeavyGunner_F", "B_Patrol_Soldier_A_F", "B_Patrol_Soldier_AT_F", "B_Patrol_Engineer_F", "B_soldier_UAV_06_F", "B_soldier_UAV_06_medical_F", "B_T_soldier_UAV_06_F", "B_T_soldier_UAV_06_medical_F", "B_soldier_mine_F", "B_T_soldier_mine_F", "B_G_Story_Guerilla_01_F", "B_soldier_LAT2_F", "B_T_Soldier_LAT2_F", "B_CTRG_Soldier_LAT2_tna_F", "B_G_Soldier_LAT2_F", "B_W_Soldier_A_F", "B_W_Soldier_AAR_F", "B_W_Support_AMG_F", "B_W_Support_AMort_F", "B_W_Soldier_AAA_F", "B_W_Soldier_AAT_F", "B_W_Soldier_AR_F", "B_W_Medic_F", "B_W_Crew_F", "B_W_Engineer_F", "B_W_Soldier_Exp_F", "B_W_soldier_mine_F", "B_W_Soldier_GL_F", "B_W_Support_GMG_F", "B_W_Support_MG_F", "B_W_Support_Mort_F", "B_W_Helicrew_F", "B_W_Helipilot_F", "B_W_soldier_M_F", "B_W_Soldier_AA_F", "B_W_Soldier_AT_F", "B_W_Officer_F", "B_W_Soldier_Repair_F", "B_W_Soldier_F", "B_W_Soldier_LAT_F", "B_W_Soldier_LAT2_F", "B_W_Soldier_SL_F", "B_W_Soldier_TL_F", "B_W_Soldier_CBRN_F", "B_W_RadioOperator_F", "B_W_Survivor_F", "B_soldier_UGV_02_Science_F", "B_soldier_UGV_02_Demining_F", "B_W_Soldier_UAV_F", "B_W_soldier_UGV_02_Science_F", "B_W_soldier_UGV_02_Demining_F", "B_W_Soldier_unarmed_F" ], [ "B_MRAP_01_F", "B_MRAP_01_gmg_F", "B_MRAP_01_hmg_F", "B_G_Offroad_01_repair_F", "B_G_Offroad_01_F", "B_G_Offroad_01_armed_F", "B_G_Offroad_01_AT_F", "B_Quadbike_01_F", "B_G_Quadbike_01_F", "B_Truck_01_transport_F", "B_Truck_01_covered_F", "B_Truck_01_mover_F", "B_Truck_01_box_F", "B_Truck_01_Repair_F", "B_Truck_01_ammo_F", "B_Truck_01_fuel_F", "B_Truck_01_medical_F", "B_G_Van_01_transport_F", "B_G_Van_01_fuel_F", "B_APC_Wheeled_01_cannon_F", "B_UGV_01_F", "B_UGV_01_rcws_F", "B_T_LSV_01_armed_F", "B_T_LSV_01_AT_F", "B_T_LSV_01_unarmed_F", "B_LSV_01_armed_F", "B_LSV_01_AT_F", "B_LSV_01_unarmed_F", "B_CTRG_LSV_01_light_F", "B_T_MRAP_01_F", "B_T_MRAP_01_gmg_F", "B_T_MRAP_01_hmg_F", "B_GEN_Offroad_01_gen_F", "B_T_Quadbike_01_F", "B_T_Truck_01_transport_F", "B_T_Truck_01_covered_F", "B_T_Truck_01_mover_F", "B_T_Truck_01_box_F", "B_T_Truck_01_Repair_F", "B_T_Truck_01_ammo_F", "B_T_Truck_01_fuel_F", "B_T_Truck_01_medical_F", "B_T_UGV_01_olive_F", "B_T_UGV_01_rcws_olive_F", "B_T_APC_Wheeled_01_cannon_F", "B_G_Van_02_transport_F", "B_GEN_Van_02_transport_F", "B_G_Van_02_vehicle_F", "B_GEN_Van_02_vehicle_F", "B_AFV_Wheeled_01_cannon_F", "B_T_AFV_Wheeled_01_cannon_F", "B_AFV_Wheeled_01_up_cannon_F", "B_T_AFV_Wheeled_01_up_cannon_F", "B_GEN_Offroad_01_covered_F", "B_GEN_Offroad_01_comms_F", "B_Truck_01_flatbed_F", "B_T_Truck_01_flatbed_F", "B_Truck_01_cargo_F", "B_T_Truck_01_cargo_F" ], [ "B_APC_Tracked_01_rcws_F", "B_APC_Tracked_01_CRV_F", "B_APC_Tracked_01_AA_F", "B_MBT_01_cannon_F", "B_MBT_01_arty_F", "B_MBT_01_mlrs_F", "B_MBT_01_TUSK_F", "B_T_APC_Tracked_01_AA_F", "B_T_APC_Tracked_01_CRV_F", "B_T_APC_Tracked_01_rcws_F", "B_T_MBT_01_arty_F", "B_T_MBT_01_mlrs_F", "B_T_MBT_01_cannon_F", "B_T_MBT_01_TUSK_F", "B_UGV_02_Science_F", "B_UGV_02_Demining_F" ], [ "B_Heli_Light_01_F", "B_Heli_Light_01_dynamicLoadout_F", "B_Heli_Attack_01_dynamicLoadout_F", "B_Heli_Transport_01_F", "B_UAV_01_F", "B_Heli_Transport_03_F", "B_Heli_Transport_03_unarmed_F", "B_CTRG_Heli_Transport_01_sand_F", "B_CTRG_Heli_Transport_01_tropic_F", "B_T_UAV_03_dynamicLoadout_F", "B_UAV_06_F", "B_UAV_06_medical_F" ], [ "B_Plane_CAS_01_dynamicLoadout_F", "B_UAV_02_dynamicLoadout_F", "B_T_VTOL_01_infantry_F", "B_T_VTOL_01_vehicle_F", "B_T_VTOL_01_armed_F", "B_Plane_Fighter_01_F", "B_Plane_Fighter_01_Stealth_F", "B_UAV_05_F" ], [ "B_Boat_Armed_01_minigun_F", "B_Boat_Transport_01_F", "B_Lifeboat", "B_SDV_01_F", "B_G_Boat_Transport_01_F", "B_T_Boat_Armed_01_minigun_F", "B_T_Boat_Transport_01_F", "B_T_Lifeboat" ], [ "B_HMG_01_F", "B_HMG_01_high_F", "B_HMG_01_A_F", "B_GMG_01_F", "B_GMG_01_high_F", "B_GMG_01_A_F", "B_Mortar_01_F", "B_G_Mortar_01_F", "B_static_AA_F", "B_static_AT_F", "B_Static_Designator_01_F", "B_T_Static_AA_F", "B_T_Static_AT_F", "B_T_GMG_01_F", "B_T_HMG_01_F", "B_T_Mortar_01_F", "B_AAA_System_01_F", "B_SAM_System_01_F", "B_SAM_System_02_F", "B_Ship_Gun_01_F", "B_Ship_MRLS_01_F", "B_W_Static_Designator_01_F", "B_Radar_System_01_F", "B_SAM_System_03_F" ] ], [ [ "I_G_Soldier_F", "I_G_Soldier_lite_F", "I_G_Soldier_SL_F", "I_G_Soldier_TL_F", "I_G_Soldier_AR_F", "I_G_medic_F", "I_G_engineer_F", "I_G_Soldier_exp_F", "I_G_Soldier_GL_F", "I_G_Soldier_M_F", "I_G_Soldier_LAT_F", "I_G_Soldier_A_F", "I_G_officer_F", "I_G_Soldier_unarmed_F", "I_G_Survivor_F", "I_soldier_F", "I_Soldier_lite_F", "I_Soldier_A_F", "I_Soldier_GL_F", "I_Soldier_AR_F", "I_Soldier_SL_F", "I_Soldier_TL_F", "I_Soldier_M_F", "I_Soldier_LAT_F", "I_Soldier_AT_F", "I_Soldier_AA_F", "I_medic_F", "I_Soldier_repair_F", "I_Soldier_exp_F", "I_engineer_F", "I_crew_F", "I_helipilot_F", "I_pilot_F", "I_helicrew_F", "I_officer_F", "I_Story_Colonel_F", "I_soldier_UAV_F", "I_Survivor_F", "I_Soldier_unarmed_F", "I_diver_F", "I_diver_exp_F", "I_diver_TL_F", "I_Spotter_F", "I_Sniper_F", "I_Soldier_AAR_F", "I_Soldier_AAT_F", "I_Soldier_AAA_F", "I_support_MG_F", "I_support_GMG_F", "I_support_Mort_F", "I_support_AMG_F", "I_support_AMort_F", "I_Soldier_VR_F", "I_Protagonist_VR_F", "I_ghillie_lsh_F", "I_ghillie_sard_F", "I_ghillie_ard_F", "I_G_Sharpshooter_F", "I_Captain_Hladas_F", "I_C_Soldier_Para_1_F", "I_C_Soldier_Para_2_F", "I_C_Soldier_Para_3_F", "I_C_Soldier_Para_4_F", "I_C_Soldier_Para_5_F", "I_C_Soldier_Para_6_F", "I_C_Soldier_Para_7_F", "I_C_Soldier_Para_8_F", "I_C_Soldier_Bandit_1_F", "I_C_Soldier_Bandit_2_F", "I_C_Soldier_Bandit_3_F", "I_C_Soldier_Bandit_4_F", "I_C_Soldier_Bandit_5_F", "I_C_Soldier_Bandit_6_F", "I_C_Soldier_Bandit_7_F", "I_C_Soldier_Bandit_8_F", "I_C_Soldier_Camo_F", "I_C_Pilot_F", "I_C_Helipilot_F", "I_C_Soldier_base_unarmed_F", "I_Fighter_Pilot_F", "I_soldier_UAV_06_F", "I_soldier_UAV_06_medical_F", "I_soldier_mine_F", "I_Story_Officer_01_F", "I_G_Soldier_LAT2_F", "I_Soldier_LAT2_F", "I_Story_Crew_F", "I_E_Soldier_F", "I_E_Soldier_unarmed_F", "I_E_Soldier_A_F", "I_E_Soldier_AAR_F", "I_E_Soldier_AR_F", "I_E_Soldier_lite_F", "I_E_Soldier_GL_F", "I_E_soldier_M_F", "I_E_Officer_F", "I_E_Soldier_SL_F", "I_E_Soldier_TL_F", "I_E_Survivor_F", "I_E_RadioOperator_F", "I_E_Soldier_AA_F", "I_E_Soldier_AT_F", "I_E_Soldier_LAT_F", "I_E_Soldier_LAT2_F", "I_E_Soldier_AAA_F", "I_E_Soldier_AAT_F", "I_E_Support_GMG_F", "I_E_Support_MG_F", "I_E_Support_Mort_F", "I_E_Support_AMG_F", "I_E_Support_AMort_F", "I_E_Soldier_Pathfinder_F", "I_E_Engineer_F", "I_E_Soldier_Exp_F", "I_E_soldier_Mine_F", "I_E_Soldier_Repair_F", "I_E_Soldier_CBRN_F", "I_E_Scientist_F", "I_E_Scientist_Unarmed_F", "I_E_Medic_F", "I_E_Soldier_MP_F", "I_E_Crew_F", "I_E_Helipilot_F", "I_E_Helicrew_F", "I_E_Soldier_UAV_F", "I_E_soldier_UAV_06_F", "I_E_soldier_UAV_06_medical_F", "I_E_soldier_UGV_02_Science_F", "I_E_soldier_UGV_02_Demining_F", "I_L_Looter_Pistol_F", "I_L_Looter_SG_F", "I_L_Looter_Rifle_F", "I_L_Looter_SMG_F", "I_L_Criminal_SG_F", "I_L_Criminal_SMG_F", "I_L_Hunter_F" ], [ "I_G_Offroad_01_repair_F", "I_G_Offroad_01_F", "I_G_Offroad_01_AT_F", "I_G_Offroad_01_armed_F", "I_Quadbike_01_F", "I_G_Quadbike_01_F", "I_MRAP_03_F", "I_MRAP_03_hmg_F", "I_MRAP_03_gmg_F", "I_Truck_02_covered_F", "I_Truck_02_transport_F", "I_Truck_02_ammo_F", "I_Truck_02_box_F", "I_Truck_02_medical_F", "I_Truck_02_fuel_F", "I_Truck_02_MRL_F", "I_G_Van_01_transport_F", "I_G_Van_01_fuel_F", "I_APC_Wheeled_03_cannon_F", "I_UGV_01_F", "I_UGV_01_rcws_F", "I_C_Offroad_02_unarmed_F", "I_C_Offroad_02_LMG_F", "I_C_Offroad_02_AT_F", "I_C_Van_01_transport_F", "I_G_Van_02_transport_F", "I_C_Van_02_transport_F", "I_G_Van_02_vehicle_F", "I_C_Van_02_vehicle_F", "I_E_Offroad_01_F", "I_E_Offroad_01_covered_F", "I_E_Offroad_01_comms_F", "I_E_Quadbike_01_F", "I_E_Truck_02_F", "I_E_Truck_02_transport_F", "I_E_Truck_02_fuel_F", "I_E_Truck_02_Ammo_F", "I_E_Truck_02_Box_F", "I_E_Truck_02_Medical_F", "I_E_Truck_02_MRL_F", "I_E_UGV_01_F", "I_E_UGV_01_rcws_F", "I_E_Van_02_vehicle_F", "I_E_Van_02_transport_F", "I_E_Van_02_transport_MP_F", "I_E_Van_02_medevac_F" ], [ "I_APC_tracked_03_cannon_F", "I_MBT_03_cannon_F", "I_LT_01_AT_F", "I_LT_01_scout_F", "I_LT_01_AA_F", "I_LT_01_cannon_F", "I_UGV_02_Science_F", "I_E_UGV_02_Science_F", "I_UGV_02_Demining_F", "I_E_UGV_02_Demining_F", "I_E_APC_tracked_03_cannon_F" ], [ "I_Heli_Transport_02_F", "I_Heli_light_03_dynamicLoadout_F", "I_Heli_light_03_unarmed_F", "I_UAV_01_F", "I_C_Heli_Light_01_civil_F", "I_UAV_06_F", "I_UAV_06_medical_F", "I_E_Heli_light_03_dynamicLoadout_F", "I_E_Heli_light_03_unarmed_F", "I_E_UAV_01_F", "I_E_UAV_06_F", "I_E_UAV_06_medical_F" ], [ "I_Plane_Fighter_03_dynamicLoadout_F", "I_UAV_02_dynamicLoadout_F", "I_C_Plane_Civil_01_F", "I_Plane_Fighter_04_F" ], [ "I_Boat_Armed_01_minigun_F", "I_Boat_Transport_01_F", "I_SDV_01_F", "I_G_Boat_Transport_01_F", "I_C_Boat_Transport_01_F", "I_C_Boat_Transport_02_F" ], [ "I_HMG_01_F", "I_HMG_01_high_F", "I_HMG_01_A_F", "I_GMG_01_F", "I_GMG_01_high_F", "I_GMG_01_A_F", "I_Mortar_01_F", "I_G_Mortar_01_F", "I_static_AA_F", "I_static_AT_F", "I_E_Static_AA_F", "I_E_Static_AT_F", "I_E_GMG_01_F", "I_E_GMG_01_high_F", "I_E_GMG_01_A_F", "I_E_HMG_01_F", "I_E_HMG_01_high_F", "I_E_HMG_01_A_F", "I_E_Mortar_01_F", "I_E_Radar_System_01_F", "I_E_SAM_System_03_F" ] ], [ [ "C_man_1", "C_man_1_1_F", "C_man_1_2_F", "C_man_1_3_F", "C_man_polo_1_F", "C_man_polo_1_F_afro", "C_man_polo_1_F_euro", "C_man_polo_1_F_asia", "C_man_polo_2_F", "C_man_polo_2_F_afro", "C_man_polo_2_F_euro", "C_man_polo_2_F_asia", "C_man_polo_3_F", "C_man_polo_3_F_afro", "C_man_polo_3_F_euro", "C_man_polo_3_F_asia", "C_man_polo_4_F", "C_man_polo_4_F_afro", "C_man_polo_4_F_euro", "C_man_polo_4_F_asia", "C_man_polo_5_F", "C_man_polo_5_F_afro", "C_man_polo_5_F_euro", "C_man_polo_5_F_asia", "C_man_polo_6_F", "C_man_polo_6_F_afro", "C_man_polo_6_F_euro", "C_man_polo_6_F_asia", "C_man_p_fugitive_F", "C_man_p_fugitive_F_afro", "C_man_p_fugitive_F_euro", "C_man_p_fugitive_F_asia", "C_man_p_beggar_F", "C_man_p_beggar_F_afro", "C_man_p_beggar_F_euro", "C_man_p_beggar_F_asia", "C_man_w_worker_F", "C_scientist_F", "C_man_hunter_1_F", "C_man_p_shorts_1_F", "C_man_p_shorts_1_F_afro", "C_man_p_shorts_1_F_euro", "C_man_p_shorts_1_F_asia", "C_man_shorts_1_F", "C_man_shorts_1_F_afro", "C_man_shorts_1_F_euro", "C_man_shorts_1_F_asia", "C_man_shorts_2_F", "C_man_shorts_2_F_afro", "C_man_shorts_2_F_euro", "C_man_shorts_2_F_asia", "C_man_shorts_3_F", "C_man_shorts_3_F_afro", "C_man_shorts_3_F_euro", "C_man_shorts_3_F_asia", "C_man_shorts_4_F", "C_man_shorts_4_F_afro", "C_man_shorts_4_F_euro", "C_man_shorts_4_F_asia", "C_man_pilot_F", "C_journalist_F", "C_Orestes", "C_Nikos", "C_Nikos_aged", "C_Driver_1_F", "C_Driver_2_F", "C_Driver_3_F", "C_Driver_4_F", "C_Marshal_F", "C_Soldier_VR_F", "C_Protagonist_VR_F", "C_man_sport_1_F", "C_man_sport_1_F_afro", "C_man_sport_1_F_euro", "C_man_sport_1_F_asia", "C_man_sport_1_F_tanoan", "C_man_sport_2_F", "C_man_sport_2_F_afro", "C_man_sport_2_F_euro", "C_man_sport_2_F_asia", "C_man_sport_2_F_tanoan", "C_man_sport_3_F", "C_man_sport_3_F_afro", "C_man_sport_3_F_euro", "C_man_sport_3_F_asia", "C_man_sport_3_F_tanoan", "C_Man_casual_1_F", "C_Man_casual_1_F_afro", "C_Man_casual_1_F_euro", "C_Man_casual_1_F_asia", "C_Man_casual_1_F_tanoan", "C_Man_casual_2_F", "C_Man_casual_2_F_afro", "C_Man_casual_2_F_euro", "C_Man_casual_2_F_asia", "C_Man_casual_2_F_tanoan", "C_Man_casual_3_F", "C_Man_casual_3_F_afro", "C_Man_casual_3_F_euro", "C_Man_casual_3_F_asia", "C_Man_casual_3_F_tanoan", "C_Man_casual_4_F", "C_Man_casual_4_F_afro", "C_Man_casual_4_F_euro", "C_Man_casual_4_F_asia", "C_Man_casual_4_F_tanoan", "C_Man_casual_5_F", "C_Man_casual_5_F_afro", "C_Man_casual_5_F_euro", "C_Man_casual_5_F_asia", "C_Man_casual_5_F_tanoan", "C_Man_casual_6_F", "C_Man_casual_6_F_afro", "C_Man_casual_6_F_euro", "C_Man_casual_6_F_asia", "C_Man_casual_6_F_tanoan", "C_IDAP_Man_AidWorker_01_F", "C_IDAP_Man_AidWorker_02_F", "C_IDAP_Man_AidWorker_03_F", "C_IDAP_Man_AidWorker_04_F", "C_IDAP_Man_AidWorker_05_F", "C_IDAP_Man_AidWorker_06_F", "C_IDAP_Man_AidWorker_07_F", "C_IDAP_Man_AidWorker_08_F", "C_IDAP_Man_AidWorker_09_F", "C_Man_ConstructionWorker_01_Red_F", "C_Man_ConstructionWorker_01_Vrana_F", "C_Man_ConstructionWorker_01_Black_F", "C_Man_ConstructionWorker_01_Blue_F", "C_Man_Paramedic_01_F", "C_IDAP_Man_Paramedic_01_F", "C_IDAP_Pilot_01_F", "C_Journalist_01_War_F", "C_Man_UtilityWorker_01_F", "C_IDAP_Man_EOD_01_F", "C_IDAP_Man_UAV_01_F", "C_IDAP_Man_UAV_06_F", "C_IDAP_Man_UAV_06_medical_F", "C_IDAP_Man_UAV_06_antimine_F", "C_Man_UAV_06_F", "C_Man_UAV_06_medical_F", "C_Man_Fisherman_01_F", "C_Man_Messenger_01_F", "C_Story_EOD_01_F", "C_Story_Mechanic_01_F", "C_scientist_01_formal_F", "C_scientist_02_formal_F", "C_scientist_01_informal_F", "C_scientist_02_informal_F", "C_Man_1_enoch_F", "C_Man_2_enoch_F", "C_Man_3_enoch_F", "C_Man_4_enoch_F", "C_Man_5_enoch_F", "C_Man_6_enoch_F", "C_Farmer_01_enoch_F" ], [ "C_Offroad_01_F", "C_Offroad_01_repair_F", "C_Quadbike_01_F", "C_Truck_02_covered_F", "C_Truck_02_transport_F", "C_Hatchback_01_F", "C_Hatchback_01_sport_F", "C_SUV_01_F", "C_Truck_02_fuel_F", "C_Truck_02_box_F", "C_Van_01_transport_F", "C_Van_01_box_F", "C_Van_01_fuel_F", "C_Kart_01_F", "C_Kart_01_Fuel_F", "C_Kart_01_Blu_F", "C_Kart_01_Red_F", "C_Kart_01_Vrana_F", "C_Offroad_02_unarmed_F", "C_IDAP_Offroad_01_F", "C_IDAP_Offroad_02_unarmed_F", "C_IDAP_Truck_02_F", "C_IDAP_Truck_02_transport_F", "C_IDAP_Truck_02_water_F", "C_IDAP_UGV_01_F", "C_Van_02_transport_F", "C_IDAP_Van_02_transport_F", "C_Van_02_vehicle_F", "C_IDAP_Van_02_vehicle_F", "C_Van_02_medevac_F", "C_IDAP_Van_02_medevac_F", "C_Van_02_service_F", "C_Offroad_01_covered_F", "C_Offroad_01_comms_F", "C_Tractor_01_F" ], [ "C_IDAP_UGV_02_Demining_F" ], [ "C_Heli_Light_01_civil_F", "C_IDAP_Heli_Transport_02_F", "C_IDAP_UAV_01_F", "C_IDAP_UAV_06_F", "C_UAV_06_F", "C_IDAP_UAV_06_antimine_F", "C_IDAP_UAV_06_medical_F", "C_UAV_06_medical_F" ], [ "C_Plane_Civil_01_F", "C_Plane_Civil_01_racing_F" ], [ "C_Rubberboat", "C_Boat_Civil_01_F", "C_Boat_Civil_01_rescue_F", "C_Boat_Civil_01_police_F", "C_Boat_Transport_02_F", "C_Scooter_Transport_01_F" ], [ ] ] ] 1 Share this post Link to post Share on other sites
Joedapro 2 Posted September 14, 2019 20 hours ago, Larrow said: A very basic example of sorting CfgVehicles by side and type. Code Reveal hidden contents // [ // //East // [ // [], //MEN // [], //CARS // [], //TANKS // [], //HELICOPTERS // [], //PLANES // [], //SHIPS // [] //STATIC WEAPONS // ], // //WEST // [] // //etc // ] _data = [ [ [], [], [], [], [], [], [] ], //EAST [ [], [], [], [], [], [], [] ], //WEST [ [], [], [], [], [], [], [] ], //INDEPENDENT [ [], [], [], [], [], [], [] ] //CIVILIAN ]; { if ( getNumber( _x >> "scope" ) isEqualTo 2 ) then { _index = switch ( true ) do { case ( configName _x isKindOf "CAManBase" ) : { 0 }; case ( configName _x isKindOf "Car_F" ) : { 1 }; case ( configName _x isKindOf "Tank" ) : { 2 }; case ( configName _x isKindOf "Helicopter" ) : { 3 }; case ( configName _x isKindOf "Plane" ) : { 4 }; case ( configName _x isKindOf "Ship" ) : { 5 }; case ( configName _x isKindOf "StaticWeapon" ) : { 6 }; default{ -1 }; }; if ( _index > -1 ) then { _side = getNumber( _x >> "side" ); if ( _side in [ 0, 1, 2, 3 ] ) then { _data select _side select _index pushBack configName _x; }; }; }; }forEach ( "true" configClasses( configFile >> "CfgVehicles" )); //Code below this set of comments just makes the data readable //If not needed then just uncomment... //copyToClipboard str _data //And delete everything from here on _RETURN = [ 13, 10 ]; _TAB = [ 09 ]; _output = ""; _tabIndent = 0; _fnc_addTabs = { params[ "_numTabs" ]; _tabs = ""; for "_i" from 1 to _numTabs do { _tabs = formatText[ "%1%2", _tabs, toString _TAB ]; }; _tabs }; _fnc_output = { params[ "_array", "_isLast" ]; _tabs = [ _tabIndent ] call _fnc_addTabs; _output = formatText[ "%1%2%3[%2", _output, toString _RETURN, _tabs ]; _tabIndent = _tabIndent + 1; { if ( _x isEqualType [] ) then { [ _x, _forEachIndex isEqualTo ( count _array - 1 ) ] call _fnc_output; }else{ _tabs = [ _tabIndent ] call _fnc_addTabs; _output = formatText[ "%1%2%3%4%5", _output, toString _RETURN, _tabs, str _x, [ "", "," ] select ( _forEachIndex < ( count _array - 1 )) ]; }; }forEach _array; _tabIndent = _tabIndent - 1; _tabs = [ _tabIndent ] call _fnc_addTabs; _output = formatText[ "%1%2%3]%4", _output, toString _RETURN, _tabs, [ "", "," ] select !_isLast ]; }; [ _data, true ] call _fnc_output; copyToClipboard str _output A3 vanilla output Reveal hidden contents [ [ [ "O_G_Soldier_F", "O_G_Soldier_lite_F", "O_G_Soldier_SL_F", "O_G_Soldier_TL_F", "O_G_Soldier_AR_F", "O_G_medic_F", "O_G_engineer_F", "O_G_Soldier_exp_F", "O_G_Soldier_GL_F", "O_G_Soldier_M_F", "O_G_Soldier_LAT_F", "O_G_Soldier_A_F", "O_G_officer_F", "O_G_Soldier_unarmed_F", "O_G_Survivor_F", "O_Soldier_F", "O_officer_F", "O_Soldier_lite_F", "O_Soldier_GL_F", "O_Soldier_AR_F", "O_Soldier_SL_F", "O_Soldier_TL_F", "O_soldier_M_F", "O_Soldier_LAT_F", "O_medic_F", "O_soldier_repair_F", "O_soldier_exp_F", "O_helipilot_F", "O_Soldier_A_F", "O_Soldier_AT_F", "O_Soldier_AA_F", "O_engineer_F", "O_crew_F", "O_Pilot_F", "O_helicrew_F", "O_soldier_PG_F", "O_Story_Colonel_F", "O_Story_CEO_F", "O_soldier_UAV_F", "O_Survivor_F", "O_Soldier_unarmed_F", "O_diver_F", "O_diver_TL_F", "O_diver_exp_F", "O_spotter_F", "O_sniper_F", "O_recon_F", "O_recon_M_F", "O_recon_LAT_F", "O_recon_medic_F", "O_recon_exp_F", "O_recon_JTAC_F", "O_recon_TL_F", "O_Soldier_AAR_F", "O_Soldier_AAT_F", "O_Soldier_AAA_F", "O_support_MG_F", "O_support_GMG_F", "O_support_Mort_F", "O_support_AMG_F", "O_support_AMort_F", "O_soldierU_F", "O_soldierU_AR_F", "O_soldierU_AAR_F", "O_soldierU_LAT_F", "O_soldierU_AT_F", "O_soldierU_AAT_F", "O_soldierU_AA_F", "O_soldierU_AAA_F", "O_soldierU_TL_F", "O_SoldierU_SL_F", "O_soldierU_medic_F", "O_soldierU_repair_F", "O_soldierU_exp_F", "O_engineer_U_F", "O_soldierU_M_F", "O_soldierU_A_F", "O_SoldierU_GL_F", "O_SoldierU_unarmed_F", "O_Soldier_VR_F", "O_Protagonist_VR_F", "O_ghillie_lsh_F", "O_ghillie_sard_F", "O_ghillie_ard_F", "O_Sharpshooter_F", "O_Urban_Sharpshooter_F", "O_Pathfinder_F", "O_HeavyGunner_F", "O_Urban_HeavyGunner_F", "O_G_Sharpshooter_F", "O_T_Soldier_A_F", "O_T_Soldier_AAR_F", "O_T_Support_AMG_F", "O_T_Support_AMort_F", "O_T_Soldier_AAA_F", "O_T_Soldier_AAT_F", "O_T_Soldier_AR_F", "O_T_Medic_F", "O_T_Crew_F", "O_T_Engineer_F", "O_T_Soldier_Exp_F", "O_T_Soldier_GL_F", "O_T_Support_GMG_F", "O_T_Support_MG_F", "O_T_Support_Mort_F", "O_T_Helicrew_F", "O_T_Helipilot_F", "O_T_Soldier_M_F", "O_T_Soldier_AA_F", "O_T_Soldier_AT_F", "O_T_Officer_F", "O_T_Soldier_PG_F", "O_T_Pilot_F", "O_T_Soldier_Repair_F", "O_T_Soldier_F", "O_T_Soldier_LAT_F", "O_T_Soldier_SL_F", "O_T_Soldier_TL_F", "O_T_Soldier_UAV_F", "O_T_Diver_F", "O_T_Diver_Exp_F", "O_T_Diver_TL_F", "O_T_Recon_Exp_F", "O_T_Recon_JTAC_F", "O_T_Recon_M_F", "O_T_Recon_Medic_F", "O_T_Recon_F", "O_T_Recon_LAT_F", "O_T_Recon_TL_F", "O_T_Sniper_F", "O_T_Spotter_F", "O_T_ghillie_tna_F", "O_T_Soldier_unarmed_F", "O_V_Soldier_hex_F", "O_V_Soldier_TL_hex_F", "O_V_Soldier_Exp_hex_F", "O_V_Soldier_Medic_hex_F", "O_V_Soldier_M_hex_F", "O_V_Soldier_LAT_hex_F", "O_V_Soldier_JTAC_hex_F", "O_V_Soldier_ghex_F", "O_V_Soldier_TL_ghex_F", "O_V_Soldier_Exp_ghex_F", "O_V_Soldier_Medic_ghex_F", "O_V_Soldier_M_ghex_F", "O_V_Soldier_LAT_ghex_F", "O_V_Soldier_JTAC_ghex_F", "O_Fighter_Pilot_F", "O_soldier_UAV_06_F", "O_soldier_UAV_06_medical_F", "O_T_soldier_UAV_06_F", "O_T_soldier_UAV_06_medical_F", "O_soldier_mine_F", "O_T_soldier_mine_F", "O_A_soldier_F", "O_A_soldier_TL_F", "O_G_Soldier_LAT2_F", "O_Soldier_HAT_F", "O_T_Soldier_HAT_F", "O_Soldier_AHAT_F", "O_T_Soldier_AHAT_F", "O_R_Soldier_TL_F", "O_R_Soldier_GL_F", "O_R_soldier_exp_F", "O_R_Soldier_AR_F", "O_R_soldier_M_F", "O_R_medic_F", "O_R_Soldier_LAT_F", "O_R_JTAC_F", "O_R_recon_TL_F", "O_R_recon_exp_F", "O_R_recon_AR_F", "O_R_recon_M_F", "O_R_recon_medic_F", "O_R_recon_GL_F", "O_R_recon_LAT_F", "O_R_recon_JTAC_F", "O_R_Patrol_Soldier_TL_F", "O_R_Patrol_Soldier_AR_F", "O_R_Patrol_Soldier_AR2_F", "O_R_Patrol_Soldier_GL_F", "O_R_Patrol_Soldier_A_F", "O_R_Patrol_Soldier_M_F", "O_R_Patrol_Soldier_M2_F", "O_R_Patrol_Soldier_Medic", "O_R_Patrol_Soldier_Engineer_F", "O_R_Patrol_Soldier_LAT_F" ], [ "O_MRAP_02_F", "O_MRAP_02_hmg_F", "O_MRAP_02_gmg_F", "O_G_Offroad_01_repair_F", "O_G_Offroad_01_F", "O_G_Offroad_01_armed_F", "O_G_Offroad_01_AT_F", "O_Quadbike_01_F", "O_G_Quadbike_01_F", "O_Truck_02_covered_F", "O_Truck_02_transport_F", "O_Truck_02_box_F", "O_Truck_02_medical_F", "O_Truck_02_Ammo_F", "O_Truck_02_fuel_F", "O_G_Van_01_transport_F", "O_G_Van_01_fuel_F", "O_APC_Wheeled_02_rcws_v2_F", "O_UGV_01_F", "O_UGV_01_rcws_F", "O_Truck_03_transport_F", "O_Truck_03_covered_F", "O_Truck_03_repair_F", "O_Truck_03_ammo_F", "O_Truck_03_fuel_F", "O_Truck_03_medical_F", "O_Truck_03_device_F", "O_T_LSV_02_armed_F", "O_T_LSV_02_unarmed_F", "O_T_LSV_02_AT_F", "O_LSV_02_armed_F", "O_LSV_02_unarmed_F", "O_LSV_02_AT_F", "O_T_MRAP_02_ghex_F", "O_T_MRAP_02_hmg_ghex_F", "O_T_MRAP_02_gmg_ghex_F", "O_T_Quadbike_01_ghex_F", "O_T_Truck_02_F", "O_T_Truck_02_transport_F", "O_T_Truck_02_fuel_F", "O_T_Truck_02_Ammo_F", "O_T_Truck_02_Box_F", "O_T_Truck_02_Medical_F", "O_T_Truck_03_transport_ghex_F", "O_T_Truck_03_covered_ghex_F", "O_T_Truck_03_repair_ghex_F", "O_T_Truck_03_ammo_ghex_F", "O_T_Truck_03_fuel_ghex_F", "O_T_Truck_03_medical_ghex_F", "O_T_Truck_03_device_ghex_F", "O_T_UGV_01_ghex_F", "O_T_UGV_01_rcws_ghex_F", "O_T_APC_Wheeled_02_rcws_v2_ghex_F", "O_G_Van_02_transport_F", "O_G_Van_02_vehicle_F" ], [ "O_APC_Tracked_02_cannon_F", "O_APC_Tracked_02_AA_F", "O_MBT_02_cannon_F", "O_MBT_02_arty_F", "O_T_APC_Tracked_02_cannon_ghex_F", "O_T_APC_Tracked_02_AA_ghex_F", "O_T_MBT_02_cannon_ghex_F", "O_T_MBT_02_arty_ghex_F", "O_MBT_04_cannon_F", "O_T_MBT_04_cannon_F", "O_MBT_04_command_F", "O_T_MBT_04_command_F", "O_UGV_02_Science_F", "O_UGV_02_Demining_F" ], [ "O_Heli_Light_02_dynamicLoadout_F", "O_Heli_Light_02_unarmed_F", "O_Heli_Attack_02_dynamicLoadout_F", "O_UAV_01_F", "O_Heli_Transport_04_F", "O_Heli_Transport_04_ammo_F", "O_Heli_Transport_04_bench_F", "O_Heli_Transport_04_box_F", "O_Heli_Transport_04_covered_F", "O_Heli_Transport_04_fuel_F", "O_Heli_Transport_04_medevac_F", "O_Heli_Transport_04_repair_F", "O_UAV_06_F", "O_UAV_06_medical_F" ], [ "O_Plane_CAS_02_dynamicLoadout_F", "O_UAV_02_dynamicLoadout_F", "O_T_UAV_04_CAS_F", "O_T_VTOL_02_infantry_dynamicLoadout_F", "O_T_VTOL_02_vehicle_dynamicLoadout_F", "O_Plane_Fighter_02_F", "O_Plane_Fighter_02_Stealth_F" ], [ "O_Boat_Armed_01_hmg_F", "O_Boat_Transport_01_F", "O_Lifeboat", "O_SDV_01_F", "O_G_Boat_Transport_01_F", "O_T_Boat_Armed_01_hmg_F", "O_T_Boat_Transport_01_F", "O_T_Lifeboat" ], [ "O_HMG_01_F", "O_HMG_01_high_F", "O_HMG_01_A_F", "O_GMG_01_F", "O_GMG_01_high_F", "O_GMG_01_A_F", "O_Mortar_01_F", "O_G_Mortar_01_F", "O_static_AA_F", "O_static_AT_F", "Land_Pod_Heli_Transport_04_bench_F", "Land_Pod_Heli_Transport_04_covered_F", "Land_Pod_Heli_Transport_04_medevac_F", "O_Static_Designator_02_F", "O_Radar_System_02_F", "O_SAM_System_04_F" ] ], [ [ "B_Soldier_F", "B_RangeMaster_F", "B_Soldier_lite_F", "B_Soldier_GL_F", "B_soldier_AR_F", "B_Soldier_SL_F", "B_Soldier_TL_F", "B_soldier_M_F", "B_soldier_LAT_F", "B_medic_F", "B_soldier_repair_F", "B_soldier_exp_F", "B_Helipilot_F", "B_Soldier_A_F", "B_soldier_AT_F", "B_soldier_AA_F", "B_engineer_F", "B_crew_F", "B_officer_F", "B_Competitor_F", "B_Pilot_F", "B_helicrew_F", "B_soldier_PG_F", "B_soldier_UAV_F", "B_Survivor_F", "B_Soldier_unarmed_F", "B_diver_F", "B_diver_TL_F", "B_diver_exp_F", "B_recon_F", "B_recon_LAT_F", "B_recon_exp_F", "B_recon_medic_F", "B_recon_TL_F", "B_recon_M_F", "B_recon_JTAC_F", "B_spotter_F", "B_sniper_F", "B_Story_SF_Captain_F", "B_Story_Protagonist_F", "B_Story_Pilot_F", "B_CTRG_soldier_GL_LAT_F", "B_CTRG_soldier_engineer_exp_F", "B_CTRG_soldier_M_medic_F", "B_CTRG_soldier_AR_A_F", "B_soldier_AAR_F", "B_soldier_AAT_F", "B_soldier_AAA_F", "B_support_MG_F", "B_support_GMG_F", "B_support_Mort_F", "B_support_AMG_F", "B_support_AMort_F", "B_G_Soldier_F", "B_G_Soldier_lite_F", "B_G_Soldier_SL_F", "B_G_Soldier_TL_F", "B_G_Soldier_AR_F", "B_G_medic_F", "B_G_engineer_F", "B_G_Soldier_exp_F", "B_G_Soldier_GL_F", "B_G_Soldier_M_F", "B_G_Soldier_LAT_F", "B_G_Soldier_A_F", "B_G_officer_F", "B_G_Soldier_unarmed_F", "B_G_Survivor_F", "I_G_Story_Protagonist_F", "I_G_Story_SF_Captain_F", "I_G_resistanceLeader_F", "B_Soldier_VR_F", "B_Protagonist_VR_F", "B_ghillie_lsh_F", "B_ghillie_sard_F", "B_ghillie_ard_F", "B_Sharpshooter_F", "B_Recon_Sharpshooter_F", "B_CTRG_Sharphooter_F", "B_HeavyGunner_F", "B_G_Sharpshooter_F", "B_Captain_Pettka_F", "B_Captain_Jay_F", "B_T_Soldier_A_F", "B_T_Soldier_AAR_F", "B_T_Support_AMG_F", "B_T_Support_AMort_F", "B_T_Soldier_AAA_F", "B_T_Soldier_AAT_F", "B_T_Soldier_AR_F", "B_T_Medic_F", "B_T_Crew_F", "B_T_Engineer_F", "B_T_Soldier_Exp_F", "B_T_Soldier_GL_F", "B_T_Support_GMG_F", "B_T_Support_MG_F", "B_T_Support_Mort_F", "B_T_Helicrew_F", "B_T_Helipilot_F", "B_T_soldier_M_F", "B_T_Soldier_AA_F", "B_T_Soldier_AT_F", "B_T_Officer_F", "B_T_Soldier_PG_F", "B_T_Pilot_F", "B_T_Soldier_Repair_F", "B_T_Soldier_F", "B_T_Soldier_LAT_F", "B_T_Soldier_SL_F", "B_T_Soldier_TL_F", "B_T_Soldier_UAV_F", "B_T_Diver_F", "B_T_Diver_Exp_F", "B_T_Diver_TL_F", "B_T_Recon_Exp_F", "B_T_Recon_JTAC_F", "B_T_Recon_M_F", "B_T_Recon_Medic_F", "B_T_Recon_F", "B_T_Recon_LAT_F", "B_T_Recon_TL_F", "B_T_Sniper_F", "B_T_Spotter_F", "B_T_ghillie_tna_F", "B_T_Soldier_unarmed_F", "B_CTRG_Soldier_TL_tna_F", "B_CTRG_Soldier_Exp_tna_F", "B_CTRG_Soldier_Medic_tna_F", "B_CTRG_Soldier_M_tna_F", "B_CTRG_Soldier_tna_F", "B_CTRG_Soldier_LAT_tna_F", "B_CTRG_Soldier_AR_tna_F", "B_CTRG_Soldier_JTAC_tna_F", "B_CTRG_Miller_F", "B_GEN_Soldier_F", "B_GEN_Commander_F", "B_Captain_Dwarden_F", "B_G_Captain_Ivan_F", "B_Deck_Crew_F", "B_Fighter_Pilot_F", "B_Patrol_Soldier_TL_F", "B_Patrol_Soldier_UAV_F", "B_Patrol_Soldier_M_F", "B_Patrol_Medic_F", "B_Patrol_Soldier_AR_F", "B_Patrol_Soldier_MG_F", "B_Patrol_HeavyGunner_F", "B_Patrol_Soldier_A_F", "B_Patrol_Soldier_AT_F", "B_Patrol_Engineer_F", "B_soldier_UAV_06_F", "B_soldier_UAV_06_medical_F", "B_T_soldier_UAV_06_F", "B_T_soldier_UAV_06_medical_F", "B_soldier_mine_F", "B_T_soldier_mine_F", "B_G_Story_Guerilla_01_F", "B_soldier_LAT2_F", "B_T_Soldier_LAT2_F", "B_CTRG_Soldier_LAT2_tna_F", "B_G_Soldier_LAT2_F", "B_W_Soldier_A_F", "B_W_Soldier_AAR_F", "B_W_Support_AMG_F", "B_W_Support_AMort_F", "B_W_Soldier_AAA_F", "B_W_Soldier_AAT_F", "B_W_Soldier_AR_F", "B_W_Medic_F", "B_W_Crew_F", "B_W_Engineer_F", "B_W_Soldier_Exp_F", "B_W_soldier_mine_F", "B_W_Soldier_GL_F", "B_W_Support_GMG_F", "B_W_Support_MG_F", "B_W_Support_Mort_F", "B_W_Helicrew_F", "B_W_Helipilot_F", "B_W_soldier_M_F", "B_W_Soldier_AA_F", "B_W_Soldier_AT_F", "B_W_Officer_F", "B_W_Soldier_Repair_F", "B_W_Soldier_F", "B_W_Soldier_LAT_F", "B_W_Soldier_LAT2_F", "B_W_Soldier_SL_F", "B_W_Soldier_TL_F", "B_W_Soldier_CBRN_F", "B_W_RadioOperator_F", "B_W_Survivor_F", "B_soldier_UGV_02_Science_F", "B_soldier_UGV_02_Demining_F", "B_W_Soldier_UAV_F", "B_W_soldier_UGV_02_Science_F", "B_W_soldier_UGV_02_Demining_F", "B_W_Soldier_unarmed_F" ], [ "B_MRAP_01_F", "B_MRAP_01_gmg_F", "B_MRAP_01_hmg_F", "B_G_Offroad_01_repair_F", "B_G_Offroad_01_F", "B_G_Offroad_01_armed_F", "B_G_Offroad_01_AT_F", "B_Quadbike_01_F", "B_G_Quadbike_01_F", "B_Truck_01_transport_F", "B_Truck_01_covered_F", "B_Truck_01_mover_F", "B_Truck_01_box_F", "B_Truck_01_Repair_F", "B_Truck_01_ammo_F", "B_Truck_01_fuel_F", "B_Truck_01_medical_F", "B_G_Van_01_transport_F", "B_G_Van_01_fuel_F", "B_APC_Wheeled_01_cannon_F", "B_UGV_01_F", "B_UGV_01_rcws_F", "B_T_LSV_01_armed_F", "B_T_LSV_01_AT_F", "B_T_LSV_01_unarmed_F", "B_LSV_01_armed_F", "B_LSV_01_AT_F", "B_LSV_01_unarmed_F", "B_CTRG_LSV_01_light_F", "B_T_MRAP_01_F", "B_T_MRAP_01_gmg_F", "B_T_MRAP_01_hmg_F", "B_GEN_Offroad_01_gen_F", "B_T_Quadbike_01_F", "B_T_Truck_01_transport_F", "B_T_Truck_01_covered_F", "B_T_Truck_01_mover_F", "B_T_Truck_01_box_F", "B_T_Truck_01_Repair_F", "B_T_Truck_01_ammo_F", "B_T_Truck_01_fuel_F", "B_T_Truck_01_medical_F", "B_T_UGV_01_olive_F", "B_T_UGV_01_rcws_olive_F", "B_T_APC_Wheeled_01_cannon_F", "B_G_Van_02_transport_F", "B_GEN_Van_02_transport_F", "B_G_Van_02_vehicle_F", "B_GEN_Van_02_vehicle_F", "B_AFV_Wheeled_01_cannon_F", "B_T_AFV_Wheeled_01_cannon_F", "B_AFV_Wheeled_01_up_cannon_F", "B_T_AFV_Wheeled_01_up_cannon_F", "B_GEN_Offroad_01_covered_F", "B_GEN_Offroad_01_comms_F", "B_Truck_01_flatbed_F", "B_T_Truck_01_flatbed_F", "B_Truck_01_cargo_F", "B_T_Truck_01_cargo_F" ], [ "B_APC_Tracked_01_rcws_F", "B_APC_Tracked_01_CRV_F", "B_APC_Tracked_01_AA_F", "B_MBT_01_cannon_F", "B_MBT_01_arty_F", "B_MBT_01_mlrs_F", "B_MBT_01_TUSK_F", "B_T_APC_Tracked_01_AA_F", "B_T_APC_Tracked_01_CRV_F", "B_T_APC_Tracked_01_rcws_F", "B_T_MBT_01_arty_F", "B_T_MBT_01_mlrs_F", "B_T_MBT_01_cannon_F", "B_T_MBT_01_TUSK_F", "B_UGV_02_Science_F", "B_UGV_02_Demining_F" ], [ "B_Heli_Light_01_F", "B_Heli_Light_01_dynamicLoadout_F", "B_Heli_Attack_01_dynamicLoadout_F", "B_Heli_Transport_01_F", "B_UAV_01_F", "B_Heli_Transport_03_F", "B_Heli_Transport_03_unarmed_F", "B_CTRG_Heli_Transport_01_sand_F", "B_CTRG_Heli_Transport_01_tropic_F", "B_T_UAV_03_dynamicLoadout_F", "B_UAV_06_F", "B_UAV_06_medical_F" ], [ "B_Plane_CAS_01_dynamicLoadout_F", "B_UAV_02_dynamicLoadout_F", "B_T_VTOL_01_infantry_F", "B_T_VTOL_01_vehicle_F", "B_T_VTOL_01_armed_F", "B_Plane_Fighter_01_F", "B_Plane_Fighter_01_Stealth_F", "B_UAV_05_F" ], [ "B_Boat_Armed_01_minigun_F", "B_Boat_Transport_01_F", "B_Lifeboat", "B_SDV_01_F", "B_G_Boat_Transport_01_F", "B_T_Boat_Armed_01_minigun_F", "B_T_Boat_Transport_01_F", "B_T_Lifeboat" ], [ "B_HMG_01_F", "B_HMG_01_high_F", "B_HMG_01_A_F", "B_GMG_01_F", "B_GMG_01_high_F", "B_GMG_01_A_F", "B_Mortar_01_F", "B_G_Mortar_01_F", "B_static_AA_F", "B_static_AT_F", "B_Static_Designator_01_F", "B_T_Static_AA_F", "B_T_Static_AT_F", "B_T_GMG_01_F", "B_T_HMG_01_F", "B_T_Mortar_01_F", "B_AAA_System_01_F", "B_SAM_System_01_F", "B_SAM_System_02_F", "B_Ship_Gun_01_F", "B_Ship_MRLS_01_F", "B_W_Static_Designator_01_F", "B_Radar_System_01_F", "B_SAM_System_03_F" ] ], [ [ "I_G_Soldier_F", "I_G_Soldier_lite_F", "I_G_Soldier_SL_F", "I_G_Soldier_TL_F", "I_G_Soldier_AR_F", "I_G_medic_F", "I_G_engineer_F", "I_G_Soldier_exp_F", "I_G_Soldier_GL_F", "I_G_Soldier_M_F", "I_G_Soldier_LAT_F", "I_G_Soldier_A_F", "I_G_officer_F", "I_G_Soldier_unarmed_F", "I_G_Survivor_F", "I_soldier_F", "I_Soldier_lite_F", "I_Soldier_A_F", "I_Soldier_GL_F", "I_Soldier_AR_F", "I_Soldier_SL_F", "I_Soldier_TL_F", "I_Soldier_M_F", "I_Soldier_LAT_F", "I_Soldier_AT_F", "I_Soldier_AA_F", "I_medic_F", "I_Soldier_repair_F", "I_Soldier_exp_F", "I_engineer_F", "I_crew_F", "I_helipilot_F", "I_pilot_F", "I_helicrew_F", "I_officer_F", "I_Story_Colonel_F", "I_soldier_UAV_F", "I_Survivor_F", "I_Soldier_unarmed_F", "I_diver_F", "I_diver_exp_F", "I_diver_TL_F", "I_Spotter_F", "I_Sniper_F", "I_Soldier_AAR_F", "I_Soldier_AAT_F", "I_Soldier_AAA_F", "I_support_MG_F", "I_support_GMG_F", "I_support_Mort_F", "I_support_AMG_F", "I_support_AMort_F", "I_Soldier_VR_F", "I_Protagonist_VR_F", "I_ghillie_lsh_F", "I_ghillie_sard_F", "I_ghillie_ard_F", "I_G_Sharpshooter_F", "I_Captain_Hladas_F", "I_C_Soldier_Para_1_F", "I_C_Soldier_Para_2_F", "I_C_Soldier_Para_3_F", "I_C_Soldier_Para_4_F", "I_C_Soldier_Para_5_F", "I_C_Soldier_Para_6_F", "I_C_Soldier_Para_7_F", "I_C_Soldier_Para_8_F", "I_C_Soldier_Bandit_1_F", "I_C_Soldier_Bandit_2_F", "I_C_Soldier_Bandit_3_F", "I_C_Soldier_Bandit_4_F", "I_C_Soldier_Bandit_5_F", "I_C_Soldier_Bandit_6_F", "I_C_Soldier_Bandit_7_F", "I_C_Soldier_Bandit_8_F", "I_C_Soldier_Camo_F", "I_C_Pilot_F", "I_C_Helipilot_F", "I_C_Soldier_base_unarmed_F", "I_Fighter_Pilot_F", "I_soldier_UAV_06_F", "I_soldier_UAV_06_medical_F", "I_soldier_mine_F", "I_Story_Officer_01_F", "I_G_Soldier_LAT2_F", "I_Soldier_LAT2_F", "I_Story_Crew_F", "I_E_Soldier_F", "I_E_Soldier_unarmed_F", "I_E_Soldier_A_F", "I_E_Soldier_AAR_F", "I_E_Soldier_AR_F", "I_E_Soldier_lite_F", "I_E_Soldier_GL_F", "I_E_soldier_M_F", "I_E_Officer_F", "I_E_Soldier_SL_F", "I_E_Soldier_TL_F", "I_E_Survivor_F", "I_E_RadioOperator_F", "I_E_Soldier_AA_F", "I_E_Soldier_AT_F", "I_E_Soldier_LAT_F", "I_E_Soldier_LAT2_F", "I_E_Soldier_AAA_F", "I_E_Soldier_AAT_F", "I_E_Support_GMG_F", "I_E_Support_MG_F", "I_E_Support_Mort_F", "I_E_Support_AMG_F", "I_E_Support_AMort_F", "I_E_Soldier_Pathfinder_F", "I_E_Engineer_F", "I_E_Soldier_Exp_F", "I_E_soldier_Mine_F", "I_E_Soldier_Repair_F", "I_E_Soldier_CBRN_F", "I_E_Scientist_F", "I_E_Scientist_Unarmed_F", "I_E_Medic_F", "I_E_Soldier_MP_F", "I_E_Crew_F", "I_E_Helipilot_F", "I_E_Helicrew_F", "I_E_Soldier_UAV_F", "I_E_soldier_UAV_06_F", "I_E_soldier_UAV_06_medical_F", "I_E_soldier_UGV_02_Science_F", "I_E_soldier_UGV_02_Demining_F", "I_L_Looter_Pistol_F", "I_L_Looter_SG_F", "I_L_Looter_Rifle_F", "I_L_Looter_SMG_F", "I_L_Criminal_SG_F", "I_L_Criminal_SMG_F", "I_L_Hunter_F" ], [ "I_G_Offroad_01_repair_F", "I_G_Offroad_01_F", "I_G_Offroad_01_AT_F", "I_G_Offroad_01_armed_F", "I_Quadbike_01_F", "I_G_Quadbike_01_F", "I_MRAP_03_F", "I_MRAP_03_hmg_F", "I_MRAP_03_gmg_F", "I_Truck_02_covered_F", "I_Truck_02_transport_F", "I_Truck_02_ammo_F", "I_Truck_02_box_F", "I_Truck_02_medical_F", "I_Truck_02_fuel_F", "I_Truck_02_MRL_F", "I_G_Van_01_transport_F", "I_G_Van_01_fuel_F", "I_APC_Wheeled_03_cannon_F", "I_UGV_01_F", "I_UGV_01_rcws_F", "I_C_Offroad_02_unarmed_F", "I_C_Offroad_02_LMG_F", "I_C_Offroad_02_AT_F", "I_C_Van_01_transport_F", "I_G_Van_02_transport_F", "I_C_Van_02_transport_F", "I_G_Van_02_vehicle_F", "I_C_Van_02_vehicle_F", "I_E_Offroad_01_F", "I_E_Offroad_01_covered_F", "I_E_Offroad_01_comms_F", "I_E_Quadbike_01_F", "I_E_Truck_02_F", "I_E_Truck_02_transport_F", "I_E_Truck_02_fuel_F", "I_E_Truck_02_Ammo_F", "I_E_Truck_02_Box_F", "I_E_Truck_02_Medical_F", "I_E_Truck_02_MRL_F", "I_E_UGV_01_F", "I_E_UGV_01_rcws_F", "I_E_Van_02_vehicle_F", "I_E_Van_02_transport_F", "I_E_Van_02_transport_MP_F", "I_E_Van_02_medevac_F" ], [ "I_APC_tracked_03_cannon_F", "I_MBT_03_cannon_F", "I_LT_01_AT_F", "I_LT_01_scout_F", "I_LT_01_AA_F", "I_LT_01_cannon_F", "I_UGV_02_Science_F", "I_E_UGV_02_Science_F", "I_UGV_02_Demining_F", "I_E_UGV_02_Demining_F", "I_E_APC_tracked_03_cannon_F" ], [ "I_Heli_Transport_02_F", "I_Heli_light_03_dynamicLoadout_F", "I_Heli_light_03_unarmed_F", "I_UAV_01_F", "I_C_Heli_Light_01_civil_F", "I_UAV_06_F", "I_UAV_06_medical_F", "I_E_Heli_light_03_dynamicLoadout_F", "I_E_Heli_light_03_unarmed_F", "I_E_UAV_01_F", "I_E_UAV_06_F", "I_E_UAV_06_medical_F" ], [ "I_Plane_Fighter_03_dynamicLoadout_F", "I_UAV_02_dynamicLoadout_F", "I_C_Plane_Civil_01_F", "I_Plane_Fighter_04_F" ], [ "I_Boat_Armed_01_minigun_F", "I_Boat_Transport_01_F", "I_SDV_01_F", "I_G_Boat_Transport_01_F", "I_C_Boat_Transport_01_F", "I_C_Boat_Transport_02_F" ], [ "I_HMG_01_F", "I_HMG_01_high_F", "I_HMG_01_A_F", "I_GMG_01_F", "I_GMG_01_high_F", "I_GMG_01_A_F", "I_Mortar_01_F", "I_G_Mortar_01_F", "I_static_AA_F", "I_static_AT_F", "I_E_Static_AA_F", "I_E_Static_AT_F", "I_E_GMG_01_F", "I_E_GMG_01_high_F", "I_E_GMG_01_A_F", "I_E_HMG_01_F", "I_E_HMG_01_high_F", "I_E_HMG_01_A_F", "I_E_Mortar_01_F", "I_E_Radar_System_01_F", "I_E_SAM_System_03_F" ] ], [ [ "C_man_1", "C_man_1_1_F", "C_man_1_2_F", "C_man_1_3_F", "C_man_polo_1_F", "C_man_polo_1_F_afro", "C_man_polo_1_F_euro", "C_man_polo_1_F_asia", "C_man_polo_2_F", "C_man_polo_2_F_afro", "C_man_polo_2_F_euro", "C_man_polo_2_F_asia", "C_man_polo_3_F", "C_man_polo_3_F_afro", "C_man_polo_3_F_euro", "C_man_polo_3_F_asia", "C_man_polo_4_F", "C_man_polo_4_F_afro", "C_man_polo_4_F_euro", "C_man_polo_4_F_asia", "C_man_polo_5_F", "C_man_polo_5_F_afro", "C_man_polo_5_F_euro", "C_man_polo_5_F_asia", "C_man_polo_6_F", "C_man_polo_6_F_afro", "C_man_polo_6_F_euro", "C_man_polo_6_F_asia", "C_man_p_fugitive_F", "C_man_p_fugitive_F_afro", "C_man_p_fugitive_F_euro", "C_man_p_fugitive_F_asia", "C_man_p_beggar_F", "C_man_p_beggar_F_afro", "C_man_p_beggar_F_euro", "C_man_p_beggar_F_asia", "C_man_w_worker_F", "C_scientist_F", "C_man_hunter_1_F", "C_man_p_shorts_1_F", "C_man_p_shorts_1_F_afro", "C_man_p_shorts_1_F_euro", "C_man_p_shorts_1_F_asia", "C_man_shorts_1_F", "C_man_shorts_1_F_afro", "C_man_shorts_1_F_euro", "C_man_shorts_1_F_asia", "C_man_shorts_2_F", "C_man_shorts_2_F_afro", "C_man_shorts_2_F_euro", "C_man_shorts_2_F_asia", "C_man_shorts_3_F", "C_man_shorts_3_F_afro", "C_man_shorts_3_F_euro", "C_man_shorts_3_F_asia", "C_man_shorts_4_F", "C_man_shorts_4_F_afro", "C_man_shorts_4_F_euro", "C_man_shorts_4_F_asia", "C_man_pilot_F", "C_journalist_F", "C_Orestes", "C_Nikos", "C_Nikos_aged", "C_Driver_1_F", "C_Driver_2_F", "C_Driver_3_F", "C_Driver_4_F", "C_Marshal_F", "C_Soldier_VR_F", "C_Protagonist_VR_F", "C_man_sport_1_F", "C_man_sport_1_F_afro", "C_man_sport_1_F_euro", "C_man_sport_1_F_asia", "C_man_sport_1_F_tanoan", "C_man_sport_2_F", "C_man_sport_2_F_afro", "C_man_sport_2_F_euro", "C_man_sport_2_F_asia", "C_man_sport_2_F_tanoan", "C_man_sport_3_F", "C_man_sport_3_F_afro", "C_man_sport_3_F_euro", "C_man_sport_3_F_asia", "C_man_sport_3_F_tanoan", "C_Man_casual_1_F", "C_Man_casual_1_F_afro", "C_Man_casual_1_F_euro", "C_Man_casual_1_F_asia", "C_Man_casual_1_F_tanoan", "C_Man_casual_2_F", "C_Man_casual_2_F_afro", "C_Man_casual_2_F_euro", "C_Man_casual_2_F_asia", "C_Man_casual_2_F_tanoan", "C_Man_casual_3_F", "C_Man_casual_3_F_afro", "C_Man_casual_3_F_euro", "C_Man_casual_3_F_asia", "C_Man_casual_3_F_tanoan", "C_Man_casual_4_F", "C_Man_casual_4_F_afro", "C_Man_casual_4_F_euro", "C_Man_casual_4_F_asia", "C_Man_casual_4_F_tanoan", "C_Man_casual_5_F", "C_Man_casual_5_F_afro", "C_Man_casual_5_F_euro", "C_Man_casual_5_F_asia", "C_Man_casual_5_F_tanoan", "C_Man_casual_6_F", "C_Man_casual_6_F_afro", "C_Man_casual_6_F_euro", "C_Man_casual_6_F_asia", "C_Man_casual_6_F_tanoan", "C_IDAP_Man_AidWorker_01_F", "C_IDAP_Man_AidWorker_02_F", "C_IDAP_Man_AidWorker_03_F", "C_IDAP_Man_AidWorker_04_F", "C_IDAP_Man_AidWorker_05_F", "C_IDAP_Man_AidWorker_06_F", "C_IDAP_Man_AidWorker_07_F", "C_IDAP_Man_AidWorker_08_F", "C_IDAP_Man_AidWorker_09_F", "C_Man_ConstructionWorker_01_Red_F", "C_Man_ConstructionWorker_01_Vrana_F", "C_Man_ConstructionWorker_01_Black_F", "C_Man_ConstructionWorker_01_Blue_F", "C_Man_Paramedic_01_F", "C_IDAP_Man_Paramedic_01_F", "C_IDAP_Pilot_01_F", "C_Journalist_01_War_F", "C_Man_UtilityWorker_01_F", "C_IDAP_Man_EOD_01_F", "C_IDAP_Man_UAV_01_F", "C_IDAP_Man_UAV_06_F", "C_IDAP_Man_UAV_06_medical_F", "C_IDAP_Man_UAV_06_antimine_F", "C_Man_UAV_06_F", "C_Man_UAV_06_medical_F", "C_Man_Fisherman_01_F", "C_Man_Messenger_01_F", "C_Story_EOD_01_F", "C_Story_Mechanic_01_F", "C_scientist_01_formal_F", "C_scientist_02_formal_F", "C_scientist_01_informal_F", "C_scientist_02_informal_F", "C_Man_1_enoch_F", "C_Man_2_enoch_F", "C_Man_3_enoch_F", "C_Man_4_enoch_F", "C_Man_5_enoch_F", "C_Man_6_enoch_F", "C_Farmer_01_enoch_F" ], [ "C_Offroad_01_F", "C_Offroad_01_repair_F", "C_Quadbike_01_F", "C_Truck_02_covered_F", "C_Truck_02_transport_F", "C_Hatchback_01_F", "C_Hatchback_01_sport_F", "C_SUV_01_F", "C_Truck_02_fuel_F", "C_Truck_02_box_F", "C_Van_01_transport_F", "C_Van_01_box_F", "C_Van_01_fuel_F", "C_Kart_01_F", "C_Kart_01_Fuel_F", "C_Kart_01_Blu_F", "C_Kart_01_Red_F", "C_Kart_01_Vrana_F", "C_Offroad_02_unarmed_F", "C_IDAP_Offroad_01_F", "C_IDAP_Offroad_02_unarmed_F", "C_IDAP_Truck_02_F", "C_IDAP_Truck_02_transport_F", "C_IDAP_Truck_02_water_F", "C_IDAP_UGV_01_F", "C_Van_02_transport_F", "C_IDAP_Van_02_transport_F", "C_Van_02_vehicle_F", "C_IDAP_Van_02_vehicle_F", "C_Van_02_medevac_F", "C_IDAP_Van_02_medevac_F", "C_Van_02_service_F", "C_Offroad_01_covered_F", "C_Offroad_01_comms_F", "C_Tractor_01_F" ], [ "C_IDAP_UGV_02_Demining_F" ], [ "C_Heli_Light_01_civil_F", "C_IDAP_Heli_Transport_02_F", "C_IDAP_UAV_01_F", "C_IDAP_UAV_06_F", "C_UAV_06_F", "C_IDAP_UAV_06_antimine_F", "C_IDAP_UAV_06_medical_F", "C_UAV_06_medical_F" ], [ "C_Plane_Civil_01_F", "C_Plane_Civil_01_racing_F" ], [ "C_Rubberboat", "C_Boat_Civil_01_F", "C_Boat_Civil_01_rescue_F", "C_Boat_Civil_01_police_F", "C_Boat_Transport_02_F", "C_Scooter_Transport_01_F" ], [ ] ] ] Great, Thank you, Ill test this out today. Do I need to execute this in the init.sqf? And where will the output be located at, just the clipboard and all I need to do is CTR + V in notepad? Share this post Link to post Share on other sites
Larrow 2822 Posted September 14, 2019 6 hours ago, Joedapro said: Do I need to execute this in the init.sqf? Just run it from the debugConsole in the editor to output a static array. 6 hours ago, Joedapro said: And where will the output be located at, just the clipboard and all I need to do is CTR + V in notepad? Yes just Ctrl+V into your editor of choice. Save it as a script and give the output a variable, and load the script at mission start to initialise the variable. //sideVehicleClass.sqf TAG_sideVehicles = /*Pasted output here*/ ; //initServer.sqf execVM "sideVehicleClass.sqf"; Then TAG_sideVehicles is available on the server to pull your classes from. The output would be static to whatever you paste into the file. If you need to make it update available vehicles on every mission load( maybe the user has a new mod installed ) then instead execute the script in the previous post from wherever needed( ie initServer.sqf ) and replace the copyToClipboard with TAG_sideVehicles = _output; This would be better done via a postInit function. More info on that can be found here CfgFunctions. Then whenever you need something. #define MEN 0 #define CARS 1 #define TANKS 2 #define HELICOPTERS 3 #define PLANES 4 #define SHIPS 5 #define STATIC 6 //Example random West Unit _side = west call BIS_fnc_sideID; _type = MEN; _randomWestMan = selectRandom ( TAG_sideVehicles select _side select _type ); //Example random East Helicopter _side = east call BIS_fnc_sideID; _type = HELICOPTERS; _randomEastHeli = selectRandom ( TAG_sideVehicles select _side select _type ); 1 Share this post Link to post Share on other sites
Joedapro 2 Posted September 15, 2019 17 hours ago, Larrow said: Just run it from the debugConsole in the editor to output a static array. Yes just Ctrl+V into your editor of choice. Save it as a script and give the output a variable, and load the script at mission start to initialise the variable. //sideVehicleClass.sqf TAG_sideVehicles = /*Pasted output here*/ ; //initServer.sqf execVM "sideVehicleClass.sqf"; Then TAG_sideVehicles is available on the server to pull your classes from. The output would be static to whatever you paste into the file. If you need to make it update available vehicles on every mission load( maybe the user has a new mod installed ) then instead execute the script in the previous post from wherever needed( ie initServer.sqf ) and replace the copyToClipboard with TAG_sideVehicles = _output; This would be better done via a postInit function. More info on that can be found here CfgFunctions. Then whenever you need something. #define MEN 0 #define CARS 1 #define TANKS 2 #define HELICOPTERS 3 #define PLANES 4 #define SHIPS 5 #define STATIC 6 //Example random West Unit _side = west call BIS_fnc_sideID; _type = MEN; _randomWestMan = selectRandom ( TAG_sideVehicles select _side select _type ); //Example random East Helicopter _side = east call BIS_fnc_sideID; _type = HELICOPTERS; _randomEastHeli = selectRandom ( TAG_sideVehicles select _side select _type ); Thank you, this worked for me without errors. 1 Share this post Link to post Share on other sites
Joedapro 2 Posted October 10, 2019 On 9/14/2019 at 6:04 AM, Larrow said: A very basic example of sorting CfgVehicles by side and type. Code Reveal hidden contents // [ // //East // [ // [], //MEN // [], //CARS // [], //TANKS // [], //HELICOPTERS // [], //PLANES // [], //SHIPS // [] //STATIC WEAPONS // ], // //WEST // [] // //etc // ] _data = [ [ [], [], [], [], [], [], [] ], //EAST [ [], [], [], [], [], [], [] ], //WEST [ [], [], [], [], [], [], [] ], //INDEPENDENT [ [], [], [], [], [], [], [] ] //CIVILIAN ]; { if ( getNumber( _x >> "scope" ) isEqualTo 2 ) then { _index = switch ( true ) do { case ( configName _x isKindOf "CAManBase" ) : { 0 }; case ( configName _x isKindOf "Car_F" ) : { 1 }; case ( configName _x isKindOf "Tank" ) : { 2 }; case ( configName _x isKindOf "Helicopter" ) : { 3 }; case ( configName _x isKindOf "Plane" ) : { 4 }; case ( configName _x isKindOf "Ship" ) : { 5 }; case ( configName _x isKindOf "StaticWeapon" ) : { 6 }; default{ -1 }; }; if ( _index > -1 ) then { _side = getNumber( _x >> "side" ); if ( _side in [ 0, 1, 2, 3 ] ) then { _data select _side select _index pushBack configName _x; }; }; }; }forEach ( "true" configClasses( configFile >> "CfgVehicles" )); //Code below this set of comments just makes the data readable //If not needed then just uncomment... //copyToClipboard str _data //And delete everything from here on _RETURN = [ 13, 10 ]; _TAB = [ 09 ]; _output = ""; _tabIndent = 0; _fnc_addTabs = { params[ "_numTabs" ]; _tabs = ""; for "_i" from 1 to _numTabs do { _tabs = formatText[ "%1%2", _tabs, toString _TAB ]; }; _tabs }; _fnc_output = { params[ "_array", "_isLast" ]; _tabs = [ _tabIndent ] call _fnc_addTabs; _output = formatText[ "%1%2%3[%2", _output, toString _RETURN, _tabs ]; _tabIndent = _tabIndent + 1; { if ( _x isEqualType [] ) then { [ _x, _forEachIndex isEqualTo ( count _array - 1 ) ] call _fnc_output; }else{ _tabs = [ _tabIndent ] call _fnc_addTabs; _output = formatText[ "%1%2%3%4%5", _output, toString _RETURN, _tabs, str _x, [ "", "," ] select ( _forEachIndex < ( count _array - 1 )) ]; }; }forEach _array; _tabIndent = _tabIndent - 1; _tabs = [ _tabIndent ] call _fnc_addTabs; _output = formatText[ "%1%2%3]%4", _output, toString _RETURN, _tabs, [ "", "," ] select !_isLast ]; }; [ _data, true ] call _fnc_output; copyToClipboard str _output A3 vanilla output Reveal hidden contents [ [ [ "O_G_Soldier_F", "O_G_Soldier_lite_F", "O_G_Soldier_SL_F", "O_G_Soldier_TL_F", "O_G_Soldier_AR_F", "O_G_medic_F", "O_G_engineer_F", "O_G_Soldier_exp_F", "O_G_Soldier_GL_F", "O_G_Soldier_M_F", "O_G_Soldier_LAT_F", "O_G_Soldier_A_F", "O_G_officer_F", "O_G_Soldier_unarmed_F", "O_G_Survivor_F", "O_Soldier_F", "O_officer_F", "O_Soldier_lite_F", "O_Soldier_GL_F", "O_Soldier_AR_F", "O_Soldier_SL_F", "O_Soldier_TL_F", "O_soldier_M_F", "O_Soldier_LAT_F", "O_medic_F", "O_soldier_repair_F", "O_soldier_exp_F", "O_helipilot_F", "O_Soldier_A_F", "O_Soldier_AT_F", "O_Soldier_AA_F", "O_engineer_F", "O_crew_F", "O_Pilot_F", "O_helicrew_F", "O_soldier_PG_F", "O_Story_Colonel_F", "O_Story_CEO_F", "O_soldier_UAV_F", "O_Survivor_F", "O_Soldier_unarmed_F", "O_diver_F", "O_diver_TL_F", "O_diver_exp_F", "O_spotter_F", "O_sniper_F", "O_recon_F", "O_recon_M_F", "O_recon_LAT_F", "O_recon_medic_F", "O_recon_exp_F", "O_recon_JTAC_F", "O_recon_TL_F", "O_Soldier_AAR_F", "O_Soldier_AAT_F", "O_Soldier_AAA_F", "O_support_MG_F", "O_support_GMG_F", "O_support_Mort_F", "O_support_AMG_F", "O_support_AMort_F", "O_soldierU_F", "O_soldierU_AR_F", "O_soldierU_AAR_F", "O_soldierU_LAT_F", "O_soldierU_AT_F", "O_soldierU_AAT_F", "O_soldierU_AA_F", "O_soldierU_AAA_F", "O_soldierU_TL_F", "O_SoldierU_SL_F", "O_soldierU_medic_F", "O_soldierU_repair_F", "O_soldierU_exp_F", "O_engineer_U_F", "O_soldierU_M_F", "O_soldierU_A_F", "O_SoldierU_GL_F", "O_SoldierU_unarmed_F", "O_Soldier_VR_F", "O_Protagonist_VR_F", "O_ghillie_lsh_F", "O_ghillie_sard_F", "O_ghillie_ard_F", "O_Sharpshooter_F", "O_Urban_Sharpshooter_F", "O_Pathfinder_F", "O_HeavyGunner_F", "O_Urban_HeavyGunner_F", "O_G_Sharpshooter_F", "O_T_Soldier_A_F", "O_T_Soldier_AAR_F", "O_T_Support_AMG_F", "O_T_Support_AMort_F", "O_T_Soldier_AAA_F", "O_T_Soldier_AAT_F", "O_T_Soldier_AR_F", "O_T_Medic_F", "O_T_Crew_F", "O_T_Engineer_F", "O_T_Soldier_Exp_F", "O_T_Soldier_GL_F", "O_T_Support_GMG_F", "O_T_Support_MG_F", "O_T_Support_Mort_F", "O_T_Helicrew_F", "O_T_Helipilot_F", "O_T_Soldier_M_F", "O_T_Soldier_AA_F", "O_T_Soldier_AT_F", "O_T_Officer_F", "O_T_Soldier_PG_F", "O_T_Pilot_F", "O_T_Soldier_Repair_F", "O_T_Soldier_F", "O_T_Soldier_LAT_F", "O_T_Soldier_SL_F", "O_T_Soldier_TL_F", "O_T_Soldier_UAV_F", "O_T_Diver_F", "O_T_Diver_Exp_F", "O_T_Diver_TL_F", "O_T_Recon_Exp_F", "O_T_Recon_JTAC_F", "O_T_Recon_M_F", "O_T_Recon_Medic_F", "O_T_Recon_F", "O_T_Recon_LAT_F", "O_T_Recon_TL_F", "O_T_Sniper_F", "O_T_Spotter_F", "O_T_ghillie_tna_F", "O_T_Soldier_unarmed_F", "O_V_Soldier_hex_F", "O_V_Soldier_TL_hex_F", "O_V_Soldier_Exp_hex_F", "O_V_Soldier_Medic_hex_F", "O_V_Soldier_M_hex_F", "O_V_Soldier_LAT_hex_F", "O_V_Soldier_JTAC_hex_F", "O_V_Soldier_ghex_F", "O_V_Soldier_TL_ghex_F", "O_V_Soldier_Exp_ghex_F", "O_V_Soldier_Medic_ghex_F", "O_V_Soldier_M_ghex_F", "O_V_Soldier_LAT_ghex_F", "O_V_Soldier_JTAC_ghex_F", "O_Fighter_Pilot_F", "O_soldier_UAV_06_F", "O_soldier_UAV_06_medical_F", "O_T_soldier_UAV_06_F", "O_T_soldier_UAV_06_medical_F", "O_soldier_mine_F", "O_T_soldier_mine_F", "O_A_soldier_F", "O_A_soldier_TL_F", "O_G_Soldier_LAT2_F", "O_Soldier_HAT_F", "O_T_Soldier_HAT_F", "O_Soldier_AHAT_F", "O_T_Soldier_AHAT_F", "O_R_Soldier_TL_F", "O_R_Soldier_GL_F", "O_R_soldier_exp_F", "O_R_Soldier_AR_F", "O_R_soldier_M_F", "O_R_medic_F", "O_R_Soldier_LAT_F", "O_R_JTAC_F", "O_R_recon_TL_F", "O_R_recon_exp_F", "O_R_recon_AR_F", "O_R_recon_M_F", "O_R_recon_medic_F", "O_R_recon_GL_F", "O_R_recon_LAT_F", "O_R_recon_JTAC_F", "O_R_Patrol_Soldier_TL_F", "O_R_Patrol_Soldier_AR_F", "O_R_Patrol_Soldier_AR2_F", "O_R_Patrol_Soldier_GL_F", "O_R_Patrol_Soldier_A_F", "O_R_Patrol_Soldier_M_F", "O_R_Patrol_Soldier_M2_F", "O_R_Patrol_Soldier_Medic", "O_R_Patrol_Soldier_Engineer_F", "O_R_Patrol_Soldier_LAT_F" ], [ "O_MRAP_02_F", "O_MRAP_02_hmg_F", "O_MRAP_02_gmg_F", "O_G_Offroad_01_repair_F", "O_G_Offroad_01_F", "O_G_Offroad_01_armed_F", "O_G_Offroad_01_AT_F", "O_Quadbike_01_F", "O_G_Quadbike_01_F", "O_Truck_02_covered_F", "O_Truck_02_transport_F", "O_Truck_02_box_F", "O_Truck_02_medical_F", "O_Truck_02_Ammo_F", "O_Truck_02_fuel_F", "O_G_Van_01_transport_F", "O_G_Van_01_fuel_F", "O_APC_Wheeled_02_rcws_v2_F", "O_UGV_01_F", "O_UGV_01_rcws_F", "O_Truck_03_transport_F", "O_Truck_03_covered_F", "O_Truck_03_repair_F", "O_Truck_03_ammo_F", "O_Truck_03_fuel_F", "O_Truck_03_medical_F", "O_Truck_03_device_F", "O_T_LSV_02_armed_F", "O_T_LSV_02_unarmed_F", "O_T_LSV_02_AT_F", "O_LSV_02_armed_F", "O_LSV_02_unarmed_F", "O_LSV_02_AT_F", "O_T_MRAP_02_ghex_F", "O_T_MRAP_02_hmg_ghex_F", "O_T_MRAP_02_gmg_ghex_F", "O_T_Quadbike_01_ghex_F", "O_T_Truck_02_F", "O_T_Truck_02_transport_F", "O_T_Truck_02_fuel_F", "O_T_Truck_02_Ammo_F", "O_T_Truck_02_Box_F", "O_T_Truck_02_Medical_F", "O_T_Truck_03_transport_ghex_F", "O_T_Truck_03_covered_ghex_F", "O_T_Truck_03_repair_ghex_F", "O_T_Truck_03_ammo_ghex_F", "O_T_Truck_03_fuel_ghex_F", "O_T_Truck_03_medical_ghex_F", "O_T_Truck_03_device_ghex_F", "O_T_UGV_01_ghex_F", "O_T_UGV_01_rcws_ghex_F", "O_T_APC_Wheeled_02_rcws_v2_ghex_F", "O_G_Van_02_transport_F", "O_G_Van_02_vehicle_F" ], [ "O_APC_Tracked_02_cannon_F", "O_APC_Tracked_02_AA_F", "O_MBT_02_cannon_F", "O_MBT_02_arty_F", "O_T_APC_Tracked_02_cannon_ghex_F", "O_T_APC_Tracked_02_AA_ghex_F", "O_T_MBT_02_cannon_ghex_F", "O_T_MBT_02_arty_ghex_F", "O_MBT_04_cannon_F", "O_T_MBT_04_cannon_F", "O_MBT_04_command_F", "O_T_MBT_04_command_F", "O_UGV_02_Science_F", "O_UGV_02_Demining_F" ], [ "O_Heli_Light_02_dynamicLoadout_F", "O_Heli_Light_02_unarmed_F", "O_Heli_Attack_02_dynamicLoadout_F", "O_UAV_01_F", "O_Heli_Transport_04_F", "O_Heli_Transport_04_ammo_F", "O_Heli_Transport_04_bench_F", "O_Heli_Transport_04_box_F", "O_Heli_Transport_04_covered_F", "O_Heli_Transport_04_fuel_F", "O_Heli_Transport_04_medevac_F", "O_Heli_Transport_04_repair_F", "O_UAV_06_F", "O_UAV_06_medical_F" ], [ "O_Plane_CAS_02_dynamicLoadout_F", "O_UAV_02_dynamicLoadout_F", "O_T_UAV_04_CAS_F", "O_T_VTOL_02_infantry_dynamicLoadout_F", "O_T_VTOL_02_vehicle_dynamicLoadout_F", "O_Plane_Fighter_02_F", "O_Plane_Fighter_02_Stealth_F" ], [ "O_Boat_Armed_01_hmg_F", "O_Boat_Transport_01_F", "O_Lifeboat", "O_SDV_01_F", "O_G_Boat_Transport_01_F", "O_T_Boat_Armed_01_hmg_F", "O_T_Boat_Transport_01_F", "O_T_Lifeboat" ], [ "O_HMG_01_F", "O_HMG_01_high_F", "O_HMG_01_A_F", "O_GMG_01_F", "O_GMG_01_high_F", "O_GMG_01_A_F", "O_Mortar_01_F", "O_G_Mortar_01_F", "O_static_AA_F", "O_static_AT_F", "Land_Pod_Heli_Transport_04_bench_F", "Land_Pod_Heli_Transport_04_covered_F", "Land_Pod_Heli_Transport_04_medevac_F", "O_Static_Designator_02_F", "O_Radar_System_02_F", "O_SAM_System_04_F" ] ], [ [ "B_Soldier_F", "B_RangeMaster_F", "B_Soldier_lite_F", "B_Soldier_GL_F", "B_soldier_AR_F", "B_Soldier_SL_F", "B_Soldier_TL_F", "B_soldier_M_F", "B_soldier_LAT_F", "B_medic_F", "B_soldier_repair_F", "B_soldier_exp_F", "B_Helipilot_F", "B_Soldier_A_F", "B_soldier_AT_F", "B_soldier_AA_F", "B_engineer_F", "B_crew_F", "B_officer_F", "B_Competitor_F", "B_Pilot_F", "B_helicrew_F", "B_soldier_PG_F", "B_soldier_UAV_F", "B_Survivor_F", "B_Soldier_unarmed_F", "B_diver_F", "B_diver_TL_F", "B_diver_exp_F", "B_recon_F", "B_recon_LAT_F", "B_recon_exp_F", "B_recon_medic_F", "B_recon_TL_F", "B_recon_M_F", "B_recon_JTAC_F", "B_spotter_F", "B_sniper_F", "B_Story_SF_Captain_F", "B_Story_Protagonist_F", "B_Story_Pilot_F", "B_CTRG_soldier_GL_LAT_F", "B_CTRG_soldier_engineer_exp_F", "B_CTRG_soldier_M_medic_F", "B_CTRG_soldier_AR_A_F", "B_soldier_AAR_F", "B_soldier_AAT_F", "B_soldier_AAA_F", "B_support_MG_F", "B_support_GMG_F", "B_support_Mort_F", "B_support_AMG_F", "B_support_AMort_F", "B_G_Soldier_F", "B_G_Soldier_lite_F", "B_G_Soldier_SL_F", "B_G_Soldier_TL_F", "B_G_Soldier_AR_F", "B_G_medic_F", "B_G_engineer_F", "B_G_Soldier_exp_F", "B_G_Soldier_GL_F", "B_G_Soldier_M_F", "B_G_Soldier_LAT_F", "B_G_Soldier_A_F", "B_G_officer_F", "B_G_Soldier_unarmed_F", "B_G_Survivor_F", "I_G_Story_Protagonist_F", "I_G_Story_SF_Captain_F", "I_G_resistanceLeader_F", "B_Soldier_VR_F", "B_Protagonist_VR_F", "B_ghillie_lsh_F", "B_ghillie_sard_F", "B_ghillie_ard_F", "B_Sharpshooter_F", "B_Recon_Sharpshooter_F", "B_CTRG_Sharphooter_F", "B_HeavyGunner_F", "B_G_Sharpshooter_F", "B_Captain_Pettka_F", "B_Captain_Jay_F", "B_T_Soldier_A_F", "B_T_Soldier_AAR_F", "B_T_Support_AMG_F", "B_T_Support_AMort_F", "B_T_Soldier_AAA_F", "B_T_Soldier_AAT_F", "B_T_Soldier_AR_F", "B_T_Medic_F", "B_T_Crew_F", "B_T_Engineer_F", "B_T_Soldier_Exp_F", "B_T_Soldier_GL_F", "B_T_Support_GMG_F", "B_T_Support_MG_F", "B_T_Support_Mort_F", "B_T_Helicrew_F", "B_T_Helipilot_F", "B_T_soldier_M_F", "B_T_Soldier_AA_F", "B_T_Soldier_AT_F", "B_T_Officer_F", "B_T_Soldier_PG_F", "B_T_Pilot_F", "B_T_Soldier_Repair_F", "B_T_Soldier_F", "B_T_Soldier_LAT_F", "B_T_Soldier_SL_F", "B_T_Soldier_TL_F", "B_T_Soldier_UAV_F", "B_T_Diver_F", "B_T_Diver_Exp_F", "B_T_Diver_TL_F", "B_T_Recon_Exp_F", "B_T_Recon_JTAC_F", "B_T_Recon_M_F", "B_T_Recon_Medic_F", "B_T_Recon_F", "B_T_Recon_LAT_F", "B_T_Recon_TL_F", "B_T_Sniper_F", "B_T_Spotter_F", "B_T_ghillie_tna_F", "B_T_Soldier_unarmed_F", "B_CTRG_Soldier_TL_tna_F", "B_CTRG_Soldier_Exp_tna_F", "B_CTRG_Soldier_Medic_tna_F", "B_CTRG_Soldier_M_tna_F", "B_CTRG_Soldier_tna_F", "B_CTRG_Soldier_LAT_tna_F", "B_CTRG_Soldier_AR_tna_F", "B_CTRG_Soldier_JTAC_tna_F", "B_CTRG_Miller_F", "B_GEN_Soldier_F", "B_GEN_Commander_F", "B_Captain_Dwarden_F", "B_G_Captain_Ivan_F", "B_Deck_Crew_F", "B_Fighter_Pilot_F", "B_Patrol_Soldier_TL_F", "B_Patrol_Soldier_UAV_F", "B_Patrol_Soldier_M_F", "B_Patrol_Medic_F", "B_Patrol_Soldier_AR_F", "B_Patrol_Soldier_MG_F", "B_Patrol_HeavyGunner_F", "B_Patrol_Soldier_A_F", "B_Patrol_Soldier_AT_F", "B_Patrol_Engineer_F", "B_soldier_UAV_06_F", "B_soldier_UAV_06_medical_F", "B_T_soldier_UAV_06_F", "B_T_soldier_UAV_06_medical_F", "B_soldier_mine_F", "B_T_soldier_mine_F", "B_G_Story_Guerilla_01_F", "B_soldier_LAT2_F", "B_T_Soldier_LAT2_F", "B_CTRG_Soldier_LAT2_tna_F", "B_G_Soldier_LAT2_F", "B_W_Soldier_A_F", "B_W_Soldier_AAR_F", "B_W_Support_AMG_F", "B_W_Support_AMort_F", "B_W_Soldier_AAA_F", "B_W_Soldier_AAT_F", "B_W_Soldier_AR_F", "B_W_Medic_F", "B_W_Crew_F", "B_W_Engineer_F", "B_W_Soldier_Exp_F", "B_W_soldier_mine_F", "B_W_Soldier_GL_F", "B_W_Support_GMG_F", "B_W_Support_MG_F", "B_W_Support_Mort_F", "B_W_Helicrew_F", "B_W_Helipilot_F", "B_W_soldier_M_F", "B_W_Soldier_AA_F", "B_W_Soldier_AT_F", "B_W_Officer_F", "B_W_Soldier_Repair_F", "B_W_Soldier_F", "B_W_Soldier_LAT_F", "B_W_Soldier_LAT2_F", "B_W_Soldier_SL_F", "B_W_Soldier_TL_F", "B_W_Soldier_CBRN_F", "B_W_RadioOperator_F", "B_W_Survivor_F", "B_soldier_UGV_02_Science_F", "B_soldier_UGV_02_Demining_F", "B_W_Soldier_UAV_F", "B_W_soldier_UGV_02_Science_F", "B_W_soldier_UGV_02_Demining_F", "B_W_Soldier_unarmed_F" ], [ "B_MRAP_01_F", "B_MRAP_01_gmg_F", "B_MRAP_01_hmg_F", "B_G_Offroad_01_repair_F", "B_G_Offroad_01_F", "B_G_Offroad_01_armed_F", "B_G_Offroad_01_AT_F", "B_Quadbike_01_F", "B_G_Quadbike_01_F", "B_Truck_01_transport_F", "B_Truck_01_covered_F", "B_Truck_01_mover_F", "B_Truck_01_box_F", "B_Truck_01_Repair_F", "B_Truck_01_ammo_F", "B_Truck_01_fuel_F", "B_Truck_01_medical_F", "B_G_Van_01_transport_F", "B_G_Van_01_fuel_F", "B_APC_Wheeled_01_cannon_F", "B_UGV_01_F", "B_UGV_01_rcws_F", "B_T_LSV_01_armed_F", "B_T_LSV_01_AT_F", "B_T_LSV_01_unarmed_F", "B_LSV_01_armed_F", "B_LSV_01_AT_F", "B_LSV_01_unarmed_F", "B_CTRG_LSV_01_light_F", "B_T_MRAP_01_F", "B_T_MRAP_01_gmg_F", "B_T_MRAP_01_hmg_F", "B_GEN_Offroad_01_gen_F", "B_T_Quadbike_01_F", "B_T_Truck_01_transport_F", "B_T_Truck_01_covered_F", "B_T_Truck_01_mover_F", "B_T_Truck_01_box_F", "B_T_Truck_01_Repair_F", "B_T_Truck_01_ammo_F", "B_T_Truck_01_fuel_F", "B_T_Truck_01_medical_F", "B_T_UGV_01_olive_F", "B_T_UGV_01_rcws_olive_F", "B_T_APC_Wheeled_01_cannon_F", "B_G_Van_02_transport_F", "B_GEN_Van_02_transport_F", "B_G_Van_02_vehicle_F", "B_GEN_Van_02_vehicle_F", "B_AFV_Wheeled_01_cannon_F", "B_T_AFV_Wheeled_01_cannon_F", "B_AFV_Wheeled_01_up_cannon_F", "B_T_AFV_Wheeled_01_up_cannon_F", "B_GEN_Offroad_01_covered_F", "B_GEN_Offroad_01_comms_F", "B_Truck_01_flatbed_F", "B_T_Truck_01_flatbed_F", "B_Truck_01_cargo_F", "B_T_Truck_01_cargo_F" ], [ "B_APC_Tracked_01_rcws_F", "B_APC_Tracked_01_CRV_F", "B_APC_Tracked_01_AA_F", "B_MBT_01_cannon_F", "B_MBT_01_arty_F", "B_MBT_01_mlrs_F", "B_MBT_01_TUSK_F", "B_T_APC_Tracked_01_AA_F", "B_T_APC_Tracked_01_CRV_F", "B_T_APC_Tracked_01_rcws_F", "B_T_MBT_01_arty_F", "B_T_MBT_01_mlrs_F", "B_T_MBT_01_cannon_F", "B_T_MBT_01_TUSK_F", "B_UGV_02_Science_F", "B_UGV_02_Demining_F" ], [ "B_Heli_Light_01_F", "B_Heli_Light_01_dynamicLoadout_F", "B_Heli_Attack_01_dynamicLoadout_F", "B_Heli_Transport_01_F", "B_UAV_01_F", "B_Heli_Transport_03_F", "B_Heli_Transport_03_unarmed_F", "B_CTRG_Heli_Transport_01_sand_F", "B_CTRG_Heli_Transport_01_tropic_F", "B_T_UAV_03_dynamicLoadout_F", "B_UAV_06_F", "B_UAV_06_medical_F" ], [ "B_Plane_CAS_01_dynamicLoadout_F", "B_UAV_02_dynamicLoadout_F", "B_T_VTOL_01_infantry_F", "B_T_VTOL_01_vehicle_F", "B_T_VTOL_01_armed_F", "B_Plane_Fighter_01_F", "B_Plane_Fighter_01_Stealth_F", "B_UAV_05_F" ], [ "B_Boat_Armed_01_minigun_F", "B_Boat_Transport_01_F", "B_Lifeboat", "B_SDV_01_F", "B_G_Boat_Transport_01_F", "B_T_Boat_Armed_01_minigun_F", "B_T_Boat_Transport_01_F", "B_T_Lifeboat" ], [ "B_HMG_01_F", "B_HMG_01_high_F", "B_HMG_01_A_F", "B_GMG_01_F", "B_GMG_01_high_F", "B_GMG_01_A_F", "B_Mortar_01_F", "B_G_Mortar_01_F", "B_static_AA_F", "B_static_AT_F", "B_Static_Designator_01_F", "B_T_Static_AA_F", "B_T_Static_AT_F", "B_T_GMG_01_F", "B_T_HMG_01_F", "B_T_Mortar_01_F", "B_AAA_System_01_F", "B_SAM_System_01_F", "B_SAM_System_02_F", "B_Ship_Gun_01_F", "B_Ship_MRLS_01_F", "B_W_Static_Designator_01_F", "B_Radar_System_01_F", "B_SAM_System_03_F" ] ], [ [ "I_G_Soldier_F", "I_G_Soldier_lite_F", "I_G_Soldier_SL_F", "I_G_Soldier_TL_F", "I_G_Soldier_AR_F", "I_G_medic_F", "I_G_engineer_F", "I_G_Soldier_exp_F", "I_G_Soldier_GL_F", "I_G_Soldier_M_F", "I_G_Soldier_LAT_F", "I_G_Soldier_A_F", "I_G_officer_F", "I_G_Soldier_unarmed_F", "I_G_Survivor_F", "I_soldier_F", "I_Soldier_lite_F", "I_Soldier_A_F", "I_Soldier_GL_F", "I_Soldier_AR_F", "I_Soldier_SL_F", "I_Soldier_TL_F", "I_Soldier_M_F", "I_Soldier_LAT_F", "I_Soldier_AT_F", "I_Soldier_AA_F", "I_medic_F", "I_Soldier_repair_F", "I_Soldier_exp_F", "I_engineer_F", "I_crew_F", "I_helipilot_F", "I_pilot_F", "I_helicrew_F", "I_officer_F", "I_Story_Colonel_F", "I_soldier_UAV_F", "I_Survivor_F", "I_Soldier_unarmed_F", "I_diver_F", "I_diver_exp_F", "I_diver_TL_F", "I_Spotter_F", "I_Sniper_F", "I_Soldier_AAR_F", "I_Soldier_AAT_F", "I_Soldier_AAA_F", "I_support_MG_F", "I_support_GMG_F", "I_support_Mort_F", "I_support_AMG_F", "I_support_AMort_F", "I_Soldier_VR_F", "I_Protagonist_VR_F", "I_ghillie_lsh_F", "I_ghillie_sard_F", "I_ghillie_ard_F", "I_G_Sharpshooter_F", "I_Captain_Hladas_F", "I_C_Soldier_Para_1_F", "I_C_Soldier_Para_2_F", "I_C_Soldier_Para_3_F", "I_C_Soldier_Para_4_F", "I_C_Soldier_Para_5_F", "I_C_Soldier_Para_6_F", "I_C_Soldier_Para_7_F", "I_C_Soldier_Para_8_F", "I_C_Soldier_Bandit_1_F", "I_C_Soldier_Bandit_2_F", "I_C_Soldier_Bandit_3_F", "I_C_Soldier_Bandit_4_F", "I_C_Soldier_Bandit_5_F", "I_C_Soldier_Bandit_6_F", "I_C_Soldier_Bandit_7_F", "I_C_Soldier_Bandit_8_F", "I_C_Soldier_Camo_F", "I_C_Pilot_F", "I_C_Helipilot_F", "I_C_Soldier_base_unarmed_F", "I_Fighter_Pilot_F", "I_soldier_UAV_06_F", "I_soldier_UAV_06_medical_F", "I_soldier_mine_F", "I_Story_Officer_01_F", "I_G_Soldier_LAT2_F", "I_Soldier_LAT2_F", "I_Story_Crew_F", "I_E_Soldier_F", "I_E_Soldier_unarmed_F", "I_E_Soldier_A_F", "I_E_Soldier_AAR_F", "I_E_Soldier_AR_F", "I_E_Soldier_lite_F", "I_E_Soldier_GL_F", "I_E_soldier_M_F", "I_E_Officer_F", "I_E_Soldier_SL_F", "I_E_Soldier_TL_F", "I_E_Survivor_F", "I_E_RadioOperator_F", "I_E_Soldier_AA_F", "I_E_Soldier_AT_F", "I_E_Soldier_LAT_F", "I_E_Soldier_LAT2_F", "I_E_Soldier_AAA_F", "I_E_Soldier_AAT_F", "I_E_Support_GMG_F", "I_E_Support_MG_F", "I_E_Support_Mort_F", "I_E_Support_AMG_F", "I_E_Support_AMort_F", "I_E_Soldier_Pathfinder_F", "I_E_Engineer_F", "I_E_Soldier_Exp_F", "I_E_soldier_Mine_F", "I_E_Soldier_Repair_F", "I_E_Soldier_CBRN_F", "I_E_Scientist_F", "I_E_Scientist_Unarmed_F", "I_E_Medic_F", "I_E_Soldier_MP_F", "I_E_Crew_F", "I_E_Helipilot_F", "I_E_Helicrew_F", "I_E_Soldier_UAV_F", "I_E_soldier_UAV_06_F", "I_E_soldier_UAV_06_medical_F", "I_E_soldier_UGV_02_Science_F", "I_E_soldier_UGV_02_Demining_F", "I_L_Looter_Pistol_F", "I_L_Looter_SG_F", "I_L_Looter_Rifle_F", "I_L_Looter_SMG_F", "I_L_Criminal_SG_F", "I_L_Criminal_SMG_F", "I_L_Hunter_F" ], [ "I_G_Offroad_01_repair_F", "I_G_Offroad_01_F", "I_G_Offroad_01_AT_F", "I_G_Offroad_01_armed_F", "I_Quadbike_01_F", "I_G_Quadbike_01_F", "I_MRAP_03_F", "I_MRAP_03_hmg_F", "I_MRAP_03_gmg_F", "I_Truck_02_covered_F", "I_Truck_02_transport_F", "I_Truck_02_ammo_F", "I_Truck_02_box_F", "I_Truck_02_medical_F", "I_Truck_02_fuel_F", "I_Truck_02_MRL_F", "I_G_Van_01_transport_F", "I_G_Van_01_fuel_F", "I_APC_Wheeled_03_cannon_F", "I_UGV_01_F", "I_UGV_01_rcws_F", "I_C_Offroad_02_unarmed_F", "I_C_Offroad_02_LMG_F", "I_C_Offroad_02_AT_F", "I_C_Van_01_transport_F", "I_G_Van_02_transport_F", "I_C_Van_02_transport_F", "I_G_Van_02_vehicle_F", "I_C_Van_02_vehicle_F", "I_E_Offroad_01_F", "I_E_Offroad_01_covered_F", "I_E_Offroad_01_comms_F", "I_E_Quadbike_01_F", "I_E_Truck_02_F", "I_E_Truck_02_transport_F", "I_E_Truck_02_fuel_F", "I_E_Truck_02_Ammo_F", "I_E_Truck_02_Box_F", "I_E_Truck_02_Medical_F", "I_E_Truck_02_MRL_F", "I_E_UGV_01_F", "I_E_UGV_01_rcws_F", "I_E_Van_02_vehicle_F", "I_E_Van_02_transport_F", "I_E_Van_02_transport_MP_F", "I_E_Van_02_medevac_F" ], [ "I_APC_tracked_03_cannon_F", "I_MBT_03_cannon_F", "I_LT_01_AT_F", "I_LT_01_scout_F", "I_LT_01_AA_F", "I_LT_01_cannon_F", "I_UGV_02_Science_F", "I_E_UGV_02_Science_F", "I_UGV_02_Demining_F", "I_E_UGV_02_Demining_F", "I_E_APC_tracked_03_cannon_F" ], [ "I_Heli_Transport_02_F", "I_Heli_light_03_dynamicLoadout_F", "I_Heli_light_03_unarmed_F", "I_UAV_01_F", "I_C_Heli_Light_01_civil_F", "I_UAV_06_F", "I_UAV_06_medical_F", "I_E_Heli_light_03_dynamicLoadout_F", "I_E_Heli_light_03_unarmed_F", "I_E_UAV_01_F", "I_E_UAV_06_F", "I_E_UAV_06_medical_F" ], [ "I_Plane_Fighter_03_dynamicLoadout_F", "I_UAV_02_dynamicLoadout_F", "I_C_Plane_Civil_01_F", "I_Plane_Fighter_04_F" ], [ "I_Boat_Armed_01_minigun_F", "I_Boat_Transport_01_F", "I_SDV_01_F", "I_G_Boat_Transport_01_F", "I_C_Boat_Transport_01_F", "I_C_Boat_Transport_02_F" ], [ "I_HMG_01_F", "I_HMG_01_high_F", "I_HMG_01_A_F", "I_GMG_01_F", "I_GMG_01_high_F", "I_GMG_01_A_F", "I_Mortar_01_F", "I_G_Mortar_01_F", "I_static_AA_F", "I_static_AT_F", "I_E_Static_AA_F", "I_E_Static_AT_F", "I_E_GMG_01_F", "I_E_GMG_01_high_F", "I_E_GMG_01_A_F", "I_E_HMG_01_F", "I_E_HMG_01_high_F", "I_E_HMG_01_A_F", "I_E_Mortar_01_F", "I_E_Radar_System_01_F", "I_E_SAM_System_03_F" ] ], [ [ "C_man_1", "C_man_1_1_F", "C_man_1_2_F", "C_man_1_3_F", "C_man_polo_1_F", "C_man_polo_1_F_afro", "C_man_polo_1_F_euro", "C_man_polo_1_F_asia", "C_man_polo_2_F", "C_man_polo_2_F_afro", "C_man_polo_2_F_euro", "C_man_polo_2_F_asia", "C_man_polo_3_F", "C_man_polo_3_F_afro", "C_man_polo_3_F_euro", "C_man_polo_3_F_asia", "C_man_polo_4_F", "C_man_polo_4_F_afro", "C_man_polo_4_F_euro", "C_man_polo_4_F_asia", "C_man_polo_5_F", "C_man_polo_5_F_afro", "C_man_polo_5_F_euro", "C_man_polo_5_F_asia", "C_man_polo_6_F", "C_man_polo_6_F_afro", "C_man_polo_6_F_euro", "C_man_polo_6_F_asia", "C_man_p_fugitive_F", "C_man_p_fugitive_F_afro", "C_man_p_fugitive_F_euro", "C_man_p_fugitive_F_asia", "C_man_p_beggar_F", "C_man_p_beggar_F_afro", "C_man_p_beggar_F_euro", "C_man_p_beggar_F_asia", "C_man_w_worker_F", "C_scientist_F", "C_man_hunter_1_F", "C_man_p_shorts_1_F", "C_man_p_shorts_1_F_afro", "C_man_p_shorts_1_F_euro", "C_man_p_shorts_1_F_asia", "C_man_shorts_1_F", "C_man_shorts_1_F_afro", "C_man_shorts_1_F_euro", "C_man_shorts_1_F_asia", "C_man_shorts_2_F", "C_man_shorts_2_F_afro", "C_man_shorts_2_F_euro", "C_man_shorts_2_F_asia", "C_man_shorts_3_F", "C_man_shorts_3_F_afro", "C_man_shorts_3_F_euro", "C_man_shorts_3_F_asia", "C_man_shorts_4_F", "C_man_shorts_4_F_afro", "C_man_shorts_4_F_euro", "C_man_shorts_4_F_asia", "C_man_pilot_F", "C_journalist_F", "C_Orestes", "C_Nikos", "C_Nikos_aged", "C_Driver_1_F", "C_Driver_2_F", "C_Driver_3_F", "C_Driver_4_F", "C_Marshal_F", "C_Soldier_VR_F", "C_Protagonist_VR_F", "C_man_sport_1_F", "C_man_sport_1_F_afro", "C_man_sport_1_F_euro", "C_man_sport_1_F_asia", "C_man_sport_1_F_tanoan", "C_man_sport_2_F", "C_man_sport_2_F_afro", "C_man_sport_2_F_euro", "C_man_sport_2_F_asia", "C_man_sport_2_F_tanoan", "C_man_sport_3_F", "C_man_sport_3_F_afro", "C_man_sport_3_F_euro", "C_man_sport_3_F_asia", "C_man_sport_3_F_tanoan", "C_Man_casual_1_F", "C_Man_casual_1_F_afro", "C_Man_casual_1_F_euro", "C_Man_casual_1_F_asia", "C_Man_casual_1_F_tanoan", "C_Man_casual_2_F", "C_Man_casual_2_F_afro", "C_Man_casual_2_F_euro", "C_Man_casual_2_F_asia", "C_Man_casual_2_F_tanoan", "C_Man_casual_3_F", "C_Man_casual_3_F_afro", "C_Man_casual_3_F_euro", "C_Man_casual_3_F_asia", "C_Man_casual_3_F_tanoan", "C_Man_casual_4_F", "C_Man_casual_4_F_afro", "C_Man_casual_4_F_euro", "C_Man_casual_4_F_asia", "C_Man_casual_4_F_tanoan", "C_Man_casual_5_F", "C_Man_casual_5_F_afro", "C_Man_casual_5_F_euro", "C_Man_casual_5_F_asia", "C_Man_casual_5_F_tanoan", "C_Man_casual_6_F", "C_Man_casual_6_F_afro", "C_Man_casual_6_F_euro", "C_Man_casual_6_F_asia", "C_Man_casual_6_F_tanoan", "C_IDAP_Man_AidWorker_01_F", "C_IDAP_Man_AidWorker_02_F", "C_IDAP_Man_AidWorker_03_F", "C_IDAP_Man_AidWorker_04_F", "C_IDAP_Man_AidWorker_05_F", "C_IDAP_Man_AidWorker_06_F", "C_IDAP_Man_AidWorker_07_F", "C_IDAP_Man_AidWorker_08_F", "C_IDAP_Man_AidWorker_09_F", "C_Man_ConstructionWorker_01_Red_F", "C_Man_ConstructionWorker_01_Vrana_F", "C_Man_ConstructionWorker_01_Black_F", "C_Man_ConstructionWorker_01_Blue_F", "C_Man_Paramedic_01_F", "C_IDAP_Man_Paramedic_01_F", "C_IDAP_Pilot_01_F", "C_Journalist_01_War_F", "C_Man_UtilityWorker_01_F", "C_IDAP_Man_EOD_01_F", "C_IDAP_Man_UAV_01_F", "C_IDAP_Man_UAV_06_F", "C_IDAP_Man_UAV_06_medical_F", "C_IDAP_Man_UAV_06_antimine_F", "C_Man_UAV_06_F", "C_Man_UAV_06_medical_F", "C_Man_Fisherman_01_F", "C_Man_Messenger_01_F", "C_Story_EOD_01_F", "C_Story_Mechanic_01_F", "C_scientist_01_formal_F", "C_scientist_02_formal_F", "C_scientist_01_informal_F", "C_scientist_02_informal_F", "C_Man_1_enoch_F", "C_Man_2_enoch_F", "C_Man_3_enoch_F", "C_Man_4_enoch_F", "C_Man_5_enoch_F", "C_Man_6_enoch_F", "C_Farmer_01_enoch_F" ], [ "C_Offroad_01_F", "C_Offroad_01_repair_F", "C_Quadbike_01_F", "C_Truck_02_covered_F", "C_Truck_02_transport_F", "C_Hatchback_01_F", "C_Hatchback_01_sport_F", "C_SUV_01_F", "C_Truck_02_fuel_F", "C_Truck_02_box_F", "C_Van_01_transport_F", "C_Van_01_box_F", "C_Van_01_fuel_F", "C_Kart_01_F", "C_Kart_01_Fuel_F", "C_Kart_01_Blu_F", "C_Kart_01_Red_F", "C_Kart_01_Vrana_F", "C_Offroad_02_unarmed_F", "C_IDAP_Offroad_01_F", "C_IDAP_Offroad_02_unarmed_F", "C_IDAP_Truck_02_F", "C_IDAP_Truck_02_transport_F", "C_IDAP_Truck_02_water_F", "C_IDAP_UGV_01_F", "C_Van_02_transport_F", "C_IDAP_Van_02_transport_F", "C_Van_02_vehicle_F", "C_IDAP_Van_02_vehicle_F", "C_Van_02_medevac_F", "C_IDAP_Van_02_medevac_F", "C_Van_02_service_F", "C_Offroad_01_covered_F", "C_Offroad_01_comms_F", "C_Tractor_01_F" ], [ "C_IDAP_UGV_02_Demining_F" ], [ "C_Heli_Light_01_civil_F", "C_IDAP_Heli_Transport_02_F", "C_IDAP_UAV_01_F", "C_IDAP_UAV_06_F", "C_UAV_06_F", "C_IDAP_UAV_06_antimine_F", "C_IDAP_UAV_06_medical_F", "C_UAV_06_medical_F" ], [ "C_Plane_Civil_01_F", "C_Plane_Civil_01_racing_F" ], [ "C_Rubberboat", "C_Boat_Civil_01_F", "C_Boat_Civil_01_rescue_F", "C_Boat_Civil_01_police_F", "C_Boat_Transport_02_F", "C_Scooter_Transport_01_F" ], [ ] ] ] Good day Larrow, I do have another question to this. How would I implement this into a script that would select a random unit to spawn without having to copy and past the names manually? I do have the script that spawns the units but only if the names (strings) are already in an array. You dont have to create it, I just need help understanding how the output works with this script without the copy to clipboard and if I can just output it to a variable (_variablename = [];). I tried to select an element from the array but got the type array, expected string error. Share this post Link to post Share on other sites
Joedapro 2 Posted October 10, 2019 On 9/15/2019 at 8:25 AM, Larrow said: Just run it from the debugConsole in the editor to output a static array. Yes just Ctrl+V into your editor of choice. Save it as a script and give the output a variable, and load the script at mission start to initialise the variable. //sideVehicleClass.sqf TAG_sideVehicles = /*Pasted output here*/ ; //initServer.sqf execVM "sideVehicleClass.sqf"; Then TAG_sideVehicles is available on the server to pull your classes from. The output would be static to whatever you paste into the file. If you need to make it update available vehicles on every mission load( maybe the user has a new mod installed ) then instead execute the script in the previous post from wherever needed( ie initServer.sqf ) and replace the copyToClipboard with TAG_sideVehicles = _output; This would be better done via a postInit function. More info on that can be found here CfgFunctions. Then whenever you need something. #define MEN 0 #define CARS 1 #define TANKS 2 #define HELICOPTERS 3 #define PLANES 4 #define SHIPS 5 #define STATIC 6 //Example random West Unit _side = west call BIS_fnc_sideID; _type = MEN; _randomWestMan = selectRandom ( TAG_sideVehicles select _side select _type ); //Example random East Helicopter _side = east call BIS_fnc_sideID; _type = HELICOPTERS; _randomEastHeli = selectRandom ( TAG_sideVehicles select _side select _type ); This is it, my apologies. Share this post Link to post Share on other sites
Joedapro 2 Posted October 11, 2019 On 9/15/2019 at 8:25 AM, Larrow said: _randomWestMan = selectRandom ( TAG_sideVehicles select _side select _type ); My apologies, I have an issue I ran into with this. I tried using this in a script but I run into an error. I outputted the script into a global variable On 10/10/2019 at 7:46 PM, Joedapro said: TAG_sideVehicles = _output; but when I called TAG_sideVehicles select ... in a separate script I get Error select: Type Text, expected Array, String, Config entry. How do I fix this? Share this post Link to post Share on other sites
Larrow 2822 Posted October 13, 2019 Delete everything in my script from //Code below this set of comments just makes the data readable onwards. Then at the end place TAG_sideVehicles = _data; Sorry I realise I entered the wrong info in one of my previous post telling you to use _output instead. 1 Share this post Link to post Share on other sites