Jump to content
bangabob

Enemy occupation system (eos)

Recommended Posts

I keep getting these errors in game any help will be appreciated.

 

http://i65.tinypic.com/2rhyd8h.jpg[/img]

 

http://i64.tinypic.com/dxl4sj.jpg[/img]

 

I keep getting these errors in game any help will be appreciated.

 

http://i65.tinypic.com/2rhyd8h.jpg[/img]

 

http://i64.tinypic.com/dxl4sj.jpg[/img]

 

Can any one give me any info on this errror?

 

Script eos\core/spwan_fn.sqf not found

Share this post


Link to post
Share on other sites

Can any one give me any info on this errror?

 

Script eos\core/spwan_fn.sqf not found

the script is in the mission folder.

Share this post


Link to post
Share on other sites

Hi everyone..

I want to use this great script by Johnnyboy  https://forums.bistudio.com/topic/190880-release-jboy-patrol-chatter-and-lights-onoff-scripts/?hl=johnnyboy that basically add chat on the patrols, and let them turn flashlight on and off in intervals...giving a player a hint of incoming patrols...really useful on tanoa or foggy maps...

 

All I have to do is to add this command on the init box  of the patrol team-leader:

dummy = [group this, 60] execVM "Scripts\JBOY_PatrolChatter.sqf"; 
dummy = [group this, 60, 5] execVM "Scripts\JBOY_LightsOnOff.sqf";

But how?

Thanks anyone willing to help.

Share this post


Link to post
Share on other sites

First off just want to state that I love EOS. Been using it for a while and not looking back.

 

Is there a way for the ai spawning from EOS to use the aiskills from VCOM ai script?

Share this post


Link to post
Share on other sites

Hi all!

I can't find winch parameter fill for let's spawn boat in some areas, also i don't find anything on instructions(ship and UAV/UGV pool).

Any suggestion?

 

#1 Update, ok I understand ho to do for let's spawn ship :D but still can't find importation for UAV/UGV.

Share this post


Link to post
Share on other sites

...............................................................

Share this post


Link to post
Share on other sites

Because the UAV is not a "player". You would have to edit the condition in the trigger to consider the person/player controlling the UAV. I have not tried this in MP. I am sure someone may have a cleaner idea.

line ~41 in eos_core

{_actCond="{vehicle _x in thisList && isplayer _x || ((player == UAVControl uavName select 0) && (isplayer _x) && (uavName in thisList))} count allUnits > 0";};};
  • Like 1

Share this post


Link to post
Share on other sites

Hi i actually got some issues,

 

When the server is started for maybe 3-4 hours the red zones are enemy free and instantly get green when ou go inside

.

 

Any ideas ?

 

thx 

Share this post


Link to post
Share on other sites

Hi i actually got some issues,

 

When the server is started for maybe 3-4 hours the red zones are enemy free and instantly get green when ou go inside

.

 

Any ideas ?

 

thx

Sounds like arma. Just make your server have schdeuled reboot 4 hours.

Share this post


Link to post
Share on other sites

EOS is fine, but it needs more options. The bastion has the problem that the enemy comes from a 360 angle.

 

I changed it by changing the value

 

 

 

from 360 i tuned it down to 90 but still this applies to ALL Bastions that are called. Would there any chance of being able to decide the direction of the enemy attack?

Thank you for your time.

 

Maybe a little late, this is what I did.

 

Add this to a trigger

attackDirection = [-45,0,45];
null = [["defendZone"],[3,1],[0,0],[0],[1,2],[0,1,EAST,TRUE],[0,2,60,TRUE,FALSE]] call Bastion_Spawn;

And in b_core.sqf line ~126 you'll see this:

_pos = [_mPos, _Placement, random 360] call BIS_fnc_relPos;

Replace with:

_pos = [_mPos, _Placement, random attackDirection] call BIS_fnc_relPos;

This way when trigger is activated, units will come from North / North-west / North-east.

You could only use the variable in the trigger, thats up to you.

Just be sure to modify b_Core.sqf in all the spawn units lines (infantry, vehicles, armored).

Share this post


Link to post
Share on other sites

Hi i actually got some issues,

 

When the server is started for maybe 3-4 hours the red zones are enemy free and instantly get green when ou go inside

.

 

Any ideas ?

 

thx 

Arma has a hard limit on the number of groups you can have in a mission for each faction, it's around 145 I think.

 

Put a cleanup script or some way of deleting enemies into your mission and the zones will spawn new enemies.

Share this post


Link to post
Share on other sites

I have also found that if you add a speed condition to the altitidue part of the trigger, it helps with lighting up the enitire map while flying over in a jet as an example. I set it to 200. Just a thought.

Share this post


Link to post
Share on other sites

People! Be merciful, somebody lay to download a patched version of EOS .Please!(Люди!Будьте милосердны,кто нибудь выложите для загрузки исправленную версию  EOS .Пожалуйста!)

Share this post


Link to post
Share on other sites

People! Be merciful, somebody lay to download a patched version of EOS .Please!(Люди!Будьте милосердны,кто нибудь выложите для загрузки исправленную версию  EOS .Пожалуйста!)

Share this post


Link to post
Share on other sites

Hey does this script still function since the updates?  My trigger isn't spawning anything halp.  

Share this post


Link to post
Share on other sites

can someone explain how to spawn Armor, the Documentation is not working, ive tried everything.. anyone ??

maybe an updated Call line would do..

 

[marker],[Housepatrol_groups,Size,Probabiolity].................................

so ppl know where to put what ??

Share this post


Link to post
Share on other sites

