Forum Jump :

Author Message


Posts: 2
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2015-04-02 15:17        
     
I've downloaded bmr insurgency which has eos mod in it. Currently when i play the mission it spawns AAF Independant as the enemy when i get 250m near the zone. I'm pretty new to this stuff and i cannot for the life of me figure out how to change it to CAF aggressors. How do i go about changing the factions? Any help would be much appreciated.


Unit pools.sqf
private ["_tempArray","_InfPool","_MotPool","_ACHPool","_CHPool","_uavPool","_stPool","_shipPool","_diverPool","_crewPool","_heliCrew","_ArmPool"];
_faction=(_this select 0);
_type=(_this select 1);
_tempArray=[];

switch (_faction) do {
	case 0 : {// EAST CSAT FACTION
	_InfPool=	["O_SoldierU_SL_F","O_soldierU_repair_F","O_soldierU_medic_F","O_sniper_F","O_Soldier_A_F","O_Soldier_AA_F","O_Soldier_AAA_F","O_Soldier_AAR_F","O_Soldier_AAT_F","O_Soldier_AR_F","O_Soldier_AT_F","O_soldier_exp_F","O_Soldier_F","O_engineer_F","O_engineer_U_F","O_medic_F","O_recon_exp_F","O_recon_F","O_recon_JTAC_F","O_recon_LAT_F","O_recon_M_F","O_recon_medic_F","O_recon_TL_F"];	
	_ArmPool=	["O_APC_Tracked_02_AA_F","O_APC_Tracked_02_cannon_F","O_APC_Wheeled_02_rcws_F","O_MBT_02_arty_F","O_MBT_02_cannon_F"];
	_MotPool=	["O_Truck_02_covered_F","O_MRAP_02_gmg_F","O_MRAP_02_hmg_F","O_Truck_02_medical_F"];
	_ACHPool=	["O_Heli_Attack_02_black_F","O_Heli_Attack_02_F"];
	_CHPool=	["O_Heli_Light_02_F","O_Heli_Light_02_unarmed_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_bench_F"];
	_uavPool=	["O_UAV_01_F","O_UAV_02_CAS_F","O_UGV_01_rcws_F"];
	_stPool=	["O_Mortar_01_F","O_static_AT_F","O_static_AA_F"];
	_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];
	_diverPool=	["O_diver_exp_F","O_diver_F","O_diver_TL_F"];
	_crewPool=	["O_crew_F"];
	_heliCrew=	["O_helicrew_F","O_helipilot_F"];
};
	case 1 : {// WEST NATO FACTION
	_InfPool=	["B_sniper_F","B_Soldier_A_F","B_Soldier_AA_F","B_Soldier_AAA_F","B_Soldier_AAR_F","B_Soldier_AAT_F","B_Soldier_AR_F","B_Soldier_AT_F","B_soldier_exp_F","B_Soldier_F","B_engineer_F","B_medic_F","B_recon_exp_F","B_recon_F","B_recon_JTAC_F","B_recon_LAT_F","B_recon_M_F","B_recon_medic_F","B_recon_TL_F"];	
	_ArmPool=	["B_MBT_01_arty_F","B_MBT_01_cannon_F","B_MBT_01_mlrs_F","B_APC_Tracked_01_AA_F","B_APC_Tracked_01_CRV_F","B_APC_Tracked_01_rcws_F","B_APC_Wheeled_01_cannon_F","B_MBT_02_cannon_F"];
	_MotPool=	["B_Truck_01_covered_F","B_Truck_01_transport_F","B_MRAP_01_F","B_MRAP_01_gmg_F","B_MRAP_01_hmg_F","B_Truck_01_medical_F"];
	_ACHPool=	["B_Heli_Attack_01_F","B_Heli_Light_01_armed_F"];
	_CHPool=	["B_Heli_Light_01_F","B_Heli_Transport_01_camo_F","B_Heli_Transport_01_F"];
	_uavPool=	["B_UAV_01_F","B_UAV_01_CAS_F","B_UGV_01_rcws_F"];
	_stPool=	["B_Mortar_01_F","B_static_AT_F","B_static_AA_F"];
	_shipPool=	["B_Boat_Armed_01_minigun_F","B_Boat_Transport_01_F"];
	_diverPool=	["B_diver_exp_F","B_diver_F","B_diver_TL_F"];
	_crewPool=	["B_crew_F"];
	_heliCrew=	["B_helicrew_F","B_helipilot_F"];
};
	case 2 : {// INDEPENDENT AAF FACTION
	_InfPool=	["I_engineer_F","I_Soldier_A_F","I_Soldier_AA_F","I_Soldier_AAA_F","I_Soldier_AAR_F","I_Soldier_AAT_F","I_Soldier_AR_F","I_Soldier_AT_F","I_Soldier_exp_F","I_soldier_F","I_Soldier_GL_F","I_Soldier_repair_F"];	
	_ArmPool=	["I_APC_Wheeled_03_cannon_F","I_APC_tracked_03_cannon_F","I_MBT_03_cannon_F"];
	_MotPool=	["I_MRAP_03_F","I_MRAP_03_gmg_F","I_MRAP_03_hmg_F","I_Truck_02_medical_F"];
	_ACHPool=	["I_Heli_light_03_F"];
	_CHPool=	["I_Heli_Transport_02_F","I_Heli_light_03_unarmed_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_bench_F"];
	_uavPool=	["I_UAV_01_F","I_UAV_02_CAS_F","I_UGV_01_rcws_F"];
	_stPool=	["I_Mortar_01_F"];
	_shipPool=	["I_Boat_Transport_01_F","I_G_Boat_Transport_01_F","I_Boat_Armed_01_minigun_F"];
	_diverPool=	["I_diver_exp_F","I_diver_F","I_diver_TL_F"];
	_crewPool=	["I_crew_F"];
	_heliCrew=	["I_helicrew_F","I_helipilot_F"];
};
	case 3 : {// Masi Armed African Civilians (Rebel supporters EAST)
	_InfPool= 	["O_mas_afr_Rebel1_F","O_mas_afr_Rebel2_F","O_mas_afr_Rebel3_F","O_mas_afr_Rebel4_F","O_mas_afr_Rebel5_F","O_mas_afr_Rebel6_F","O_mas_afr_Rebel6a_F","O_mas_afr_Rebel7_F","O_mas_afr_Rebel8_F","O_mas_afr_Rebel8a_F"];
	_ArmPool= 	["O_mas_afr_GMG_01_high_F","O_mas_afr_HMG_01_F","O_mas_afr_HMG_01_high_F","O_MBT_02_cannon_F","O_APC_Tracked_02_cannon_F"];
	_MotPool= 	["O_mas_afr_Quadbike_01_F","O_mas_afr_GMG_01_F","O_mas_afr_Offroad_01s_armed_F","O_mas_afr_Offroad_01_armed_F"];
	_ACHPool= 	[];
	_CHPool=	["O_Heli_Light_02_F","O_Heli_Light_02_unarmed_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_bench_F"];
	_uavPool= 	[];
	_stPool= 	["O_mas_afr_Mortar_01_F"];
	_shipPool= 	["O_mas_afr_Boat_Transport_01_F"];
	_diverPool= ["O_mas_afr_Rebel1_F"];
	_crewPool=  ["O_mas_afr_Rebel1_F","O_mas_afr_Rebel2_F"];
	_heliCrew=  ["O_mas_afr_Rebel2_F"];
};
	case 4 : {// Masi Africian Rebel Army (EAST)
	_InfPool= 	["O_mas_afr_Soldier_F","O_mas_afr_Soldier_GL_F","O_mas_afr_soldier_AR_F","O_mas_afr_soldier_MG_F","O_mas_afr_Soldier_lite_F","O_mas_afr_Soldier_off_F","O_mas_afr_Soldier_SL_F","O_mas_afr_soldier_M_F","O_mas_afr_soldier_LAT_F","O_mas_afr_soldier_LAA_F","O_mas_afr_medic_F","O_mas_afr_soldier_repair_F","O_mas_afr_soldier_exp_F","O_mas_afr_rusadv1_F","O_mas_afr_rusadv2_F","O_mas_afr_rusadv3_F"];//"O_mas_afr_Soldier_TL_Fn"
    _ArmPool= 	["O_mas_afr_GMG_01_F","O_mas_afr_HMG_01_high_F","O_MBT_02_cannon_F","O_APC_Tracked_02_cannon_F"];
    _MotPool= 	["O_mas_afr_Offroad_01_armed_F","O_mas_afr_Offroad_01s_armed_F","O_mas_afr_Offroad_01c_armed_F","O_mas_afr_Truck_02_logistic_F","O_mas_afr_Truck_02_transport_F"];
    _ACHPool= 	[];
	_CHPool= 	["O_Heli_Light_02_F","I_Heli_Transport_02_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_bench_F"];
	_uavPool= 	[];
	_stPool= 	["O_mas_afr_Mortar_01_F","O_mas_afr_static_AT_F","O_mas_afr_static_AA_F"];
	_shipPool= 	["O_mas_afr_Boat_Transport_01_F"];
	_diverPool= ["O_diver_exp_F","O_diver_F","O_diver_TL_F"];
	_crewPool=	["O_mas_afr_soldier_AR_F","O_mas_afr_rusadv1_F"];
	_heliCrew=	["O_mas_afr_Soldier_GL_F","O_mas_afr_soldier_AR_F","O_mas_afr_rusadv1_F"];
};
	case 5 : {// Middle Eastern Conflict - SYRIAN ARAB ARMY
	_InfPool=	["MEC_SAA_Rifleman","MEC_SAA_SquadLeader","MEC_SAA_MachineGunner","MEC_SAA_AutomaticRifleman","MEC_SAA_Grenadier","MEC_SAA_ATSoldier","MEC_SAA_RPG7Soldier","MEC_SAA_AASoldier","MEC_SAA_Medic","MEC_SAA_Marksman","MEC_SAA_Crewman","MEC_SAA_RPG7Grenadier","MEC_SAA_Repair","MEC_SAA_Engineer","MEC_SAA_Explosives","MEC_SAA_Officer"];
	_ArmPool=	["MEC_SAA_T72","MEC_SAA_BMP1","MEC_SAA_BMP2","MEC_SAA_T55","MEC_SAA_ZSU23"];
	_MotPool=	["MEC_SAA_Offroad_01","MEC_SAA_Offroad_01_armed"];
	_ACHPool=	["O_Heli_Attack_02_black_F","O_Heli_Attack_02_F","MEC_SAA_Hind"];
	_CHPool=	["MEC_SAA_Hind","O_Heli_Light_02_F","O_Heli_Light_02_unarmed_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_bench_F"];
	_uavPool=	[];
	_stPool=	["MEC_SAA_ZU23","MEC_SAA_DSHKM","MEC_SAA_DSHkM_Mini_TriPod","MEC_SAA_KORD","MEC_SAA_KORD_high","MEC_SAA_AGS","MEC_SAA_Metis","MEC_SAA_SPG9","MEC_SAA_Igla_AA_pod","MEC_SAA_2b14_82mm","MEC_SAA_D30","MEC_SAA_D30_AT"];
	_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];
	_diverPool=	["MEC_SAA_Engineer"];
	_crewPool=	["MEC_SAA_Crewman"];
	_heliCrew=	["MEC_SAA_Rifleman","MEC_SAA_MachineGunner","MEC_SAA_RPG7Soldier","MEC_SAA_AASoldier","MEC_SAA_RPG7Grenadier"];
};
	case 6 : {// Middle Eastern Conflict - Quds Force
	_InfPool=	["MEC_QUD_Rifleman","MEC_QUD_SquadLeader","MEC_QUD_MachineGunner","MEC_QUD_AutomaticRifleman","MEC_QUD_Grenadier","MEC_QUD_ATSoldier","MEC_QUD_AASoldier","MEC_QUD_Medic","MEC_QUD_Marksman","MEC_QUD_Crewman","MEC_QUD_RPG7Grenadier","MEC_QUD_Repair","MEC_QUD_Engineer","MEC_QUD_Explosives","MEC_QUD_Officer","MEC_QUD_Breacher"];
	_ArmPool=	["MEC_GME_T72","MEC_GME_BMP1","MEC_GME_BMP2","MEC_GME_ZSU23","MEC_GME_T55"];
	_MotPool=	["MEC_QUD_Offroad_01","MEC_QUD_Offroad_01_armed"];
	_ACHPool=	["O_Heli_Attack_02_black_F","O_Heli_Attack_02_F"];
	_CHPool=	["MEC_SAA_Hind","O_Heli_Light_02_F","O_Heli_Light_02_unarmed_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_bench_F"];
	_uavPool=	[];
	_stPool=	["MEC_IRR_ZU23","MEC_IRR_DSHKM","MEC_IRR_DSHkM_Mini_TriPod","MEC_IRR_KORD","MEC_IRR_KORD_high","MEC_IRR_AGS","MEC_IRR_Metis","MEC_IRR_SPG9","MEC_IRR_Igla_AA_pod","MEC_IRR_2b14_82mm","MEC_IRR_D30","MEC_IRR_D30_AT"];
	_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];
	_diverPool=	["MEC_QUD_Engineer"];
	_crewPool=	["MEC_QUD_Crewman","MEC_QUD_SquadLeader","MEC_QUD_RPG7Grenadier","MEC_QUD_Engineer"];
	_heliCrew=	["MEC_QUD_MachineGunner","MEC_QUD_Grenadier","MEC_QUD_ATSoldier","MEC_QUD_AASoldier"];
};
	case 7 : {// Middle Eastern Irregulars (EAST)
	_InfPool=	["MEC_IRR_RiflemanO","MEC_IRR_SquadLeaderO","MEC_IRR_MachineGunnerO","MEC_IRR_AutomaticRiflemanO","MEC_IRR_GrenadierO","MEC_IRR_ATSoldierO","MEC_IRR_RPG7SoldierO","MEC_IRR_AASoldierO","MEC_IRR_MedicO","MEC_IRR_MarksmanO","MEC_IRR_CrewmanO","MEC_IRR_RPG7GrenadierO","MEC_IRR_RepairO","MEC_IRR_EngineerO","MEC_IRR_ExplosivesO"];
	_ArmPool=	["MEC_IRR_BMP1","MEC_IRR_BMP2","MEC_IRR_T55","MEC_IRR_T72","MEC_IRR_ZSU23"];
	_MotPool=	["MEC_IRR_Offroad_01_armed_FO","MEC_IRR_Offroad_01s_armed_FO"];
	_CHPool=	["MEC_SAA_Hind","O_Heli_Light_02_F","O_Heli_Light_02_unarmed_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_bench_F"];
	_uavPool=	[];
	_stPool=	["MEC_IRR_ZU23_O","MEC_IRR_DSHKM_O","MEC_IRR_DSHkM_Mini_TriPod_O","MEC_IRR_KORD_O","MEC_IRR_KORD_high_O","MEC_IRR_AGS_O","MEC_IRR_Metis_O","MEC_IRR_SPG9_O","MEC_IRR_Igla_AA_pod_O","MEC_IRR_2b14_82mm_O","MEC_IRR_D30","MEC_IRR_D30_AT_O"];
	_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];
	_diverPool=	["MEC_IRR_EngineerO"];
	_crewPool=	["MEC_IRR_CrewmanO"];
	_heliCrew=	["MEC_IRR_CrewmanO","MEC_IRR_RPG7GrenadierO","MEC_IRR_MedicO","MEC_IRR_MarksmanO"];
};
	case 8 : {// Middle Eastern Conflict - Taliban
	_InfPool=	["MEC_TAL_AASoldier","MEC_TAL_ATSoldier","MEC_TAL_AutomaticRifleman","MEC_TAL_Crewman","MEC_TAL_Engineer","MEC_TAL_Explosives","MEC_TAL_Grenadier","MEC_TAL_MachineGunner","MEC_TAL_Marksman","MEC_TAL_Medic","MEC_TAL_Repair","MEC_TAL_Rifleman","MEC_TAL_RPG7Grenadier","MEC_TAL_RPG7Soldier","MEC_TAL_SquadLeader"];
	_ArmPool=	["MEC_TAL_BMP1","MEC_TAL_BMP2","MEC_TAL_T55","MEC_TAL_T72","MEC_TAL_ZSU23"];
	_MotPool=	["MEC_TAL_Offroad_01_armed_F","MEC_TAL_Offroad_01_F","MEC_TAL_Offroad_01s_armed_F","MEC_TAL_Offroad_01s_F"];
	_ACHPool=	["O_Heli_Attack_02_black_F","O_Heli_Attack_02_F","MEC_SAA_Hind"];
	_CHPool=	["O_Heli_Light_02_F","O_Heli_Light_02_unarmed_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_bench_F","MEC_SAA_Hind"];
	_uavPool=	[];
	_stPool=	["MEC_TAL_ZU23","MEC_TAL_DSHKM","MEC_TAL_AGS","MEC_TAL_DSHkM_Mini_TriPod","MEC_TAL_KORD","MEC_TAL_KORD_high","MEC_TAL_Metis","MEC_TAL_SPG9","MEC_TAL_Igla_AA_pod","MEC_TAL_2b14_82mm","MEC_TAL_D30","MEC_TAL_D30_AT"];
	_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];
	_diverPool=	["MEC_TAL_Engineer"];
	_crewPool=	["MEC_TAL_Crewman"];
	_heliCrew=	["MEC_TAL_Rifleman","MEC_TAL_MachineGunner","MEC_TAL_RPG7Soldier","MEC_TAL_AASoldier","MEC_TAL_RPG7Grenadier"];
};
	case 9 : {// Middle Eastern Conflict - Islamic State
	_InfPool=	["MEC_IS_AASoldier","MEC_IS_ATSoldier","MEC_IS_AutomaticRifleman","MEC_IS_Crewman","MEC_IS_Engineer","MEC_IS_Explosives","MEC_IS_Grenadier","MEC_IS_MachineGunner","MEC_IS_Marksman","MEC_IS_Medic","MEC_IS_Repair","MEC_IS_Rifleman","MEC_IS_RPG7Grenadier","MEC_IS_RPG7Soldier","MEC_IS_SquadLeader"];
	_ArmPool=	["MEC_IS_BMP1","MEC_IS_BMP2","MEC_IS_T55","MEC_IS_T72","MEC_IS_ZSU23"];
	_MotPool=	["MEC_IS_Offroad_01_armed_F","MEC_IS_Offroad_01_F","MEC_IS_Offroad_01s_armed_F","MEC_IS_Offroad_01s_F"];
	_ACHPool=	["O_Heli_Attack_02_black_F","O_Heli_Attack_02_F","MEC_SAA_Hind"];
	_CHPool=	["O_Heli_Light_02_F","O_Heli_Light_02_unarmed_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_bench_F","MEC_SAA_Hind"];
	_uavPool=	[];
	_stPool=	["MEC_TAL_ZU23","MEC_TAL_DSHKM","MEC_TAL_AGS","MEC_TAL_DSHkM_Mini_TriPod","MEC_TAL_KORD","MEC_TAL_KORD_high","MEC_TAL_Metis","MEC_TAL_SPG9","MEC_TAL_Igla_AA_pod","MEC_TAL_2b14_82mm","MEC_TAL_D30","MEC_TAL_D30_AT"];
	_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];
	_diverPool=	["MEC_IS_Engineer"];
	_crewPool=	["MEC_IS_Crewman"];
	_heliCrew=	["MEC_IS_Rifleman","MEC_IS_MachineGunner","MEC_IS_RPG7Soldier","MEC_IS_AASoldier","MEC_IS_RPG7Grenadier"];
};
	case 10 : {// Sud Russians
	_InfPool=	["SUD_USSR_Soldier_TL","SUD_USSR_Soldier_AR","SUD_USSR_Soldier_GL","SUD_USSR_Soldier_AT","SUD_USSR_Soldier_HAT","SUD_USSR_Soldier","SUD_USSR_Soldier_Medic","SUD_USSR_Soldier_Crew","SUD_USSR_Soldier_Specop","SUD_USSR_Soldier_AA","SUD_USSR_Soldier_Repair","SUD_USSR_Soldier_Sapper"];
	_ArmPool=	["SUD_BMP2","SUD_T72B","SUD_ZSU"];
	_MotPool=	["SUD_UAZ","SUD_BRDM2","SUD_URAL","SUD_BTR60"];
	_CHPool=	["O_Heli_Light_02_F","O_Heli_Light_02_unarmed_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_bench_F"];
	_CHPool=	["O_Heli_Light_02_F","O_Heli_Light_02_unarmed_F"];
	_uavPool=	[];
	_stPool=	["RDS_ZU23_SAA","RDS_DSHKM_SAA","RDS_DSHkM_Mini_TriPod_SAA","RDS_KORD_SAA","RDS_KORD_high_SAA","RDS_AGS_SAA","RDS_Metis_SAA","RDS_SPG9_SAA","RDS_Igla_AA_pod_SAA","RDS_2b14_82mm_SAA","RDS_D30_SAA","RDS_D30_AT_SAA"];
	_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];
	_diverPool=	["SUD_USSR_Soldier_Crew"];
	_crewPool=	["SUD_USSR_Soldier_Crew"];
	_heliCrew=	["SUD_USSR_Soldier_Pilot","SUD_USSR_Soldier_Specop","SUD_USSR_Soldier_GL","SUD_USSR_Soldier_AT"];
};
	case 11 : {// CAF Aggressors Middle Eastern
	_InfPool=	["CAF_AG_ME_T_AK47","CAF_AG_ME_T_AK74","CAF_AG_ME_T_GL","CAF_AG_ME_T_PKM","CAF_AG_ME_T_RPG","CAF_AG_ME_T_RPK74","CAF_AG_ME_T_SVD"];	
	_ArmPool=	["O_APC_Tracked_02_AA_F","O_APC_Tracked_02_cannon_F","O_APC_Wheeled_02_rcws_F","O_MBT_02_arty_F","O_MBT_02_cannon_F"];
	_MotPool=	["CAF_AG_ME_T_van_01","CAF_AG_ME_T_Offroad","CAF_AG_ME_T_Offroad_armed_01"];
	_ACHPool=	["O_Heli_Attack_02_black_F","O_Heli_Attack_02_F"];
	_CHPool=	["O_Heli_Light_02_F","O_Heli_Attack_02_black_F"];
	_uavPool=	[];
	_stPool=	["O_Mortar_01_F","O_HMG_01_high_F","O_static_AT_F","O_static_AA_F"];
	_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];
	_diverPool=	["CAF_AG_ME_T_AK47"];
	_crewPool=	["CAF_AG_ME_T_AK47"];
	_heliCrew=	["CAF_AG_ME_T_RPG","CAF_AG_ME_T_GL"];
};
	case 12 : {// CAF Aggressors African pirates
	_InfPool=	["CAF_AG_AFR_P_AK47","CAF_AG_AFR_P_AK47","CAF_AG_AFR_P_SVD","CAF_AG_AFR_P_AK47","CAF_AG_AFR_P_AK74","CAF_AG_AFR_P_GL","CAF_AG_AFR_P_PK","CAF_AG_AFR_P_RPK","CAF_AG_AFR_P_RPG"];	
	_ArmPool=	["O_APC_Tracked_02_AA_F","O_APC_Tracked_02_cannon_F","O_APC_Wheeled_02_rcws_F","O_MBT_02_arty_F","O_MBT_02_cannon_F"];
	_MotPool=	["CAF_AG_afr_p_Offroad","CAF_AG_afr_p_Offroad_armed_01","CAF_AG_afr_p_van_01"];
	_ACHPool=	["O_Heli_Attack_02_black_F","O_Heli_Attack_02_F"];
	_CHPool=	["O_Heli_Light_02_F","O_Heli_Light_02_unarmed_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_bench_F"];
	_uavPool=	[];
	_stPool=	["O_Mortar_01_F","O_HMG_01_high_F","O_static_AT_F","O_static_AA_F"];
	_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];
	_diverPool=	["CAF_AG_AFR_P_AK47"];
	_crewPool=	["CAF_AG_AFR_P_AK47"];
	_heliCrew=	["CAF_AG_AFR_P_RPG","CAF_AG_AFR_P_GL"];
};
	case 13 : {// CAF Aggressors European Rebels
	_InfPool=	["CAF_AG_EEUR_R_AK47","CAF_AG_EEUR_R_AK74","CAF_AG_EEUR_R_GL","CAF_AG_EEUR_R_PKM","CAF_AG_EEUR_R_RPG","CAF_AG_EEUR_R_RPK74","CAF_AG_EEUR_R_SVD"];	
	_ArmPool=	["O_APC_Tracked_02_AA_F","O_APC_Tracked_02_cannon_F","O_APC_Wheeled_02_rcws_F","O_MBT_02_arty_F","O_MBT_02_cannon_F"];
	_MotPool=	["CAF_AG_eeur_r_Offroad","CAF_AG_eeur_r_Offroad_armed_01","O_G_Offroad_01_armed_F","CAF_AG_eeur_r_van_01"];
	_ACHPool=	["O_Heli_Attack_02_black_F","O_Heli_Attack_02_F"];
	_CHPool=	["MEC_SAA_Hind","O_Heli_Light_02_F","O_Heli_Light_02_unarmed_F","O_Heli_Transport_04_covered_F","O_Heli_Transport_04_bench_F"];
	_uavPool=	[];
	_stPool=	["O_Mortar_01_F","O_HMG_01_high_F","O_static_AT_F","O_static_AA_F"];
	_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];
	_diverPool=	["CAF_AG_EEUR_R_AK47"];
	_crewPool=	["CAF_AG_EEUR_R_AK47"];
	_heliCrew=	["CAF_AG_EEUR_R_RPG","CAF_AG_EEUR_R_GL"];
};
	case 14 : {// RHS - Armed Forces of the Russian Federation MSV
	_InfPool=	["rhs_msv_crew","rhs_msv_crew_commander","rhs_msv_armoredcrew","rhs_msv_combatcrew","rhs_msv_rifleman","rhs_msv_efreitor","rhs_msv_grenadier","rhs_msv_machinegunner","rhs_msv_machinegunner_assistant","rhs_msv_at","rhs_msv_strelok_rpg_assist","rhs_msv_marksman","rhs_msv_officer_armored","rhs_msv_officer","rhs_msv_junior_sergeant","rhs_msv_sergeant","rhs_msv_engineer","rhs_msv_driver_armored","rhs_msv_driver","rhs_msv_aa","rhs_msv_medic","rhs_msv_LAT"];
	_ArmPool=	["rhs_sprut_vdv","rhs_bmp1p_msv","rhs_brm1k_msv","rhs_bmp2_msv","rhs_bmp2e_msv","rhs_bmp2d_msv","rhs_bmp2k_msv","rhs_prp3_msv","rhs_bmd4_vdv","rhs_bmd4ma_vdv","rhs_t80u","rhs_t80bv","rhs_t80a","rhs_t72bc_tv","rhs_t72bb_tv","rhs_zsu234_aa"];
	_MotPool=	["RHS_Ural_MSV_01","RHS_Ural_Fuel_MSV_01","RHS_Ural_VDV_01","rhs_typhoon_vdv","rhs_gaz66_repair_vdv","RHS_Ural_Open_MSV_01"];
	_ACHPool=	["RHS_Mi24P_vvsc","RHS_Mi24V_vvsc"];
	_CHPool=	["Cha_Mi24_P","Cha_Mi24_V","O_Heli_Light_02_F","O_Heli_Light_02_unarmed_F"];
	_uavPool=	["O_UAV_01_F","O_UAV_02_CAS_F","O_UGV_01_rcws_F"];
	_stPool=	["O_Mortar_01_F","O_HMG_01_high_F","O_static_AT_F","O_static_AA_F"];
	_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];
	_diverPool=	["rhs_msv_driver"];
	_crewPool=	["rhs_msv_crew"];
	_heliCrew=	["rhs_msv_grenadier","rhs_msv_machinegunner","rhs_msv_at"];};
};

