Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "macros.sqf"
- GVAR(avoidPositions) = [
- [getMarkerPos "respawn_west", 1000]
- ];
- GVAR(cachesCountMax) = 10;
- GVAR(cachesCountMin) = 5;
- GVAR(chanceCachesAreInsideBuilding) = 90; // 90%, otherwise they are on ground outside
- GVAR(chanceOfNotUsingSquare) = 5; // 5% chance that potential usable square will not be used
- // these classes are counted as houses and caches try to spawn inside them
- GVAR(includeHousesClass) = ["Jbad_House", "Jbad_House_old", "Jbad_House_c", "Land_Jbad_A_Mosque_small_2"];
- if(worldName != "Kunduz") then {
- GVAR(includeHousesClass) pushBack "Building";
- };
- // these clases are excluded from map info, are not counted as houses
- GVAR(excludeHouseClasses) = [
- "Piers_base_F", // bridge
- "Land_Runway_PAPI_3","Land_Runway_PAPI_2","Land_Runway_PAPI","Land_Runway_edgelight","Land_Runway_PAPI_4","Land_NavigLight", // runway stuff
- "Land_Nav_Boathouse_PierT", // not boathouse just a walkway
- "Land_sloup_vn", "Land_sloup_vn_drat" // chernarus powerlines
- ];
- // set automatically based on number of hostiles and number of caches
- // GVAR(enemyDropsIntelChance) = 15; // 25 = 25 percent chance = 1 in 4 soldiers will drop intel
- GVAR(spawnDistance) = 350; // how far from players do enemies spawn
- GVAR(enemiesSpawnIfYouAreUnderThisHeight) = 300; // meters
- // getArray (configFile >> "CfgWorlds" >> worldName >> "centerPosition");
- GVAR(aoWidthInMeters) = getNumber( configFile >> "CfgWorlds" >> worldName >> "mapSize" ); // width of ao square in meters
- // these map doesnt have defined mapSize
- if(worldName == "Mountains_ACR") then { GVAR(aoWidthInMeters) = 6300; };
- if(worldName == "Panthera3") then { GVAR(aoWidthInMeters) = 10000; };
- if(GVAR(aoWidthInMeters)==0) then { GVAR(aoWidthInMeters) = 10001; }; // workaround if it happens on more maps
- // should be in the middle of map square to look good
- GVAR(aoBottomLeftCorner) = [50,50];
- if(worldName == "Panthera3") then { GVAR(aoBottomLeftCorner) = [50,90]; };
- if(worldName == "Chernarus_Summer") then { GVAR(aoBottomLeftCorner) = [50,10]; };
- GVAR(aoSquareWidth) = 100; // one square is this meters wide
- // default pools
- GVAR(civilianPool) = ["C_man_1","C_man_1_1_F","C_man_1_2_F","C_man_1_3_F","C_man_hunter_1_F","C_man_p_beggar_F","C_man_p_beggar_F_afro","C_man_p_fugitive_F","C_man_p_shorts_1_F","C_man_polo_1_F","C_man_polo_2_F","C_man_polo_3_F","C_man_polo_4_F","C_man_polo_5_F","C_man_polo_6_F","C_man_shorts_1_F","C_man_shorts_2_F","C_man_shorts_3_F","C_man_shorts_4_F","C_man_w_worker_F"];
- GVAR(civilianVehiclePool) = ["C_Hatchback_01_F","C_Hatchback_01_sport_F","C_Offroad_01_F","C_SUV_01_F","C_Van_01_box_F","C_Van_01_fuel_F","C_Van_01_transport_F"];
- if(worldName == "Altis") then {
- GVAR(aoSquareWidth) = 500; // one square is this meters wide
- };
- if(worldName == "Mountains_ACR") then {
- GVAR(cachesCountMax) = 2;
- GVAR(cachesCountMin) = 5;
- };
- //if(worldName in ["Kunduz", "IslaDuala3", "Mountains_ACR"]) then {
- GVAR(civilianPool) = ["LOP_CHR_Civ_Villager_01","LOP_CHR_Civ_Woodlander_01","LOP_CHR_Civ_Worker_01","LOP_CHR_Civ_Rocker_01","LOP_CHR_Civ_Profiteer_01","LOP_CHR_Civ_Priest_01","LOP_CHR_Civ_Doctor_01","LOP_CHR_Civ_Policeman_01","LOP_CHR_Civ_Functionary_01"];
- GVAR(civilianVehiclePool) = ["RHS_Mi8amt_civilian","RHS_Ural_Civ_01","RHS_Ural_Civ_02","RHS_Ural_Civ_03","RHS_Ural_Open_Civ_01","RHS_Ural_Open_Civ_02","RHS_Ural_Open_Civ_03","C_Hatchback_01_F","C_Hatchback_01_sport_F","C_Offroad_01_F","C_SUV_01_F","C_Van_01_box_F","C_Van_01_fuel_F","C_Van_01_transport_F"];
- GVAR(enemiesSide) = opfor;
- GVAR(infantryPool) = ["LOP_ChDKZ_Infantry_Bardak","LOP_ChDKZ_Infantry_Commander","LOP_ChDKZ_Infantry_TL","LOP_ChDKZ_Infantry_Corpsman","LOP_ChDKZ_Infantry_SL","LOP_ChDKZ_Infantry_Rifleman","LOP_ChDKZ_Infantry_GL","LOP_ChDKZ_Infantry_AT","LOP_ChDKZ_Infantry_MG","LOP_ChDKZ_Infantry_Marksman","LOP_ChDKZ_Infantry_Engineer","rhs_msv_sergeant","rhs_msv_junior_sergeant","rhs_msv_grenadier","rhs_msv_rifleman","rhs_msv_machinegunner","rhs_msv_at","rhs_msv_strelok_rpg_assist","rhs_msv_rifleman","rhs_msv_medic","rhs_msv_officer","rhs_msv_officer_armored","rhs_msv_efreitor","rhs_msv_aa","rhs_msv_strelok_rpg_assist","rhs_msv_lat","rhs_msv_machinegunner_assistant","rhs_msv_marksman"];
- GVAR(motorizedPool) = ["LOP_ChDKZ_BM21","LOP_ChDKZ_Ural","LOP_ChDKZ_Ural_open","LOP_ChDKZ_UAZ","LOP_ChDKZ_UAZ_Open","rhs_9k79","RHS_BM21_MSV_01","rhs_gaz66_ammo_msv","rhs_gaz66_ap2_msv","rhs_gaz66_flat_msv","rhs_gaz66_msv","rhs_gaz66_r142_msv","rhs_gaz66_repair_msv","rhs_gaz66o_flat_msv","rhs_gaz66o_msv","rhs_tigr_3camo_msv","rhs_tigr_ffv_3camo_msv","rhs_tigr_ffv_msv","rhs_tigr_msv","RHS_UAZ_MSV_01","rhs_uaz_open_MSV_01","RHS_Ural_Flat_MSV_01","RHS_Ural_Fuel_MSV_01","RHS_Ural_Open_Flat_MSV_01","RHS_Ural_Open_MSV_01","RHS_Ural_Support_MSV_Base_01"];
- GVAR(armorPool) = ["LOP_ChDKZ_T72BB","LOP_ChDKZ_T72BA","LOP_ChDKZ_BMP2D","LOP_ChDKZ_BMP2","LOP_ChDKZ_BMP1","LOP_ChDKZ_BMP1D","LOP_ChDKZ_ZSU234","LOP_ChDKZ_BTR60","LOP_ChDKZ_BTR70","rhs_bmp1_msv","rhs_bmp1d_msv","rhs_bmp1k_msv","rhs_bmp1p_msv","rhs_bmp2_msv","rhs_bmp2d_msv","rhs_bmp2e_msv","rhs_bmp2k_msv","rhs_bmp3_late_msv","rhs_bmp3_msv","rhs_bmp3m_msv","rhs_bmp3mera_msv","rhs_brm1k_msv","rhs_btr60_msv","rhs_btr70_msv","rhs_btr80_msv","rhs_btr80a_msv","rhs_prp3_msv","rhs_t72ba_tv","rhs_t72bb_tv","rhs_t72bc_tv","rhs_t72bd_tv","rhs_t80","rhs_t80a","rhs_t80b","rhs_t80bk","rhs_t80bv","rhs_t80bvk","rhs_t80u","rhs_t80u45m","rhs_t80ue1","rhs_t80uk","rhs_t80um","rhs_t90_tv","rhs_t90a_tv","rhs_zsu234_aa"];
- GVAR(stationaryPool) = ["LOP_ChDKZ_NSV_TriPod"];
- GVAR(transportHeliPool) = ["LOP_ChDKZ_Mi8MT_Cargo","rhs_ka60_c","RHS_Mi8mt_Cargo_vvsc","RHS_Mi8mt_vvsc","RHS_Mi8MTV3_vvsc"];
- GVAR(attackHeliPool) = ["LOP_ChDKZ_Mi8MTV3_FAB","LOP_ChDKZ_Mi8MTV3_UPK23","RHS_Ka52_UPK23_vvsc","RHS_Ka52_vvsc","RHS_Mi24P_AT_vvsc","RHS_Mi24P_CAS_vvsc","RHS_Mi24P_vvsc","RHS_Mi24V_AT_vvsc","RHS_Mi24V_FAB_vvsc","RHS_Mi24V_UPK23_vvsc","RHS_Mi24V_vvsc","RHS_Mi8AMT_vvsc","RHS_Mi8AMTSh_UPK23_vvsc","RHS_Mi8AMTSh_vvsc","RHS_Mi8MTV3_FAB_vvsc","RHS_Mi8MTV3_UPK23_vvsc","RHS_Su25SM_KH29_vvsc","RHS_Su25SM_vvsc"];
- GVAR(cachesCount) = GVAR(cachesCountMin) + round ( random ( GVAR(cachesCountMax) - GVAR(cachesCountMin) ) );
- publicVariable QGVAR(cachesCount);
Advertisement
Add Comment
Please, Sign In to add comment