Last time I tried EOS I remember this working for me...

 

Formatted for an easy read, too...

 

OpenMe.sqf

 

Never mind... something is borked... you got me interested in giving EOS a crack again and I am getting errors now.  Investigating... will repost when resolved.

Share this post


Link to post
Share on other sites

works fine for me, check your unit pools file.

 

Spoiler


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

// ====================================================================================
// 	0 : BIS_CSAT.sqf
// ====================================================================================

	if (_faction==0) then 
	{
		_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_Truck_02_transport_F","O_MRAP_02_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"];
		_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"];
	};

// ====================================================================================
// 	1 : BIS_NATO.sqf
// ====================================================================================
	
	if (_faction==1) then 
	{
	_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"];
	};

// ====================================================================================
// 	2 : BIS_AAF.sqf
// ====================================================================================

	if (_faction==2) then 
	{
		_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_Quadbike_01_F","I_MRAP_03_F","I_MRAP_03_gmg_F","I_MRAP_03_hmg_F","I_Truck_02_ammo_F","I_Truck_02_fuel_F","I_Truck_02_medical_F","I_Truck_02_box_F","I_Truck_02_transport_F","I_Truck_02_covered_F"];
		_ACHPool=	["I_Heli_light_03_F"];
		_CHPool=	["I_Heli_Transport_02_F","I_Heli_light_03_unarmed_F"];
		_uavPool=	["I_UAV_01_F","I_UAV_02_CAS_F","I_UGV_01_rcws_F"];
		_stPool=	["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_static_AA_F","I_static_AT_F"];
		_shipPool=	["I_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"];
	};

// ====================================================================================
// 	3 : BIS_CIVILIAN.sqf	
// ====================================================================================

	if (_faction==3) then 
	{
		_InfPool=	["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_pilot_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"];	
		_ArmPool=	["C_Hatchback_01_F","C_Hatchback_01_sport_F","C_Quadbike_01_F","C_SUV_01_F","C_Van_01_transport_F","C_Van_01_box_F"];
		_MotPool=	["C_Hatchback_01_F","C_Hatchback_01_sport_F","C_Quadbike_01_F","C_SUV_01_F","C_Van_01_transport_F","C_Van_01_box_F"];
		_ACHPool=	[];
		_CHPool=	[];
		_uavPool=	[];
		_stPool=	[];
		_shipPool=	["C_Boat_Civil_01_F","C_Boat_Civil_01_rescue_F","C_Boat_Civil_04_F","C_Rubberboat"];
		_diverPool=	[];
		_crewPool=	["C_man_1"];
		_heliCrew=	["C_man_1","C_man_1"];
	};

// ====================================================================================
// 	4 : RHS_USMC.sqf
// ====================================================================================

	if (_faction==4) then 
	{
		_InfPool=	["rhsusf_usmc_marpat_wd_stinger","rhsusf_usmc_marpat_wd_smaw","rhsusf_usmc_marpat_wd_autorifleman_m249","rhsusf_usmc_marpat_wd_marksman","rhsusf_usmc_marpat_wd_grenadier","rhsusf_usmc_marpat_wd_grenadier_m32","rhsusf_usmc_marpat_wd_jfo","rhsusf_usmc_marpat_wd_javelin","rhsusf_usmc_marpat_wd_engineer","rhsusf_usmc_marpat_wd_riflemanat","rhsusf_usmc_marpat_wd_sniper","rhsusf_usmc_marpat_wd_spotter","rhsusf_usmc_marpat_wd_sniper_M107","rhsusf_usmc_marpat_wd_squadleader","rhsusf_usmc_marpat_wd_autorifleman","rhsusf_usmc_marpat_wd_rifleman_m590","rhsusf_usmc_marpat_wd_fso","rhsusf_usmc_marpat_wd_explosives","rhsusf_usmc_marpat_wd_gunner","rhsusf_usmc_marpat_wd_machinegunner","rhsusf_usmc_marpat_wd_rifleman","rhsusf_usmc_marpat_wd_rifleman_m4","rhsusf_usmc_marpat_wd_rifleman_law","rhsusf_usmc_marpat_wd_teamleader"];	
		_ArmPool=	["rhsusf_m1a1fep_wd","rhsusf_m1a1hc_wd"];
		_MotPool=	["rhsusf_m1025_w_s_m2","rhsusf_m1025_w_s_Mk19","rhsusf_rg33_usmc_wd","rhsusf_rg33_m2_usmc_wd"];
		_ACHPool=	["RHS_AH1Z_wd","RHS_UH1Y_GS"];
		_CHPool=	["rhsusf_CH53E_USMC"];
		_uavPool=	[];
		_stPool=	["RHS_M2StaticMG_USMC_WD","RHS_M2StaticMG_MiniTripod_USMC_WD","RHS_TOW_TriPod_USMC_WD","RHS_MK19_TriPod_USMC_WD","RHS_M252_USMC_WD"];
		_shipPool=	[];
		_diverPool=	[];
		_crewPool=	["rhsusf_usmc_marpat_wd_combatcrewman"];
		_heliCrew=	["rhsusf_usmc_marpat_wd_helicrew","rhsusf_usmc_marpat_wd_helipilot"];
	};