////////////////////////////////////////////////////////////////////////////////////////
if (_type isEqualTo 0) then {
	for "_i" from 0 to 5 do{
	_unit=_InfPool select (floor(random(count _InfPool)));
	_tempArray set [count _tempArray,_unit];};
};
						
if (_type isEqualTo 1) then {_tempArray=_diverPool};
				
// CREATE ARMOUR & CREW			
if (_type isEqualTo 2) then {
	_tempUnit=_ArmPool select (floor(random(count _ArmPool)));
	_temparray set [count _temparray,_tempUnit];
	_crew=_crewPool select (floor(random(count _crewPool)));
	_temparray set [count _temparray,_crew];
};

// CREATE ATTACK CHOPPER & CREW	
if (_type isEqualTo 3) then {
	_tempUnit=_ACHPool select (floor(random(count _ACHPool)));
	_temparray set [count _temparray,_tempUnit];
	_crew=_heliCrew select (floor(random(count _heliCrew)));
	_temparray set [count _temparray,_crew];
};

// CREATE TRANSPORT CHOPPER & CREW		
if (_type isEqualTo 4) then {
	_tempUnit=_CHPool select (floor(random(count _CHPool)));
	_temparray set [count _temparray,_tempUnit];
	_crew=_heliCrew select (floor(random(count _heliCrew)));
	_temparray set [count _temparray,_crew];
};
						
