mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 18:36:29 +03:00
+ [FIXED] Player position was saved to [] in certain areas of Taviana forcing random spawn. Override variables added dayz_minpos (default: -20000) and dayz_maxpos (default: 20000). To better support Taviana use dayz_minpos = -26000; dayz_maxpos = 26000; Thanks to dayzforever.com admin for the heads up. + [ADDED] Small Desert Camo Net - desert_net_kit - Recipe: 4 x tent + 4 x metal pole + [ADDED] Large Desert Camo Net - desert_large_net_kit - Recipe: 3 x desert_net_kit + [ADDED] Small Forest Camo Net - forest_net_kit - Recipe: 4 x tent + 4 x metal pole + [ADDED] Large Forest Camo Net - forest_large_net_kit - Recipe: 3 x forest_net_kit + [CHANGED] changed out ItemSodaRbull with ItemSodaR4z0r due to glitching with rbull model. + [ADDED] New Heavy Duty SUV with camo skin (Armor: 50) +25 increase in armor and holds 100 magazines, 10 weapons, 5 backpacks. Camo skin from here: http://www.404games.co.uk/forum/index.php?/topic/1243-camo-suv-skin-code-here/ + [ADDED] Sandbag Nest (sandbag_nest_kit) Required Tools: ItemEtool, ItemToolbox. Recipe: ItemSandbag x 4, PartWoodPlywood x 2, PartWoodLumber x 4. + [CHANGED] When selling multiple magazine items traders should now always give highest denomination back. + [CHANGED] workshop is now required for most crafting. Currently a Nice Wood Shed or a Wooden Shack will work. + [CHANGED] Updated camo female texture thanks to http://www.twitch.tv/miss_alejandria + [ADDED] New vehicle ownership is now tied to vehicle keys. When you purchase a new vehicle you will get a key added to your toolbelt. Do not drop on the ground as they are easy to loose. + [ADDED] Server admins can now change default fresh spawn loadout within mission init.sqf. DefaultMagazines = ["ItemBandage","ItemPainkiller"]; DefaultWeapons = ["ItemFlashlight"]; DefaultBackpack = ""; DefaultBackpackWeapon = ""; + [ADDED] added override variable for to change the distance for selling vehicles. dayz_sellDistance = 20; in the missions init.sqf + [REVERT] Re-enabled old refuel sources and added (TODO: ability to fill 55 gallon barrels off them). + [ADDED] More internal code locks and addaction locks to prevent bugged menus. + [CHANGED] Can no longer drop "MeleeHatchet","MeleeCrowbar","MeleeMachete","MeleeFishingPole" from primary slot, you must add it to your toolbelt first. + [ADDED] Fishing now requires casting and waiting to catch a fish (currently only trout). + [FIXED] Incorrect TradeInprogress message for Open Crate code. + [FIXED] Boat dealers can now use ["HeliHCivil","HeliHempty"] as alternate spawn locations for new vehicles. + [FIXED] Fixed spawning of Skin_TK_INS_Warlord_EP1 needed to be Skin_TK_INS_Warlord_EP1_DZ in loot table instead. + [ADDED] Gain 1 humanity for each zed you gut. only after body is cleared and the body disappears. + [REMOVED] Removed m240 nest crafting for now too many problems still. + [ADDED] You now get a key when purchasing a vehicle, + [ADDED] Have your pen and paper handy for this one... When placing a personal safe you will now get a 4 digit pin code that you will need to use gain access to your safe. + [FIXED] Issues with Arma 2 free and ArmA 2 X users when purchasing vehicles and placing vaults have now been resolved. + [CHANGED] Namalsk Plane vendor moved inside building, Medical vendor moved to adjacent building.
81 lines
2.6 KiB
Plaintext
81 lines
2.6 KiB
Plaintext
/*
|
|
INITILIZATION
|
|
*/
|
|
startLoadingScreen ["","RscDisplayLoadCustom"];
|
|
cutText ["","BLACK OUT"];
|
|
enableSaving [false, false];
|
|
|
|
//REALLY IMPORTANT VALUES
|
|
dayZ_instance = 16; //The instance
|
|
dayzHiveRequest = [];
|
|
initialized = false;
|
|
dayz_previousID = 0;
|
|
|
|
//disable greeting menu
|
|
player setVariable ["BIS_noCoreConversations", true];
|
|
//disable radio messages to be heard and shown in the left lower corner of the screen
|
|
enableRadio false;
|
|
|
|
// DayZ Epoch config
|
|
spawnShoremode = 1; // Default = 1 (on shore)
|
|
spawnArea= 1500; // Default = 1500
|
|
|
|
MaxVehicleLimit = 300; // Default = 50
|
|
MaxDynamicDebris = 500; // Default = 100
|
|
dayz_MapArea = 12000; // Default = 10000
|
|
|
|
// new stuff
|
|
dayz_paraSpawn = false;
|
|
spawnMarkerCount = 10; // Default: 4
|
|
dayz_maxAnimals = 8; // Default: 8
|
|
dayz_tameDogs = true;
|
|
DynamicVehicleDamageLow = 0; // Default: 0
|
|
DynamicVehicleDamageHigh = 100; // Default: 100
|
|
|
|
DZEdebug = true;
|
|
|
|
//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;
|
|
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
|
|
progressLoadingScreen 0.2;
|
|
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
|
|
progressLoadingScreen 0.4;
|
|
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
|
|
progressLoadingScreen 0.5;
|
|
call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
|
|
progressLoadingScreen 1.0;
|
|
|
|
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
|
|
|
|
if ((!isServer) && (isNull player) ) then
|
|
{
|
|
waitUntil {!isNull player};
|
|
waitUntil {time > 3};
|
|
};
|
|
|
|
if ((!isServer) && (player != player)) then
|
|
{
|
|
waitUntil {player == player};
|
|
waitUntil {time > 3};
|
|
};
|
|
|
|
if (isServer) then {
|
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
|
|
|
// Add trader citys
|
|
_nil = [] execVM "mission.sqf";
|
|
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
|
|
};
|
|
|
|
if (!isDedicated) then {
|
|
//Conduct map operations
|
|
0 fadeSound 0;
|
|
waitUntil {!isNil "dayz_loadScreenMsg"};
|
|
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
|
|
|
|
//Run the player monitor
|
|
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
|
|
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
|
|
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
|
|
}; |