Jump to content

blckeagls' AI Mission - Version 2.0.2 Release (1/2/2015)


blckeagls

Recommended Posts

  On 3/16/2015 at 3:20 AM, jrovduki said:

can somone help i am new to all this i have added a few scripts now but after adding this one i am getting restrict#42 does anyone know why thanks  

It sounds like you need to add an exception to your script.txt file. See the excellent tutorial on battleeye filters in the forums. I think it is presently under How To.

 check script.log for a description of the code that caused the error. Check that your battleye filters contain the additional exceptions noted in the intstall instructions or merge your filters with the ones provide. Post the exception from scripts.log if you are stuck and I will see if I can help you.

Link to comment
Share on other sites

  On 3/16/2015 at 3:42 AM, jrovduki said:

i think i found it but i dont know how i will turn it into a exception i think its this 

#41 "rker = createMarker ["MainMarker2", C2coords]

lol sorry getting to late for me im in uk going to get head down and re look tomorrow lol 

Link to comment
Share on other sites

  On 3/16/2015 at 3:42 AM, jrovduki said:

i think i found it but i dont know how i will turn it into a exception i think its this 

#41 "rker = createMarker ["MainMarker2", C2coords];

 

In your scripts.txt around line 43 look for 7 createmarker and add this at the end of that line !="createMarker ["MainMarker2", C2coords];"

Link to comment
Share on other sites

  On 3/19/2015 at 8:05 PM, smilinglyer said:

Hello, is there a way to limit the 4 missions to only 1 or 2. I don't really need 4 of the same missions on the map but i do like the mission system. Thank you

Yep, just pick the two you don't want, and slash them out so they are not called. Like so

  Reveal hidden contents

Link to comment
Share on other sites

  On 3/19/2015 at 9:25 PM, cyncrwler said:

Yep, just pick the two you don't want, and slash them out so they are not called. Like so

  Reveal hidden contents

Where is this located exactly? 

Link to comment
Share on other sites

  On 3/19/2015 at 11:22 PM, smilinglyer said:

Is that in the init file?

Yes, in your @epochhive\addons\custom_server\init.sqf look for:

 

  Reveal hidden contents

//Start the mission timers

[] execVM "\q\addons\custom_server\AIMission\Major\majorTimer.sqf"; //Starts major mission system

[] execVM "\q\addons\custom_server\AIMission\Major2\major2Timer.sqf";//Starts major mission system 2

[] execVM "\q\addons\custom_server\AIMission\Minor\minorTimer.sqf";//Starts minor mission system

[] execVM "\q\addons\custom_server\AIMission\Minor2\minor2Timer.sqf";//Starts minor mission system 2

 

and place // at the start of the line for any missions you do now wish to run. The timers are listed in the following order: orange, green, blue, red.

Link to comment
Share on other sites

  On 3/19/2015 at 11:52 PM, JackalopeHunter said:

OK, this may be stupid but are the AI supposed to disappear? 

 

When players shoot them they vanish after just a few seconds. 

 

in custom_server\AIConfigs.sqf increase the value for blck_aiCleanUpTimer. As an example,

 

blck_aiCleanUpTimer = 900; // in seconds

Link to comment
Share on other sites

got back to running........ but now have BE problems. Funny thing is it was running fine, then after a restart get get into server

 

  Reveal hidden contents
call compile preProcessFileLineNumb"

 

21.03.2015 17:14:17: Stumpafoo (68.12.139.53:2304) 9a2bc3cb49bd69644c9bccf0fcf59c5c - #0 "k = _mouseOver select 1;
_customData = player getVariable ["BIS_fnc_setTaskLocal_customData",[]];
 
_i = (_customData find _task)"
21.03.2015 17:18:44: Stumpafoo (68.12.139.53:2304) 9a2bc3cb49bd69644c9bccf0fcf59c5c - #0 "k = _mouseOver select 1;
_customData = player getVariable ["BIS_fnc_setTaskLocal_customData",[]];
 
