IbadassI

How do i add Mas to DMS Mission Creates? please help!

8 posts in this topic

As above - How do I add weapons to  DMS creates on both Static and bandit?

 

Think I must have placed my last post in the wrong place. I have looked about but can not find anything on this. If I missed it sorry but I need this fixing fast,

 

Thank you

 

PS If i have placed this in the wrong place i am sorry but using forums has never been my strong point :/

 

Edited by IbadassI

Share this post


Link to post
Share on other sites

You need to depbo a3_dms.pbo and open the config.sqf scroll down to line 609 or so and you will see the loot settings for the crates.  Add whatever weapons you want to the loot crates, save, then repbo a3_dms and upload it back to your server and you are set to go.

Edited by Overlord_Cyco
  • Like 1

Share this post


Link to post
Share on other sites
Advertisement
2 hours ago, Overlord_Cyco said:

You need to depbo a3_dms.pbo and open the config.sqf scroll down to line 609 or and you will see the loot settings for the crates.  Add whatever weapons you want to the loot crates, save, then repbo a3_dms and upload it back to your server and you are set to go.

Hi can you show me as I tried that. Do you have a file for me to follow.

Spoiler

/* Loot Settings */
	DMS_GodmodeCrates 					= true;						// Whether or not crates will have godmode after being filled with loot.
	DMS_CrateCase_Sniper =				[							// If you pass "Sniper" in _lootValues, then it will spawn these weapons/items/backpacks
											[
												["Rangefinder",1],
												["srifle_GM6_F",7],
												["srifle_LRR_F",5],
												["srifle_EBR_F",6],
												["hgun_Pistol_heavy_01_F",4],
												["hgun_PDW2000_F",1]
											],
											[
												["ItemGPS",1],
												["U_B_FullGhillie_ard",1],
												["U_I_FullGhillie_lsh",1],
												["U_O_FullGhillie_sard",1],
												["U_O_GhillieSuit",1],
												["V_PlateCarrierGL_blk",1],
												["V_HarnessO_brn",1],
												["Exile_Item_InstaDoc",3],
												["Exile_Item_Surstromming_Cooked",5],
												["Exile_Item_PlasticBottleFreshWater",5],
												["optic_DMS",1],
												["acc_pointer_IR",1],
												["muzzle_snds_B",1],
												["optic_LRPS",1],
												["optic_MRD",1],
												["muzzle_snds_acp",1],
												["optic_Holosight_smg",1],
												["muzzle_snds_L",1],
												["5Rnd_127x108_APDS_Mag",10],
												["7Rnd_408_Mag",3],
												["20Rnd_762x51_Mag",5],
												["11Rnd_45ACP_Mag",3],
												["30Rnd_9x21_Mag",3]
											],
											[
												["B_Carryall_cbr",1],
												["B_Kitbag_mcamo",1]
											]
										];
	DMS_BoxWeapons =					[							// List of weapons that can spawn in a crate
											"Exile_Melee_Axe",
											"arifle_Katiba_GL_F",
											"arifle_MX_GL_Black_F",
											"arifle_Mk20_GL_F",
											"arifle_TRG21_GL_F",
											"arifle_Katiba_F",
											"arifle_MX_Black_F",
											"arifle_TRG21_F",
											"arifle_TRG20_F",
											"arifle_Mk20_plain_F",
											"arifle_Mk20_F",
											"LMG_Zafir_F",
											"LMG_Mk200_F",
											"arifle_MX_SW_Black_F",
											"srifle_EBR_F",
											"srifle_DMR_01_F",
											"srifle_GM6_F",
											"srifle_LRR_F",
											"arifle_MXM_F",
											"arifle_MXM_Black_F",
											"srifle_DMR_02_F",
											"arifle_mas_mp40",
											"arifle_mas_mp40_o",
											"arifle_mas_sten",
											"arifle_mas_m1014",
											"arifle_mas_aa12",
											"arifle_mas_mp5",
											"arifle_mas_mp5_v",
											"arifle_mas_mp5_d",
											"arifle_mas_mp5sd_ds",
											"arifle_mas_m27",
											"arifle_mas_m27m",
											"arifle_mas_m27_v",
											"arifle_mas_m27m_v",
											"arifle_mas_m27_d",
											"arifle_mas_m27m_d",
											"LMG_mas_Mk200_F",
											"LMG_mas_M249_F",
											"LMG_mas_M249_F_v",
											"LMG_mas_M249_F_d",
											"LMG_mas_M249a_F",
											"LMG_mas_Mk48_F",
											"LMG_mas_Mk48_F_v",
											"LMG_mas_Mk48_F_d",
											"LMG_mas_M240_F",
											"LMG_mas_mg3_F",
											"LMG_mas_M60_F",
											"LMG_mas_m72_F",
											"LMG_mas_rpk_F",
											"LMG_mas_pkm_F",
											"LMG_mas_pech_F",
											"arifle_mas_hk416",
											"arifle_mas_hk416_gl",
											"arifle_mas_hk416_m203",
											"arifle_mas_hk416_v",
											"arifle_mas_hk416_gl_v",
											"arifle_mas_hk416_m203_v",
											"arifle_mas_hk416_d",
											"arifle_mas_hk416_gl_d",
											"arifle_mas_hk416_m203_d",
											"arifle_mas_hk416c",
											"arifle_mas_hk416_m203c",
											"arifle_mas_hk416c_v",
											"arifle_mas_hk416_m203c_v",
											"arifle_mas_hk416c_d",
											"arifle_mas_hk416_m203c_d",
											"arifle_mas_m4",
											"arifle_mas_m4_gl",
											"arifle_mas_m4_m203",
											"arifle_mas_m4_v",
											"arifle_mas_m4_gl_v",
											"arifle_mas_m4_m203_v",
											"arifle_mas_m4_d",
											"arifle_mas_m4_gl_d",
											"arifle_mas_m4_m203_d",
											"arifle_mas_m4vlt",
											"arifle_mas_m4c",
											"arifle_mas_m4_m203c",
											"arifle_mas_m4c_v",
											"arifle_mas_m4_m203c_v",
											"arifle_mas_m4c_d",
											"arifle_mas_m4_m203c_d",
											"arifle_mas_m16",
											"arifle_mas_m16_gl",
											"arifle_mas_l119",
											"arifle_mas_l119c",
											"arifle_mas_l119_gl",
											"arifle_mas_l119_m203",
											"arifle_mas_l119_v",
											"arifle_mas_l119c_v",
											"arifle_mas_l119_gl_v",
											"arifle_mas_l119_m203_v",
											"arifle_mas_l119_d",
											"arifle_mas_l119c_d",
											"arifle_mas_l119_gl_d",
											"arifle_mas_l119_m203_d",
											"arifle_mas_g36c",
											"arifle_mas_mk16",
											"arifle_mas_mk16_gl",
											"arifle_mas_mk16_l",
											"arifle_mas_mk16_l_gl",
											"arifle_mas_mk17",
											"arifle_mas_mk17_gl",
											"arifle_mas_arx",
											"arifle_mas_arx_gl",
											"arifle_mas_arx_l",
											"arifle_mas_arx_l_gl",
											"arifle_mas_g3",
											"arifle_mas_g3_m203",
											"arifle_mas_g3s",
											"arifle_mas_g3s_m203",
											"arifle_mas_fal",
											"arifle_mas_fal_m203",
											"arifle_mas_ak_74m",
											"arifle_mas_ak_74m_gl",
											"arifle_mas_ak_74m_c",
											"arifle_mas_ak_74m_gl_c",
											"arifle_mas_aks74",
											"arifle_mas_aks74_gl",
											"arifle_mas_ak74",
											"arifle_mas_ak74_gl",
											"arifle_mas_ak_74m_sf",
											"arifle_mas_ak_74m_sf_gl",
											"arifle_mas_ak_74m_sf_c",
											"arifle_mas_ak_74m_sf_gl_c",
											"arifle_mas_aks_74_sf",
											"arifle_mas_aks_74_sf_gl",
											"arifle_mas_ak12_sf",
											"arifle_mas_ak12_sf_gl",
											"arifle_mas_akms",
											"arifle_mas_akms_gl",
											"arifle_mas_akms_c",
											"arifle_mas_akms_gl_c",
											"arifle_mas_akm",
											"arifle_mas_akm_gl",
											"arifle_mas_m70",
											"arifle_mas_m70_gl",
											"arifle_mas_m70ab",
											"arifle_mas_m70ab_gl",
											"arifle_mas_asval",
											"arifle_mas_asval_ds",
											"arifle_mas_aks74u",
											"arifle_mas_aks74u_c",
											"rhs_weap_m16a4",
											"rhs_weap_m16a4_carryhandle",
											"rhs_weap_m16a4_carryhandle_grip",
											"rhs_weap_m16a4_carryhandle_grip_pmag",
											"rhs_weap_m16a4_carryhandle_M203",
											"rhs_weap_m16a4_carryhandle_pmag",
											"rhs_weap_m16a4_grip",
											"rhs_weap_m4",
											"rhs_weap_m4_grip2",
											"rhs_weap_m4_carryhandle",
											"rhs_weap_m4_carryhandle_pmag",
											"rhs_weap_m4_grip",
											"rhs_weap_m4_m203",
											"rhs_weap_m4_m320",
											"rhs_weap_m4a1_carryhandle",
											"rhs_weap_m4a1_carryhandle_grip2",
											"rhs_weap_m4a1_carryhandle_pmag",
											"rhs_weap_m4a1_carryhandle_m203",
											"rhs_weap_m4a1",
											"rhs_weap_m4a1_grip2",
											"rhs_weap_m4a1_grip",
											"rhs_weap_m4a1_m203",
											"rhs_weap_m4a1_m320",
											"rhs_weap_m4a1_blockII",
											"rhs_weap_m4a1_blockII_KAC",
											"rhs_weap_m4a1_blockII_grip2",
											"rhs_weap_m4a1_blockII_grip2_KAC",
											"rhs_weap_m4a1_blockII_M203",
											"rhs_weap_mk18",
											"rhs_weap_mk18_KAC",
											"rhs_weap_mk18_grip2",
											"rhs_weap_mk18_grip2_KAC",
											"rhs_weap_mk18_m320",
											"rhs_weap_ak103",
											"rhs_weap_ak103_npz",
											"rhs_weap_ak103_1",
											"rhs_weap_ak74m",
											"rhs_weap_ak74m_2mag",
											"rhs_weap_ak74m_2mag_camo",
											"rhs_weap_ak74m_2mag_npz",
											"rhs_weap_ak74m_camo",
											"rhs_weap_ak74m_desert",
											"rhs_weap_ak74m_desert_npz",
											"rhs_weap_ak74m_desert_folded",
											"rhs_weap_ak74m_plummag_folded",
											"rhs_weap_ak74m_folded",
											"rhs_weap_ak74m_camo_folded",
											"rhs_weap_ak74m_gp25",
											"rhs_weap_ak74m_gp25_npz",
											"rhs_weap_ak74m_npz",
											"rhs_weap_ak74m_plummag",
											"rhs_weap_ak74m_plummag_npz",
											"rhs_weap_akm",
											"rhs_weap_akm_gp25",
											"rhs_weap_akms",
											"rhs_weap_akms_gp25",
											"hlc_rifle_RPK12",
											"hlc_rifle_rpk",
											"hlc_lmg_m60",
											"hlc_lmg_M60E4",
											"hlc_rifle_ak12",
											"hlc_rifle_ak47",
											"hlc_rifle_aek971",
											"hlc_rifle_aks74",
											"hlc_rifle_aks74_GL",
											"hlc_rifle_aks74u",
											"hlc_rifle_ak74",
											"hlc_rifle_akm",
											"hlc_rifle_akmgl",
											"hlc_rifle_l1a1slr",
											"hlc_rifle_SLR",
											"hlc_rifle_STG58F",
											"hlc_rifle_FAL5061",
											"hlc_rifle_c1A1",
											"hlc_rifle_LAR",
											"hlc_rifle_SLRchopmod",
											"hlc_rifle_falosw",
											"hlc_rifle_osw_GL",
											"hlc_rifle_g3sg1",
											"hlc_rifle_g3a3",
											"hlc_rifle_g3ka4",
											"HLC_Rifle_g3ka4_GL",
											"hlc_rifle_hk51",
											"hlc_rifle_hk53",
											"hlc_rifle_RU556",
											"hlc_rifle_RU5562",
											"hlc_rifle_Colt727",
											"hlc_rifle_Colt727_GL",
											"hlc_rifle_bcmjack",
											"hlc_rifle_Bushmaster300",
											"hlc_rifle_vendimus",
											"hlc_rifle_SAMR",
											"hlc_rifle_samr2",
											"hlc_rifle_honeybadger",
											"hlc_rifle_aug",
											"hlc_rifle_auga1carb",
											"hlc_rifle_aughbar",
											"hlc_rifle_auga2",
											"hlc_rifle_auga2carb",
											"hlc_rifle_auga2lsw",
											"hlc_rifle_augsr",
											"hlc_rifle_augsrcarb",
											"hlc_rifle_augsrhbar",
											"hlc_rifle_auga3",
											"hlc_rifle_auga3_GL",
											"hlc_rifle_CQBR",
											"hlc_rifle_m4m203",
											"arifle_mas_hk417c",
											"arifle_mas_hk417_m203c",
											"arifle_mas_hk417c_v",
											"arifle_mas_hk417_m203c_v",
											"arifle_mas_hk417c_d",
											"arifle_mas_hk417_m203c_d",
											"arifle_mas_m14",
											"arifle_mas_lee",
											"srifle_mas_hk417",
											"srifle_mas_hk417_v",
											"srifle_mas_hk417_d",
											"srifle_mas_sr25",
											"srifle_mas_sr25_v",
											"srifle_mas_sr25_d",
											"srifle_mas_ebr",
											"srifle_mas_mk17s",
											"srifle_mas_m110",
											"srifle_mas_m107",
											"srifle_mas_m107_v",
											"srifle_mas_m107_d",
											"srifle_mas_m24",
											"srifle_mas_m24_v",
											"srifle_mas_m24_d",
											"srifle_mas_lrr",
											"srifle_mas_m91",
											"srifle_mas_svd",
											"srifle_mas_vss",
											"srifle_mas_ksvk",
											"srifle_mas_ksvk_c",
											"rhs_weap_sr25",
											"rhs_weap_sr25_ec",
											"rhs_weap_m14ebrri",
											"rhs_weap_XM2010",
											"rhs_weap_XM2010_wd",
											"rhs_weap_XM2010_d",
											"rhs_weap_XM2010_sa",
											"rhs_weap_svd",
											"rhs_weap_svdp_wd",
											"rhs_weap_svdp_wd_npz",
											"rhs_weap_svdp_npz",
											"rhs_weap_svds",
											"rhs_weap_svds_npz",
											"hlc_rifle_M21",
											"hlc_rifle_psg1",
											"hlc_rifle_awmagnum_BL"
										];
	DMS_BoxSurvivalSupplies	=			[							//List of survival supplies (food/drink/meds) that can spawn in a crate
											"Exile_Item_Catfood_Cooked",
											"Exile_Item_SausageGravy_Cooked",
											"Exile_Item_BBQSandwich_Cooked",
											"Exile_Item_PlasticBottleFreshWater",
											"Exile_Item_PlasticBottleFreshWater",
											"Exile_Item_Matches",
											"Exile_Item_CookingPot"
										];
	DMS_BoxBuildingSupplies	=			[							// List of building supplies that can spawn in a crate
											"Exile_Item_CamoTentKit",
											"Exile_Item_MetalPole",
											"Exile_Item_MetalBoard",
											"Exile_Item_LightBulb",
											"Exile_Item_JunkMetal",
											"Exile_Item_ExtensionCord",
											"Exile_Item_DuctTape"
										];
	DMS_BoxOptics =						[							// List of optics that can spawn in a crate
											"optic_Arco",
											"optic_Hamr",
											"optic_Aco",
											"optic_Holosight",
											"optic_MRCO",
											"optic_SOS",
											"optic_DMS",
											"optic_LRPS",
											"optic_Nightstalker"			// Nightstalker scope lost thermal in Exile v0.9.4
										];
	DMS_BoxBackpacks =					[							//List of backpacks that can spawn in a crate
											"B_Bergen_rgr",
											"B_Carryall_oli",
											"B_Kitbag_mcamo",
											"B_Carryall_cbr",
											"B_FieldPack_oucamo",
											"B_FieldPack_cbr",
											"B_Bergen_blk"
										];
	DMS_BoxItems						= DMS_BoxSurvivalSupplies+DMS_BoxBuildingSupplies+DMS_BoxOptics;	// Random "items" can spawn optics, survival supplies, or building supplies

	DMS_RareLoot						= true;						// Potential chance to spawn rare loot in any crate.
	DMS_RareLootList =					[							// List of rare loot to spawn
											"Exile_Item_SafeKit",
											"Exile_Item_CodeLock"
										];
	DMS_RareLootChance					= 100;						// Percentage Chance to spawn rare loot in any crate | Default: 10%

	// Vehicles
	DMS_ArmedVehicles =					[							// List of armed vehicles that can spawn
											"Exile_Car_Offroad_Armed_Guerilla01"
										];
										
	DMS_MilitaryVehicles =				[							// List of military vehicles that can spawn
											"Exile_Car_Strider",
											"Exile_Car_Hunter",
											"Exile_Car_Ifrit"
										];

	DMS_TransportTrucks =				[							// List of transport trucks that can spawn
											"Exile_Car_Van_Guerilla01",
											"Exile_Car_Zamak",
											"Exile_Car_Tempest",
											"Exile_Car_HEMMT"
										];

	DMS_RefuelTrucks =					[							// List of refuel trucks that can spawn
											"Exile_Car_Van_Fuel_Black",
											"Exile_Car_Van_Fuel_White",
											"Exile_Car_Van_Fuel_Red",
											"Exile_Car_Van_Fuel_Guerilla01",
											"Exile_Car_Van_Fuel_Guerilla02",
											"Exile_Car_Van_Fuel_Guerilla03"
										];

	DMS_CivilianVehicles =				[							// List of civilian vehicles that can spawn
											"Exile_Car_SUV_Red",
											"Exile_Car_Hatchback_Rusty1",
											"Exile_Car_Hatchback_Rusty2",
											"Exile_Car_Hatchback_Sport_Red",
											"Exile_Car_SUV_Red",
											"Exile_Car_Offroad_Rusty2",
											"Exile_Bike_QuadBike_Fia"
										];
	
	DMS_TransportHelis =				[							// List of transport helis that can spawn
											"Exile_Chopper_Hummingbird_Green",
											"Exile_Chopper_Orca_BlackCustom",
											"Exile_Chopper_Mohawk_FIA",
											"Exile_Chopper_Huron_Black",
											"Exile_Chopper_Hellcat_Green",
											"Exile_Chopper_Taru_Transport_Black"
										];