// ====================================================================================
// 	5 : BIS_SYNDIKAT_Pacific.sqf
// ====================================================================================

	if (_faction==5) then 
	{
		_InfPool=	["I_C_Soldier_Bandit_7_F","I_C_Soldier_Bandit_3_F","I_C_Soldier_Bandit_2_F","I_C_Soldier_Bandit_5_F","I_C_Soldier_Bandit_6_F","I_C_Soldier_Bandit_1_F","I_C_Soldier_Bandit_8_F","I_C_Soldier_Bandit_4_F","I_C_Soldier_Para_7_F","I_C_Soldier_Para_2_F","I_C_Soldier_Para_3_F","I_C_Soldier_Para_4_F","I_C_Soldier_Para_6_F","I_C_Soldier_Para_8_F","I_C_Soldier_Para_1_F","I_C_Soldier_Para_5_F"];	
		_ArmPool=	[];
		_MotPool=	["I_C_Offroad_02_unarmed_F","I_G_Offroad_01_armed_F","I_G_Offroad_01_F"];
		_ACHPool=	[];
		_CHPool=	["I_Heli_light_03_F","I_Heli_Transport_02_F"	];
		_uavPool=	[];
		_stPool=	["I_G_Mortar_01_F","I_GMG_01_high_F","I_HMG_01_high_F","I_HMG_01_F","I_static_AT_F","I_static_AA_F","I_GMG_01_F"];
		_shipPool=	["I_C_Boat_Transport_02_F","I_C_Boat_Transport_01_F","I_Boat_Armed_01_minigun_F","C_Scooter_Transport_01F"];
		_diverPool=	["I_C_Soldier_Bandit_7_F","I_C_Soldier_Bandit_2_F","I_C_Soldier_Bandit_3_F"];
		_crewPool=	["I_C_Soldier_Para_2_F","I_C_Soldier_Para_3_F","I_C_Soldier_Para_4_F","I_C_Soldier_Bandit_7_F","I_C_Soldier_Bandit_2_F","I_C_Soldier_Bandit_3_F"];
		_heliCrew=	["I_helicrew_F","I_helipilot_F"];
	};

// ====================================================================================	
// 	6 : BIS_CSAT_Pacific.sqf
// ====================================================================================
	
	if (_faction==6) then 
	{
		_InfPool=	["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_Soldier_M_F","O_T_Soldier_AA_F","O_T_Soldier_AT_F","O_T_Officer_F","O_T_Soldier_PG_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_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_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"];
		_ArmPool=	["O_T_MBT_02_cannon_ghex_F","O_T_APC_Tracked_02_cannon_ghex_F","O_T_APC_Tracked_02_AA_ghex_F"];
		_MotPool=	["O_T_MRAP_02_hmg_ghex_F","O_T_MRAP_02_gmg_ghex_F","O_T_LSV_02_armed_F","O_G_Offroad_01_armed_F","O_APC_Wheeled_02_rcws_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_T_UAV_04_CAS_F","O_UAV_01_F","O_T_UGV_01_rcws_ghex_F"];
		_stPool=	["B_T_HMG_01_F","O_GMG_01_high_F","O_HMG_01_high_F","O_static_AT_F","O_static_AA_F","O_GMG_01_F","O_G_Mortar_01_F"];
		_shipPool=	["O_T_Boat_Transport_01_F","O_T_Boat_Armed_01_hmg_F"];
		_diverPool=	["O_T_Diver_Exp_F","O_T_Diver_TL_F","O_T_Diver_F"];
		_crewPool=	["O_T_Crew_F"];
		_heliCrew=	["O_T_Helicrew_F","O_T_Helipilot_F"];
	};

// ====================================================================================	
// 	7 : RHS_Chenarus_Ground_Forces.sqf
// ====================================================================================
	
	if (_faction==7) then 
	{
		_InfPool=	["rhsgref_cdf_reg_rifleman","rhsgref_cdf_reg_rifleman_m70","rhsgref_cdf_reg_rifleman_lite","rhsgref_cdf_reg_grenadier","rhsgref_cdf_reg_machinegunner","rhsgref_cdf_reg_marksman","rhsgref_cdf_reg_general","rhsgref_cdf_reg_officer","rhsgref_cdf_reg_squadleader","rhsgref_cdf_reg_grenadier_rpg","rhsgref_cdf_reg_specialist_aa","rhsgref_cdf_reg_medic","rhsgref_cdf_reg_engineer","rhsgref_cdf_para_rifleman","rhsgref_cdf_para_rifleman_lite","rhsgref_cdf_para_autorifleman","rhsgref_cdf_para_machinegunner","rhsgref_cdf_para_marksman","rhsgref_cdf_para_officer","rhsgref_cdf_para_squadleader","rhsgref_cdf_para_grenadier_rpg","rhsgref_cdf_para_specialist_aa","rhsgref_cdf_para_medic","rhsgref_cdf_para_engineer"];
		_ArmPool=	["rhsgref_cdf_t72ba_tv","rhsgref_cdf_bmd1","rhsgref_cdf_bmd1","rhsgref_cdf_bmd1p","rhsgref_cdf_bmd1pk","rhsgref_cdf_bmd2","rhsgref_cdf_bmd2k","rhsgref_cdf_bmp1","rhsgref_cdf_bmp1d","rhsgref_cdf_bmp1k","rhsgref_cdf_bmp1p","rhsgref_cdf_bmp2e","rhsgref_cdf_bmp2","rhsgref_cdf_bmp2d","rhsgref_cdf_gaz66_zu23"];
		_MotPool=	["rhsgref_cdf_btr60","rhsgref_cdf_btr70","rhsgref_BRDM2","rhsgref_BRDM2_HQ","rhsgref_BRDM2_ATGM","rhsgref_c_a2port_armor","rhsgref_cdf_reg_uaz_ags","rhsgref_cdf_reg_uaz_dshkm","rhsgref_cdf_reg_uaz_spg9"];
		_ACHPool=	["rhsgref_mi24g_UPK23","rhsgref_cdf_Mi35","rhsgref_cdf_reg_Mi17Sh"];
		_CHPool=	["rhsgref_cdf_reg_Mi8amt"];
		_uavPool=	[];
		_stPool=	["RHSgref_cdf_ZU23","rhsgref_cdf_reg_M252","rhsgref_cdf_reg_d30","rhsgref_cdf_reg_d30_at","rhsgref_cdf_Igla_AA_pod","rhsgref_cdf_AGS30_TriPod","rhsgref_cdf_DSHKM","rhsgref_cdf_DSHKM_Mini_TriPod","rhsgref_cdf_NSV_TriPod","rhsgref_cdf_SPG9","rhsgref_cdf_SPG9M"];
		_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=	["rhsgref_cdf_reg_crew","rhsgref_cdf_para_crew"];
		_heliCrew=	["rhsgref_cdf_reg_grenadier","rhsgref_cdf_reg_grenadier_rpg","rhsgref_cdf_reg_machinegunner","rhs_msv_at","rhsgref_cdf_reg_rifleman","rhsgref_cdf_para_engineer","rhsgref_cdf_para_specialist_aa","rhsgref_cdf_para_medic","rhsgref_cdf_para_grenadier_rpg","rhsgref_cdf_reg_marksman"];
	};

