MajorPainage / Origins1.7.1

12 stars 17 forks source link

DayZ Origins community build

All credit goes to Cortez for all the hard work to make this mod available.

Tools Required

How To Pack PBO Correctly With PboManager

Installing 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:

Editing player_spawn_2.sqf:

Look for 'Visit: www.epm-gaming.co.uk' on line 361, 385, and 416, and change it to your own website.

Editing loginCamera.sqf:

Look for:

_welcomeMessage = format["Welcome to EPM Gamings's GB 500 #2 Server %1, Enjoy your stay!",format["%1", name player]];

Edit this line.

Optional How-Tos

Adjusting Day/Night Time

  • Edit \MPMissions\dayz_1.origins.tavi\init.sqf
  • Look for:
    [4,true,true] execFSM "core_time.fsm";
    
  • Default is currently 3hr 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 '//'

Auto Refuelling

To enable auto refuelling:

  • Edit \MPMissions\dayz_1.origins.tavi\init.sqf
  • Look for:
    //Remove the double slashes on the line below to enable auto refuelling
    //[] execVM "Scripts\kh_actions.sqf";
    
  • Remove the double slashes to enable the add-on, save and restart the server. (NOTE: Folders inside the \MPMissions\ folder don't have to be packed to .pbo format)

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 they uncomment out the code.

Increasing/Decreasing Zombies

  • Edit \MPMissions\dayz_1.origins.tavi\BASTARDS\player_spawnCheck look for:
  • On line 5:
    _maxZombies = 25;
    

    Further down the page:

    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.