_i = (_customData find _task)"
22.03.2015 13:38:52: Stumpafoo (68.12.139.53:2304) 9a2bc3cb49bd69644c9bccf0fcf59c5c - #42 "Marker = createMarker ["MainMarker", Ccoords];
_MainMarker setMarkerColor "ColorWhite";
_MainMarker setMarkerShape "ELLIPSE";
_M"
22.03.2015 13:39:39: Stumpafoo (68.12.139.53:2304) 9a2bc3cb49bd69644c9bccf0fcf59c5c - #42 "Marker = createMarker ["MainMarker", Ccoords];
_MainMarker setMarkerColor "ColorWhite";
_MainMarker setMarkerShape "ELLIPSE";
_M"
22.03.2015 13:41:14: Stumpafoo (68.12.139.53:2304) 9a2bc3cb49bd69644c9bccf0fcf59c5c - #42 "Marker = createMarker ["MainMarker", Ccoords];
_MainMarker setMarkerColor "ColorWhite";
_MainMarker setMarkerShape "ELLIPSE";
_M"
22.03.2015 13:42:09: Stumpafoo (68.12.139.53:2304) 9a2bc3cb49bd69644c9bccf0fcf59c5c - #42 "Marker = createMarker ["MainMarker", Ccoords];
_MainMarker setMarkerColor "ColorWhite";
_MainMarker setMarkerShape "ELLIPSE";
_M"
22.03.2015 13:43:18: MadMan (72.198.19.116:2304) f63ca9de818a4a4e2dce200a55551994 - #42 "r75 = createMarker["MainMarker75", MCoords];
_MainMarker75 setMarkerColor "ColorBlue";
_MainMarker75 setMarkerShape "ELLIPSE";
_"
22.03.2015 13:44:57: Stumpafoo (68.12.139.53:2304) 9a2bc3cb49bd69644c9bccf0fcf59c5c - #42 "Marker = createMarker ["MainMarker", Ccoords];
_MainMarker setMarkerColor "ColorWhite";
_MainMarker setMarkerShape "ELLIPSE";
_M"
22.03.2015 13:47:16: MadMan (72.198.19.116:2304) f63ca9de818a4a4e2dce200a55551994 - #42 "Marker = createMarker ["MainMarker", Ccoords];
_MainMarker setMarkerColor "ColorWhite";
_MainMarker setMarkerShape "ELLIPSE";
_M"
22.03.2015 13:52:37: Stumpafoo (68.12.139.53:2304) 9a2bc3cb49bd69644c9bccf0fcf59c5c - #42 "Marker = createMarker ["MainMarker", Ccoords];
_MainMarker setMarkerColor "ColorWhite";
_MainMarker setMarkerShape "ELLIPSE";
_M"
22.03.2015 13:57:26: Stumpafoo (68.12.139.53:2304) 9a2bc3cb49bd69644c9bccf0fcf59c5c - #20 "SEM_AIsniperDamageDistance)then[{
if(!isPlayer _x)then{_x allowDamage false};
},{
if(!isPlayer _x)then{_x allowDamage true};
}];"
22.03.2015 14:04:28: Stumpafoo (68.12.139.53:2304) 9a2bc3cb49bd69644c9bccf0fcf59c5c - #42 "Marker = createMarker ["MainMarker", Ccoords];
_MainMarker setMarkerColor "ColorWhite";
_MainMarker setMarkerShape "ELLIPSE";
_M"
22.03.2015 14:06:26: Stumpafoo (68.12.139.53:2304) 9a2bc3cb49bd69644c9bccf0fcf59c5c - #42 "Marker = createMarker ["MainMarker", Ccoords];
_MainMarker setMarkerColor "ColorWhite";
_MainMarker setMarkerShape "ELLIPSE";
_M"

Link to comment
Share on other sites

  On 3/23/2015 at 2:38 AM, no1stumper said:

Little help? 

Please see the install instructions regarding BE filters. They should solve your issues with most of the CreateMarker exceptions. You have some exceptions that are caused by the SEM mission system such as "SEM_AIsniperDamageDistance)then[{...

 

This one #0 "k = _mouseOver select 1;

 

is unrelated to the mission system as far as I know.

Link to comment
Share on other sites

How can i change the crate loot for adding weapon from @mas addon (launchers for example)?

In init.sqf i've changed 

//This Defines what goes into the box;
		blck_FillBoxes_Major = {
			private["_crate","_Weapons","_mags","_cfgweapons","_weapon","_plx","_mag","_mags","_allweap","_box"];
			_crate = _this select 0;
			clearWeaponCargoGlobal _crate;
			clearMagazineCargoGlobal _crate;
			_crate addMagazineCargoGlobal ["CinderBlocks",20];
			_crate addMagazineCargoGlobal ["jerrycan_epoch",10];
			_crate addMagazineCargoGlobal ["lighter_epoch",2];
			_crate addMagazineCargoGlobal ["mas_launch_RPG7_F",1];
			_crate addMagazineCargoGlobal ["ItemCorrugatedLg",10];
			_crate addMagazineCargoGlobal ["ItemCorrugated",10];
			_crate addMagazineCargoGlobal ["MortarBucket",10];
			_crate addMagazineCargoGlobal ["ItemLockbox",2];
			_crate addMagazineCargoGlobal ["MultiGun",1];
			_crate addMagazineCargoGlobal ["Heal_EPOCH",1];
			_crate addMagazineCargoGlobal ["Defib_EPOCH",1];
			_crate addMagazineCargoGlobal ["Repair_EPOCH",2];
			_crate addMagazineCargoGlobal ["EnergyPack",5];
			_crate addMagazineCargoGlobal ["EnergyPackLg",2];
			_crate addMagazineCargoGlobal ["WhiskeyNoodle",5];
			_crate addMagazineCargoGlobal ["B_Carryall_mcamo",1];
		};