// CREATE STATIC & CREW						
if (_type isEqualTo 5) then {
				_tempUnit=_stPool select (floor(random(count _stPool)));
				_temparray set [count _temparray,_tempUnit];
				_crew=_crewPool select (floor(random(count _crewPool)));
				_temparray set [count _temparray,_crew];

};
if (_type isEqualTo 6) then {_tempArray=_uavPool select (floor(random(count _uavPool)));};

// CREATE TRANSPORT & CREW
if (_type isEqualTo 7) then {
	_tempUnit=_MotPool select (floor(random(count _MotPool)));
	_temparray set [count _temparray,_tempUnit];
	_crew=_crewPool select (floor(random(count _crewPool)));
	_temparray set [count _temparray,_crew];
};

// CREATE BOAT & DIVER CREW
if (_type isEqualTo 8) then {
	_tempUnit=_shipPool select (floor(random(count _shipPool)));
	_temparray set [count _temparray,_tempUnit];
	_crew=_diverPool select (floor(random(count _diverPool)));
	_temparray set [count _temparray,_crew];
};
				
// CREATE CARGO
if (_type isEqualTo 9) then {
	for "_i" from 0 to 5 do{
		_unit=_InfPool select (floor(random(count _InfPool)));
		_temparray set [count _temparray,_unit];
	};
};