// ====================================================================================
// 	8 : BIS_FIA.sqf
// ====================================================================================

	if (_faction==8) then 
	{
		_InfPool=	["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_Sharpshooter_F"];
		_ArmPool=	["I_APC_tracked_03_cannon_F"];
		_MotPool=	["I_G_Offroad_01_armed_F","O_G_Offroad_01_armed_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"];
		_uavPool=	[];
		_stPool=	["I_G_Mortar_01_F","I_GMG_01_high_F","I_HMG_01_high_F","I_HMG_01_F","I_static_AT_F","I_static_AA_F","I_GMG_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_G_engineer_F"];
		_heliCrew=	["I_G_Soldier_SL_F","I_G_Soldier_F","I_G_Soldier_AR_F","I_G_medic_F","I_G_Soldier_LAT_F","I_G_Soldier_GL_F"];
	};

// ====================================================================================
// 	9 : CUP_Takistan_Army.sqf
// ====================================================================================

	if (_faction==9) then 
	{
		_InfPool=	["CUP_O_TK_Soldier_AA","CUP_O_TK_Soldier_AAT","CUP_O_TK_Soldier_AMG","CUP_O_TK_Soldier_HAT","CUP_O_TK_Soldier_AR","CUP_O_TK_Story_Aziz","CUP_O_TK_Commander","CUP_O_TK_Engineer","CUP_O_TK_Soldier_GL","CUP_O_TK_Soldier_MG","CUP_O_TK_Medic","CUP_O_TK_Officer","CUP_O_TK_Pilot","CUP_O_TK_Soldier","CUP_O_TK_Soldier_Backpack","CUP_O_TK_Soldier_LAT","CUP_O_TK_Soldier_AT","CUP_O_TK_Sniper","CUP_O_TK_Sniper_KSVK","CUP_O_TK_Soldier_AKS_74_GOSHAWK","CUP_O_TK_Spotter","CUP_O_TK_Soldier_SL","CUP_O_TK_SpecOps_MG","CUP_O_TK_SpecOps","CUP_O_TK_SpecOps_TL"];
		_ArmPool=	["CUP_O_BMP2_ZU_TKA","CUP_O_BMP_HQ_TKA","CUP_O_BMP1_TKA","CUP_O_BMP1P_TKA","CUP_O_BMP2_TKA","CUP_O_T34_TKA","CUP_O_T55_TK","CUP_O_T72_TKA","CUP_O_M113_TKA","CUP_O_ZSU23_TK"];//"CUP_O_M113_Med_TKA",
		_MotPool=	["CUP_O_BRDM2_TKA","CUP_O_LR_MG_TKA","CUP_O_LR_SPG9_TKA","CUP_O_BTR60_TK","CUP_O_UAZ_MG_TKA","CUP_O_UAZ_AGS30_TKA","CUP_O_UAZ_SPG9_TKA","CUP_O_Ural_ZU23_TKA","CUP_O_BTR40_MG_TKA"];
		_CHPool=	["CUP_O_UH1H_TKA","CUP_O_Mi17_TK"];
		_uavPool=	[];
		_stPool=	["CUP_O_ZU23_TK","O_HMG_01_high_F","CUP_O_AGS_TK","CUP_O_2b14_82mm_TK","CUP_O_D30_TK","CUP_O_D30_AT_TK","CUP_O_SPG9_TK"];//"CUP_O_DSHkM_MiniTriPod_TK","CUP_O_DSHKM_TK"
		_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=	["CUP_O_TK_Crew"];
		_heliCrew=	["CUP_O_TK_Soldier_AA","CUP_O_TK_Soldier_AAT","CUP_O_TK_Soldier_AMG","CUP_O_TK_Soldier_HAT","CUP_O_TK_Soldier_AR","CUP_O_TK_Commander","CUP_O_TK_Engineer","CUP_O_TK_Soldier_GL","CUP_O_TK_Soldier_MG","CUP_O_TK_Medic","CUP_O_TK_Officer","CUP_O_TK_Pilot","CUP_O_TK_Soldier","CUP_O_TK_Soldier_Backpack","CUP_O_TK_Soldier_LAT","CUP_O_TK_Soldier_AT","CUP_O_TK_Sniper","CUP_O_TK_Sniper_KSVK","CUP_O_TK_Soldier_AKS_74_GOSHAWK","CUP_O_TK_Spotter","CUP_O_TK_Soldier_SL","CUP_O_TK_SpecOps_MG","CUP_O_TK_SpecOps","CUP_O_TK_SpecOps_TL"];
	};