But in game, after looting the crate there is no RPG-launcher and even MultiGun.

Where is my mistake?

Link to comment
Share on other sites

  On 3/24/2015 at 8:52 PM, ro1and said:

How can i change the crate loot for adding weapon from @mas addon (launchers for example)?

In init.sqf i've changed 

//This Defines what goes into the box;
		blck_FillBoxes_Major = {
			private["_crate","_Weapons","_mags","_cfgweapons","_weapon","_plx","_mag","_mags","_allweap","_box"];
			_crate = _this select 0;
			clearWeaponCargoGlobal _crate;
			clearMagazineCargoGlobal _crate;
			_crate addMagazineCargoGlobal ["CinderBlocks",20];
			_crate addMagazineCargoGlobal ["jerrycan_epoch",10];
			_crate addMagazineCargoGlobal ["lighter_epoch",2];
			_crate addMagazineCargoGlobal ["mas_launch_RPG7_F",1];
			_crate addMagazineCargoGlobal ["ItemCorrugatedLg",10];
			_crate addMagazineCargoGlobal ["ItemCorrugated",10];
			_crate addMagazineCargoGlobal ["MortarBucket",10];
			_crate addMagazineCargoGlobal ["ItemLockbox",2];
			_crate addMagazineCargoGlobal ["MultiGun",1];
			_crate addMagazineCargoGlobal ["Heal_EPOCH",1];
			_crate addMagazineCargoGlobal ["Defib_EPOCH",1];
			_crate addMagazineCargoGlobal ["Repair_EPOCH",2];
			_crate addMagazineCargoGlobal ["EnergyPack",5];
			_crate addMagazineCargoGlobal ["EnergyPackLg",2];
			_crate addMagazineCargoGlobal ["WhiskeyNoodle",5];
			_crate addMagazineCargoGlobal ["B_Carryall_mcamo",1];
		};

But in game, after looting the crate there is no RPG-launcher and even MultiGun.

Where is my mistake?

 

From this bit of code it does not look like you are using the latest version. Please check my github at https://github.com/Ghostrider-DbD-/blckeagls-mission-system-v-2.0.2-updatedto download it. You can change what is loaded into the crate by editing the tables in AIConfig.sqf. There are instructions there that should give you enough info to figure how how to add MAS weapons to the loot tables.