/* Loot Settings */

 

This is how I am trying to add the Items is this right?

 

Edited by IbadassI

Share this post


Link to post
Share on other sites
4 minutes ago, Overlord_Cyco said:

Looks good to me.  What problem are you having with it?  Also at DMS Box Weapons it says "//List of weapons that can spawn in the crate." 

The creates are only spawning normal arma 3 guns ammo

Share this post


Link to post
Share on other sites
7 minutes ago, IbadassI said:

The creates are only spawning normal arma 3 guns ammo

Only place i can see where ammo is being added is in the DMS_CrateCase_Sniper  section.  Looks like you add what ammo you want to spawn plus how many of each.  Line 621

[
                                                ["ItemGPS",1],
                                                ["U_B_FullGhillie_ard",1],
                                                ["U_I_FullGhillie_lsh",1],
                                                ["U_O_FullGhillie_sard",1],
                                                ["U_O_GhillieSuit",1],
                                                ["V_PlateCarrierGL_blk",1],
                                                ["V_HarnessO_brn",1],
                                                ["Exile_Item_InstaDoc",3],
                                                ["Exile_Item_Surstromming_Cooked",5],
                                                ["Exile_Item_PlasticBottleFreshWater",5],
                                                ["optic_DMS",1],
                                                ["acc_pointer_IR",1],
                                                ["muzzle_snds_B",1],
                                                ["optic_LRPS",1],
                                                ["optic_MRD",1],
                                                ["muzzle_snds_acp",1],
                                                ["optic_Holosight_smg",1],
                                                ["muzzle_snds_L",1],
                                                ["5Rnd_127x108_APDS_Mag",3],
                                                ["7Rnd_408_Mag",3],
                                                ["20Rnd_762x51_Mag",5],
                                                ["11Rnd_45ACP_Mag",3],
                                                ["30Rnd_9x21_Mag",3]
                                            ],

  • Like 1

