Jump to content
Donnovan

Multi Mission DZMS - n Major and m Minor Missions

Recommended Posts

ElDubya,

 

In DZMSInit.sqf, search for this line:

if (_x distance _coords < 700) then {

You will find it two times, one time for the Major missions and another for the Minor missions.

 

The distance to spawn bots in this case is 700 meters, you can change 700 to wathever you want.

 

Cheers mate :)

Share this post


Link to post
Share on other sites

Ok, so...unique issues...

 

While in god mode I ran up to the mission, at about 100 meters from the actual Ural Wreck spawned by this script. (Minor Mission 6?) The mission completed it's self. In the config it's set to complete after killing 100% of the bandits. I didn't fire a single shot and maybe two or three died to friendly fire. The ones that were alive continued to fire at me until they de spawned. -edit- I derped. [fixed = forgot to upload the correct file to server]

 

Also, reports of AI roaming more or less alone, far from the actual mission and not firing on players. (have not seen it myself yet)

 

This, modified DZMS is the only script spawning AI.

 

-edit 2-

Just seen a group of bandits from a Medical Supply mission walking around a town about 2km out of their spawn area carrying stingers. (RPGs turned off) Only thing different is using this script over normal DZMS, and using the _CU flag, on the new infistar.

Share this post


Link to post
Share on other sites

I'm trying to use this for missions that spawn in specific locations. I have this in my mission:

_towncoords = [[8222.9717, 2127.9541, 0],[5998.3379, 1166.9838],[6545.4092, 2026.7975, 0],[4651.0962, 709.08813, 0],[3610.5391, 1218.2251, 0],[2073.8711, 301.98364, 0],[3556.9121, 4159.3286, 0],[3757.7896, 4341.749, 0],[3609.9912, 5577.2065, 0],[2535.4414, 5069.4526, 0],[2518.9219, 5005.311, 0],[1481.6387, 3582.3516, 0],[1005.6777, 3174.5872, 0],[747.98584, 2956.5186, 0],[574.3291, 2857.2341, 0],[79.130371, 2784.7336, 0],[1751.4443, 5647.313, 0],[1536.2651, 5751.0596, 0],[2152.6909, 7629.4233, 0],[3179.7993, 8218.7646, 0],[3649.2334, 8587.9004, 0],[3121.1777, 9927.0283, 0],[3495.5928, 9978.8008, 0],[1629.0176, 11623.88, 0],[2049.334, 11775.312, 0],[1858.8105, 11938.297, 0],[4231.0571, 10727.371, 0],[4357.667, 10857.482, 0],[3789.9141, 10382.815, 0],[4653.3525, 9452.8691, 0],[5664.1421, 9889.7041, 0],[5718.5781, 9953.7451, 0],[6010.5278, 10497.971, 0],[6272.7207, 10800.71, 0],[6174.8765, 11179.104, 0],[6270.8682, 11267.427, 0],[6358.9077, 11268.563, 0],[6079.8047, 11498.809, 0],[5948.2988, 11888.1, 0],[6804.313, 12244.353, 0],[5544.5571, 9349.0596, 0],[5718.4297, 8927.9854, 0],[5575.2969, 8868.7471, 0],[6827.752, 8887.4072, 0],[8251.0234, 7757.46, 0],[9356.4424, 10019.511, 0],[9813.8799, 11495.415, 0],[9961.2744, 11409.648, 0],[12110.041, 11092.733, 0],[12292.656, 11174.848, 0],[12310.943, 10468.901, 0],[12334.915, 10309.597, 0],[12544.718, 9980.5605, 0],[11531.161, 8287.4238, 0],[9151.8467, 6774.1484, 0],[9146.4297, 6697.6099, 0],[10427.865, 6412.2085, 0],[10555.648, 6307.21, 0],[10817.251, 6350.1021, 0],[8907.5605, 5276.3062, 0],[6792.6987, 6111.0972, 0],[5988.2803, 7292.7612, 0],[5989.9839, 7178.3096, 0],[6724.9033, 7395.5854, 0],[6882.7188, 6512.7969, 0],[5914.1133, 6328.0776, 0],[5059.8398, 6880.9175, 0],[5824.7212, 5640.9692, 0],[6173.4351, 5667.3242, 0],[8537.1963, 2468.3364, 0],[8394.377, 2478.1594, 0],[10086.935, 2292.5125, 0],[10277.779, 2331.2561, 0],[10988.422, 2480.4375, 0],[11922.675, 2637.8289, 0]] call BIS_fnc_selectRandom;

I then have this line after that:

_coords = [_towncoords, _code] call DZMSFindPos;

However, with this version of DZMS, the DZMSFindPos line usually looks like this:

_coords = ["Maj", _code] call DZMSFindPos;

When using my DZMSFindPos line, I get an error in the server log:

