EMS 0.2.6
https://github.com/TheFuchs/EMS-0.2.6
Version 0.26
Credits: Vampire, Lazyink, TheSzerdi, Falcyn, TAWTonic, EPOCH DEV's
Merged DayZ Mission System's from Vampire, TheSzerdi, Lazyink with permission.
THX for the permissions from Vampire, TheSzerdi, Lazyink
THX to MimiC,Torndeco,waTTe,Mochnant,deadeye2,iFear,umfufu,skynetdev for their help/fixes !!
Option to save vehicles to the database!
If Vehicle Saving is off, Users get warned when entering vehicles!
Randomized Crate Loot! No more static crate loot!
Adjustable Body Despawn Time!
Optional: AI Ran Over have no gear!
Epoch Mission System [EMS] is a modified version of Vampire, Lazyink, TheSzerdi's DayZ Mission Systems.
[Let their bodies hit the floor]
Requirements:
Notepad++
PBO Manager
Epoch 1.0.4+ Server
Difficulty
Easy : ~ 5 minutes
Some knowledge of Epoch Server & Mission file locations
How to use PBO manager to unpack and pack PBO files
Easy : 10-15 minutes *[ATTENTION] Mission Vehicles disappear after a restart , EMS will not support saving them in any way !! *Develepod & Supported by Firefly and Fuchs
## [EMS] Epoch Mission System
### Version 0.2.6
_Credits: Lazyink, TheSzerdi, Falcyn , TAWTonic, EPOCH DEV's<br>
Merged DayZ Mission System's from TheSzerdi and Lazyink with permission._
* THX for the permissions from TheSzerdi and Lazyink
* THX to MimiC,Torndeco,waTTe,Mochnant,deadeye2,iFear,umfufu,skynetdev for their help/fixes !!
* [ATTENTION] Mission Vehicles disappear after a restart , EMS will not support saving them in any way !!
* Current Development done by Firefly and Fuchs
Epoch Mission System ( EMS ) is a modified version of Lazyink & TheSzerdi's DayZ Mission System. The two projects were merged by Fuchs and released with some SargeAI configs to enhance the gameplay of Epoch Chernarus servers. The project was then renamed to "Epoch Mission System" after MimiC joined Fuchs and further development was done on it. It has now been released as a new project, with a total of 26 unique missions that are specific to Epoch servers.
The Sarge AI conig has been removed.
(Let their bodies hit the floor)
_This mission system will not work properly on non-Epoch servers or servers that do not have DZAI already installed._
**Requirements:**
* Notepad++
* PBO Manager
* Epoch 1.0.4+ Server
**Difficulty**
Easy : 10-15 minutes
* Some knowledge of Epoch Server & Mission file locations
* How to use PBO manager to unpack and pack PBO files
* Easy : 10-15 minutes
*[ATTENTION] Mission Vehicles disappear after a restart , EMS will not support saving them in any way !!
===========================================================================
## Installation Instructions
### dayz_server PBO Instructions
Download and unpack the most recent release of EMS from <a href="https://github.com/TheFuchs/EMS-0.2.6">our GitHub Release Section</a>. Currently this is version 0.2.6
Make a copy of your <b>dayz_server.pbo</b> and rename it <b>dayz_server.pbo.bak</b>
Unpack your <b>dayz_server.pbo</b> to a folder called <b>dayz_server</b>
Copy the <b>Missions</b> folder from the EMS download ,copy and paste the EMS Folder into the unpacked dayz_server.pbo folder <b>dayz_server</b>
<b>Edit your server_functions.sqf</b><br>Located: dayz_server\init\server_functions.sqf<br>
<b>Around line 30 look for this:</b>
server_deaths = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerDeaths.sqf";
<b>Add this after it:</b>
fnc_hTime = compile preprocessFile "\z\addons\dayz_server\EMS\misc\fnc_hTime.sqf"; //Random integer selector for mission wait time
<b>Around line 540 look for this:</b>
dayz_recordLogin = {
private["_key"];
_key = format["CHILD:103:%1:%2:%3:",_this select 0,_this select 1,_this select 2];
_key call server_hiveWrite;
};
<b>Insert this after it:</b>
//----------InitMissions--------//
MissionGo = 0;
MissionGoMinor = 0;
if (isServer) then {
SMarray = ["SM1","SM2","SM3","SM4","SM5","SM6","SM7","SM8","SM9","SM10","SM11","SM12","SM13"];
[] execVM "\z\addons\dayz_server\EMS\major\SMfinder.sqf"; //Starts major mission system
SMarray2 = ["SM1","SM2","SM3","SM4","SM5","SM6","SM7","SM8","SM9","SM10","SM11","SM12","SM13"];
[] execVM "\z\addons\dayz_server\EMS\minor\SMfinder.sqf"; //Starts minor mission system
};
//---------EndInitMissions------//
<b>Edit server_updateObject.sqf</b><br>Located: dayz_server\compile\server_updateObject.sqf
<b>Insert the code below before : if (!_parachuteWest and !(locked _object)) then {:</b>
if (_object getVariable "Sarge" == 1) exitWith {};
if (!_parachuteWest and !(locked _object)) then {
<b>Around line 22 look for this:</b>
{
diag_log(format["Non-string Object: ID %1 UID %2", _objectID, _uid]);
//force fail
_objectID = "0";
_uid = "0";
};
<b>comment this out and add the line below :</b>
//if (_objectID == "0" && _uid == "0") then
if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable ["Sarge",0] != 1)) then
{
_object_position = getPosATL _object;
_isNotOk = true;
};
};
<b>Edit server_functions.sqf</b><br>Located: dayz_server\init\server_functions.fsm
<b>Around line 298 look for this:</b>
if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
<b>Replace with this:</b>
if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x) && (vehicle _x getVariable ["Sarge",0] != 1) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
<b>Repack your dayz_server.pbo and replace your original one.</b>
=========================
### Mission PBO Instructions
Unpack your mission PBO file using PBO Manager into a folder
Copy the <b>debug</b> folder from the EMS download to the root of your mission folder
Edit your init.sqf file
Go to your init.sqf file paste the following block of code below the Lights:
//Lights //[21,04,false,true,false,50,200,300,[0.698, 0.556, 0.419],"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
// Mission System Markers [thx to inkko]
If (!isnil ("Ccoords")) then {
[] execVM "debug\addmarkers.sqf";
};
If (!isnil ("MCoords")) then {
[] execVM "debug\addmarkers75.sqf";
};
Understanding BIS_fnc_findSafePos
http://tactical.nekromantix.com/wiki/doku.php?id=arma2:scripting:bis_fnc_findsafepos
This will make the mission markers show up on the map for players that have died and respawn, or connect to the server after a mission has already spawned.
Repack your mission PBO using PBO Manager and replace your existing mission.pbo file
Testing DZAI Integration scheduled for February
i started this new Thread for the Mod so it's easier for players to find it and for me to support it!
This will also stop the confusion with the mod when you use Maca's or mine and have problems with it.
I got Maca's permission to do it and ALL credits for the idea and the first coding goes to Maca!
Thanks again Maca for this amazing idea/script!
Ok here we go...
This Mod adds a "Toggle Snapping" function to these Epoch Buildable objects:
MetalFloor_DZ
WoodFloor_DZ
CinderWall_DZ
CinderWallDoorway_DZ
CinderWallDoorLocked_DZ
CinderWallDoor_DZ
CinderWallSmallDoorway_DZ
CinderWallDoorSmallLocked_DZ
CinderWallHalf_DZ
CinderWallDoorSmall_DZ
WoodLargeWall_DZ
Land_DZE_LargeWoodDoor
WoodLargeWallWin_DZ
WoodLargeWallDoor_DZ
Land_DZE_GarageWoodDoor
Land_DZE_GarageWoodDoorLocked
Land_DZE_LargeWoodDoorLocked
WoodSmallWallThird_DZ
WoodSmallWallDoor_DZ
WoodSmallWall_DZ
WoodSmallWallWin_DZ
Land_DZE_WoodDoor
Land_DZE_WoodDoorLocked
Sandbag1_DZ
MetalPanel_DZ
Fence_corrugated_DZ
StickFence_DZ
Land_HBarrier1_DZ
Land_HBarrier3_DZ
Land_HBarrier5_DZ
Fort_RazorWire
Objects can be snapped to another object of the same type like: Metal_Floor_DZ <-> Metal_Floor_DZ Sandbag1_DZ <-> Sandbag1_DZ
or any Wall combination if its the same Material like: WoodSmallWall_DZ <-> WoodSmallWall_DZ WoodSmallWall_DZ <-> WoodSmallWallWin_DZ CinderWallHalf_DZ <-> CinderWallHalf_DZ CinderWallHalf_DZ <-> CinderWallDoorway_DZ
When you start building a new object you will get a "Toggle Snapping" option if the object is supported.
Hit it to activate the snapping.
Distance between the two objects has to be lower then 1.5m.
So move your object to almost same height and next to one side, near the top or near the bottom of the object you want to snap it to.
SNAP!
This allows you to build a Floor or a Wall on the same height in a perfect line.
It is also possible to make perfect 90° angles with it, for this you also have to bring the object almost in the desired angle to the other object and it will snap to it.
So What makes this version "Extended"?
Well...
Snapping will work on more then one Floor
Snapping will work while building over Water
Snapping a object on Top/Bottom of eachother
Snapping with set rotation (for set Door open directions)
More objects supported
Code for finding snap points redone
Demo Video:
http://youtu.be/j5SXctN8WHA
3.
Copy custom folder from the extracted Snapping_v1.6 to MPMissions\YOURMISSIONNAME\
4.
Open MPMissions\YOURMISSIONNAME\init.sqf
Find this line:
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
and add this line RIGHT BELOW it:
call compile preprocessFileLineNumbers "custom\snap_build\compiles.sqf";
so it will look like:
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
call compile preprocessFileLineNumbers "custom\snap_build\compiles.sqf";
5.
Open MPMissions\YOURMISSIONNAME\description.ext
Add this line to the VERY BOTTOM of it! (Yeah this means AFTER the last closing bracket!)
It has to be the VERY LAST LINE of the File!