Fuchs Posted February 12, 2014 Author Report Share Posted February 12, 2014 Not all Vehicles can be selled ,but you have the option to save them into the Database ! I had only the a little piece of time for testing it. Tested with 1.0.4 but newer ones should also work ! May u not changed all dzms settings to ems ,i need to test if it works with !!!! Uralwreck,Sniper,Angry Axemans were not working like they should for now ! EMS Boxes were also not included in the Pre Release ! Link to comment Share on other sites More sharing options...
thekaboobie Posted February 12, 2014 Report Share Posted February 12, 2014 So been running it on my test server and a minor mission loaded and was cleared by an admin and a player that we brought in for testing. AI having gear stripped when run over worked well btw, so thanks for that. However when it came time to load the major mission I got this error in my rpt and the mission did not load. 15:09:50 "[DZMS]: Running Major Mission SM8." 15:09:50 Error in expression <lect 1) - 5,0],[], 0, "NONE"]; _crate = createVehicle ["USVehicleBox",[(_coords > 15:09:50 Error position: <createVehicle ["USVehicleBox",[(_coords > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Missions\Major\SM8.sqf, line 18 15:09:50 Error in expression <; DZMSMajName = _this select 1; _nul = createMarker ["DZMSMajMarker", DZMSMajCo> 15:09:50 Error position: <createMarker ["DZMSMajMarker", DZMSMajCo> 15:09:50 Error 0 elements provided, 3 expected 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAddMajMarker.sqf, line 10 15:09:50 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:50 Error position: <createUnit [_aiskin, [(_position select > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:50 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:50 Error position: <createUnit [_aiskin, [(_position select > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:50 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:50 Error position: <createUnit [_aiskin, [(_position select > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:50 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:50 Error position: <createUnit [_aiskin, [(_position select > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:50 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:50 Error position: <createUnit [_aiskin, [(_position select > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:50 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:50 Error position: <createUnit [_aiskin, [(_position select > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:50 Error in expression <xpos-20, _ypos, 0]; _wp1 = _unitGroup addWaypoint [_wppos1, _wpRadius]; _wp1 s> 15:09:50 Error position: <addWaypoint [_wppos1, _wpRadius]; _wp1 s> 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 109 15:09:55 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:55 Error position: <createUnit [_aiskin, [(_position select > 15:09:55 Error Type Any, expected Number 15:09:55 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:55 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:55 Error position: <createUnit [_aiskin, [(_position select > 15:09:55 Error Type Any, expected Number 15:09:55 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:55 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:55 Error position: <createUnit [_aiskin, [(_position select > 15:09:55 Error Type Any, expected Number 15:09:55 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:55 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:55 Error position: <createUnit [_aiskin, [(_position select > 15:09:55 Error Type Any, expected Number 15:09:55 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:55 Error in expression <xpos-20, _ypos, 0]; _wp1 = _unitGroup addWaypoint [_wppos1, _wpRadius]; _wp1 s> 15:09:55 Error position: <addWaypoint [_wppos1, _wpRadius]; _wp1 s> 15:09:55 Error Type Any, expected Number 15:09:55 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 109 15:10:00 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:10:00 Error position: <createUnit [_aiskin, [(_position select > 15:10:00 Error Type Any, expected Number 15:10:00 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:10:00 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:10:00 Error position: <createUnit [_aiskin, [(_position select > 15:10:00 Error Type Any, expected Number 15:10:00 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:10:00 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:10:00 Error position: <createUnit [_aiskin, [(_position select > 15:10:00 Error Type Any, expected Number 15:10:00 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:10:00 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:10:00 Error position: <createUnit [_aiskin, [(_position select > 15:10:00 Error Type Any, expected Number 15:10:00 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:10:00 Error in expression <xpos-20, _ypos, 0]; _wp1 = _unitGroup addWaypoint [_wppos1, _wpRadius]; _wp1 s> 15:10:00 Error position: <addWaypoint [_wppos1, _wpRadius]; _wp1 s> 15:10:00 Error Type Any, expected Number 15:10:00 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 109 Also it will not work obviously with the folder being EMS if you don't change all the file paths in the every script to incorporate that. Also any chance of getting some of the WAI missions ported over here there were some really neat ones. Also turrets are awesome you should put in turrets. antartis 1 Link to comment Share on other sites More sharing options...
antartis Posted February 13, 2014 Report Share Posted February 13, 2014 So been running it on my test server and a minor mission loaded and was cleared by an admin and a player that we brought in for testing. AI having gear stripped when run over worked well btw, so thanks for that. However when it came time to load the major mission I got this error in my rpt and the mission did not load. 15:09:50 "[DZMS]: Running Major Mission SM8." 15:09:50 Error in expression <lect 1) - 5,0],[], 0, "NONE"]; _crate = createVehicle ["USVehicleBox",[(_coords > 15:09:50 Error position: <createVehicle ["USVehicleBox",[(_coords > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Missions\Major\SM8.sqf, line 18 15:09:50 Error in expression <; DZMSMajName = _this select 1; _nul = createMarker ["DZMSMajMarker", DZMSMajCo> 15:09:50 Error position: <createMarker ["DZMSMajMarker", DZMSMajCo> 15:09:50 Error 0 elements provided, 3 expected 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAddMajMarker.sqf, line 10 15:09:50 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:50 Error position: <createUnit [_aiskin, [(_position select > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:50 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:50 Error position: <createUnit [_aiskin, [(_position select > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:50 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:50 Error position: <createUnit [_aiskin, [(_position select > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:50 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:50 Error position: <createUnit [_aiskin, [(_position select > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:50 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:50 Error position: <createUnit [_aiskin, [(_position select > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:50 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:50 Error position: <createUnit [_aiskin, [(_position select > 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:50 Error in expression <xpos-20, _ypos, 0]; _wp1 = _unitGroup addWaypoint [_wppos1, _wpRadius]; _wp1 s> 15:09:50 Error position: <addWaypoint [_wppos1, _wpRadius]; _wp1 s> 15:09:50 Error Type Any, expected Number 15:09:50 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 109 15:09:55 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:55 Error position: <createUnit [_aiskin, [(_position select > 15:09:55 Error Type Any, expected Number 15:09:55 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:55 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:55 Error position: <createUnit [_aiskin, [(_position select > 15:09:55 Error Type Any, expected Number 15:09:55 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:55 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:55 Error position: <createUnit [_aiskin, [(_position select > 15:09:55 Error Type Any, expected Number 15:09:55 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:55 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:09:55 Error position: <createUnit [_aiskin, [(_position select > 15:09:55 Error Type Any, expected Number 15:09:55 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:09:55 Error in expression <xpos-20, _ypos, 0]; _wp1 = _unitGroup addWaypoint [_wppos1, _wpRadius]; _wp1 s> 15:09:55 Error position: <addWaypoint [_wppos1, _wpRadius]; _wp1 s> 15:09:55 Error Type Any, expected Number 15:09:55 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 109 15:10:00 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:10:00 Error position: <createUnit [_aiskin, [(_position select > 15:10:00 Error Type Any, expected Number 15:10:00 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:10:00 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:10:00 Error position: <createUnit [_aiskin, [(_position select > 15:10:00 Error Type Any, expected Number 15:10:00 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:10:00 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:10:00 Error position: <createUnit [_aiskin, [(_position select > 15:10:00 Error Type Any, expected Number 15:10:00 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:10:00 Error in expression <_fnc_selectRandom; _unit = _unitGroup createUnit [_aiskin, [(_position select > 15:10:00 Error position: <createUnit [_aiskin, [(_position select > 15:10:00 Error Type Any, expected Number 15:10:00 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 32 15:10:00 Error in expression <xpos-20, _ypos, 0]; _wp1 = _unitGroup addWaypoint [_wppos1, _wpRadius]; _wp1 s> 15:10:00 Error position: <addWaypoint [_wppos1, _wpRadius]; _wp1 s> 15:10:00 Error Type Any, expected Number 15:10:00 File z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf, line 109 Also it will not work obviously with the folder being EMS if you don't change all the file paths in the every script to incorporate that. Also any chance of getting some of the WAI missions ported over here there were some really neat ones. Also turrets are awesome you should put in turrets. I will wait then. Link to comment Share on other sites More sharing options...
Mystykall Posted February 13, 2014 Report Share Posted February 13, 2014 Major Mission SM8 is broken for me as well. Skill level 2 AI have had issues loading weapons. Link to comment Share on other sites More sharing options...
TheVampire Posted February 13, 2014 Report Share Posted February 13, 2014 To fix Major SM8, find this line: _missName = "C-130 Crash"; and put this below it: //DZMSFindPos loops BIS_fnc_findSafePos until it gets a valid result _coords = call DZMSFindPos; Its erroring because _coords is undefined, because those lines were ommited. Fuchs 1 Link to comment Share on other sites More sharing options...
Mystykall Posted February 13, 2014 Report Share Posted February 13, 2014 "Constructors" mission was pointing crate toward "medical" instead of "supply" works when changed. Link to comment Share on other sites More sharing options...
Brutus Posted February 13, 2014 Report Share Posted February 13, 2014 Really nice job guys... Just tryed it on server test and all vehicules saved at restart and able to be sell. Marker look really cool. Bug found so far: AC 130 mission buged ( the AI still jumping when they are on the rear of the plane) i personnaly changed the AC130 with a chopper wreck Not found anything more so far i launch it on our server. I tell you back anymore bug so far. I will try to add more mission too PS: i translated all text in french... Link to comment Share on other sites More sharing options...
Brutus Posted February 13, 2014 Report Share Posted February 13, 2014 For epoch, some classname of vehicle have to be modified ( UH1H etc) or you need to add them on your database as epoch dont get them. I personnaly just changed some vehicules classname to reflect Epoch server vehicles classname and they all can be sell. Anyway, i wonder if medical and constrcution item are added to box ( dont see no one so far). Link to comment Share on other sites More sharing options...
Fuchs Posted February 13, 2014 Author Report Share Posted February 13, 2014 sm8 fixed , working on the boxes for today ! @ Vamp nice to see you here >! Link to comment Share on other sites More sharing options...
Brutus Posted February 14, 2014 Report Share Posted February 14, 2014 I tryed to place a new mission. SM7 (major one) The mission marker and warning showing right but no AI or vehicles/box on it... As i'm not really a coder it's like normal :P The mission is this one: /* Troupe amphibie by Brutus(Full credit for original code to TheSzerdi & TAW_Tonic) Modified to new format by Vampire */ private ["_missName","_coords","_crate","_vehicle"]; //Name of the Mission _missName = "Unité Amphibie"; //DZMSFindPos loops BIS_fnc_findSafePos until it gets a valid result _coord1 = [13739.917, 3029.115, 0.00026702881]; _coord2 = [14112.387, 2877.334, -0.00013399124]; _coord3 = [13453.947, 3060.4421, -0.00012183189]; _coords = [_coord1, _coord2, _coord3] call BIS_fnc_selectRandom; [nil,nil,rTitleText,"Une unité amphibie a débarqué, récupérez ce que vous pourrez!", "PLAIN",10] call RE; //DZMSAddMajMarker is a simple script that adds a marker to the location [_coords,_missname] ExecVM DZMSAddMajMarker; //We create the vehicles like normal _vehicle = createVehicle ["GAZ_Vodnik_MedEvac","GAZ_Vodnik_DZE","BTR90_HQ","LAV25"] call BIS_fnc_selectRandom; //DZMSSetupVehicle prevents the vehicle from disappearing and sets fuel and such [_vehicle] call DZMSSetupVehicle; _crate = createVehicle ["USVehicleBox",_coords,[], 0, "CAN_COLLIDE"]; //DZMSBoxFill fills the box, DZMSProtectObj prevents it from disappearing [_crate,"weapons"] ExecVM DZMSBoxSetup; [_crate] call DZMSProtectObj; //DZMSAISpawn spawns AI to the mission. //Usage: [_coords, count, skillLevel] [_coords,6,3] ExecVM DZMSAISpawn; sleep 5; [_coords,6,2] ExecVM DZMSAISpawn; sleep 5; [_coords,6,1] ExecVM DZMSAISpawn; sleep 5; [_coords,6,3] ExecVM DZMSAISpawn; sleep 5; [_coords,6,2] ExecVM DZMSAISpawn; sleep 5; [_coords,4,1] ExecVM DZMSAISpawn; sleep 5; [_coords,4,3] ExecVM DZMSAISpawn; sleep 5; [_coords,4,3] ExecVM DZMSAISpawn; sleep 5; [_coords,4,1] ExecVM DZMSAISpawn; sleep 5; [_coords,4,1] ExecVM DZMSAISpawn; sleep 5; //Wait until the player is within 30meters waitUntil{{isPlayer _x && _x distance _coords <= 30 } count playableunits > 0}; //Call DZMSSaveVeh to attempt to save the vehicles to the database //If saving is off, the script will exit. [_vehicle] ExecVM DZMSSaveVeh; //Let everyone know the mission is over [nil,nil,rTitleText,"L'unité Amphibie n'existe plus!", "PLAIN",6] call RE; diag_log format["[DZMS]: Major SM7 Units Amphibie Mission has Ended."]; deleteMarker "DZMSMajMarker"; deleteMarker "DZMSMajDot"; //Let the timer know the mission is over DZMSMajDone = true; This mission is always located on 3 points around Skalisty Island beach. But as i said, it doesnt really work Link to comment Share on other sites More sharing options...
TheVampire Posted February 14, 2014 Report Share Posted February 14, 2014 I tryed to place a new mission. SM7 (major one) The mission marker and warning showing right but no AI or vehicles/box on it... As i'm not really a coder it's like normal :P The mission is this one: This mission is always located on 3 points around Skalisty Island beach. But as i said, it doesnt really work This line is wrong. You need to look at how the crate is created. _vehicle = createVehicle ["GAZ_Vodnik_MedEvac","GAZ_Vodnik_DZE","BTR90_HQ","LAV25"] call BIS_fnc_selectRandom; Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 14, 2014 Report Share Posted February 14, 2014 Wow. Lots of bugs. Will a new version be released with a new version number with all the bug fixes in place? Link to comment Share on other sites More sharing options...
FoamysWorld Posted February 14, 2014 Report Share Posted February 14, 2014 Since my question got avoided in the other thread I'll ask it here too. Clearly, these mission systems have tons of bugs and seem to be all over the place from a development standpoint. Why, is so much effort being put into these various systems that, from what I have read, only get so far before they get sidetracked into something else by someone else and rarely ever getting to a point where it works really well. Why are we not, as a community, developing quality mission scripts for the built in mission system which works great by the way. I don't see anyone developing for the built in system... why? With a few additional function scripts it's super flexible and reliable. I don't get it... Anyone care to answer this for me? Link to comment Share on other sites More sharing options...
Fuchs Posted February 14, 2014 Author Report Share Posted February 14, 2014 here's your version number and changelog, have a nice weekend !im off ! https://github.com/TheFuchs/EMS-0.3 Link to comment Share on other sites More sharing options...
NAIL Posted February 14, 2014 Report Share Posted February 14, 2014 Thank you I have never used github besides downloading, But I will try to fork a version of this and document my changes so that the community may benifit from a few of the higher end.missions I have wrote with the much older version of ems. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 14, 2014 Report Share Posted February 14, 2014 here's your version number and changelog, have a nice weekend !im off ! https://github.com/TheFuchs/EMS-0.3 It goes from 1.0 to 0.3? Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 14, 2014 Report Share Posted February 14, 2014 Since my question got avoided in the other thread I'll ask it here too. Clearly, these mission systems have tons of bugs and seem to be all over the place from a development standpoint. Why, is so much effort being put into these various systems that, from what I have read, only get so far before they get sidetracked into something else by someone else and rarely ever getting to a point where it works really well. Why are we not, as a community, developing quality mission scripts for the built in mission system which works great by the way. I don't see anyone developing for the built in system... why? With a few additional function scripts it's super flexible and reliable. I don't get it... Anyone care to answer this for me? I've been using WAI for a few weeks now and I love it. I had to clean it up a little, like changing the C-130 mission to a Heli instead because of glitching issues, and I change the farmer's helicopter to a cargo truck, but otherwise it's been very stable. It would definitely be better if some of these authors combined their work. I'll continue to watch EMS but right now there's too many reports of messed up missions. Link to comment Share on other sites More sharing options...
Brutus Posted February 14, 2014 Report Share Posted February 14, 2014 Is it better right now? I 'm gonna try it /* Troupe amphibie by Brutus(Full credit for original code to TheSzerdi & TAW_Tonic) Modified to new format by Vampire */ private ["_missName","_coords","_crate","_vehicle","_ranvehicle"]; //Name of the Mission _missName = "Unité Amphibie"; //DZMSFindPos loops BIS_fnc_findSafePos until it gets a valid result _coord1 = [13739.917, 3029.115, 0.00026702881]; _coord2 = [14112.387, 2877.334, -0.00013399124]; _coord3 = [13453.947, 3060.4421, -0.00012183189]; _coords = [_coord1, _coord2, _coord3] call BIS_fnc_selectRandom; [nil,nil,rTitleText,"Une unité amphibie a débarqué, récupérez ce que vous pourrez!", "PLAIN",10] call RE; //DZMSAddMajMarker is a simple script that adds a marker to the location [_coords,_missname] ExecVM DZMSAddMajMarker; //We create the vehicles like normal _ranvehicle = ["GAZ_Vodnik_MedEvac","GAZ_Vodnik_DZE","BTR90_HQ","LAV25"] call BIS_fnc_selectRandom; _vehicle = createVehicle [_ranvehicle,_coords,[], 0, "NONE"]; //DZMSSetupVehicle prevents the vehicle from disappearing and sets fuel and such [_vehicle] call DZMSSetupVehicle; _crate = createVehicle ["USVehicleBox",_coords,[], 0, "CAN_COLLIDE"]; //DZMSBoxFill fills the box, DZMSProtectObj prevents it from disappearing [_crate,"weapons"] ExecVM DZMSBoxSetup; [_crate] call DZMSProtectObj; //DZMSAISpawn spawns AI to the mission. //Usage: [_coords, count, skillLevel] [_coords,6,3] ExecVM DZMSAISpawn; sleep 5; [_coords,6,2] ExecVM DZMSAISpawn; sleep 5; [_coords,6,1] ExecVM DZMSAISpawn; sleep 5; [_coords,6,3] ExecVM DZMSAISpawn; sleep 5; [_coords,6,2] ExecVM DZMSAISpawn; sleep 5; [_coords,4,1] ExecVM DZMSAISpawn; sleep 5; [_coords,4,3] ExecVM DZMSAISpawn; sleep 5; [_coords,4,3] ExecVM DZMSAISpawn; sleep 5; [_coords,4,1] ExecVM DZMSAISpawn; sleep 5; [_coords,4,1] ExecVM DZMSAISpawn; sleep 5; //Wait until the player is within 30meters waitUntil{{isPlayer _x && _x distance _coords <= 30 } count playableunits > 0}; //Call DZMSSaveVeh to attempt to save the vehicles to the database //If saving is off, the script will exit. [_vehicle] ExecVM DZMSSaveVeh; //Let everyone know the mission is over [nil,nil,rTitleText,"L'unité Amphibie n'existe plus!", "PLAIN",6] call RE; diag_log format["[DZMS]: Major SM7 Units amphibie Mission has Ended."]; deleteMarker "DZMSMajMarker"; deleteMarker "DZMSMajDot"; //Let the timer know the mission is over DZMSMajDone = true; Link to comment Share on other sites More sharing options...
Brutus Posted February 14, 2014 Report Share Posted February 14, 2014 Working great, thank you for your help. No more bug so far. This missions editing are really nice PS: if you are interested, i used 12 random coordonny for all my 11 major's mission. ( and almost each mission got his own 12 random coord) They are edited to bring whereit will not be so easy to finish them. I also translated all your text in french Link to comment Share on other sites More sharing options...
GhostTown Posted February 14, 2014 Report Share Posted February 14, 2014 Nvm I just went ahead and installed it xD Now the mission markers on the map. How would I take off the black dot with the name of the mission and just leave the red circle? Also someone gave me this little script to play when the hillbilly mission starts. But I cant figure out how to get it to work. Anyone got any ideas? //Created by TheSzerdi while {MissionGoMinor == 1} do { waitUntil{{isPlayer _x && _x distance Mcoords < 200 } count playableunits > 0}; _nil = [objNull, player, rTitleText, "hillbilly"] call RE; sleep 30; playSound "hillbilly"; sleep 2; cutText ["The Slender comes", "PLAIN DOWN", 3]; titleFadeOut 4; }; Link to comment Share on other sites More sharing options...
Brutus Posted February 14, 2014 Report Share Posted February 14, 2014 """"" Now the mission markers on the map. How would I take off the black dot with the name of the mission and just leave the red circle? """"" i guess you can try this. you have to delete the "_missName" on this : private ["_missName","_coords","_crate","_vehicle","_ranvehicle"]; and comment this ; //Name of the Mission // _missName = "Unité Amphibie"; Link to comment Share on other sites More sharing options...
GhostTown Posted February 14, 2014 Report Share Posted February 14, 2014 Thank you! :) Also found this error in my RPT, 12:01:35 "[DZMS]: Running Minor Mission SM10." 12:01:36 Error in expression <"_object","_objectID"]; _object = _this select 0; _objectID = str(round(random > 12:01:36 Error position: <select 0; _objectID = str(round(random > 12:01:36 Error select: Type Object, expected Array,Config entry 12:01:36 File z\addons\dayz_server\EMS\DZMSFunctions.sqf, line 157 Link to comment Share on other sites More sharing options...
TheVampire Posted February 14, 2014 Report Share Posted February 14, 2014 """"" Now the mission markers on the map. How would I take off the black dot with the name of the mission and just leave the red circle? """"" i guess you can try this. you have to delete the "_missName" on this : private ["_missName","_coords","_crate","_vehicle","_ranvehicle"]; and comment this ; //Name of the Mission // _missName = "Unité Amphibie"; If you did that, I think DZMSAddMajMarker or DZMSAddMinMarker will start complaining about an undefined variable, or a null text element. You need to remove it from those two scripts, and from DZMSMarkerLoop.sqf. Nvm I just went ahead and installed it xD Now the mission markers on the map. How would I take off the black dot with the name of the mission and just leave the red circle? Also someone gave me this little script to play when the hillbilly mission starts. But I cant figure out how to get it to work. Anyone got any ideas? //Created by TheSzerdi while {MissionGoMinor == 1} do { waitUntil{{isPlayer _x && _x distance Mcoords < 200 } count playableunits > 0}; _nil = [objNull, player, rTitleText, "hillbilly"] call RE; sleep 30; playSound "hillbilly"; sleep 2; cutText ["The Slender comes", "PLAIN DOWN", 3]; titleFadeOut 4; }; That is for the old mission system. DZMS and EMS have all the variables and logic completely recoded, so you can't just drop that in your mission.pbo anymore. Thank you! :) Also found this error in my RPT, 12:01:35 "[DZMS]: Running Minor Mission SM10." 12:01:36 Error in expression <"_object","_objectID"]; _object = _this select 0; _objectID = str(round(random > 12:01:36 Error position: <select 0; _objectID = str(round(random > 12:01:36 Error select: Type Object, expected Array,Config entry 12:01:36 File z\addons\dayz_server\EMS\DZMSFunctions.sqf, line 157 In Minor SM10.sqf find this line: _vehicle call DZMSProtectObj; and change it to [_vehicle] call DZMSProtectObj; Also apparantly Fuchs doesn't have that mission announce itself, and has it trying to save the MI8 wreck to the database.... Link to comment Share on other sites More sharing options...
TheVampire Posted February 14, 2014 Report Share Posted February 14, 2014 Since my question got avoided in the other thread I'll ask it here too. Clearly, these mission systems have tons of bugs and seem to be all over the place from a development standpoint. Why, is so much effort being put into these various systems that, from what I have read, only get so far before they get sidetracked into something else by someone else and rarely ever getting to a point where it works really well. Why are we not, as a community, developing quality mission scripts for the built in mission system which works great by the way. I don't see anyone developing for the built in system... why? With a few additional function scripts it's super flexible and reliable. I don't get it... Anyone care to answer this for me? EMS is based off my work, DZMS. I'm here to try to help people with in general with bugs, but i'm not developing.for EMS. It's Fuchs project. DZMS will have Epoch specific missions that are unique and seperate from EMS. I guess most people look at the built in Epoch events more as events. There isn't AI built into it, so it is used for events that don't involve AI. Most people feel that if there is loot there to be had, it needs to be protected by something deadly, which the vanilla event system doesn't offer. Link to comment Share on other sites More sharing options...
GhostTown Posted February 14, 2014 Report Share Posted February 14, 2014 Thank you Vampire! I will test that out and see how it works. Also so is there a way to get the hillbilly mission to play a sound file? Cause thats the only reason why I was using that :P 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