// CREATE DIVER CARGO
if (_type isEqualTo 10) then {
	for "_i" from 0 to 5 do{
		_unit=_diverPool select (floor(random(count _diverPool)));
		_temparray set [count _temparray,_unit];
	};			
};

//hint format ["%1",_tempArray];
_tempArray



Init.sqf




//if ([] call BIS_fnc_didJIP) then {isJIP=true;} else {isJIP=false;};
if (!isServer && isNull player) then {isJIP=true;} else {isJIP=false;};

// Set friendly/enemy sides
_EastHQ = createCenter EAST;
_WestHQ = createCenter WEST;
_IndHQ = createCenter RESISTANCE;
EAST setFriend [WEST, 0];
WEST setFriend [EAST, 0];
RESISTANCE setFriend [WEST, 0];
RESISTANCE setFriend [EAST, 1];
EAST setFriend [RESISTANCE, 1];
WEST setFriend [RESISTANCE, 0];

enableSaving [false, false];

// Common Functions
call compile preprocessFile "INS_definitions.sqf";
call compile preProcessFileLineNumbers "INSfncs\commom_fncs.sqf";
call compile preprocessFile "=BTC=_TK_punishment\=BTC=_tk_init.sqf";
if (INS_p_rev < 4) then
{
	call compile preprocessFile "=BTC=_revive\=BTC=_revive_init.sqf";	
}else{
	if (INS_p_rev isEqualTo 4) then
	{
		call compile preprocessFile "=BTC=_q_revive\config.sqf";
	};
};
[] spawn {call compile preprocessFileLineNumbers "EPD\Ied_Init.sqf";};

