Member
Last active 8 years ago
There are predefined priority of locations indexed in map index. You need to debug the mil opcom to find that. If you put any custom bases in editor you need to add custom objectives and set needed priority and size.
Mods needed:
http://www.armaholic.com/page.php?id=21912 @NATO_Russian_SF_Weapons http://www.armaholic.com/page.php?id=27652 @mas_nato_rus_sf_veh http://www.armaholic.com/page.php?id=29977 @middle_East_Warfare http://www.armaholic.com/page.php?id=27149 @rhs_usf3 http://www.armaholic.com/page.php?id=22749 @USMC_A3 https://drive.google.com/open?id=0ByRTbY28pkpiQmJZOEJuNW1JakU @mas_compatibilities config patch for new insurgents faction "OPF_MTI_F" included. https://drive.google.com/open?id=0ByRTbY28pkpiMlM0U3dIajZzcGs @alive_masrhs_usmc config patch to mix RHS and mas USMC to new faction "alive_masrhs_usmc"
Static_data :
ALIVE_factionDefaultTransport = [] call ALIVE_fnc_hashCreate; [ALIVE_factionDefaultTransport, "alive_masrhs_usmc", ["B_masrhs_M1083A1P2_B_M2_d_open_fmtv", "B_masrhs_M1083A1P2_B_d_open_fmtv"]] call ALIVE_fnc_hashSet; ALIVE_factionDefaultAirTransport = [] call ALIVE_fnc_hashCreate; [ALIVE_factionDefaultAirTransport, "alive_masrhs_usmc", ["B_masrhs_CH_47F_light", "B_masrhs_UH60M"]] call ALIVE_fnc_hashSet; [ALIVE_factionDefaultSupplies, "alive_masrhs_usmc", ["Box_mas_mar_NATO_equip_F", "Box_mas_mar_NATO_Wps_F"]] call ALIVE_fnc_hashSet; [ALIVE_factionDefaultSupplies, "OPF_MTI_F", ["Box_mas_ru_rifle_Wps_F", "Box_mas_med_opf_Wps_F"]] call ALIVE_fnc_hashSet; ALIVE_autoGeneratedTasks = ["MilAssault","CivAssault","TransportInsertion","InsurgencyPatrol","InsurgencyDestroyAssets"];
I have make config patches for both hostile factions to achieve config default arma3 standardisation and middle east scenario. The ALiVE works just perfect. Everything is working great. Never see such compatibility using non vanilla factions.
You need also
@mas_nato_rus_sf_veh
and
@NATO_Russian_SF_Weapons
and if you not use
@USMC_A3
remove the mas_usa_mars_v.pbo file.
Than you can load this mod and you will have vehicles and motorized group for mas_med_opfi_hd faction.
If you want to do this manually you need to make this like that:
Place unit very close to the guard tower.
Add this code in unit init field:
if (isServer) then { [this] spawn { params ["_guardier", "_buildings"]; _buildings = nearestObjects [getpos _guardier, ["house"], 10]; _guardier setPosATL ((_buildings select 0) buildingPos 1); _guardier addPrimaryWeaponItem "acc_flashlight"; _guardier enableGunLights "forceON"; }; };
For adjusting the unit position, change the "buildingPos 1" to "buildingPos _x" where _x is a index number (from 0 to (count buildingpos) -1) of in buildings positions.
In this way you can set the unit on exact needed position.
Make the same for every unit
For militarize buildings we use Military Close Quarters Battle (ALiVE_mil_cqb) module.
This happens if faction for which the roadblock is spawned has no groups with vehicles. I have fix this adding a config patch which is expanding faction groups with "Motorized"
class cfgGroups { class East { class mas_med_opfi_hd { class Motorized { ...
sure
link text
class CfgPatches { class mas_med_opfi_hd_veh { author = "DaVidoSS"; units[] = {"O_mas_med_opfi_hd_Offroad_01_armed_AT_F", "O_mas_med_opfi_hd_Offroad_01_armed_F", "O_mas_med_opfi_hd_MRAP_03_hmg_F", "O_mas_med_opfi_hd_Truck_02_transport_F", "O_mas_med_ins_hd_D30_F", "O_mas_med_ins_hd_HMG_01_high_F", "O_mas_med_ins_hd_static_AT_F", "O_mas_med_ins_hd_Mortar_01_F", "O_mas_med_ins_hd_GMG_01_high_F", "O_mas_med_ins_hd_ZU23_F"}; weapons[] = {}; requiredversion = 1.0; requiredAddons[] = {"mas_med_rebl_c", "mas_med_rebl_ins", "mas_med_rebl_hd", "mas_med_rebl_ins_HD", "mas_med_rebl_veh"}; }; }; class CfgFactionClasses { /*extern*/ class mas_med_opfi_hd; }; class CfgVehicleClasses { /*extern*/ class Car; /*extern*/ class Static; }; class CfgVehicles { /*extern*/ class O_mas_med_Insuhd_AR_F; /*extern*/ class O_mas_med_Insuhd_AT_F; /*extern*/ class O_mas_med_Insuhd_LITE_F; /*extern*/ class O_mas_med_Insuhd_AA_F; /*extern*/ class O_mas_med_Insuhd_LAT_F; /*extern*/ class O_mas_med_Insuhd_MEDIC_F; /*extern*/ class O_mas_med_Insuhd_MG_F; /*extern*/ class O_mas_med_Insuhd_M_F; /*extern*/ class O_mas_med_Insuhd_SL_F; /*extern*/ class O_mas_med_Insuhd_TL_F; /*extern*/ class O_mas_med_ins_Offroad_01_armed_AT_F; /*extern*/ class O_mas_med_ins_Offroad_01_armed_F; /*extern*/ class O_mas_med_MRAP_03_hmg_F; /*extern*/ class O_mas_med_Truck_02_transport_F; /*extern*/ class O_mas_med_ins_D30_F; /*extern*/ class O_mas_med_ins_HMG_01_high_F; /*extern*/ class O_mas_med_ins_static_AT_F; /*extern*/ class O_mas_med_ins_Mortar_01_F; /*extern*/ class O_mas_med_ins_GMG_01_high_F; /*extern*/ class O_mas_med_ins_ZU23_F; class O_mas_med_opfi_hd_Offroad_01_armed_AT_F : O_mas_med_ins_Offroad_01_armed_AT_F { author = "massi & authors in credits"; _generalMacro = "O_mas_med_opfi_hd_Offroad_01_armed_AT_F"; side = 0; faction = "mas_med_opfi_hd"; vehicleClass = "Car"; crew = "O_mas_med_Insuhd_AT_F"; typicalCargo[] = {}; hiddenSelectionsTextures[] = {"\mas_cars\hilux\data\coyota_trup1_eins_co.paa"}; transportSoldier = 1; }; class O_mas_med_opfi_hd_Offroad_01_armed_F : O_mas_med_ins_Offroad_01_armed_F { author = "massi & authors in credits"; _generalMacro = "O_mas_med_opfi_hd_Offroad_01_armed_F"; side = 0; faction = "mas_med_opfi_hd"; vehicleClass = "Car"; crew = "O_mas_med_Insuhd_AR_F"; typicalCargo[] = {}; hiddenSelectionsTextures[] = {"\mas_med_rebl\veh\lr_base_ind_co.paa"}; transportSoldier = 1; }; class O_mas_med_opfi_hd_MRAP_03_hmg_F : O_mas_med_MRAP_03_hmg_F { author = "massi & authors in credits"; _generalMacro = "O_mas_med_opfi_hd_MRAP_03_hmg_F"; side = 0; faction = "mas_med_opfi_hd"; vehicleClass = "Car"; crew = "O_mas_med_Insuhd_AR_F"; typicalCargo[] = {}; hiddenSelectionsTextures[] = {"\mas_med_rebl\veh\uaz_main_ind_co.paa", "\mas_cars\UAZ\data\uaz_mount_co.paa"}; transportSoldier = 1; }; class O_mas_med_opfi_hd_Truck_02_transport_F : O_mas_med_Truck_02_transport_F { author = "massi & authors in credits"; _generalMacro = "O_mas_med_opfi_hd_Truck_02_transport_F"; side = 0; faction = "mas_med_opfi_hd"; vehicleClass = "Car"; crew = "O_mas_med_Insuhd_LITE_F"; typicalCargo[] = {}; hiddenSelectionsTextures[] = {"\mas_med_rebl\veh\ural_kabina_tka_co.paa", "\mas_med_rebl\veh\ural_plachta_tka_co.paa"}; transportSoldier = 12; }; class O_mas_med_ins_hd_D30_F: O_mas_med_ins_D30_F { author = "massi & authors in credits"; _generalMacro = "O_mas_med_ins_hd_D30_F"; side = 0; faction = "mas_med_opfi_hd"; vehicleClass = "Static"; crew = "O_mas_med_Insuhd_AR_F"; typicalCargo[] = {"O_mas_med_Insuhd_AR_F"}; icon = "\mas_vehicle\data\map_ico\icomap_d30_CA.paa"; model = "\mas_vehicle\D30\d30.p3d"; }; class O_mas_med_ins_hd_HMG_01_high_F: O_mas_med_ins_HMG_01_high_F { author = "massi & authors in credits"; _generalMacro = "O_mas_med_ins_hd_HMG_01_high_F"; side = 0; faction = "mas_med_opfi_hd"; vehicleClass = "Static"; crew = "O_mas_med_Insuhd_AR_F"; typicalCargo[] = {"O_mas_med_Insuhd_AR_F"}; model = "\mas_vehicle\DShKM\DShKM_mg.p3d"; }; class O_mas_med_ins_hd_static_AT_F: O_mas_med_ins_static_AT_F { author = "massi & authors in credits"; _generalMacro = "O_mas_med_ins_hd_static_AT_F"; side = 0; faction = "mas_med_opfi_hd"; vehicleClass = "Static"; crew = "O_mas_med_Insuhd_AR_F"; typicalCargo[] = {"O_mas_med_Insuhd_AR_F"}; icon = "\mas_vehicle\data\map_ico\icomap_metis_at13_CA.paa"; }; class O_mas_med_ins_hd_Mortar_01_F: O_mas_med_ins_Mortar_01_F { author = "massi & authors in credits"; _generalMacro = "O_mas_med_ins_hd_Mortar_01_F"; side = 0; faction = "mas_med_opfi_hd"; vehicleClass = "Static"; crew = "O_mas_med_Insuhd_AR_F"; typicalCargo[] = {"O_mas_med_Insuhd_AR_F"}; icon = "\mas_vehicle\data\map_ico\icomap_podnos_2b14_CA.paa"; model = "\mas_vehicle\podnos_2b14_82mm\podnos_2b14_82mm.p3d"; }; class O_mas_med_ins_hd_GMG_01_high_F: O_mas_med_ins_GMG_01_high_F { author = "massi & authors in credits"; _generalMacro = "O_mas_med_ins_hd_GMG_01_high_F"; side = 0; faction = "mas_med_opfi_hd"; vehicleClass = "Static"; crew = "O_mas_med_Insuhd_AR_F"; typicalCargo[] = {"O_mas_med_Insuhd_AR_F"}; icon = "\mas_vehicle\data\map_ico\icon_spg9_CA.paa"; }; class O_mas_med_ins_hd_ZU23_F: O_mas_med_ins_ZU23_F { author = "massi & authors in credits"; _generalMacro = "O_mas_med_ins_hd_ZU23_F"; side = 0; faction = "mas_med_opfi_hd"; vehicleClass = "Static"; crew = "O_mas_med_Insuhd_AR_F"; typicalCargo[] = {"O_mas_med_Insuhd_AR_F"}; }; }; class cfgGroups { class East { class mas_med_opfi_hd { class Motorized { name = "Motorized Infantry"; class OPF_mas_medinshd_Motteam_AT { name = "Motorized Team AT"; side = 0; faction = "mas_med_opfi_hd"; class Unit0 { side = 0; vehicle = "O_mas_med_Insuhd_SL_F"; rank = "LIEUTENANT"; position[] = {0, 5, 0}; }; class Unit1 { side = 0; vehicle = "O_mas_med_opfi_hd_Offroad_01_armed_AT_F"; rank = "SERGEANT"; position[] = {9, 0, 0}; }; }; class OPF_mas_medinshd_Motteam_M2 { name = "Motorized Team M2"; side = 0; faction = "mas_med_opfi_hd"; class Unit0 { side = 0; vehicle = "O_mas_med_Insuhd_SL_F"; rank = "LIEUTENANT"; position[] = {0, 5, 0}; }; class Unit1 { side = 0; vehicle = "O_mas_med_opfi_hd_Offroad_01_armed_F"; rank = "SERGEANT"; position[] = {9, 0, 0}; }; }; class OPF_mas_medinshd_Motteam_MG { name = "Motorized Team MG"; side = 0; faction = "mas_med_opfi_hd"; class Unit0 { side = 0; vehicle = "O_mas_med_Insuhd_SL_F"; rank = "LIEUTENANT"; position[] = {0, 5, 0}; }; class Unit1 { side = 0; vehicle = "O_mas_med_opfi_hd_MRAP_03_hmg_F"; rank = "SERGEANT"; position[] = {9, 0, 0}; }; }; class OPF_mas_medinshd_MotSquad { name = "Motorized Squad Truck"; side = 0; faction = "mas_med_opfi_hd"; class Unit0 { side = 0; vehicle = "O_mas_med_Insuhd_SL_F"; rank = "LIEUTENANT"; position[] = {0, 5, 0}; }; class Unit1 { side = 0; vehicle = "O_mas_med_Insuhd_TL_F"; rank = "SERGEANT"; position[] = {3, 0, 0}; }; class Unit2 { side = 0; vehicle = "O_mas_med_Insuhd_AR_F"; rank = "PRIVATE"; position[] = {5, 0, 0}; }; class Unit3 { side = 0; vehicle = "O_mas_med_Insuhd_LAT_F"; rank = "SERGEANT"; position[] = {7, 0, 0}; }; class Unit4 { side = 0; vehicle = "O_mas_med_Insuhd_AA_F"; rank = "PRIVATE"; position[] = {9, 0, 0}; }; class Unit5 { side = 0; vehicle = "O_mas_med_Insuhd_AT_F"; rank = "SERGEANT"; position[] = {12, 0, 0}; }; class Unit6 { side = 0; vehicle = "O_mas_med_Insuhd_AR_F"; rank = "PRIVATE"; position[] = {14, 0, 0}; }; class Unit7 { side = 0; vehicle = "O_mas_med_Insuhd_MG_F"; rank = "PRIVATE"; position[] = {16, 0, 0}; }; class Unit8 { side = 0; vehicle = "O_mas_med_Insuhd_M_F"; rank = "CORPORAL"; position[] = {18, 0, 0}; }; class Unit9 { side = 0; vehicle = "O_mas_med_Insuhd_MEDIC_F"; rank = "CORPORAL"; position[] = {21, 0, 0}; }; class Unit10 { side = 0; vehicle = "O_mas_med_opfi_hd_Truck_02_transport_F"; rank = "PRIVATE"; position[] = {-7, 0, 0}; }; }; }; }; }; }; class cfgMods { author = "DaVidoSS"; timepacked = ""; };
No vehicles for insurgents HD, but i stay with by creating my own config patch.
This has also fixed the create roadblock error.
We encountered that after clear a city and destroy the building where installation occurred, we ask civilian for intel and he was pointing to the destroyed buildings. Server removes all ruins that when we come back to have look the building is not there but on his position we found that installation stuff like fridge, water distro was spawned. Why this is happens? Why the insurgens come back in that building. How the reinforcement are working?