21:58:32 Error in expression <)) then {
_findRun = false;
if (_majMin == "Maj") then {
DZMS_MajBlack set [_cod>
21:58:32   Error position: <== "Maj") then {
DZMS_MajBlack set [_cod>
21:58:32   Error ==: Type Array, expected Number,String,Object,Side,Group,Text,Config entry,Display (dialog),Control,Team member,Task,Location
21:58:32 File z\addons\dayz_server\DZMS\DZMSFunctions.sqf, line 112

So, is there a way for me to use static positions with this?

Share this post


Link to post
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

  • Similar Content

    • By xtrmsnpr
      Hello to all.

      So, the old company from {grof communty} is back,this time away from that clan.We are operating by ourselves and we have opened a new dayz mod epoch server!
      https://steamcommunity.com/groups/kirterpos

      And we want you to join us and have fun!
      It runs 24/7

      Server IP:
      144.76.99.158:2600

      Name:
      Kir Terpos Playground Epoch|DAY/NIGHT|Startkit|Custom events

      Map: Chernarus

      Slots:
      30

      Location:
      Germany


      --------

      In order to join the server, you need to download through DZlauncher these files:

      dayz Epoch 1.0.6.2

      and of course ARMA 2OA beta patch (obsolete) through STEAM.
      and arma2oa beta version from steam options!

      ---------------

      Server will restart every 6hours (no notification yet).
      Server will backup database every 8hours.

      Server has custom random events.
      Server has day/night circle (UTC+6)
      You start with custom gear,ready for PVP with a shiny m9SD and some surprises as well.

      @Sandbird is an extra feature to this server
      ---
      Discord for you:
      https://discord.gg/684KQH

      Welcome all,and we hope you like it.

      kir terpos aka kir menios aka xtrmsnpr
    • By JasonTM
      Download the files for DZMS Overpoch 1.0.6.2 Here: https://github.com/worldwidesorrow/DZMS-DayZMissionSystem-Overpoch
       
      This is an update to the DayZ Mission System by Vampire that was updated for DayZ Epoch 1.0.6.1 by ebayShopper: https://github.com/ebayShopper/DZMS-DayZMissionSystem
      This includes adding a few missions from EMS 0.3 by Fuchs:
       
      Updates:
      1. Added a variable in DZMSConfig.sqf to enable the AI to have money in their wallets if ZSC is installed.
      //If you have ZSC installed then you can set this to true to place money in ai wallets. DZMSAICheckWallet = false; 2. Added the Overwatch weapons to the AI and Crate configs.
      3. Expanded the selection of gear and vehicles available to the missions, AI config, and crate spawns.
      4. Created additional crate spawning options.
      5. Changed "UH60Wreck_DZ" to "UH60_ARMY_Wreck_burned_DZ" in minor mission SM4 because of "Cannot create non-ai vehicle UH60Wreck_DZ" error.
      6. Converted the format of a few EMS 0.3 missions and added them to the mission spawning arrays.
      7. There is an issue with the new small ammo boxes and medical crates which is not resolved.

      Here is a list of all of the Major and Minor missions with a few notes.
       
       
      Demo Video
       
       
    • By salival
      Hi guys,
      Quite a few admins asked me to release my Change Code script so here it is, It comes with BattlEye filters, too.
      This will allow players to set the code on placement/upgrade of doors, lockboxes and safes as well as changing them after they are placed.
      https://github.com/oiad/changeCode
    • By victorks
      my first work in editin :) https://uploaddeimagens.com.br/imagens/20180307202515_1-jpg https://uploaddeimagens.com.br/imagens/20180307202245_1-jpg DOWNLOAD: https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0 AI M2 NEED WAI: https://pastebin.com/GJMnPvZP ON THE MAP: https://pastebin.com/cyqH9rNV  
       
      https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0
       
       
       
       
       
       
       
       
       
    • By Grahame
      ARMA3 DayZ Mission System (DZMS)
      This is a purely derivative port of the DayZ Mission System to ARMA3/Epoch. I have added functionality where appropriate (equipping uniforms for example) and stripped and replaced ARMA2 or DayZ/Epoch specific code in this implementation.
      The DayZ Mission System is a very good, lightweight and modular mission system.
      Credits
      There are a lot of people who have contributed to DZMS on A2/DayZ/Epoch. Please check the links below for many of them. Personally they all have my thanks for providing a solid mission system that has been a lot of fun to play in the years I've spent on DayZ/Epoch:
      Download
      Download from GitHub at:
      https://github.com/morgoth0/A3E-DZMS
      Installation Instructions
      If using Vanilla ARMA3/Epoch, and you just want to just try it out simply download and upload the DZMS.pbo in the @EpochHive folder into the @EpochHive/addons folder on your server.
      The source files, including the three config files are located in the DZMS folder on GitHub
      Coming soon
      All the missions included within the latest version of DZMS 1.1 uploaded by @JasonTM will be implemented using CUP Terrains Core for use on maps and servers that support it. A module to support Static weapons at missions More diverse and varied loot tables for custom crates A port of the DZMS Hotspots code for roadblocks and other such interesting things The ability to run multiple major, minor and hotspot missions Better configuration instructions and a mission file design tutorial
  • Advertisement
  • Advertisement
  • Supporters
  • Advertisement
  • Discord

×