// ====================================================================================
// 	10 : CUP_Takistan_Militia.sqf
// ====================================================================================

	if (_faction==10) then 
	{
		_InfPool=	["CUP_O_TK_INS_Soldier_AA","CUP_O_TK_INS_Soldier_AR","CUP_O_TK_INS_Guerilla_Medic","CUP_O_TK_INS_Soldier_MG","CUP_O_TK_INS_Bomber","CUP_O_TK_INS_Mechanic","CUP_O_TK_INS_Soldier_GL","CUP_O_TK_INS_Soldier","CUP_O_TK_INS_Soldier_FNFAL","CUP_O_TK_INS_Soldier_Enfield","CUP_O_TK_INS_Soldier_AAT","CUP_O_TK_INS_Soldier_AT","CUP_O_TK_INS_Sniper","CUP_O_TK_INS_Soldier_TL","CUP_O_TK_INS_Commander"];
		_ArmPool=	["CUP_O_T72_TKA","CUP_O_M113_TKA","CUP_O_T55_TK","CUP_O_T72_TKA","CUP_O_T55_TK","CUP_O_M113_TKA","CUP_O_ZSU23_TK"];
		_MotPool=	["CUP_O_LR_MG_TKA","CUP_O_LR_SPG9_TKA","CUP_O_UAZ_MG_TKA","CUP_O_UAZ_AGS30_TKA","CUP_O_UAZ_SPG9_TKA"];
		_ACHPool=	["CUP_O_Mi17_TK","CUP_O_Mi24_D_TK"];
		_CHPool=	["CUP_O_UH1H_TKA","CUP_O_Mi17_TK"];
		_uavPool=	[];
		_stPool=	["CUP_O_ZU23_TK_INS","CUP_O_D30_TK_INS","CUP_O_D30_AT_TK_INS","CUP_O_DSHKM_TK_INS","CUP_O_DSHkM_MiniTriPod_TK_INS","CUP_O_2b14_82mm_TK_INS","CUP_O_SPG9_TK_INS","CUP_O_AGS_TK_INS"];
		_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];
		_diverPool=	["CUP_O_TK_INS_Soldier"];
		_crewPool=	["CUP_O_TK_INS_Soldier"];
		_heliCrew=	["CUP_O_TK_INS_Soldier_AA","CUP_O_TK_INS_Soldier_AR","CUP_O_TK_INS_Guerilla_Medic","CUP_O_TK_INS_Soldier_MG","CUP_O_TK_INS_Bomber","CUP_O_TK_INS_Mechanic","CUP_O_TK_INS_Soldier_GL","CUP_O_TK_INS_Soldier","CUP_O_TK_INS_Soldier_FNFAL","CUP_O_TK_INS_Soldier_Enfield","CUP_O_TK_INS_Soldier_AAT","CUP_O_TK_INS_Soldier_AT","CUP_O_TK_INS_Sniper","CUP_O_TK_INS_Soldier_TL","CUP_O_TK_INS_Commander"];
	};

// ====================================================================================
// 	11 : RHS_ChDKZ.sqf
// ====================================================================================

	if (_faction==11) then 
	{
		_InfPool=	["rhsgref_ins_g_specialist_aa","rhsgref_ins_g_grenadier_rpg","rhsgref_ins_g_machinegunner","rhsgref_ins_g_medic","rhsgref_ins_g_militiaman_mosin","rhsgref_ins_g_pilot","rhsgref_ins_g_rifleman","rhsgref_ins_g_engineer","rhsgref_ins_g_spotter","rhsgref_ins_g_rifleman_akm","rhsgref_ins_g_rifleman_aksu","rhsgref_ins_g_grenadier","rhsgref_ins_g_rifleman_RPG26","rhsgref_ins_g_saboteur","rhsgref_ins_g_sniper"];	
		_ArmPool=	["rhsgref_ins_g_bmd1","rhsgref_ins_g_bmd2","rhsgref_ins_g_bmp1","rhsgref_ins_g_bmp1p","rhsgref_ins_g_t72bb","rhsgref_ins_g_t72bc","rhsgref_ins_g_BM21","rhsgref_ins_g_btr60","rhsgref_ins_g_btr70"];
		_MotPool=	["rhsgref_BRDM2_ins_g","rhsgref_BRDM2_ATGM_ins_g","rhsgref_ins_g_gaz66","rhsgref_ins_g_ural_Zu23","rhsgref_ins_g_uaz_ags","rhsgref_ins_g_uaz_dshkm_chdkz","rhsgref_ins_g_uaz_spg9"];
		_ACHPool=	[];
		_CHPool=	["rhsgref_ins_g_Mi8amt"];
		_uavPool=	[];
		_stPool=	["rhsgref_ins_g_AGS30_TriPod","rhsgref_ins_g_DSHKM","rhsgref_ins_g_DSHKM_Mini_TriPod","rhsgref_ins_g_NSV_TriPod","rhsgref_ins_g_SPG9","rhsgref_ins_g_SPG9M","rhsgref_ins_g_2b14"];
		_shipPool=	[];
		_diverPool=	[];
		_crewPool=	["rhsgref_ins_g_crew"];
		_heliCrew=	["rhsgref_ins_g_crew"];
	};

