xDaVIRUS

DMS Static Loot

3 posts in this topic

Looking to define the loot in static missions a little better than just besides the weapons / items / backpacks loot

// Define mission-spawned objects and loot values
_missionObjs =
[
    _staticGuns,            // static gun(s). Note, we don't add the base itself because it already spawns on server start.
    [],
    [[_crate0,[45,70,18]],[_crate1,[45,50,18]]]
];

How can i put in a certain category to spawn in like  [dms_box_loot,3] Kind of deal 

Anyone?

Share this post


Link to post
Share on other sites
	DMS_theCrate =						
	[
											[												
												["Exile_Weapon_AK47",1],
												["Exile_Weapon_AKS_Gold",2]
											],
											[
												["optic_Arco",2],
												["optic_Hamr",2],
												["optic_Aco",1],
												["optic_Holosight",2],
												["optic_MRCO",1],
												["optic_SOS",2],
												["optic_DMS",2],
												["optic_LRPS",2],
												["optic_Nightstalker",4],
												["Exile_Item_GloriousKnakworst_Cooked",2],
												["Exile_Item_EMRE",5],
												["Exile_Item_BeefParts",2],
												["Exile_Item_Noodles",1],
												["Exile_Item_InstantCoffee",3],
												["Exile_Item_EnergyDrink",4],
												["Exile_Item_HBarrier5Kit",2],
												["Exile_Item_InstaDoc",3],
												["Exile_Item_Vishpirin",2],
												["Exile_Item_Bandage",6]
											],
											[
												["B_Bergen_rgr",1],
												["B_Bergen_blk",2]
											]
];

_crate = ["I_CargoNet_01_ammo_F",[crateCoordinates]] call DMS_fnc_SpawnCrate;
[_crate, "theCrate"] call DMS_fnc_FillCrate;

 

Edited by wernerz

Share this post


Link to post
Share on other sites

Can you get me an example in a static mission? right now its calling it from _Crate0, [100,150,20] kind of setup, how do i get rid of that to implement what you have posted. Can you give me an example on saltflats mission?

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.