// EOS
switch (INS_op_faction) do
{
	case 1 : // CSAT (no mods)
	{
		[EAST,0,0]execVM "eos\OpenMe.sqf";
	};
	case 2 : // AAF (no mods)
	{
		[RESISTANCE,2,2]execVM "eos\OpenMe.sqf";
	};
	case 3 : // African Conflict with NATO SF and Russian Spetsnaz Weapons (@african_conflict;@nato_russian_sf_weapons)
	{
		if ((isClass(configFile >> "cfgPatches" >> "mas_afr_rebl_o")) &&
		{isClass(configFile >> "cfgPatches" >> "mas_weapons")}) then
		{
			activateAddons ["mas_afr_rebl_o","mas_weapons"];
			[EAST,3,4]execVM "eos\OpenMe.sqf";
		};
	};
	case 4 : // CAF Aggressors (@CAF_AG1.5).
	{
		if (isClass(configFile >> "cfgPatches" >> "caf_ag_faction_me_t")) then
		{
			activateAddons ["caf_ag_faction_me_t","caf_ag_faction_afr_p","caf_ag_faction_eeur_r","caf_ag_faction_me_civ","caf_ag_faction_afr_civ"];
			[EAST,11,13]execVM "eos\OpenMe.sqf";
		};
	};
	case 5 : // Syrian Army and QUD forces with CUP Weapons (@mec;@cup;@asdg_jr;@rds;@rds_tank;@cha_mi24)
	{
		if ((isClass(configFile >> "cfgPatches" >> "mec_core")) &&
		{(isClass(configFile >> "cfgPatches" >> "cup_weapons_weaponscore")) &&
		(isClass(configFile >> "cfgPatches" >> "asdg_jointrails")) &&
		(isClass(configFile >> "cfgPatches" >> "rds_staticweapons_core")) &&
		(isClass(configFile >> "cfgPatches" >> "rds_tanks")) &&
		(isClass(configFile >> "cfgPatches" >> "cha_mi24"))}) then	
		{
			activateAddons ["mec_saa","mec_saa_tanks","mec_saa_staticweapons","mec_qudsforce","mec_irregulars","mec_irr_tanks","mec_irr_staticweapons_o","mec_irr_staticweapons","mec_civilians","cup_creatures_peaople_military_dummyset","mec_gme_tanks"];
			[EAST,5,6]execVM "eos\OpenMe.sqf";
		};
	};
	case 6 : // Syrian Army and Middle Eastern Irregulars (Al Qaida) with CUP Weapons (@mec;@cup;@asdg_jr;@rds;@rds_tank;@cha_mi24)
	{
		if ((isClass(configFile >> "cfgPatches" >> "mec_core")) &&
		{(isClass(configFile >> "cfgPatches" >> "cup_weapons_weaponscore")) &&
		(isClass(configFile >> "cfgPatches" >> "asdg_jointrails")) &&
		(isClass(configFile >> "cfgPatches" >> "rds_staticweapons_core")) &&
		(isClass(configFile >> "cfgPatches" >> "rds_tanks")) &&
		(isClass(configFile >> "cfgPatches" >> "cha_mi24"))}) then
		{
			activateAddons ["mec_saa","mec_saa_tanks","mec_saa_staticweapons","mec_qudsforce","mec_irregulars","mec_irr_tanks","mec_irr_staticweapons_o","mec_irr_staticweapons","mec_civilians","cup_creatures_peaople_military_dummyset","mec_gme_tanks"];
			[EAST,5,7]execVM "eos\OpenMe.sqf";
		};
	};
	case 7 : // Taliban and Islamic State with CUP Weapons (@mec;@cup;@asdg_jr;@rds;@rds_tank;@cha_mi24)
	{
		if ((isClass(configFile >> "cfgPatches" >> "mec_core")) &&
		{(isClass(configFile >> "cfgPatches" >> "cup_weapons_weaponscore")) &&
		(isClass(configFile >> "cfgPatches" >> "asdg_jointrails")) &&		
		(isClass(configFile >> "cfgPatches" >> "rds_staticweapons_core")) &&
		(isClass(configFile >> "cfgPatches" >> "rds_tanks")) &&
		(isClass(configFile >> "cfgPatches" >> "cha_mi24"))}) then		
		{
			activateAddons ["mec_saa","mec_saa_tanks","mec_saa_staticweapons","mec_taliban","mec_tal_tanks","mec_taliban_staticweapons","mec_is","mec_is_tanks","mec_is_staticweapons","mec_qudsforce","mec_irregulars","mec_civilians","cup_creatures_peaople_military_dummyset","asdg_jointrails"];
			[RESISTANCE,8,9]execVM "eos\OpenMe.sqf";
		};
	};
	case 8 : // Sud Russians East Vs. West (@evw;@rds).
	{
		if ((isClass(configFile >> "cfgPatches" >> "sud_gw_v")) &&
		{(isClass(configFile >> "cfgPatches" >> "rds_staticweapons_core"))}) then
		{
			activateAddons ["sud_gw_v","sud_gw_u","sud_a10","sud_mi24","rds_staticweapons_core"];
			[EAST,10,10]execVM "eos\OpenMe.sqf";
		};
	};
	case 9 : // RHS - Armed Forces of the Russian Federation (@rhs_afrf3)
	{
		if (isClass(configFile >> "cfgPatches" >> "rhs_c_troops")) then
		{
			activateAddons ["rhs_c_troops","rhs_c_btr","rhs_c_bmp","rhs_c_tanks","rhs_c_a2port_armor","RHS_A2_CarsImport","RHS_A2_AirImport"];
			[EAST,14,14]execVM "eos\OpenMe.sqf";
			
			// (optional/not required) United States Armed Forces (@rhs_usf3)
			// Due to RHS's vehicle sorting systems, they don't show up in vehicle rewards.
			if (isClass(configFile >> "cfgPatches" >> "rhsusf_main")) then
			{				
				activateAddons ["rhsusf_main","rhsusf_c_troops","RHS_US_A2Port_Armor","rhsusf_vehicles","rhs_c_a2port_car","RHS_US_A2_AirImport","rhsusf_c_hmmwv","rhsusf_c_m113","rhsusf_c_m109"];
			};			
		};
	};
};
if (CiviFoot isEqualTo 1) then {[]execVM "eos_civ\OpenMeCiv.sqf";};// Civilians