// ====================================================================================
// 	12 : RHS_Nationalist_Troops.sqf
// ====================================================================================

	if (_faction==12) then 
		{
		_InfPool=	["rhsgref_nat_rifleman","rhsgref_nat_rifleman_akms","rhsgref_nat_militiaman_kar98k","rhsgref_nat_rifleman_m92","rhsgref_nat_grenadier","rhsgref_nat_warlord","rhsgref_nat_commander","rhsgref_nat_machinegunner","rhsgref_nat_grenadier_rpg","rhsgref_nat_specialist_aa","rhsgref_nat_hunter","rhsgref_nat_scout","rhsgref_nat_saboteur","rhsgref_nat_medic"];
		_ArmPool=	["rhs_bmd1_chdkz","rhs_bmd2_chdkz"];
		_MotPool=	["rhsgref_nat_btr70","rhsgref_nat_uaz_ags","rhsgref_nat_uaz_dshkm","rhsgref_nat_uaz_spg9","rhsgref_nat_ural_Zu23"];
		_ACHPool=	["rhsgref_mi24g_UPK23","rhsgref_cdf_Mi35","rhsgref_cdf_reg_Mi17Sh"];
		_CHPool=	["rhsgref_cdf_reg_Mi8amt"];
		_uavPool=	[];
		_stPool=	["rhsgref_nat_ZU23","rhsgref_nat_AGS30_TriPod","rhsgref_nat_DSHKM","rhsgref_nat_DSHKM_Mini_TriPod","rhsgref_nat_NSV_TriPod","rhsgref_nat_SPG9","rhsgref_nat_2b14","rhsgref_nat_d30","rhsgref_nat_d30_at"];
		_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=	["rhsgref_nat_crew"];
		_heliCrew=	["rhsgref_nat_grenadier","rhsgref_nat_grenadier_rpg","rhsgref_nat_machinegunner","rhsgref_nat_hunter","rhsgref_nat_saboteur","rhsgref_nat_medic","rhsgref_nat_rifleman_akms"];
	};

// ====================================================================================
// 	13 : CUP_Chedaki_Army.sqf
// ====================================================================================

	if (_faction==13) then 
	{
		_InfPool=	["CUP_O_INS_Soldier_AK74","CUP_O_INS_Soldier_Engineer","CUP_O_INS_Soldier","CUP_O_INS_Soldier_Ammo","CUP_O_INS_Soldier_GL","CUP_O_INS_Officer","CUP_O_INS_Medic","CUP_O_INS_Commander","CUP_O_INS_Soldier_AR","CUP_O_INS_Soldier_MG","CUP_O_INS_Soldier_AT","CUP_O_INS_Soldier_AA","CUP_O_INS_Sniper","CUP_O_INS_Soldier_Exp","CUP_O_INS_Saboteur"];		
		_ArmPool=	["CUP_O_T72_TKA","CUP_O_M113_TKA","CUP_O_T55_TK","CUP_O_T72_TKA","CUP_O_T55_TK","CUP_O_M113_TKA","CUP_O_ZSU23_TK"];		
		_MotPool=	["CUP_O_LR_MG_TKA","CUP_O_LR_SPG9_TKA","CUP_O_UAZ_MG_TKA","CUP_O_UAZ_AGS30_TKA","CUP_O_UAZ_SPG9_TKA"];		
		_ACHPool=	["CUP_O_Mi17_TK","CUP_O_Mi24_D_TK"];		
		_CHPool=	["CUP_O_UH1H_TKA","CUP_O_Mi17_TK"];		
		_uavPool=	[];		
		_stPool=	["CUP_O_ZU23_TK_INS","CUP_O_D30_TK_INS","CUP_O_D30_AT_TK_INS","CUP_O_DSHKM_TK_INS","CUP_O_DSHkM_MiniTriPod_TK_INS","CUP_O_2b14_82mm_TK_INS","CUP_O_SPG9_TK_INS","CUP_O_AGS_TK_INS"];	
		_shipPool=	["O_Boat_Armed_01_hmg_F","O_Boat_Transport_01_F"];		
		_diverPool=	[];		
		_crewPool=	["CUP_O_INS_Soldier_AK74","CUP_O_INS_Soldier_Engineer","CUP_O_INS_Soldier","CUP_O_INS_Soldier_Ammo","CUP_O_INS_Soldier_GL","CUP_O_INS_Officer","CUP_O_INS_Medic","CUP_O_INS_Commander","CUP_O_INS_Soldier_AR","CUP_O_INS_Soldier_MG","CUP_O_INS_Soldier_AT","CUP_O_INS_Soldier_AA","CUP_O_INS_Sniper","CUP_O_INS_Soldier_Exp","CUP_O_INS_Saboteur"];
		
		_heliCrew=	["CUP_O_INS_Soldier_Engineer"];
	};