Share this post


Link to post
Share on other sites
25 minutes ago, Overlord_Cyco said:

Only place i can see where ammo is being added is in the DMS_CrateCase_Sniper  section.  Looks like you add what ammo you want to spawn plus how many of each.  Line 621

[
                                                ["ItemGPS",1],
                                                ["U_B_FullGhillie_ard",1],
                                                ["U_I_FullGhillie_lsh",1],
                                                ["U_O_FullGhillie_sard",1],
                                                ["U_O_GhillieSuit",1],
                                                ["V_PlateCarrierGL_blk",1],
                                                ["V_HarnessO_brn",1],
                                                ["Exile_Item_InstaDoc",3],
                                                ["Exile_Item_Surstromming_Cooked",5],
                                                ["Exile_Item_PlasticBottleFreshWater",5],
                                                ["optic_DMS",1],
                                                ["acc_pointer_IR",1],
                                                ["muzzle_snds_B",1],
                                                ["optic_LRPS",1],
                                                ["optic_MRD",1],
                                                ["muzzle_snds_acp",1],
                                                ["optic_Holosight_smg",1],
                                                ["muzzle_snds_L",1],
                                                ["5Rnd_127x108_APDS_Mag",3],
                                                ["7Rnd_408_Mag",3],
                                                ["20Rnd_762x51_Mag",5],
                                                ["11Rnd_45ACP_Mag",3],
                                                ["30Rnd_9x21_Mag",3]
                                            ],