// Common Scripts
execVM "Objectives\shk_taskmaster.sqf";
if (JigHeliExtraction isEqualTo 1) then {null = [] execVM "JIG_EX\extraction_init.sqf";};
if (CiviMobiles isEqualTo 1) then {[2, 400, 500] execVM "scripts\MAD_traffic.sqf";};
if (INS_logistics isEqualTo 1) then {_logistic = execVM "=BTC=_Logistic\=BTC=_logistic_init.sqf";};
if (max_ai_recruits > 1) then {[] execVM "bon_recruit_units\init.sqf";};
execVM "scripts\zlt_fastrope.sqf";
execVM "JWC_CASFS\initCAS.sqf";
nul = ["mission"] execVM "hcam_init.sqf";
execVM "BTK\Cargo Drop\Start.sqf";

if ((DebugEnabled isEqualTo 1) && (tky_perfmon > 0)) then {
	if (AI_SpawnDis > 1000) then {
		[AI_SpawnDis,9,true,1800]execvm "zbe_cache\main.sqf";
	}else{
		[1000,9,true,1500]execvm "zbe_cache\main.sqf";
	};
}else{
	if (AI_SpawnDis < 1000) then {
		[1000,10,false,1500]execvm "zbe_cache\main.sqf";
	}else{
		[AI_SpawnDis,10,false,1500]execvm "zbe_cache\main.sqf";
	};
};

