Defent Posted July 16, 2014 Author Report Share Posted July 16, 2014 You install this the same way you install EMS 0.3. You can have two running but it's not recomended at all. You can set the difficultiy in the script files. After that you can open the mission files and set the AI rank to what you want. 0 being the lowest and 4 (?) being the highest. In the configs I have set 4 to be the strongest of the all. Just mess around the configs and scripts and see what happens. Link to comment Share on other sites More sharing options...
ReDBaroN Posted July 16, 2014 Report Share Posted July 16, 2014 Thanks for your speedy response Defent! I have done precisely that and put the EMS line underneath DZMS. But, I'm not sure the two can physically run alongside... I'm happy with adjusting difficulties etc as have lots of experience with DZMS and WAI. I remember trying this before with Fuchs version and bumping into the same problem which is that it thinks I have installed it twice. I'm guessing because EMS uses DZMS code already....? Lines in my server_monitor.SQF: [] ExecVM "\z\addons\dayz_server\WAI\init.sqf"; [] ExecVM "\z\addons\dayz_server\DZMS\DZMSInit.sqf"; [] ExecVM "\z\addons\dayz_server\EMS\DZMSInit.sqf"; allowConnection = true; error in my rpt: 21:07:39 [EMS]: <ERROR> EMS is Installed Twice or Installed Incorrectly! Any ideas? Thanks Link to comment Share on other sites More sharing options...
Defent Posted July 16, 2014 Author Report Share Posted July 16, 2014 EMS is DZMS, just modified to fit Epoch. This one is modified to fit my servers and generally be easy to config for the general public. So techically it's the same. They use the same core. Link to comment Share on other sites More sharing options...
ReDBaroN Posted July 16, 2014 Report Share Posted July 16, 2014 Yes but, I was hoping that as the files are contained in different folders and called independently to each of those folders there wouldn't be any conflict...? Link to comment Share on other sites More sharing options...
TheVampire Posted July 17, 2014 Report Share Posted July 17, 2014 Yes but, I was hoping that as the files are contained in different folders and called independently to each of those folders there wouldn't be any conflict...? All of the global functions are named the same. You would have to go through and rename every global variable in the entire DZMS system to get it to run alongside a copy of itself. If you didn't do this, you would have one system trying to do something and it would effect both systems. For this exact reason, DZMS detects if it is already running and exits the second copy. Link to comment Share on other sites More sharing options...
TheVampire Posted July 17, 2014 Report Share Posted July 17, 2014 Thanks for this; I've always found WAI missions much more difficult than DZMS and now remember that there the CombatMode is set to red. I'll try this change, tomorrow :-) The difference between the two is pretty negligible. At combat mode YELLOW, they stay in formation and engage. At combat mode RED, they break formation to find cover to engage. The only difference I've seen from the two is AI running and hiding in the trees, which doesn't make a fighting difference, it just makes them more likely to wander off mission looking for cover. If they aren't close enough to the cycle waypoint at the mission, it's also more likely they will wander away from the mission. More Info: https://community.bistudio.com/wiki/ArmA:_AI_Combat_Modes Link to comment Share on other sites More sharing options...
ekroemer Posted July 17, 2014 Report Share Posted July 17, 2014 Thanks for the link. The impression I had was that WAI is much more likely to close the range. 'Much' like in: I have seen DZMS doing this once with 1 AI and WAI does it nearly every time. 'Close the range' like in: with WAI it's nearly impossible to snipe them from ranges lower 900m. Every time when you've killed 1 or 2 of them, roughly the half of the rest scatters and works towards you so you have to fall back or you'll be circled. Makes you really think about approach and retreat routes (at least me, maybe better shot than me can play whack a mole with them...). So maybe it's the 'break formation' that makes the huge difference for me. I've got no beef with the 'wandering away from the mission', either - they use forward scouts, makes the mission more difficult because you can be taken unawares :-) Edit: I should have read your link before finishing the post: I cite NOTE: To make AI hunt down a known target, you need to use '_unit setCombatMode "RED"'. The Seek & Destroy waypoint only makes the AI to search the vicinity of the waypoint itself. Not affect their behavior on their way to the waypoint itself. So, indeed, WAI will hunt you down and DZMS won't. Link to comment Share on other sites More sharing options...
ekroemer Posted July 17, 2014 Report Share Posted July 17, 2014 All of the global functions are named the same. You would have to go through and rename every global variable in the entire DZMS system to get it to run alongside a copy of itself. Having not much experience with sqf: is there a central location where I can identify the variables/function names to be changed? Changing itself won't be the issue: I can simply write an sed/awk script for this to perform the task automatically (Unix, of course). Background: One of our players prompted me to the idea that I could abuse a mission system to make some small map additions, a handful of small 'bases', maybe only a house in a town or a fireplace in the woods, maybe a small fortification configure DZMS static locations to these places spawn a loot crate at one of them to be sought out by players, thus creating a PvP attraction zone while counteracting the 'a crate will be spawned at server restart, so I'll log out here shortly before and will be the first to loot and after that the fun is over' - problem with static crates optionally place some AI there (main aspect is PvP) at completion of one mission the next one is immediately started map markers are disabled (all of the possible locations may be marked on the map, simultanously) While it would be possible to configure DZMS for this it would deprive me of the missions, so I'd need a second instance of DZMS to run alongside the first. Link to comment Share on other sites More sharing options...
ReDBaroN Posted July 17, 2014 Report Share Posted July 17, 2014 All of the global functions are named the same. You would have to go through and rename every global variable in the entire DZMS system to get it to run alongside a copy of itself. If you didn't do this, you would have one system trying to do something and it would effect both systems. For this exact reason, DZMS detects if it is already running and exits the second copy. Thanks Vampire.Got it. I think, what I'm going to try and do is use the major and min as my medium hard and easy and just point the ai in each mission to 2 different skill arrays. Any ideas how I can configure the boxes or copy them to have a lower amount of payout in the min mission boxes? Link to comment Share on other sites More sharing options...
inf1g Posted July 17, 2014 Report Share Posted July 17, 2014 We need box with instant loot on crashes(not random). And we need option to redact. loot in this boxes. How i can do it ? Link to comment Share on other sites More sharing options...
YuriLowell Posted July 27, 2014 Report Share Posted July 27, 2014 Is there a way to add mounted guns for the NPCs? Link to comment Share on other sites More sharing options...
tylerjohnson Posted July 28, 2014 Report Share Posted July 28, 2014 I would love to know how to do that. Link to comment Share on other sites More sharing options...
Defent Posted July 28, 2014 Author Report Share Posted July 28, 2014 You could just use the create vehicle, add the mounted gun close to the weapons cache. It spawns with ammo by default. You can then try adding the function and or allowing AI to take vehicles. This should allow them to use mounted guns. I'm not sure since I've not tested it. Link to comment Share on other sites More sharing options...
StiflersM0M Posted July 28, 2014 Report Share Posted July 28, 2014 hey guys :) mission system working good, but i get theese error here: "Error Ungültige Zahl in Ausdruck" = "Error invalid number in expression" "Error Nicht definierte Variable in Ausdruck" = "Error not defined variable in expression" 20:31:26 [EMS]: Starting DayZ Mission System. 20:31:26 [EMS]: Relations not found! Using EMS Relations. 20:31:26 [EMS]: Currently Running Version: 1.1FIN 20:31:26 [EMS]: Mission and Extended Configuration Loaded! 20:31:26 [EMS]: chernarus Detected. Map Specific Settings Adjusted! 20:31:26 [EMS]: DayZ Epoch Detected! Some Scripts Adjusted! 20:31:26 [EMS]: Loading ExecVM Functions. 20:31:26 [EMS]: Loading Compiled Functions. 20:31:26 [EMS]: Loading All Other Functions. 20:31:26 [EMS]: Mission Functions Script Loaded! 20:31:27 [EMS]: Mission Marker Loop for JIPs Starting! 20:31:27 [EMS]: Minor Mission Clock Starting! 20:31:27 [EMS]: Major Mission Clock Starting! 20:32:48 [EMS]: Running Minor Mission SM6. 20:32:48 "[EMS]: Minor SM6 Ural Weapons Truck Mission has started." 20:32:53 [EMS]: (DZMSUnitsMinor) 5 AI Spawned, 5 units in mission. 20:32:54 [EMS]: (DZMSUnitsMinor) Waiting for 5/5 Units or Less to be Alive and a Player to be Near the Objective. 20:33:29 [EMS]: Running Major Mission SM2. 20:33:30 "[EMS]: Major SM2 Medical C-130 Mission has started." 20:33:34 Error in expression <<null> = <null> + (units _unitGroup); _u> 20:33:34 Error position: <<null> = <null> + (units _unitGroup); _u> 20:33:34 Error Ungültige Zahl in Ausdruck 20:33:34 Error in expression <<null> = <null> + (units _unitGroup); _u> 20:33:34 Error position: <<null> = <null> + (units _unitGroup); _u> 20:33:34 Error Ungültige Zahl in Ausdruck 20:33:34 [EMS]: (<null>) 6 AI Spawned, any units in mission. 20:33:34 Error in expression <tGroup); _unitMissionCount = count %1;",_unitArrayName]; diag_log text format["> 20:33:34 Error position: <_unitArrayName]; diag_log text format["> 20:33:34 Error Nicht definierte Variable in Ausdruck: _unitarrayname 20:33:34 File z\addons\dayz_server\EMS\Scripts\DZMSAISpawn.sqf, line 141 20:33:39 [EMS]: (DZMSUnitsMajor) Waiting for 0/0 Units or Less to be Alive and a Player to be Near the Objective. 20:33:46 "CLEANUP: INITIALIZING CLEANUP SCRIPT" make no changes to the system, only in the config i set min mission time too 1 and max too 200 to test the system. any help would be nice! forgot something, this error happen to me 2, see some post ago that the author want to fix it :P but doesnt seems so. DZMSPurgeObject = { _> 23:25:14 Error not defined variable in expression: _sleeptime 23:25:14 File z\addons\dayz_server\EMS\DZMSFunctions.sqf, line 263 23:25:19 Error in expression <nterval; (diag_tickTime - _startTime) > _sleepTime;}; }; DZMSPurgeObject = { _> 23:25:19 Error position: <_sleepTime;}; }; Link to comment Share on other sites More sharing options...
jakers Posted July 29, 2014 Report Share Posted July 29, 2014 Hey guys, Missions are loading up great, the only problem I'm having is certain AI bodies seem to crash the users client when they walk up to the ai bodies, I've check the rpt logs and there doesnt seem to be anything related to that, any clues at to what it could be? or has anyone else had this issue? Edit:Right I've figured out what was causing the crashes looks like items i had added to the ai inventory was causing it: Items added were: bloodbag morphine antibiotics nv goggles binocular vector (I have a sneaky feeling it was this one item causing the error, will test later) removed all of these but painkillers but now i'm getting this error over and over again whenever a mission spawns ai 9:20:19 Warning Message: No entry 'bin\config.bin/CfgWeapons.ItemPainkiller'. 9:20:19 Warning Message: No entry '.scope'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: Error: creating weapon ItemPainkiller with scope=private 9:20:19 Warning Message: No entry '.displayName'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.nameSound'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.type'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.picture'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.Library'. 9:20:19 Warning Message: No entry '.libTextDesc'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.model'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.simulation'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.fireLightDuration'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.fireLightIntensity'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.weaponLockDelay'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.weaponLockSystem'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.cmImmunity'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.lockingTargetSound'. 9:20:19 Warning Message: Size: '/' not an array 9:20:19 Warning Message: No entry '.lockedTargetSound'. 9:20:19 Warning Message: Size: '/' not an array 9:20:19 Warning Message: No entry '.muzzles'. 9:20:19 Warning Message: Size: '/' not an array 9:20:19 No owner 9:20:19 No owner Link to comment Share on other sites More sharing options...
MuhChy Posted July 30, 2014 Report Share Posted July 30, 2014 New Errors for you my friend :) And btw, i wonder how to add overwatch weapons to the weapon crates ? I tried it but they never appear. 18:27:58 "[EMS]: Minor SM2 Bandit Mission Party Outpost has started." 18:28:01 Error in expression <<null> = <null> + (units _unitGroup); _u> 18:28:01 Error position: <<null> = <null> + (units _unitGroup); _u> 18:28:01 Error Invalid number in expression 18:28:01 Error in expression <<null> = <null> + (units _unitGroup); _u> 18:28:01 Error position: <<null> = <null> + (units _unitGroup); _u> 18:28:01 Error Invalid number in expression 18:28:01 [EMS]: (<null>) 4 AI Spawned, any units in mission. 18:28:01 Error in expression <tGroup); _unitMissionCount = count %1;",_unitArrayName]; diag_log text format["> 18:28:01 Error position: <_unitArrayName]; diag_log text format["> 18:28:01 Error Undefined variable in expression: _unitarrayname 18:28:01 File z\addons\dayz_server\EMS\Scripts\DZMSAISpawn.sqf, line 141 Link to comment Share on other sites More sharing options...
Defent Posted July 30, 2014 Author Report Share Posted July 30, 2014 Sadly, I do not know what causes that error and I have not had enough time to check it either, my bad. I will get working on it soon hopefully. Link to comment Share on other sites More sharing options...
MuhChy Posted July 31, 2014 Report Share Posted July 31, 2014 No problem dude Link to comment Share on other sites More sharing options...
TheVampire Posted August 3, 2014 Report Share Posted August 3, 2014 Hey guys, Missions are loading up great, the only problem I'm having is certain AI bodies seem to crash the users client when they walk up to the ai bodies, I've check the rpt logs and there doesnt seem to be anything related to that, any clues at to what it could be? or has anyone else had this issue? Edit:Right I've figured out what was causing the crashes looks like items i had added to the ai inventory was causing it: Items added were: bloodbag morphine antibiotics nv goggles binocular vector (I have a sneaky feeling it was this one item causing the error, will test later) removed all of these but painkillers but now i'm getting this error over and over again whenever a mission spawns ai 9:20:19 Warning Message: No entry 'bin\config.bin/CfgWeapons.ItemPainkiller'. 9:20:19 Warning Message: No entry '.scope'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: Error: creating weapon ItemPainkiller with scope=private 9:20:19 Warning Message: No entry '.displayName'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.nameSound'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.type'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.picture'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.Library'. 9:20:19 Warning Message: No entry '.libTextDesc'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.model'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.simulation'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.fireLightDuration'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.fireLightIntensity'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.weaponLockDelay'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.weaponLockSystem'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.cmImmunity'. 9:20:19 Warning Message: '/' is not a value 9:20:19 Warning Message: No entry '.lockingTargetSound'. 9:20:19 Warning Message: Size: '/' not an array 9:20:19 Warning Message: No entry '.lockedTargetSound'. 9:20:19 Warning Message: Size: '/' not an array 9:20:19 Warning Message: No entry '.muzzles'. 9:20:19 Warning Message: Size: '/' not an array 9:20:19 No owner 9:20:19 No owner You have the painkillers being added in the wrong spot. They are trying to be added as a weapon instead of a magazine. Link to comment Share on other sites More sharing options...
monkeebhoy Posted August 3, 2014 Report Share Posted August 3, 2014 Hi, i have installed this along with DZAI. However there are NO ai spawning at them. Is there anything i can do to change it? DZAI works as normal. It's just the ems unfortunately. Link to comment Share on other sites More sharing options...
TheVampire Posted August 4, 2014 Report Share Posted August 4, 2014 Hi, i have installed this along with DZAI. However there are NO ai spawning at them. Is there anything i can do to change it? DZAI works as normal. It's just the ems unfortunately. Without an RPT we can't tell you why they aren't spawning. Link to comment Share on other sites More sharing options...
Doctruscott Posted August 6, 2014 Report Share Posted August 6, 2014 Hello, i am trying to install this to my epoch server but every time i do the server hangs on "waiting to authenticate". Hiveext.log shows this error : HiveExt: [Error] Invalid method id: 999 .RPT shows this as the first error and it keeps going like this for a long time : 5:49:24 Error in expression <compile format ["%1", _data]; _status = _result select 0; msgList = []; _msgCou> 5:49:24 Error position: <_result select 0; msgList = []; _msgCou> 5:49:24 Error Undefined variable in expression: _result 5:49:24 File z\addons\dayz_server\system\server_monitor.sqf, line 51 5:49:24 "HIVE: found 323 objects" 5:49:24 "HIVE: Commence Object Streaming..." 5:49:24 "HIVE: got 323 objects" 5:49:24 "DEBUG FPS : 7.92472" 5:50:06 Error in expression <then { [_entity, _selection, _dam] call fnc_veh_handleDam; }; }; } forEach _hitp> Anyone have any clue whats going on ? i followed the directions to the letter and im hosted on dayz.st Link to comment Share on other sites More sharing options...
Defent Posted August 6, 2014 Author Report Share Posted August 6, 2014 You must have installed it wrong. Try reinstalling it again. That error shouldnt appear. Link to comment Share on other sites More sharing options...
ReDBaroN Posted August 9, 2014 Report Share Posted August 9, 2014 New Errors for you my friend :) And btw, i wonder how to add overwatch weapons to the weapon crates ? I tried it but they never appear. 18:27:58 "[EMS]: Minor SM2 Bandit Mission Party Outpost has started." 18:28:01 Error in expression <<null> = <null> + (units _unitGroup); _u> 18:28:01 Error position: <<null> = <null> + (units _unitGroup); _u> 18:28:01 Error Invalid number in expression 18:28:01 Error in expression <<null> = <null> + (units _unitGroup); _u> 18:28:01 Error position: <<null> = <null> + (units _unitGroup); _u> 18:28:01 Error Invalid number in expression 18:28:01 [EMS]: (<null>) 4 AI Spawned, any units in mission. 18:28:01 Error in expression <tGroup); _unitMissionCount = count %1;",_unitArrayName]; diag_log text format["> 18:28:01 Error position: <_unitArrayName]; diag_log text format["> 18:28:01 Error Undefined variable in expression: _unitarrayname 18:28:01 File z\addons\dayz_server\EMS\Scripts\DZMSAISpawn.sqf, line 141 +1 for me with this error and my server crashed soon afterwards. Not totally vertain the crash was related but, we don't normally crash for any reason (no errors other than object spam in my rpt). Link to comment Share on other sites More sharing options...
ssthief Posted August 9, 2014 Report Share Posted August 9, 2014 The error above was because of Minor SM2 mission. DZMSAISpawn call didnt assign them to array. I replaced line 57 of minor SM2 with [[(_coords select 0) + 20, (_coords select 1) + 15,0],4,1,"DZMSUnitsMinor"] call DZMSAISpawn; Now all is fine. @Defent I really appreciate all the effort you have put into this!! mgm and Defent 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now