string map = GetDvar("mapname");
List
<string> models
= new List
<string>();
//default always-preloaded models
models.Add("com_plasticcase_beige_big");
models.Add("mil_tntbomb_mp");
models.Add("prop_flag_neutral");
models.Add("vehicle_ac130_coop");
models.Add("tag_origin");
models.Add("c130_zoomrig");
models.Add("com_bomb_objective_d");
models.Add("com_bomb_objective");
models.Add("com_plasticcase_green_big_us_dirt");
models.Add("com_plasticcase_beige_big");
models.Add("com_laptop_2_open");
models.Add("com_cellphone_on");
//map specific
if (map == "mp_alpha")
{
models.Add("usa_gas_station_trash_bin_01");
models.Add("com_trashcan_metal_closed");
models.Add("vehicle_bm21_cover_destructible_dusty");
models.Add("vehicle_subcompact_blue_destructible");
models.Add("vehicle_pickup_destructible_mp");
models.Add("vehicle_coupe_green_destructible");
models.Add("brokenglass_pile01");
models.Add("brokenglass_pile03");
models.Add("hanging_hanger01");
models.Add("hanging_hanger03");
models.Add("hanging_hanger02");
models.Add("brokenglass_pile07");
models.Add("com_newspaperbox_blue");
models.Add("vehicle_coupe_white_destructible");
models.Add("vehicle_uaz_hardtop_dest_mp_castle_wet");
models.Add("alpha_hanging_civs");
}
else if (map == "mp_bootleg")
{
models.Add("india_vehicle_rksw");
models.Add("me_electricbox4");
models.Add("utility_transformer_ratnest01");
models.Add("com_ex_airconditioner");
models.Add("com_tv1");
models.Add("me_lightfluohang_double_on");
models.Add("cs_wallfan1");
models.Add("vehicle_moving_truck_destructible");
models.Add("chicken");
models.Add("vehicle_uaz_van_destructible");
models.Add("vehicle_80s_sedan1_red_destructible_mp");
models.Add("me_chainlink_fence_pole");
models.Add("me_corrugated_metal8x8");
}
else if (map == "mp_bravo")
{
models.Add("me_electricbox4");
models.Add("cs_wallfan1");
models.Add("foliage_pacelse ific_bushtree02_animated");
models.Add("utility_transformer_ratnest01");
models.Add("foliage_cod5_tree_jungle_03_animated");
models.Add("hanging_sheet");
models.Add("hanging_long_sleeve");
models.Add("hanging_apron");
models.Add("vehicle_pickup_destructible_mp");
models.Add("foliage_pacelse ific_palms08_animated");
models.Add("hanging_short_sleeve");
}
else if (map == "mp_carbon")
{
models.Add("com_filecabinetblackclosed");
models.Add("me_electricbox4");
models.Add("me_lightfluohang");
models.Add("com_locker_double");
models.Add("com_locker_open");
models.Add("me_electricbox2");
models.Add("com_barrel_benzin");
models.Add("vehicle_pickup_destructible_mp");
models.Add("com_wall_fan_blade");
models.Add("com_ex_airconditioner");
models.Add("machinery_oxygen_tank02");
models.Add("com_electrical_transformer_large_dam");
models.Add("machinery_oxygen_tank01");
models.Add("me_lightfluohang_on");
models.Add("fence_tarp_132x82_a");
models.Add("fence_tarp_128x64");
models.Add("machinery_generator");
models.Add("com_trashcan_metal_closed");
models.Add("fence_tarp_130x82_a");
models.Add("fence_tarp_40x58");
models.Add("utility_transformer_ratnest01");
models.Add("vehicle_uk_utility_truck_destructible");
models.Add("fence_tarp_70x82");
models.Add("com_propane_tank02_small");
models.Add("fence_tarp_162x64");
models.Add("fence_tarp_68x58");
models.Add("fence_tarp_132x62");
models.Add("fence_tarp_140x68");
models.Add("fence_tarp_80x84");
models.Add("fence_tarp_130x82");
models.Add("fence_tarp_108x76");
models.Add("fence_tarp_160x82");
models.Add("fence_tarp_94x64");
models.Add("fence_tarp_124x64");
models.Add("fence_tarp_90x64");
models.Add("fence_tarp_130x76");
models.Add("fence_tarp_110x64");
}
else if (map == "mp_dome")
{
models.Add("machinery_oxygen_tank02");
models.Add("machinery_windmill");
models.Add("com_ex_airconditioner");
models.Add("com_barrel_benzin");
models.Add("com_pipe_8x96_gas");
models.Add("com_pipe_4x64_metal");
models.Add("me_electricbox4");
models.Add("com_pipe_8x128_metal");
models.Add("com_pipe_4x96_metal");
models.Add("com_pipe_4x128_gas");
models.Add("fence_tarp_130x56");
models.Add("fence_tarp_107x56");
models.Add("fence_tarp_151x56");
models.Add("fence_tarp_134x56");
models.Add("fence_tarp_140x56");
models.Add("fence_tarp_167x56");
models.Add("fence_tarp_134x76");
models.Add("vehicle_hummer_destructible");
models.Add("foliage_pacelse ific_bushtree01_animated");
models.Add("foliage_desertbrush_3_animated");
models.Add("foliage_pacelse ific_flowers06_animated");
models.Add("oil_pump_jack01");
models.Add("oil_pump_jack02");
models.Add("accessories_windsock_large");
}
else if (map == "mp_exchange")
{
models.Add("berlin_traffic_signal_2x_01_green_on");
models.Add("berlin_traffic_signal_2x_01_off");
models.Add("vehicle_taxi_yellow_destructible_dusty");
models.Add("vehicle_bus_destructible_mp");
models.Add("com_filecabinetblackclosed");
models.Add("ma_flatscreen_tv_on_wallmount_02_static");
models.Add("vehicle_jeep_destructible_dusty");
models.Add("vehicle_moving_truck_destructible");
models.Add("prop_photocopier_destructible_02");
models.Add("com_pipe_4x256_gas");
models.Add("vehicle_taxi_rooftop_ad_base");
models.Add("vehicle_taxi_rooftop_ad_2");
models.Add("vehicle_taxi_rooftop_ad_3");
models.Add("vehicle_taxi_toplight");
models.Add("vehicle_taxi_rooftop_ad_4");
}
else if (map == "mp_hardhat")
{
models.Add("com_barrel_benzin");
models.Add("machinery_oxygen_tank02");
models.Add("machinery_oxygen_tank01");
models.Add("machinery_generator");
models.Add("fence_tarp_208x42");
models.Add("hanging_dead_paratrooper01");
models.Add("com_trashcan_metal_closed");
models.Add("concrete_sewer_pipe_large");
models.Add("com_ex_airconditioner");
models.Add("fence_tarp_196x56");
models.Add("fence_tarp_192x84_a");
models.Add("fence_tarp_128x84");
models.Add("fence_tarp_draping_224x116");
models.Add("fence_tarp_draping_98x94_01");
models.Add("fence_tarp_196x36");
models.Add("plastic_fence_528x88");
models.Add("plastic_fence_232x88");
models.Add("plastic_fence_264x40");
models.Add("plastic_fence_234x88");
models.Add("plastic_fence_400x88");
models.Add("plastic_fence_300x88");
models.Add("plastic_fence_256x48");
models.Add("fence_tarp_192x50");
models.Add("fx_wood_beam");
models.Add("payback_sstorm_debris_wood_5");
models.Add("fence_tarp_196x146");
models.Add("fence_tarp_352x88");
models.Add("fence_tarp_draping_98x94_02");
models.Add("vehicle_jeep_destructible");
}
else if (map == "mp_interchange")
{
models.Add("vehicle_subcompact_mica_destructible");
models.Add("vehicle_taxi_yellow_destructible_dusty");
models.Add("vehicle_bus_destructible_mp");
models.Add("vehicle_taxi_yellow_destructible");
models.Add("com_ex_airconditioner");
models.Add("me_electricbox4");
models.Add("vehicle_moving_truck_destructible");
models.Add("com_wall_fan_blade");
models.Add("vehicle_jeep_destructible");
models.Add("vehicle_taxi_rooftop_ad_base");
models.Add("vehicle_taxi_rooftop_ad_3");
models.Add("vehicle_taxi_rooftop_ad_2");
models.Add("vehicle_taxi_rooftop_ad_1");
models.Add("vehicle_taxi_rooftop_ad_4");
}
else if (map == "mp_lambeth")
{
models.Add("foliage_tree_river_birch_xl_a_animated");
models.Add("foliage_tree_river_birch_lg_a_animated");
models.Add("com_propane_tank02");
models.Add("com_trashcan_metal_closed");
models.Add("me_electricbox4");
models.Add("vehicle_small_hatch_blue_destructible_mp");
models.Add("vehicle_uaz_hardtop_dest_mp_castle_wet");
models.Add("vehicle_80s_wagon1_green_destructible_mp");
models.Add("vehicle_small_hatch_turq_destructible_mp");
models.Add("com_roofvent2_animated");
models.Add("me_electricbox2");
}
else if (map == "mp_mogadishu")
{
models.Add("vehicle_80s_hatch1_brn_destructible_mp");
models.Add("me_electricbox4");
models.Add("com_tv1");
models.Add("hanging_sheet");
models.Add("machinery_oxygen_tank02");
models.Add("machinery_oxygen_tank01");
models.Add("me_electricbox2");
models.Add("vehicle_pickup_destructible_mp");
models.Add("com_trashcan_metal_closed");
models.Add("weapon_minigun");
models.Add("utility_transformer_ratnest01");
}
else if (map == "mp_paris")
{
models.Add("vehicle_subcompact_white_destructible");
models.Add("vehicle_subcompact_slate_destructible");
models.Add("vehicle_delivery_theme_park_truck_destructible");
models.Add("vehicle_subcompact_green_destructible");
models.Add("com_trashbin01");
models.Add("com_recyclebin01");
models.Add("vehicle_scooter_vespa_destruct_green");
models.Add("ch_curtain01");
models.Add("vehicle_van_sas_dark_destructable");
models.Add("vehicle_van_mica_destructible");
models.Add("vehicle_coupe_deep_blue_destructible");
models.Add("vehicle_80s_sedan1_green_destructible_mp");
models.Add("vehicle_scooter_vespa_destruct_blue");
models.Add("vehicle_scooter_vespa_destruct_cream");
models.Add("com_tv1_cinematic");
models.Add("vehicle_subcompact_dark_gray_destructible");
models.Add("vehicle_coupe_tan_destructible");
}
else if (map == "mp_plaza2")
{
models.Add("vehicle_uaz_van_destructible");
models.Add("com_filecabinetblackclosed");
models.Add("cs_wallfan1");
models.Add("vehicle_mi24p_hind_plaza_body_destroy_animated");
models.Add("machinery_oxygen_tank01");
models.Add("vehicle_uaz_hardtop_dest_mp_castle_wet");
models.Add("vehicle_bm21_cover_castle_destructible");
models.Add("ma_flatscreen_tv_on_wallmount_02_static");
models.Add("berlin_hotel_lights_wall2");
models.Add("vehicle_bm21_cover_destructible_dusty");
}
else if (map == "mp_radar")
{
models.Add("vehicle_uaz_winter_destructible");
models.Add("com_wall_fan_blade");
models.Add("me_electricbox4");
models.Add("me_electricbox2");
models.Add("machinery_oxygen_tank01");
models.Add("com_locker_double");
models.Add("machinery_oxygen_tank02");
models.Add("com_barrel_benzin");
models.Add("vehicle_bm21_mobile_bed_castle_destructible");
models.Add("com_filecabinetblackclosed");
models.Add("machinery_generator");
models.Add("com_tv1");
models.Add("fence_tarp_126x76");
models.Add("com_wall_fan_blade_2x");
models.Add("rus_radar_dish_animated");
models.Add("fence_tarp_124x52_a");
models.Add("com_propane_tank02_small");
models.Add("fence_tarp_124x52_b");
models.Add("me_rooftop_tank_01");
models.Add("com_gas_pipes01");
models.Add("com_gas_pipes02");
models.Add("com_pipe_4_coupling_gas");
models.Add("com_pipe_4_90angle_gas");
models.Add("com_pipe_4x96_gas");
models.Add("com_pipe_4_fit_gas");
models.Add("com_propane_tank02_valve");
models.Add("com_pipe_coupling_metal");
models.Add("machinery_hose01");
models.Add("com_square_flag");
models.Add("com_steel_ladder");
}
else if (map == "mp_seatown")
{
models.Add("seatown_canopy_stand_01");
models.Add("seatown_canopy_stand_02");
models.Add("seatown_canopy_3section_01");
models.Add("me_electricbox4");
models.Add("com_ex_airconditioner");
models.Add("me_electricbox2");
models.Add("seatown_lrg_wiregrp");
models.Add("chicken_black_white");
models.Add("me_fanceil1");
models.Add("seatown_canopy_1section_01");
models.Add("seatown_canopy_1section_02");
models.Add("seatown_wire_flags1");
models.Add("com_trashcan_metal_closed");
models.Add("seatown_wire_flags2");
models.Add("utility_transformer_ratnest01");
models.Add("seatown_mid01_wiregrp");
models.Add("chicken");
models.Add("hanging_sheet");
models.Add("hanging_long_sleeve");
models.Add("hanging_apron");
models.Add("hanging_short_sleeve");
models.Add("vehicle_80s_hatch2_tan_destructible_mp");
models.Add("vehicle_moving_truck_destructible");
models.Add("com_trashbin02");
models.Add("utility_transformer_small01");
models.Add("vehicle_80s_sedan1_green_destructible_mp");
}
else if (map == "mp_underground")
{
models.Add("com_security_camera_tilt_animated");
models.Add("uk_police_estate_destructible");
models.Add("vehicle_van_white_destructible");
models.Add("vehicle_london_cab_black_destructible");
models.Add("vehicle_moving_truck_destructible");
models.Add("me_electricbox4");
models.Add("com_locker_double");
models.Add("me_electricbox2");
models.Add("com_locker_open");
models.Add("com_trashcan_metal_closed");
models.Add("machinery_oxygen_tank01");
models.Add("machinery_oxygen_tank02");
models.Add("com_tv1");
models.Add("com_filecabinetblackclosed");
models.Add("prop_photocopier_destructible_02");
models.Add("com_ex_airconditioner");
models.Add("me_electricbox4_dest");
}
else if (map == "mp_village")
{
models.Add("hanging_sheet");
models.Add("me_electricbox4");
models.Add("vehicle_bm21_cover_destructible_dusty");
models.Add("com_trashcan_metal_closed");
models.Add("chicken_black_white");
models.Add("vehicle_80s_wagon1_green_destructible_mp");
models.Add("vehicle_pickup_destructible_mp");
}
else ServerError(ErrorType.ErrorNormal, "Hide and seek fatal error: Map not supported!", "onServerLoad");