DayZ Mission System

Does this mission work with sarge ai ?

Gesendet von meinem GT-I9100 mit Tapatalk 4
 
Hi Buttface - did you do this in the end?

Thanks :)

In the end I decided not to since I was only going to use 2 or 3 of the missions. I decided that if users wanted to add missions to their server, they should use this addon or another one like it instead.

And to BetterDeadThanZed's earlier question, this addon should be compatible with all versions of DZAI as long as you don't include the script file that changes side relations, I think it's called faction.sqf or something similar.
 
The faction file is unnecessary for DZAI since it already has side relations defined. If DZAI's side relations are overwritten strange things could happen. For example, the CIVILIAN side is set to be hostile to all by faction.sqf, so you would see DZAI's AI helicopters attacking the AI helicopters from the animated helicrash addon.
 
thought I would share in case anyone else was interested ..

Edits to the mission loot - to spawn some random loot.

This example is of fillBoxesM (mission loot edited for Epoch)

Code:
x=floor(random 5);    // generate a random number 0-4
 
 
if (x == 0) then {
_crate = _this select 0;
 
clearWeaponCargoGlobal _crate;
clearMagazineCargoGlobal _crate;
 
_crate addMagazineCargoGlobal ["ItemBandage", 5];
 
_crate addWeaponCargoGlobal ["ItemMatchbox", 5];
 
_crate addMagazineCargoGlobal ["ItemMorphine", 5];
 
_crate addMagazineCargoGlobal ["ItemEpinephrine", 5];
 
_crate addMagazineCargoGlobal ["ItemPainkiller", 5];
 
_crate addMagazineCargoGlobal ["ItemWaterbottle", 5];
 
_crate addMagazineCargoGlobal ["FoodCanBakedBeans", 5];
 
_crate addMagazineCargoGlobal ["ItemAntibiotic", 5];
 
_crate addMagazineCargoGlobal ["ItemBloodbag", 5];
 
_crate addMagazineCargoGlobal ["SmokeShellRed", 5];
 
_crate addMagazineCargoGlobal ["SmokeShellGreen", 5];
 
_crate addMagazineCargoGlobal ["SmokeShellPurple", 5];
 
_crate addMagazineCargoGlobal ["SmokeShellBlue", 5];
 
_crate addMagazineCargoGlobal ["30m_plot_kit", 2];
 
_crate addBackpackCargoGlobal ['DZ_Backpack_EP1', 1];
 
 
_crate addMagazineCargoGlobal ["PipeBomb", 3]; };
 
 
if (x == 1) then {
_crate = _this select 0;
 
clearWeaponCargoGlobal _crate;
clearMagazineCargoGlobal _crate;
 
_crate addMagazineCargoGlobal ["ItemBandage", 5];
 
_crate addWeaponCargoGlobal ["ItemMatchbox", 2];
 
_crate addMagazineCargoGlobal ["ItemMorphine", 6];
 
_crate addMagazineCargoGlobal ["ItemEpinephrine", 5];
 
_crate addMagazineCargoGlobal ["ItemPainkiller", 7];
 
_crate addMagazineCargoGlobal ["ItemWaterbottle", 4];
 
_crate addMagazineCargoGlobal ["FoodCanBakedBeans", 2];
 
_crate addMagazineCargoGlobal ["ItemAntibiotic", 10];
 
_crate addMagazineCargoGlobal ["ItemBloodbag", 3];
 
_crate addMagazineCargoGlobal ["SmokeShellRed", 10];
 
_crate addMagazineCargoGlobal ["SmokeShellGreen", 10];
 
_crate addMagazineCargoGlobal ["SmokeShellPurple", 7];
 
_crate addMagazineCargoGlobal ["30Rnd_556x45_StanagSD", 6];
 
_crate addMagazineCargoGlobal ["PartVRotor", 1];
 
_crate addBackpackCargoGlobal ['DZ_GunBag_EP1', 1];
 
 
_crate addMagazineCargoGlobal ["PipeBomb", 1]; };
 
if (x == 2) then {
_crate = _this select 0;
 
clearWeaponCargoGlobal _crate;
clearMagazineCargoGlobal _crate;
 
_crate addMagazineCargoGlobal ["ItemBandage", 3];
 
_crate addWeaponCargoGlobal ["ItemMatchbox", 3];
 
_crate addMagazineCargoGlobal ["ItemMorphine", 3];
 
_crate addMagazineCargoGlobal ["ItemEpinephrine", 3];
 
_crate addMagazineCargoGlobal ["ItemPainkiller", 3];
 
_crate addMagazineCargoGlobal ["ItemWaterbottle", 3];
 
_crate addMagazineCargoGlobal ["FoodCanBakedBeans", 15];
 
_crate addMagazineCargoGlobal ["ItemAntibiotic", 3];
 
_crate addMagazineCargoGlobal ["ItemBloodbag", 3];
 
_crate addMagazineCargoGlobal ["PartGlass", 3];
 
_crate addMagazineCargoGlobal ["SmokeShellGreen", 3];
 
_crate addMagazineCargoGlobal ["PartFueltank", 1];
 
_crate addMagazineCargoGlobal ["PartGeneric", 3];
 
_crate addMagazineCargoGlobal ["PartEngine", 1];
 
_crate addBackpackCargoGlobal ['DZ_Backpack_EP1', 1];
 
 
};
 
