you made a small mistake:
needs an extra = ... but could also be set inside the switchCode:if (DZMSWorldName = "tavi") then { _isTavi = true; };
![]()
Switches always give me problems, but if you insist
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
you made a small mistake:
needs an extra = ... but could also be set inside the switchCode:if (DZMSWorldName = "tavi") then { _isTavi = true; };
![]()
Btw Vamp at first nice scripting
second I did some remodeling on the vehicle
_humm = ["HMMWV_Ambulance_CZ_DES_EP1","HMMWV_M1151_M2_CZ_DES_EP1","HMMWV_DZ"] call BIS_fnc_selectRandom;
_vehicle = createVehicle [_humm,_coords,[], 0, "NONE"];
[_vehicle] call DZMSSetupVehicle;
I like to be surprised with some fancy wheels , i just removed the other 2 coz this makes the missions a bit more difficult
1 car and if u shoot/hit it to much , its gonna be a long walk home![]()
Here's an updated Major SM4.sqf. I forgot to change a local variable.
It should be working now.
https://github.com/SMVampire/DZMS-D...90c604c0ed98e3e8d/DZMS/Missions/Major/SM4.sqf
did you by chance add this to the main github SM4 or should I still use this one to replace the original? Also, am I able to edit the medical box w/out needing to edit code elsewhere? And can I add tools to the weapons crates, I see they are under the epoch section, but Im running vanilla dayz so will there be any issue with the epoch block of code? thanks
_medical = ["ItemBandage","ItemMorphine","ItemEpinephrine","ItemPainkiller","ItemWaterbottle","FoodMRE","ItemAntibiotic","ItemBloodbag"];
_tools = [];
// load tools
_scount = count _tools;
for "_x" from 0 to 2 do {
_sSelect = floor(random _sCount);
_item = _medical select _sSelect;
_crate addWeaponCargoGlobal [_item,1];
};
Hey guys.. This is my first post. I am new to owning a Dayz Epoch server. I have fully configured it once (on vilayer), and am now on Dayz ST. The whole pbo thing is quite a bit different. I have figured out how to pbo and unbo and all the directories. Pretty much the same as before. However, When I install ANY AI missions, I get it all in and the server boots up. I log in, and i load to lobby fine, But I get permanently stuck on Waiting For Server To Start Authenticating. No matter which mission system I use. I am quite confused as I just moved to 1.0.4.1 and that's when the problem started for me. I placed the DZMS folder in the root directory of server right and added the script line it calls for. Pretty confused... Thanks for any help guys!
ok updated my server last night with the latest on your hub, glad to say text is now displaying on the map stating what the mission is(1.8.3 vanilla dayz), 1 thing though, could you please add a version number to the zip files etc in the change log because i dont no if it has been updated only by checking the coding in the scripts
Nice work thanks
Everything I post here is immediately added to the github. The SM4 fix was added days ago.
The medical contents is located in DZMSBox.sqf in the scripts folder. If you used the code I believe you used for random crates, I think you already know how to edit it. I didn't make the medical array a global because it doesn't contain that many items, since there's only like 5 medical items. I could have added the sepsis wipes vanilla has, but Epoch doesn't have those, which would have caused errors.
You could add tools with a new global array, and just another looping section doing addWeapon from the new array. I actually intended to work on the crates some after I get the current project done before my 1.1 release. I'll be adding some tool items, and some other misc stuff.
For now just make a new array under the medical array:
Code:_medical = ["ItemBandage","ItemMorphine","ItemEpinephrine","ItemPainkiller","ItemWaterbottle","FoodMRE","ItemAntibiotic","ItemBloodbag"]; _tools = [];
Throw what you want in there, and then add this block of code:
Code:// load tools _scount = count _tools; for "_x" from 0 to 2 do { _sSelect = floor(random _sCount); _item = _medical select _sSelect; _crate addWeaponCargoGlobal [_item,1]; };
To the weapons area, and the medical if you want.
Heres a copy of DZMSBox with the two loops added to add 2 weapons to each crate, just put the tool classnames in "_tools" as an array.
http://pastebin.com/LeLhC7Ma
_item = _medical select _sSelect;
Question if I want to add tools to the weapons area will this cause an issue?
Code:_item = _medical select _sSelect;
and just to clarify, Im making these changes in the DZMSBox.sqf?Err yeah I may have missed that. It needs changed to _tools![]()
and just to clarify, Im making these changes in the DZMSBox.sqf?
// load tools
_scount = count _tools;
for "_x" from 0 to 2 do {
_sSelect = floor(random _sCount);
_item = _tools select _sSelect;
_crate addWeaponCargoGlobal [_item,1];
};
yep yep I got it I was just double triple checking. I added it under the medical and weapons section. thanks man!Yes for the loop like I posted. It looks like this:
Code:// load tools _scount = count _tools; for "_x" from 0 to 2 do { _sSelect = floor(random _sCount); _item = _tools select _sSelect; _crate addWeaponCargoGlobal [_item,1]; };
Is it possible these are "cleaning up" vehicles in an odd way? I don't know if its the way I uninstalled the old mission system , or this new one. Let me explain. Ive tested this with multiple helicopters. I crash them into the ground, they blow up, but instantly vanish. I haven't tested this with cars yet. I was basically going around blowing up destroyed helicopters so they respawn and I noticed they just Poof and vanish.
really? Im just noticing this now, Im slow I guess. good to know. Not really too big of a deal, might even lower server lag some lolIts a bug with the newest Infistar.