Jump to content

[EMS] 0.3.1 Defents Edit


Defent

Recommended Posts

Have the same issue...

 

DZMSPurgeObject = {
_>
 0:54:07   Error position: <_sleepTime;};
};


DZMSPurgeObject = {
_>
 0:54:07   Error Nicht definierte Variable in Ausdruck: _sleeptime
 0:54:07 File z\addons\dayz_server\EMS\DZMSFunctions.sqf, line 263
 0:54:07 Error in expression <nterval; (diag_tickTime - _startTime) > _sleepTime;};
};

Link to comment
Share on other sites

Hi.  Could you have a look at this and tell me what you think?

 

Anyone Tell me what this means?

 

 

 

DZMSPurgeObject = {
_>

1:22:40 Error Undefined variable in expression: _sleeptime
1:22:40 File z\addons\dayz_server\EMS\DZMSFunctions.sqf, line 263
1:22:40 Error in expression <nterval; (diag_tickTime - _startTime) > _sleepTime;};
};

 

 

 

Thanks

Link to comment
Share on other sites

Same problem here guys.. :/

 Some help would be nice :)

 

 
DZMSPurgeObject = {
_>
 9:06:52   Error position: <_sleepTime;};
};




DZMSPurgeObject = {
_>
 9:06:52   Error Undefined variable in expression: _sleeptime
 9:06:52 File z\addons\dayz_server\EMS\DZMSFunctions.sqf, line 263
 9:06:52 Error in expression <nterval; (diag_tickTime - _startTime) > _sleepTime;};
};
Link to comment
Share on other sites

Sounds good ;) - When will you publish it?

 

Update: Getting the next error. Maybe it's caused by the same bug.

11:26:39 "[EMS]: Minor SM11 Bandit Hunting Party Mission has started."
11:26:53 Error in expression <aponryRate do {
_sSelect = floor(random _sCount);
_item =  EMSWeaponry select _s>
11:26:53   Error position: <_sCount);
_item =  EMSWeaponry select _s>
11:26:53   Error Undefined variable in expression: _scount
11:26:53 File z\addons\dayz_server\EMS\Scripts\DZMSBox.sqf, line 149
11:26:53 Error in expression <aponryRate do {
_sSelect = floor(random _sCount);
_item =  EMSWeaponry select _s>
11:26:53   Error position: <_sCount);
_item =  EMSWeaponry select _s>
11:26:53   Error Undefined variable in expression: _scount
11:26:53 File z\addons\dayz_server\EMS\Scripts\DZMSBox.sqf, line 149
Link to comment
Share on other sites

NEW UPDATE RELEASED!

 

I updated the GitHub now, this one is working on my dev server. Hopefully it wil work for you too!

I tweaked some stuff, added some fixes to the missions etc.

 

Note: If you don't want for example:

11:21:27 "[EMS]: Minor SM6 Ural Weapons Truck Mission has started."

To appear in your RPT. Simply open the missions in the Mission folder and delete the line saying:

diag_log format["[EMS]: Minor SM6 Ural Weapons Truck Mission has started."];
Link to comment
Share on other sites

Defent,

Congrats on the new version - I was looking forward to it, will try out soon.

 

I have a quick question for you:Is it possible to increase AI unit # a lot and make it still work?

I already tried setting AI unit numbers to 15-20 but they stopped functioning. Rather than defending their mission area, at high numbers they started running a few meters > going prone > getting up > running a few meters & looping this behavior without shooting at all.

Link to comment
Share on other sites

Defent,

Congrats on the new version - I was looking forward to it, will try out soon.

 

I have a quick question for you:Is it possible to increase AI unit # a lot and make it still work?

I already tried setting AI unit numbers to 15-20 but they stopped functioning. Rather than defending their mission area, at high numbers they started running a few meters > going prone > getting up > running a few meters & looping this behavior without shooting at all.

 

Thanks, and as mentioned above:

[[(_coords select 0) - 0.5635,(_coords select 1) + 0.3173,0],3,1,"DZMSUnitsMajor"] call DZMSAISpawn;
,3,1,"DZMSUnitsMajor"]

Number 3 here is the count of enemies and 1 is the skill level.

Link to comment
Share on other sites

1. Yes, open the same file I mentioned and move down to this part and just increase the numbers.

// The Minumum time in seconds before a major mission will run.
// At least this much time will pass between major missions. Default = 650 (10.8 Minutes)
DZMSMajorMin = 650;

// Maximum time in seconds before a major mission will run.
// A major mission will always run before this much time has passed. Default = 2000 (33.33 Minutes)
DZMSMajorMax = 2000;

// Time in seconds before a minor mission will run.
// At least this much time will pass between minor missions. Default = 600 (10 Minutes)
DZMSMinorMin = 600;

// Maximum time in seconds before a minor mission will run.
// A minor mission will always run before this much time has passed. Default = 990 (16.5 Minutes)
DZMSMinorMax = 990;

2. Enable that and they should have RPGs on them, I'm not sure if it's their primary weapon of choice. However, you can also open the EMS/ExtConfig/DZMSAIConfig.sqf file and change the weapons lists in there.

Then add thos for example:

DZMSWeps0 = [
"RPG7V"
];
Link to comment
Share on other sites

That's going to be a bit more complicated. You can experiment around with this block of code in DZMSFunctions.sqf

Making a new case, removing the random select and somehow fixing it through that.

//Gets the weapon and magazine based on skill level
DZMSGetWeapon = {
	private ["_skill","_aiweapon","_weapon","_magazine","_fin"];

	_skill = _this select 0;

	//diag_log text format ["[EMS]: AI Skill Func:%1",_skill];

	switch (_skill) do {
		case 0: {_aiweapon = DZMSWeps0;};
		case 1: {_aiweapon = DZMSWeps1;};
		case 2: {_aiweapon = DZMSWeps2;};
		case 3: {_aiweapon = DZMSWeps3;};
	};
	_weapon = _aiweapon call BIS_fnc_selectRandom;
	_magazine = getArray (configFile >> "CfgWeapons" >> _weapon >> "magazines") select 0;

	_fin = [_weapon,_magazine];

	_fin
};
Link to comment
Share on other sites

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
  • Advertisement
×
×
  • Create New...