Link to comment
Share on other sites

	//Define loot for crates
	blck_lootCountsMajor = [4,20,12]; // values are: number of things from the weapons, magazines, and items arrays to add, respectively.
	blck_BoxLoot_Major = 
		// Loot is grouped as [weapons],[magazines],[items] in order to be able to use the correct function to load the item into the crate later on.
		// Each item consist of the following information ["ItemName",minNum, maxNum] where min is the smallest number added and min+max is the largest number added.
		[  
			[// Weapons
				// loaded by a distinct subroutine that looks for the weapon name and magazine type
				["arifle_mas_ak_74m","30Rnd_mas_545x39_mag"],			//AK Weapons
				["arifle_mas_aks74","30Rnd_mas_545x39_mag"],
				["arifle_mas_ak74","30Rnd_mas_545x39_mag"],
				["arifle_mas_ak_74m_sf","30Rnd_mas_545x39_mag"],
				["arifle_mas_aks_74_sf","30Rnd_mas_545x39_mag"],
				["arifle_mas_ak12_sf","30Rnd_mas_545x39_mag"],
				["arifle_mas_ak12_sf_gl","30Rnd_mas_545x39_mag"],
				["arifle_mas_aks74u","30Rnd_mas_545x39_mag"],
				["arifle_mas_aks74u_c","30Rnd_mas_545x39_mag"],
				["arifle_mas_bizon","64Rnd_mas_9x18_mag",3,6],			//Bizon
				["arifle_mas_bizon_sd","64Rnd_mas_9x18_mag",3,6],
				["srifle_mas_vss","20Rnd_mas_9x39_mag"],				//Vintorez
				["arifle_mas_asval","30Rnd_mas_9x39_mag"],				//Val
				["arifle_mas_saiga","10Rnd_mas_12Gauge_Slug"],			//Saiga 12k
				["srifle_mas_svd","10Rnd_mas_762x54_mag"],				//SVD
				["srifle_mas_ksvk","5Rnd_mas_127x108_mag"],				//KSVK
				["srifle_mas_ksvk_c","5Rnd_mas_127x108_mag"],
				["LMG_mas_rpk_F","100Rnd_mas_545x39_mag"],				//RPK
				["LMG_mas_pkm_F","100Rnd_mas_762x54_mag"],				//PKM
				["arifle_mas_m70","30Rnd_mas_762x39_mag"],				//Zastava M70
				["arifle_mas_m70_gl","30Rnd_mas_762x39_mag"],
				["arifle_mas_m70ab","30Rnd_mas_762x39_mag"],
				["arifle_mas_m70ab_gl","30Rnd_mas_762x39_mag"],
				["srifle_mas_m91","10Rnd_mas_762x54_mag"],				//Zastava M91
				["LMG_mas_m72_F","100Rnd_mas_762x39_mag"],				//Zastava M72
				["hgun_mas_sa61_F","20Rnd_mas_765x17_Mag"],				//Scorpion
				["hgun_mas_grach_F","17Rnd_mas_9x21_Mag"],				//Grach
				["hgun_mas_grach_F_sd","17Rnd_mas_9x21_Mag"],
				["hgun_mas_mak_F","8Rnd_mas_9x18_Mag"],					//Makarov
				["hgun_mas_mak_F_sd","8Rnd_mas_9x18_Mag"]
			],
			[//Magazines
				["CinderBlocks",5,10],
				["jerrycan_epoch",1,2],
				["lighter_epoch",1,1],
				["CircuitParts",2,3],
				["WoodLog_EPOCH",10,20],
				["ItemCorrugatedLg",1,2],
				["ItemCorrugated",3,5],
				["ItemMixOil",1,2],
				["MortarBucket",5,10],
				["PartPlankPack",10,12],
				["ItemLockbox",1,2],
				["3rnd_HE_Grenade_Shell",3,6],
				["EnergyPackLg",1,2],
				["30Rnd_mas_545x39_mag",3,6], 			//AK Ammunition
				["30Rnd_mas_545x39_T_mag",3,6],
				["64Rnd_mas_9x18_mag",3,6],				//Bizon
				["20Rnd_mas_9x39_mag",3,6],				//Vintorez
				["30Rnd_mas_9x39_mag",3,6],				//Val
				["10Rnd_mas_12Gauge_Slug",3,6],			//Saiga
				["10Rnd_mas_12Gauge_Pellets",3,6],
				["10Rnd_mas_762x54_mag",3,6],				//SVD
				["10Rnd_mas_762x54_T_mag",3,6],
				["5Rnd_mas_127x108_mag",3,6],				//KSVK
				["5Rnd_mas_127x108_dem_mag",3,6],
				["5Rnd_mas_127x108_T_mag",3,6],
				["5Rnd_127x108_Mag",3,6],
				["30Rnd_mas_545x39_mag",3,6], 			//RPK
				["30Rnd_mas_545x39_T_mag",3,6],
				["100Rnd_mas_545x39_mag",3,6],
				["100Rnd_mas_545x39_T_mag",3,6],
				["100Rnd_mas_762x54_mag",3,6],			//PKM
				["100Rnd_mas_762x54_T_mag",3,6],
				["30Rnd_mas_762x39_mag",3,6],				//Zastava M70
				["30Rnd_mas_762x39_T_mag",3,6],
				["10Rnd_mas_762x54_mag",3,6], 			//Zastava M91
				["10Rnd_mas_762x54_T_mag",3,6],
				["30Rnd_mas_762x39_mag",3,6],				//Zastava M72 LMG
				["30Rnd_mas_762x39_T_mag",3,6],
				["100Rnd_mas_762x39_mag",3,6],
				["100Rnd_mas_762x39_T_mag",3,6],
				["20Rnd_mas_765x17_Mag",3,6],				//Scorpion
				["17Rnd_mas_9x21_Mag",3,6],				//Grach
				["16Rnd_9x21_Mag",3,6],
				["15Rnd_mas_9x21_Mag",3,6],
				["13Rnd_mas_9x21_Mag",3,6],
				["8Rnd_mas_9x18_Mag",3,6],
				["8Rnd_mas_9x18_Mag",3,6],				//Makaraov				["3rnd_HE_Grenade_Shell",1,3],
				["HandGrenade",1,3],
				["EnergyPack",2,5]
			],			
			[//Items
				["Heal_EPOCH",1,2],["Defib_EPOCH",1,2],["Repair_EPOCH",1,2],["FAK",1,2],["VehicleRepair",1,3],
				["ItemSodaRbull",1,3],["ItemSodaOrangeSherbet",1,3],["ItemSodaPurple",1,3],["ItemSodaMocha",1,3],["ItemSodaBurst",1,3],
				["CookedChicken_EPOCH",1,3],["CookedGoat_EPOCH",1,3],["CookedSheep_EPOCH",1,3],["FoodSnooter",1,3],["FoodMeeps",1,3],["FoodBioMeat",1,3],["ItemTuna",1,3],["ItemSeaBass",1,3],["ItemTrout",1,3],
				["muzzle_mas_snds_gun",1,1],			//Supressors
				["muzzle_mas_snds_L",1,1],
				["muzzle_mas_snds_LM",1,1],
				["muzzle_mas_snds_AK",1,1],
				["muzzle_mas_snds_SVD",1,1],
				["muzzle_mas_snds_KSVK",1,1],
				["optic_mas_PSO",1,1],					//Optics
				["optic_mas_PSO_c",1,1],
				["optic_mas_PSO_eo",1,1],
				["optic_mas_PSO_eo_c",1,1],
				["optic_mas_PSO_nv",1,1],
				["optic_mas_PSO_nv_c",1,1],
				["optic_mas_PSO_nv_eo",1,1],
				["optic_mas_PSO_nv_eo_c",1,1],
				["optic_mas_PSO_day",1,1],
				["optic_mas_PSO_nv_day",1,1],
				["optic_mas_term",1,1],
				["optic_mas_MRD",1,1],
				["optic_mas_LRPS",1,1],
				["optic_mas_kobra",1,1],
				["optic_mas_kobra_c",1,1],
				["optic_mas_nspu",1,1],
				["optic_mas_goshawk",1,1],
				["acc_mas_flash_gun",1,1]				//Flashlights
			]
	];		
	
	blck_lootCountsMajor2 = [3,20,12];	
	blck_BoxesLoot_Major2 = 
		[
			[// Weapons
				// Format is ["Weapon Name","Magazine Name"],
				["MultiGun","EnergyPackLg"],
				["arifle_mas_m4","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_m4_v","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_m4_d","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_hk416","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_hk416_v","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_hk416_d","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_hk416c","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_hk416c_v","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_hk416c_d","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_g36c","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_l119","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_l119_v","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_l119_d","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_l119_m203_d","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_hk417c","20Rnd_mas_762x51_Stanag"],
				["arifle_mas_hk417_m203c","20Rnd_mas_762x51_Stanag"],
				["arifle_mas_hk417_m203c_v","20Rnd_mas_762x51_Stanag"],
				["arifle_mas_hk417c_d","20Rnd_mas_762x51_Stanag"],
				["arifle_mas_mk16","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_mk16_gl","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_mk16_l","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_mk17","20Rnd_mas_762x51_Stanag"],
				["arifle_mas_m16","30Rnd_mas_556x45_Stanag"],
				["arifle_mas_g3","20Rnd_mas_762x51_Stanag"],
				["arifle_mas_g3s","20Rnd_mas_762x51_Stanag"],
				["arifle_mas_fal","20Rnd_mas_762x51_Stanag"],
				["arifle_mas_m14","20Rnd_mas_762x51_Stanag"],
				["arifle_mas_lee","5Rnd_mas_762x51_Stanag"],
				["srifle_mas_hk417","20Rnd_mas_762x51_Stanag"],
				["srifle_mas_hk417_v","20Rnd_mas_762x51_Stanag"],
				["srifle_mas_hk417_d","20Rnd_mas_762x51_Stanag"],
				["srifle_mas_sr25","20Rnd_mas_762x51_Stanag"],
				["srifle_mas_sr25_v","20Rnd_mas_762x51_Stanag"],
				["srifle_mas_sr25_d","20Rnd_mas_762x51_Stanag"],
				["srifle_mas_mk17s","20Rnd_mas_762x51_Stanag"],
				["srifle_mas_m110","20Rnd_mas_762x51_Stanag"],
				["srifle_mas_m24","5Rnd_mas_762x51_Stanag"],
				["srifle_mas_m24_v","5Rnd_mas_762x51_Stanag"],
				["srifle_mas_m24_d","5Rnd_mas_762x51_Stanag"],
				["srifle_mas_m107","5Rnd_mas_127x99_Stanag"],
				["srifle_mas_m107_v","5Rnd_mas_127x99_Stanag"],
				["srifle_mas_m107_d","5Rnd_mas_127x99_Stanag"],
				["srifle_mas_lrr","10Rnd_mas_338_Stanag"],
				["hgun_mas_mp7p_F","40Rnd_mas_46x30_Mag"],
				["arifle_mas_mp5","30Rnd_mas_9x21_Stanag"],
				["arifle_mas_m1014","7Rnd_mas_12Gauge_Slug"],
				["LMG_mas_Mk48_F","100Rnd_mas_762x51_Stanag"],
				["LMG_mas_M240_F","100Rnd_mas_762x51_Stanag"],
				["LMG_mas_mg3_F","100Rnd_mas_762x51_Stanag"],
				["LMG_mas_M60_F","100Rnd_mas_762x51_Stanag"],
				["hgun_mas_m9_F","12Rnd_mas_45acp_Mag"],
				["hgun_mas_glock_F","12Rnd_mas_45acp_Mag"],
				["hgun_mas_bhp_F""12Rnd_mas_45acp_Mag"],
				["hgun_mas_acp_F","12Rnd_mas_45acp_Mag"],
				["hgun_mas_usp_F","12Rnd_mas_45acp_Mag"],
				["hgun_mas_glocksf_F","12Rnd_mas_45acp_Mag"]
			],
			[//Magazines
				// Format is ["Magazine name, Minimum number to add, Maximum number to add],
				["CinderBlocks",4,8],
				["jerrycan_epoch",1,2],
				["lighter_epoch",1,1],
				["CircuitParts",2,3],
				["WoodLog_EPOCH",10,20],
				["ItemCorrugatedLg",1,2],
				["ItemCorrugated",2,4],
				["ItemMixOil",1,2],
				["MortarBucket",3,6],
				["PartPlankPack",10,12],
				["ItemLockbox",1,2],
				["3rnd_HE_Grenade_Shell",2,4],
				["EnergyPackLg",1,2],
				["30Rnd_mas_556x45_Stanag",3,6],
				["30Rnd_mas_556x45_T_Stanag",3,6],
				["30Rnd_556x45_Stanag",3,6],
				["30Rnd_556x45_Stanag_Tracer_Red",3,6],
				["30Rnd_556x45_Stanag_Tracer_Green",3,6 ],
				["30Rnd_556x45_Stanag_Tracer_Yellow",3,6],
				["20Rnd_556x45_UW_mag",3,6],
				["20Rnd_mas_762x51_Stanag",3,6],
				["20Rnd_mas_762x51_T_Stanag",3,6],
				["20Rnd_762x51_Mag",3,6],
				["5Rnd_mas_762x51_Stanag",3,6],
				["5Rnd_mas_762x51_T_Stanag",3,6],
				["5Rnd_mas_127x99_Stanag",3,6],
				["5Rnd_mas_127x99_dem_Stanag",3,6],
				["5Rnd_mas_127x99_T_Stanag",3,6],
				["10Rnd_mas_338_Stanag",3,6],
				["10Rnd_mas_338_T_Stanag",3,6],
				["40Rnd_mas_46x30_Mag" ,3,6],
				["30Rnd_mas_9x21_Stanag",3,6],
				["30Rnd_mas_9x21D_Stanag",3,6],
				["30Rnd_9x21_Mag",3,6],
				["7Rnd_mas_12Gauge_Slug",3,6],
				["7Rnd_mas_12Gauge_Pellets",3,6],
				["100Rnd_mas_762x51_Stanag",3,6],
				["100Rnd_mas_762x51_T_Stanag",3,6],
				["150Rnd_762x51_Box",3,6],
				["150Rnd_762x51_Box_Tracer",3,6],
				["12Rnd_mas_45acp_Mag",3,6],
				["10Rnd_mas_45acp_Mag",3,6],
				["12Rnd_mas_45acp_Mag",3,6],
				["10Rnd_mas_45acp_Mag",3,6],
				["8Rnd_mas_45acp_Mag",3,6],
				["3rnd_HE_Grenade_Shell",1,3],
				["HandGrenade",1,3],
				["EnergyPack",2,5]
			],			
			[//Items
				// Format is ["Item name, Minimum number to add, Maximum number to add],
				["Heal_EPOCH",1,2],["Defib_EPOCH",1,2],["Repair_EPOCH",1,2],["FAK",1,2],["VehicleRepair",1,3],
				["ItemSodaRbull",1,3],["ItemSodaOrangeSherbet",1,3],["ItemSodaPurple",1,3],["ItemSodaMocha",1,3],["ItemSodaBurst",1,3],
				["CookedChicken_EPOCH",1,3],["CookedGoat_EPOCH",1,3],["CookedSheep_EPOCH",1,3],["FoodSnooter",1,3],["FoodMeeps",1,3],["FoodBioMeat",1,3],["ItemTuna",1,3],["ItemSeaBass",1,3],["ItemTrout",1,3],
				["muzzle_mas_snds_L",1,1],
				["muzzle_mas_snds_C",1,1],
				["muzzle_mas_snds_MP5SD6",1,1],
				["muzzle_mas_snds_M",1,1],
				["muzzle_mas_snds_Mc",1,1],
				["muzzle_mas_snds_MP7",1,1],
				["muzzle_mas_snds_SM",1,1],
				["muzzle_mas_snds_SMc",1,1],
				["muzzle_mas_snds_SH",1,1],
				["muzzle_mas_snds_SHc",1,1],
				["muzzle_mas_snds_SV",1,1],
				["muzzle_mas_snds_SVc",1,1],
				["optic_mas_DMS",1,1],
				["optic_mas_DMS_c",1,1],
				["optic_mas_Holosight_blk",1,1],
				["optic_mas_Holosight_camo",1,1],
				["optic_mas_Arco_blk",1,1],
				["optic_mas_Arco_camo",1,1],
				["optic_mas_Hamr_camo",1,1],
				["optic_mas_Aco_camo",1,1],
				["optic_mas_ACO_grn_camo",1,1],
				["optic_mas_MRCO_camo",1,1],
				["optic_mas_zeiss",1,1],
				["optic_mas_zeiss_c",1,1],
				["optic_mas_zeiss_eo",1,1],
				["optic_mas_zeiss_eo_c",1,1],
				["optic_mas_acog",1,1],
				["optic_mas_acog_c",1,1],
				["optic_mas_acog_eo",1,1],
				["optic_mas_acog_eo_c",1,1],
				["optic_mas_acog_rd",1,1],
				["optic_mas_acog_rd_c",1,1],
				["optic_mas_handle",1,1],
				["optic_mas_aim",1,1],
				["optic_mas_aim_c",1,1]
			]
		];

