Update keyboard eventhandler and add rules.sqf

See: https://github.com/EpochModTeam/DayZ-Epoch/pull/1673
This commit is contained in:
ebaydayz
2016-02-16 21:59:01 -05:00
parent 23179c079f
commit 441e9fb231
84 changed files with 1530 additions and 245 deletions

View File

@@ -21,6 +21,7 @@ enableRadio false;
enableSentences false;
// DayZ Epoch config
dayz_enableRules = true; // Default: true
spawnShoremode = 1; // Default = 1 (on shore)
spawnArea= 1500; // Default = 1500
@@ -39,12 +40,13 @@ dayz_maxAnimals = 5; // Default: 8
dayz_tameDogs = true;
DynamicVehicleDamageLow = 0; // Default: 0
DynamicVehicleDamageHigh = 100; // Default: 100
dayz_quickSwitch = false; // Default: false
DZE_BuildOnRoads = false; // Default: False
EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];
dayz_fullMoonNights = true;
MISSION_ROOT=toArray __FILE__;MISSION_ROOT resize(count MISSION_ROOT-8);MISSION_ROOT=toString MISSION_ROOT;
//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
@@ -83,6 +85,7 @@ if (!isDedicated) then {
//Lights
//[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
if (dayz_enableRules) then { execVM "rules.sqf"; };
if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
};
#include "\z\addons\dayz_code\system\REsec.sqf"