Skip to content

joenilan/DayZOrigins

Repository files navigation

DayZ Origins community build

All credit goes to Cortez for all the hard work to make this mod available.
Special thanks to .=QUACK=.Major.Pain for his Github! https://github.com/MajorPainage/Origins

Tools Required

  • PBO tool which can be found in the tools folder. (PBO Manager is the better of the two)

Installing Database:

  • You need to have MySQL version 5.5 and up. Work great on 5.5.31-0+wheezy1 (debian). Older version have problem importing the .SQL file
  • Import \sqlfile\dayz_origins.sql into your database

(NOTE: If your having issues installing the functions, and get a message saying you don't have permission to install, you must install the functions as a 'root' user)

Installing Files:

  • Install the latest OA Beta Patch (http://www.arma2.com/beta-patch.php)
  • Create a new folder copy the files from the OA folder into it. (This help retains your original files if you have to start over)
  • Copy the Addons folder from the Arma 2 folder into the same folder.
  • Copy the map (@DayzOrigins) into the same folder. (Downloaded from Dayz Commander or other tool)
  • Edit the following files:
    --- \dayz_1.origins.tavi\config.cfg
    --- \dayz_1.origins.tavi\HiveExt.ini
    --- \dayz_1.origins.tavi\BattlEye\BEServer.cfg
    --- \MPMissions\dayz_1.origins.tavi\Debug\player_spawn_2.sqf (More Details Below)
    --- \MPMissions\dayz_1.origins.tavi\Camera\loginCamera.sqf (More Details Below)

Editing Debug

In /Debug/player_spawn_2.sqf Look for 'DayZ Origins' on line 390 and change it to your liking.

Enabling/Editing Login Camera

In init.sqf Look for:

//_nul = [] execVM "Camera\loginCamera.sqf";
Remove the double slashes on the line above to enable Login Camera

In /Camera/loginCamera.sqf Look for:

_welcomeMessage = format["Welcome to DayZ Origin Servers %1, Enjoy your stay!",format["%1", name player]];
Edit this line to your liking.

Enabling Admin Tools

In /admintools/Activate.sqf Look for:

if ((getPlayerUID player) in ["#######"]) then {
Change "#######" to your Player ID

In /admintools/AdminToolsMain.sqf Look for:

if ((getPlayerUID player) in ["#######"]) then {
Change "#######" to your Player ID

Adjusting Day/Night Time

  • Edit \MPMissions\dayz_1.origins.tavi\init.sqf
  • Look for:
[3,true,true] execFSM "core_time.fsm";
  • Default is currently 4hr day/night.
  • Other examples:
    --- [4,true,true] execFSM "core_time.fsm"; (3hr day/night)
    --- [3,true,true,12] execFSM "core_time.fsm"; (4hr day / 1 hr night)
  • To disable completely, just add a double slash to the front of the line '//'

DMR Damage Scaling Removed

  • Edit file: MPMissions/dayz_1.origins.tavi/BASTARDS/fn_damageHandler.sqf
  • Look at lines 81-88. -If you would like DMR's to have the same damage as they would in cherno then keep or delete lines that are commented out starting with " /* if (_unit == player) then { " if you want the new style DMR damage then uncomment out the code.

Increasing/Decreasing Zombies

  • Edit \MPMissions\dayz_1.origins.tavi\BASTARDS\player_spawnCheck look for:
switch (_nearbytype) do {
    default {
        _maxZombies = 10;
    };
    case "NameLocal": {
        _maxZombies = 10;
    };
    case "NameVillage": {
        _maxZombies = 15;
    };
    case "NameCity": {
        _maxZombies = 20;
    };
    case "NameCityCapital": {
        _maxZombies = 20;
    };
};
  • Edit the values to your preference.

Finishing Up!

  • Copy all the files from your git download into your folder. (Make sure to maintain the same file structure)
  • Run Start Server.cmd and cross your fingers!

Optional: If you want to modify files in the dayz_server or dayz_1.origins.tavi folders

  • Install your PBO tool if you haven't already (PBO Manager is nice)
  • Modify selected files.
  • Use the PBO tool to pack the @dayz_1.origins.tavi\addons\dayz_server folder.
  • Use the PBO tool to pack the \MPMissions\dayz_1.origins.tavi folder.
  • Run Start Server.cmd and cross your fingers!

Add-Ons

Available/Working:
Admin Tools
Color Corrections / (Clear Contrast, will test others later) - //Commented out in init.sqf
Air Dropped Cars - (South island only so far)
Auto Refueling
Sarge's AI / (Modify /addons/SARGE/SAR_config.sqf to your liking.)
Self Bloodbag

Implemented but not working:
Lift/Tow / (Needs Survival Vehicle modifications) - Don't see any options
Fast Rope / (Needs testing) - Works for Pilot, Passanger doesnt see option

Working On:
Air Dropped Care Packages - I might not be good enough to implement
Heli Crash Animations - I might not be good enough to implement

Bugs:

House loot disappears, bug has something to do with lag when choosing to unlock house twice. - Possibly fixed
Logout Animation - This Server pack doesnt have Cloud Sync or Logout Animations (Temporary)

(NOTE: Folders inside the \MPMissions\ folder don't have to be packed to .pbo format)

About

Private DayZ Origins Server - Community Build

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published