Yeah managed to get this working thank you guys.

Share this post


Link to post
Share on other sites

Ok.

First. There is alot of references to " EDIT A GLOBAL " which is going to be used on a " PRIVATE " or specific instance.
** CONFIG edits can be called by every mission  /  vs / creating the loot crate and variables on the mission.sqf **

On mission.sqf.

Use the following.

_crate_TitleYouWantToUseHere =  (20 + (round     (random 1)));

// Change 20 to what ever value you want. Change the random value to what ever you want .
// Currently the crate spawns 20+1 rounded down to spawn 21 items.
// Changing random to 8 would make it 20+ (1-8) items.

now we need to define the list that crate array has to choose from.

_crate_TitleYouWantToUsehere_list = [];

// What ever the _crate is called , the _crate_list needs to match it.
// ie: _crate_Killme          needs to be referenced by _crate_Killme_list
// the = [];  simply means this array is blank and to ignore it.
// But you would add items to it here. ie:  _crate_TitleYouWantToUsehere_list = ["itemcode1","itemcode2"];
// make sure to place a  comma between items and leave the comma off the last item.
// Quotations are need at the start and end of each item code.

So now you have your mission.sqf telling the crate to spawn 20 of what ever stalker is , and you have defined 3 objects for it to randomise 20 spawns from.

Now you need to add both the _crate  and the _crate_list to the crate array so it understands what all this means.

ie:

_crate_loot_values1 =

[_crate_STALKER,crate_STALKER_list],

[_crate_weapons,_crate_weapons_list],                        

[_crate_items,_crate_items_list],

[_crate_uniforms,_crate_uniforms_list],

[_crate_vests,_crate_vests_list],

[_crate_backpacks,_crate_backpacks_list],

[_crate_charges,_crate_charges_list]
];

Now you can see that this crate actually references a bunch of _crate,_crate_list  .
My current mission template runs a larger reference of _crate and _crate_list 's.
As i like to control as much as possible the variables on my missions.
But the level of detail you want to control over your loot crates is up to you.
less array's ... less control.
More array's ... HOURS of more config edits ;)

Trust me. STAY away from global arrays if your truly wanting to create custom content for your missions.

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.