replace the lines in your aiconfigs.sqf with this code for the two major missions.

orange --> russion weapons

green --> NATO weapons

 

i didn't insert all the launchers and stuff, just add them with their classname and ammunition...

 

if you want the ai to spawn with those guns, replace the ailoadout with this one for major and major2 (orange and green):

	//This defines the random weapon to spawn on the AI
	blck_WeaponList_Major = [
		//https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Weapons
		//["WEAPON","MAGAZINE"]
			["arifle_mas_ak_74m","30Rnd_mas_545x39_mag"],			//AK Weapons
			["arifle_mas_aks74","30Rnd_mas_545x39_mag"],
			["arifle_mas_ak74","30Rnd_mas_545x39_mag"],
			["arifle_mas_ak_74m_sf","30Rnd_mas_545x39_mag"],
			["arifle_mas_aks_74_sf","30Rnd_mas_545x39_mag"],
			["arifle_mas_ak12_sf","30Rnd_mas_545x39_mag"],
			["arifle_mas_ak12_sf_gl","30Rnd_mas_545x39_mag"],
			["arifle_mas_aks74u","30Rnd_mas_545x39_mag"],
			["arifle_mas_aks74u_c","30Rnd_mas_545x39_mag"],
			["arifle_mas_bizon","64Rnd_mas_9x18_mag",3,6],			//Bizon
			["arifle_mas_bizon_sd","64Rnd_mas_9x18_mag",3,6],
			["srifle_mas_vss","20Rnd_mas_9x39_mag"],				//Vintorez
			["arifle_mas_asval","30Rnd_mas_9x39_mag"],				//Val
			["arifle_mas_saiga","10Rnd_mas_12Gauge_Slug"],			//Saiga 12k
			["srifle_mas_svd","10Rnd_mas_762x54_mag"],				//SVD
			["srifle_mas_ksvk","5Rnd_mas_127x108_mag"],				//KSVK
			["srifle_mas_ksvk_c","5Rnd_mas_127x108_mag"],
			["LMG_mas_rpk_F","100Rnd_mas_545x39_mag"],				//RPK
			["LMG_mas_pkm_F","100Rnd_mas_762x54_mag"],				//PKM
			["arifle_mas_m70","30Rnd_mas_762x39_mag"],				//Zastava M70
			["arifle_mas_m70_gl","30Rnd_mas_762x39_mag"],
			["arifle_mas_m70ab","30Rnd_mas_762x39_mag"],
			["arifle_mas_m70ab_gl","30Rnd_mas_762x39_mag"],
			["srifle_mas_m91","10Rnd_mas_762x54_mag"],				//Zastava M91
			["LMG_mas_m72_F","100Rnd_mas_762x39_mag"],				//Zastava M72
			["hgun_mas_sa61_F","20Rnd_mas_765x17_Mag"],				//Scorpion
			["hgun_mas_grach_F","17Rnd_mas_9x21_Mag"],				//Grach
			["hgun_mas_grach_F_sd","17Rnd_mas_9x21_Mag"],
			["hgun_mas_mak_F","8Rnd_mas_9x18_Mag"],					//Makarov
			["hgun_mas_mak_F_sd","8Rnd_mas_9x18_Mag"]
		];
	blck_WeaponList_Major2 = [
		//https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Weapons
		//["WEAPON","MAGAZINE"]
			["arifle_mas_m4","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_m4_v","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_m4_d","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_hk416","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_hk416_v","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_hk416_d","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_hk416c","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_hk416c_v","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_hk416c_d","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_g36c","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_l119","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_l119_v","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_l119_d","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_l119_m203_d","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_hk417c","20Rnd_mas_762x51_Stanag"],
			["arifle_mas_hk417_m203c","20Rnd_mas_762x51_Stanag"],
			["arifle_mas_hk417_m203c_v","20Rnd_mas_762x51_Stanag"],
			["arifle_mas_hk417c_d","20Rnd_mas_762x51_Stanag"],
			["arifle_mas_mk16","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_mk16_gl","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_mk16_l","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_mk17","20Rnd_mas_762x51_Stanag"],
			["arifle_mas_m16","30Rnd_mas_556x45_Stanag"],
			["arifle_mas_g3","20Rnd_mas_762x51_Stanag"],
			["arifle_mas_g3s","20Rnd_mas_762x51_Stanag"],
			["arifle_mas_fal","20Rnd_mas_762x51_Stanag"],
			["arifle_mas_m14","20Rnd_mas_762x51_Stanag"],
			["arifle_mas_lee","5Rnd_mas_762x51_Stanag"],
			["srifle_mas_hk417","20Rnd_mas_762x51_Stanag"],
			["srifle_mas_hk417_v","20Rnd_mas_762x51_Stanag"],
			["srifle_mas_hk417_d","20Rnd_mas_762x51_Stanag"],
			["srifle_mas_sr25","20Rnd_mas_762x51_Stanag"],
			["srifle_mas_sr25_v","20Rnd_mas_762x51_Stanag"],
			["srifle_mas_sr25_d","20Rnd_mas_762x51_Stanag"],
			["srifle_mas_mk17s","20Rnd_mas_762x51_Stanag"],
			["srifle_mas_m110","20Rnd_mas_762x51_Stanag"],
			["srifle_mas_m24","5Rnd_mas_762x51_Stanag"],
			["srifle_mas_m24_v","5Rnd_mas_762x51_Stanag"],
			["srifle_mas_m24_d","5Rnd_mas_762x51_Stanag"],
			["srifle_mas_m107","5Rnd_mas_127x99_Stanag"],
			["srifle_mas_m107_v","5Rnd_mas_127x99_Stanag"],
			["srifle_mas_m107_d","5Rnd_mas_127x99_Stanag"],
			["srifle_mas_lrr","10Rnd_mas_338_Stanag"],
			["hgun_mas_mp7p_F","40Rnd_mas_46x30_Mag"],
			["arifle_mas_mp5","30Rnd_mas_9x21_Stanag"],
			["arifle_mas_m1014","7Rnd_mas_12Gauge_Slug"],
			["LMG_mas_Mk48_F","100Rnd_mas_762x51_Stanag"],
			["LMG_mas_M240_F","100Rnd_mas_762x51_Stanag"],
			["LMG_mas_mg3_F","100Rnd_mas_762x51_Stanag"],
			["LMG_mas_M60_F","100Rnd_mas_762x51_Stanag"],
			["hgun_mas_m9_F","12Rnd_mas_45acp_Mag"],
			["hgun_mas_glock_F","12Rnd_mas_45acp_Mag"],
			["hgun_mas_bhp_F""12Rnd_mas_45acp_Mag"],
			["hgun_mas_acp_F","12Rnd_mas_45acp_Mag"],
			["hgun_mas_usp_F","12Rnd_mas_45acp_Mag"],
			["hgun_mas_glocksf_F","12Rnd_mas_45acp_Mag"]
		];
Link to comment
Share on other sites

Updated the missions for Epoch 0.3.0.1. Check the github for which a link appears in blckeagls first post, for the updated files.

 

Changed the type of pickup spawned to B_G_Offroad_01_armed_EPOCH which has been added to epoch and can be sold at traders.  You may get kicked however if you try to use the machine gun. That bit is a work in progress.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...