// ====================================================================================
// 	14 : CUP_British_Army.sqf 
// ====================================================================================

	if (_faction==14) then 
	{
		_InfPool=	["CUP_B_BAF_Soldier_AA_WDL","CUP_B_BAF_Soldier_AAT_WDL","CUP_B_BAF_Soldier_AHAT_WDL","CUP_B_BAF_Soldier_JTAC_WDL","CUP_B_BAF_Soldier_AAA_WDL","CUP_B_BAF_Soldier_AAR_WDL","CUP_B_BAF_Engineer_WDL","CUP_B_BAF_Soldier_MG_WDL","CUP_B_BAF_Soldier_AMG_WDL","CUP_B_BAF_Soldier_HAT_WDL","CUP_B_BAF_Soldier_AT_WDL","CUP_B_BAF_Soldier_AR_WDL","CUP_B_BAF_Soldier_GL_WDL","CUP_B_BAF_Medic_WDL","CUP_B_BAF_Soldier_scout_WDL","CUP_B_BAF_Soldier_Marksman_WDL","CUP_B_BAF_Soldier_WDL","CUP_B_BAF_Soldier_Backpack_WDL","CUP_B_BAF_Soldier_Light_WDL","CUP_B_BAF_Soldier_Night_WDL","CUP_B_BAF_Soldier_SL_WDL","CUP_B_BAF_Sniper_AS50_WDL","CUP_B_BAF_Soldier_TL_WDL","CUP_B_BAF_Sniper_WDL","CUP_B_BAF_Spotter_WDL"];	
		_ArmPool=	["CUP_B_FV432_Bulldog_GB_W_RWS","CUP_B_MCV80_GB_W_SLAT","CUP_B_Challenger2_2CW_BAF"];
		_MotPool=	["CUP_B_BAF_Coyote_L2A1_W","CUP_B_Jackal2_GMG_GB_W","CUP_B_LR_Special_GMG_GB_W","CUP_B_LR_Special_M2_GB_W","CUP_B_Mastiff_HMG_GB_W","CUP_B_Ridgback_HMG_GB_W"];
		_ACHPool=	["CUP_B_AH1_MR_BAF","CUP_B_AW159_Cannon_GB"];
		_CHPool=	["CUP_B_CH47F_GB","CUP_B_Merlin_HC3_Armed_GB"];
		_uavPool=	[];
		_stPool=	["CUP_B_L111A1_MiniTripod_BAF_DDPM","CUP_B_L111A1_BAF_MPT","CUP_B_L16A2_BAF_DDPM"];
		_shipPool=	[];
		_diverPool=	[];
		_crewPool=	["CUP_B_BAF_Crew_WDL"];
		_heliCrew=	["CUP_B_BAF_Crew_WDL"];
	};

// ====================================================================================
// 	15 : RHS_SAF.sqf 
// ====================================================================================

	if (_faction==15) then 
	{
		_InfPool=	["rhssaf_army_m10_digital_asst_mgun","rhssaf_army_m10_digital_asst_spec_aa","rhssaf_army_m10_digital_asst_spec_at","rhssaf_army_m10_digital_engineer","rhssaf_army_m10_digital_exp","rhssaf_army_m10_digital_medic","rhssaf_army_m10_digital_ft_lead","rhssaf_army_m10_digital_gl","rhssaf_army_m10_digital_mgun_m84","rhssaf_army_m10_digital_sniper_m76","rhssaf_army_m10_digital_spec_aa","rhssaf_army_m10_digital_spec_at","rhssaf_army_m10_digital_spotter","rhssaf_army_m10_digital_sq_lead","rhssaf_army_m10_digital_repair","rhssaf_army_m10_digital_rifleman_ammo","rhssaf_army_m10_digital_rifleman_at","rhssaf_army_m10_digital_rifleman_m21","rhssaf_army_m10_digital_rifleman_m70"];	
		_ArmPool=	["rhssaf_army_t72s"];
		_MotPool=	["rhssaf_army_pts","rhssaf_m1025_olive_m2","rhssaf_m1025_olive","rhssaf_m998_olive_2dr_fulltop","rhssaf_m998_olive_2dr_halftop","rhssaf_army_ural_fuel","rhssaf_army_ural_open","rhssaf_army_ural"];
		_ACHPool=	[];
		_CHPool=	["rhssaf_airforce_ht48"];
		_uavPool=	[];
		_stPool=	["rhssaf_army_metis_9k115","rhssaf_army_ags30_tripod","rhssaf_army_nsv_tripod","rhssaf_army_m2staticmg_minitripod"];
		_shipPool=	[];
		_diverPool=	[];
		_crewPool=	["rhssaf_army_m10_digital_crew_armored"];
		_heliCrew=	["rhssaf_airforce_pilot_transport_heli"];
	};

// ====================================================================================
// 	16 : AGGRESSORS.sqf 
// ====================================================================================

	if (_faction==16) then 
	{
		_InfPool=	["CAF_AG_AFR_P_AK47","CAF_AG_AFR_P_AK74","CAF_AG_AFR_P_GL","CAF_AG_AFR_P_PKM","CAF_AG_AFR_P_RPG","CAF_AG_AFR_P_RPK74","CAF_AG_AFR_P_SVD","CAF_AG_afr_p_van_01"];	
		_ArmPool=	[];
		_MotPool=	["CAF_AG_eeur_r_Offroad","CAF_AG_eeur_r_Offroad_armed_01","CAF_AG_afr_p_Offroad_armed_01"];
		_ACHPool=	[];
		_CHPool=	[];
		_uavPool=	[];
		_stPool=	[];
		_shipPool=	[];
		_diverPool=	[];
		_crewPool=	[];
		_heliCrew=	[];
	};

// ====================================================================================


	if (_type==0) then {
			for "_i" from 0 to 5 do{
			_unit=_InfPool select (floor(random(count _InfPool)));
			_tempArray set [count _tempArray,_unit];};
							};
							
	if (_type==1) then {_tempArray=_diverPool};
		
					
	// CREATE ARMOUR & CREW			
	if (_type==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==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==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==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==6) then {_tempArray=_uavPool select (floor(random(count _uavPool)));};

	// CREATE TRANSPORT & CREW
	if (_type==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==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==9) then {
			for "_i" from 0 to 4 do{
				_unit=_InfPool select (floor(random(count _InfPool)));
				_temparray set [count _temparray,_unit];
								};
	};

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

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

 

 