if (x == 3) then {
_crate = _this select 0;
 
clearWeaponCargoGlobal _crate;
clearMagazineCargoGlobal _crate;
 
_crate addMagazineCargoGlobal ["ItemBandage", 5];
 
_crate addWeaponCargoGlobal ["ItemMatchbox", 5];
 
_crate addMagazineCargoGlobal ["ItemMorphine", 5];
 
_crate addMagazineCargoGlobal ["ItemEpinephrine", 5];
 
_crate addMagazineCargoGlobal ["ItemPainkiller", 5];
 
_crate addMagazineCargoGlobal ["ItemWaterbottle", 5];
 
_crate addMagazineCargoGlobal ["FoodCanBakedBeans", 5];
 
_crate addMagazineCargoGlobal ["ItemAntibiotic", 5];
 
_crate addMagazineCargoGlobal ["ItemBloodbag", 5];
 
_crate addMagazineCargoGlobal ["SmokeShellRed", 5];
 
_crate addMagazineCargoGlobal ["SmokeShellGreen", 5];
 
_crate addMagazineCargoGlobal ["SmokeShellPurple", 5];
 
_crate addMagazineCargoGlobal ["30Rnd_556x45_StanagSD", 5];
 
_crate addMagazineCargoGlobal ["PartWheel", 5];
 
_crate addBackpackCargoGlobal ['DZ_Backpack_EP1', 1];
 
 
_crate addMagazineCargoGlobal ["PipeBomb", 1]; };
 
 
if (x == 4) then {
_crate = _this select 0;
 
clearWeaponCargoGlobal _crate;
clearMagazineCargoGlobal _crate;
 
_crate addMagazineCargoGlobal ["ItemBandage", 2];
 
_crate addWeaponCargoGlobal ["ItemMatchbox", 1];
 
_crate addMagazineCargoGlobal ["ItemMorphine", 3];
 
_crate addMagazineCargoGlobal ["ItemEpinephrine", 3];
 
_crate addMagazineCargoGlobal ["ItemPainkiller", 2];
 
_crate addMagazineCargoGlobal ["ItemWaterbottle", 2];
 
_crate addMagazineCargoGlobal ["FoodCanBakedBeans", 5];
 
_crate addMagazineCargoGlobal ["ItemAntibiotic", 5];
 
_crate addMagazineCargoGlobal ["ItemBloodbag", 2];
 
_crate addMagazineCargoGlobal ["SmokeShellRed", 5];
 
_crate addMagazineCargoGlobal ["SmokeShellGreen", 2];
 
_crate addMagazineCargoGlobal ["SmokeShellPurple", 3];
 
_crate addMagazineCargoGlobal ["SmokeShellBlue", 3];
 
_crate addMagazineCargoGlobal ["SmokeShellYellow", 1];
 
_crate addBackpackCargoGlobal ['DZ_GunBag_EP1', 1];
 
 
_crate addMagazineCargoGlobal ["PipeBomb", 1]; };

little more detailed explanation if anyone needs it http://dayzepoch.com/forum/index.php?/topic/993-dayz-mission-system-randomize-loot/
 
What should I look for in my log file to indicate if this is working for me? DayzPriv uses a bit of a different file structure than most, and you don't put your mods directly into the dayz_server.pbo. Instead you upload it to a Dayz_Epoch folder. Because of this, I'm unsure if it's working correctly or not.
 
anyone have like multiple same color missions pop up? i've noticed i'll have a green one pop...then after awhile the marker will move to a different spot even if the previous wasnt completed. and sometimes when a mission will pop up its name will show briefly then it will swap right into another mission, which would support my players telling me their getting shot by random AI out in the middle of no where with no marker anywhere nearby.

anyone else seen something like this?
 
I think you can accomplish that with the add mag command, should work the same

yeh it was addMag, and tents show up like they are supposed to, but im not getting any weapons or mags ive added, they are all dayz weaps ive added not unusual/banned weaps just stuff like the m4 cco sd, and the backpack isnt showing up either

edit-nvm found a typo on the weapons, i will check again to make sure backpack is showing up though
 
Hey guys just wondering is there a way i can increase the amount of mission's that are run? like make it so they pop up every 30-45mins or so?
 
to change the time it takes for a new mission go to SMGoMajor.sqf and SMGoMinor.sqf

in there change _wait = [####,####] call fnc_hTime;

the # is time in seconds first is fixed time second is random time so a example would be
[120,60] would be every 2mins to 3mins so will always be 2mins then will add a random time upto 60 seconds.
 
Back
Top