// Init Join in Progress
if (isJIP) then {[] spawn {[] execVM "scripts\JIPactions.sqf";};};

// Init Server
if (isServer) then
{
	call compile preprocessFile "init_server.sqf";
	call compile preprocessFileLineNumbers "INSfncs\AirPatrole_Fncs.sqf";
	rej_fnc_bezier = compile preProcessFileLineNumbers "INSfncs\rej_fnc_bezier.sqf";
};

// Init Player
if (!isDedicated && hasInterface) then
{
	[] spawn {
		#include "add_diary.sqf"
		waitUntil {!isNull player && player == player};
		if (DebugEnabled isEqualTo 0) then {["BIS_ScreenSetup", false] call BIS_fnc_blackOut;};
		call compile preprocessFile "INSfncs\client_fncs.sqf";
		player sideChat "Loading...";

		if (!isServer) then
		{
			["BIS_introPreload", "onPreloadFinished", {
				// Remove event handler
				["BIS_introPreload", "onPreloadFinished"] call BIS_fnc_removeStackedEventHandler;

				// Flag
				missionNamespace setVariable ["BIS_readyForIntro", true];
			}] call BIS_fnc_addStackedEventHandler;

			waitUntil {
				!isNil { missionNamespace getVariable "BIS_readyForIntro" };
			};
		};

		call compile preprocessFile "init_player.sqf";
		[] call compile preprocessFile "UI\HUD.sqf";
		0 = [] execVM 'scripts\group_manager.sqf';
		0 = [] execVM 'scripts\player_markers.sqf';
	};
};


Modedit:
I know many people are fully into "mile long topics" these days, but we are not! Use code tags while adding code to a post. Thanks!

Added 14 hours 27 minutes later:

desperate bump

This post was edited by guitarprorocks (2015-04-03 05:58, 986 days ago)


Author Message


Posts: 15
Rank:


Level: Member

Country: us
Location: CA
Occupation: US ARMY
Age: 33
In-game name: clementsX

 
#2 Posted at 2015-04-07 05:31        
     
It is in the parameters in the lobby.


Advertisement


Author Message


Posts: 2
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2015-04-09 09:27        
     
# clementsjd : It is in the parameters in the lobby.

WOW. i really feel stupid now, THANK YOU.


Author Message


Posts: 1
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#4 Posted at 2015-05-25 05:14        
     
# clementsjd : It is in the parameters in the lobby.

Hello I am also doing the same as guitarprorocks I have found parameters.hpp file but I don't know to exactly find where i can change it