Jump to content

[Release] DayZ Mission System


TheVampire

Recommended Posts

  On 2/22/2014 at 6:48 AM, nathan00107 said:

I would really like the AI spawn rate to increase. Doesn't feel like a challenge.

 

You can go into each mission file and adjust the amount of AI that spawn.

The "Usage" is still correct that's noted right above them, just ignore the last number.

 

  On 2/22/2014 at 11:05 AM, Sukkaed said:

 

I'm getting this:

12:36:30 Error in expression <on "RPG7V";
{
_unit removeMagazine _x
} forEach "PG7V" in (magazines _unit);
};
>
12:36:30   Error position: <forEach "PG7V" in (magazines _unit);
};
>
12:36:30   Error foreach: Type String, expected Array
12:36:30 File z\addons\dayz_server\DZMS\Scripts\DZMSAIKilled.sqf, line 69

 

Can you post your full RPT to pastebin? I'll try to recreate this myself for now.

Link to comment
Share on other sites

  On 2/22/2014 at 3:40 PM, TheVampire said:

 

Yup, that fixed it. I haven't seen this before in my .rpt log. Might not be related to this mission system tho.

19:32:13 Bad conversion: array
19:32:13 Error in expression <r"] call server_updateObject;
} forEach nearestObjects [_pos, dayz_updateObjects>
19:32:13   Error position: <nearestObjects [_pos, dayz_updateObjects>
19:32:13   Error 0 elements provided, 3 expected
19:32:13 File z\addons\dayz_server\compile\server_playerSync.sqf, line 209
Link to comment
Share on other sites

  On 2/22/2014 at 6:02 PM, WEB11 said:

Is this line what controls the loot quantity?

	for "_x" from 0 to 2 do {

I'm trying to spawn an exact number of random guns in each box.

 

Thats how many items it chooses from the array. They may be the same or different because its random.

Some below also have a round(random(#)) which is how many of the item chosen this time through it adds to the crate. It can be from 0 to the max number.

Link to comment
Share on other sites

  On 2/22/2014 at 6:09 PM, Sukkaed said:

 

Yup, that fixed it. I haven't seen this before in my .rpt log. Might not be related to this mission system tho.

19:32:13 Bad conversion: array
19:32:13 Error in expression <r"] call server_updateObject;
} forEach nearestObjects [_pos, dayz_updateObjects>
19:32:13   Error position: <nearestObjects [_pos, dayz_updateObjects>
19:32:13   Error 0 elements provided, 3 expected
19:32:13 File z\addons\dayz_server\compile\server_playerSync.sqf, line 209

 

I don't think that's related to DZMS. In that case it looks like _pos returned null.

Link to comment
Share on other sites

  On 2/22/2014 at 6:23 PM, TheVampire said:

Thats how many items it chooses from the array. They may be the same or different because its random.

Some below also have a round(random(#)) which is how many of the item chosen this time through it adds to the crate. It can be from 0 to the max number.

 

So if I use :

for "_x" from 20 to 20 do {

That will give me 20 guns in a crate?

Link to comment
Share on other sites

  On 2/22/2014 at 6:35 PM, WEB11 said:

So if I use :

for "_x" from 20 to 20 do {

That will give me 20 guns in a crate?

 

That would give you one if not 0 because it starts counting at the first number till it reaches the second. If its starting at 20 counting to 20, its already there and adds nothing.

Link to comment
Share on other sites

  On 2/22/2014 at 6:40 PM, TheVampire said:

That would give you one if not 0 because it starts counting at the first number till it reaches the second. If its starting at 20 counting to 20, its already there and adds nothing.

 

Gotcha so I want 0 to 20 to get 20 guns.

Link to comment
Share on other sites

  On 2/22/2014 at 8:48 PM, TheVampire said:

DZMS will work fine with WickedAI. The missions will run alongside eachother.

Okok. I would like to know how to change the crate content... cus so far it is alot OP.

Is there files to change them? I would make less stuff for the missions...

Link to comment
Share on other sites

  On 2/22/2014 at 10:39 PM, FragZ said:

Okok. I would like to know how to change the crate content... cus so far it is alot OP.

Is there files to change them? I would make less stuff for the missions...

 

You can change the counts in DZMSBox.sqf.

The contents can be changed in DZMSWeaponCrateList.sqf

Link to comment
Share on other sites

  On 2/22/2014 at 3:23 AM, TheVampire said:

I've added @mudzereli to the Github because of the great additions he is making.

 

AI that are at a completed mission location will now get cleaned up when a new mission of the same type spawns to prevent lag.

 

There is now also configurable blacklist areas in the config.

You simply enter the coordinates and the radius.

If you are running static coordinates, then this will of course have no effect.

 

I also fixed a few positioning issues with the items at missions.

Link to comment
Share on other sites

  On 2/23/2014 at 2:34 PM, BetterDeadThanZed said:

I set my blacklist like this:

 

 
But in the log I get this:

-snip-

 
Are the commas supposed to be semicolons?

 

*edit* I have two servers and I uploaded the dzmsconfig.sqf for my Chernarus server to my Napf server so the coordinates in the error are different from what the coordinates are in the blacklist code I posted because the blacklist code I posted is what was supposed to be uploaded to the Napf server, but that shouldn't affect the blacklist. If the blacklist was working, then they'd simply be in the wrong place for the Napf server. In any case, the formating of the Blacklist is what I am questioning. Hopefully I just didn't format it correctly. :)

 

You formatted all of them except the first one incorrectly.

 

Here's the list you posted formatted correctly.

DZMSBlacklistZones = [
[[8246.3184,15485.867,0],300],
[[15506.952,13229.368,0],300],
[[12399.751,5074.5273,0],300],
[[10398.626,8279.4619,0],300],
[[5149.9814,4864.1191,0],300],
[[2122.7954,7807.9878,0],300],
[[5379.0342,16103.187,0],300],
[[6772.8877,16983.27,0],300],
[[16839.973,5264.0566,0],300],
[[15128.379,16421.879,0],300],
[[16857.543,1,0],300]
];
Link to comment
Share on other sites

  On 2/23/2014 at 5:33 PM, WEB11 said:

Enabling this is causing the missions not to clear for me:

DZMSRequiredKillPercent = 80;

Edit: Nevermind it works. I just had to change it to 0.8 instead.

 

That setting just so everyone know is the percentage of AI that must be killed for the mission to be completed. 0 being 0%, 1 being 100%.

Link to comment
Share on other sites

I'm still getting an error:

 

 9:06:17 Error in expression <867,0],300],
[15506.952,13229.368,0],300],
[12399.751,5074.5273,0],300],
[10398.>
 9:06:17   Error position: <],
[12399.751,5074.5273,0],300],
[10398.>
 9:06:17   Error Missing ;
 9:06:17 File z\addons\dayz_server\DZMS\DZMSConfig.sqf, line 94
 9:06:17 Error in expression <867,0],300],
[15506.952,13229.368,0],300],
[12399.751,5074.5273,0],300],
[10398.>
 9:06:17   Error position: <],
[12399.751,5074.5273,0],300],
[10398.>
 9:06:17   Error Missing ;
 9:06:17 File z\addons\dayz_server\DZMS\DZMSConfig.sqf, line 94
 
Here's my blacklist:
 
DZMSBlacklistZones = [
[8246.3184,15485.867,0],300],
[15506.952,13229.368,0],300],
[12399.751,5074.5273,0],300],
[10398.626,8279.4619,0],300],
[5149.9814,4864.1191,0],300],
[2122.7954,7807.9878,0],300],
[5379.0342,16103.187,0],300],
[6772.8877,16983.27,0],300],
[16839.973,5264.0566,0],300],
[15128.379,16421.879,0],300],
[16857.543,1,0],300]
];
Line 94 is this:
 
[15506.952,13229.368,0],300],
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
×
×
  • Create New...