Here is a snippet of what I put in,

 

null = [["m_807"],[1,1,100],[2,2,100],[1,1,35],[1,15],[1],[1,1,15],[2,0,750,INDEPENDENT,FALSE,FALSE]] call EOS_Spawn;
// ====================================================================================
//     2 : BIS_AAF.sqf
// ====================================================================================
    if (_faction==2) then 
    {
        _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_Quadbike_01_F","I_MRAP_03_F","I_MRAP_03_gmg_F","I_MRAP_03_hmg_F","I_Truck_02_ammo_F","I_Truck_02_fuel_F","I_Truck_02_medical_F","I_Truck_02_box_F","I_Truck_02_transport_F","I_Truck_02_covered_F"];
        _ACHPool=    ["I_Heli_light_03_F"];
        _CHPool=    ["I_Heli_Transport_02_F","I_Heli_light_03_unarmed_F"];
        _uavPool=    ["I_UAV_01_F","I_UAV_02_CAS_F","I_UGV_01_rcws_F"];
        _stPool=    ["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_static_AA_F","I_static_AT_F"];
        _shipPool=    ["I_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"];
    };
// ====================================================================================

 

Share this post


Link to post
Share on other sites

think i got it now,

 

Param

null = [["EOS"],[1,1,1],[1,1,1],[5,2],[5],[5],[5,2],[5,0,250,EAST,TRUE,TRUE]] call EOS_Spawn;


1,    Marker        MarkerName
2,     house Patrols     [Groups,Size,Probability]
3,    Patrols        [groups,Size,Probability]
4,    Light Veh    [Groups,Size of cargo,Probability]
5,     Armor veh    [Groups,Probabillity]
6,    Static        [Grooups,probability]
7    Chopper        [Groups,Size of cargo,Probability]
8    Settings    [Faction,Markertype,Distance for activation,SIDE,heightLimit,Debug]

 

going to do some mods to this EOS, if anyone is interested we can share information.

 

iam thinking changing patrol script for veh so the stay on roads and some stuff like that

Share this post


Link to post
Share on other sites

For selectable trigger zone size.

 

null = [["m_2"],[1,1,100],[2,2,100],[1,1,35],[1,15],[1],[1,1,15],[2,0,redzone,INDEPENDENT,FALSE,FALSE]] call EOS_Spawn;

 

 

 

 

 

Put this into your init file :   

 

 redzone        =        (paramsArray select 3);    

 

 

 

 

 

 

Put this into your description file:

 

        class redzone//3
        {
            title = "                        ::: Enemy AI Spawn Trigger Distance :::";
            values[]={200,250,300,350,400,450,500,550,600,650,700,750,800,850,900,950,1000,1050,1100,1150,1200,1250,1300,1350,1400,1450,1500};
            texts[]={"200","250","300","350","400","450","500","550","600","650","700","750","800","850","900","950","1000","1050","1100","1150","1200","1250","1300","1350","1400","1450","1500"};
            default = 750;
        };

 

 

Share this post


Link to post
Share on other sites

not really done, but something like this maybe for veh patrol, it should be quite easy on CPU also..

 

// // Debug
 _group =[getPos player, WEST, 4] call BIS_fnc_spawnGroup; 

_start  =	[player,[0,50],random 360,0,[1,100]] call SHK_pos;		// Starting location
_range  = 	100;													// Maximum range
_amount = 	13;														// Amount of waypoints
_unit   =	leader _group;											// Unit that should patrol

_Positions = [];
_SadSwitch = 0;
_grp = group _unit;
 
 // First position
_pos = [_start,[50,70],random 360,0,[1,_range]] call SHK_pos;
_Positions = _Positions + [_pos];
_i = 1;
while { _i < _amount} do {
 
		while {(_Pos in _Positions)} do 
		{
			_pos = [_start,[random 30,random 100],random 360,0,[1,_range]] call SHK_pos;
        };
		_wp = _grp addWaypoint [ _pos , 1, _i ];
 
        if ( _SadSwitch == 0 ) then 
		{
                [_grp, _i] setWaypointType 			"MOVE";
				[_grp, _i] setWaypointSpeed 		"LIMITED";
				[_grp, _i] setWaypointBehaviour 	"SAFE";
                [_grp, _i] setWaypointCombatMode 	"WHITE";
                [_grp, _i] setWaypointFormation 	"COLUMN";
				[_grp, _i] setWaypointTimeout 		[0, 1, 0];
        };
		
		if ( _SadSwitch == 3) then
		{
		    [_grp, _i] setWaypointType 			"SAD";
			[_grp, _i] setWaypointSpeed 		"LIMITED";
			[_grp, _i] setWaypointBehaviour 	"AWARE";
            [_grp, _i] setWaypointCombatMode 	"RED";
            [_grp, _i] setWaypointFormation 	"COLUMN";
			
			_SadSwitch = 0;
			
		} else
		{
			_SadSwitch = _SadSwitch + 1;
		};
       // Debug Marker
        _string = format["%1",_i];
        _marker = createMarker [ _string, _pos ];
        _string setMarkerColor "ColorBlue";
        _string setMarkerType "mil_dot";
        _string setMarkerText _string;
 
        _i = _i + 1;
		_Positions = _Positions + [_pos];
};
 
_wp = _grp addWaypoint [_start,0,_amount];
[_grp, _amount] setWaypointType "CYCLE";

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×