Created
August 19, 2016 18:35
-
-
Save anonymous/49d969005c6702cb71badf0c080fb885 to your computer and use it in GitHub Desktop.
init.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
startLoadingScreen ["","RscDisplayLoadCustom"]; | |
cutText ["","BLACK OUT"]; | |
enableSaving [false, false]; | |
dayZ_instance = 11; | |
dayzHiveRequest = []; | |
initialized = false; | |
dayz_previousID = 0; | |
player setVariable ["BIS_noCoreConversations", true]; | |
enableRadio true; | |
enableSentences true; | |
spawnShoremode = 0; // Default = 1 (on shore) | |
spawnArea= 1500; // Default = 1500 | |
MaxVehicleLimit = 200; // Default = 50 | |
MaxDynamicDebris = 1; | |
MaxHeliCrashes= 1; // Default = 5 | |
dayz_MapArea = 14000; // Default = 10000 | |
setViewDistance 1200; | |
setTerrainGrid 50; | |
dayz_maxLocalZombies = 5; // Default = 30 | |
dayz_maxGlobalZombiesInit = 5; | |
dayz_maxGlobalZombiesIncrease = 5; | |
dayz_maxZeds = 50; | |
dayz_paraSpawn = false; | |
dayz_minpos = -1; | |
dayz_maxpos = 16000; | |
dayz_sellDistance_vehicle = 20; | |
dayz_sellDistance_boat = 30; | |
dayz_sellDistance_air = 40; | |
dayz_maxAnimals = 3; // Default: 8 | |
dayz_fullMoonNights = true; | |
dayz_tameDogs = false; | |
DynamicVehicleDamageLow = 0; // Default: 0 | |
DynamicVehicleDamageHigh = 0; // Default: 100 | |
DZE_BuildOnRoads = true; // Default: False | |
DZE_ForceNameTags = true; | |
DZE_HumanityTargetDistance = 25; | |
DZE_ForceNameTagsInTrader = true; | |
DZE_SelfTransfuse = true; | |
DZE_selfTransfuse_Values = [6000, 15, 300]; | |
DZE_PlayerZed = false; | |
DZE_R3F_WEIGHT = false; | |
DZE_DeathMsgGlobal = true; | |
DZE_DeathMsgSide = true; | |
DZE_DeathMsgTitleText = true; | |
MaxAmmoBoxes = 5; | |
MaxMineVeins = 1; | |
DZE_FriendlySaving = true; | |
DZE_MissionLootTable = true; | |
DZE_LootSpawnTimer = 5; | |
DZE_BuildingLimit = 1800; | |
DZE_GodModeBase = true; | |
DZE_requireplot = 0; | |
DZE_PlotPole = [40,55]; | |
DZE_StaticConstructionCount = 1; | |
/* | |
Revamped instructions by Ree | |
select 0 = Locked vehicles Will not drop Loot ("Default: True") | |
select 1 = The Amount of Loot Piles around destroyed vehicles ("Default: 2") out of Max amount ___? "Max Safe Amount" | |
select 2 = Max additional loot piles On top of select 1 loot Piles ("Default: 5") out of Max amount ___? "Max Safe Amount" | |
select 3 = Radius around crash site to drop loot ("Default: 5")m out of Max amount ___? "Max Safe Amount" | |
select 4 = Chance of gear being destroyed (Between 0-1, Ex: 0 = Never lost, 0.5 = Half lost, 1 = All lost) | |
Default: DZE_crashLootConfig = [false,2,5,5,0]; | |
*/ | |
DZE_crashLootConfig = [false,2,5,5,0]; | |
DZE_ConfigTrader = true; | |
DZE_AsReMix_PLAYER_HUD = true; | |
DZE_noRotate = []; //Objects that cannot be rotated. Ex: DZE_noRotate = ["ItemVault"] (NOTE: The objects magazine classname) | |
DZE_vectorDegrees = [0.01, 0.1, 1, 5, 15, 45, 90]; | |
DZE_curDegree = 45; //Starting rotation angle. //Prefered any value in array above | |
DZE_dirWithDegrees = true; //When rotating objects with Q&E, use the custom degrees | |
EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]]; | |
call compile preprocessFileLineNumbers "Scripts\Variables\Variables.sqf"; | |
progressLoadingScreen 0.1; | |
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; | |
progressLoadingScreen 0.2; | |
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; | |
progressLoadingScreen 0.4; | |
call compile preprocessFileLineNumbers "Scripts\Server_Compile\compiles.sqf"; | |
call compile preprocessFileLineNumbers "custom\compiles.sqf"; | |
progressLoadingScreen 0.5; | |
call compile preprocessFileLineNumbers "Scripts\Server_Traders\server_traders.sqf"; | |
call compile preprocessFileLineNumbers "logistic\init.sqf"; | |
call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Compile custom compiles | |
call compile preprocessFileLineNumbers "admintools\config.sqf"; // Epoch admin Tools config file | |
call compile preprocessFileLineNumbers "admintools\variables.sqf"; // Epoch admin Tools variables | |
progressLoadingScreen 1.0; | |
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic"; | |
if (isServer) then { | |
call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf"; | |
_nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf"; | |
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf"; | |
}; | |
if (!isDedicated) then { | |
0 fadeSound 0; | |
waitUntil {!isNil "dayz_loadScreenMsg"}; | |
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING"); | |
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; | |
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; | |
execVM "spawn\start.sqf"; | |
execVM "dzgm\init.sqf"; | |
execVM "service_point\service_point.sqf"; | |
if (DZE_AsReMix_PLAYER_HUD) then { | |
execVM "Scripts\Player_Hud\playerHud.sqf" | |
}; | |
//---------------- Logo -------------------------- | |
_pic = "pictures\logo.paa"; | |
[ | |
'<img align=''left'' size=''1.0'' shadow=''1'' image='+(str(_pic))+' />', | |
safeZoneX+0.027, | |
safeZoneY+safeZoneH-0.1, | |
99999, | |
0, | |
0, | |
3090 | |
] spawn bis_fnc_dynamicText; | |
//------------------------------------------------ | |
_nul = [] execVM "DZAI_Client\dzai_initclient.sqf"; | |
}; | |
if (isServer) then {execVM "\z\addons\dayz_server\andre_most_wanted.sqf";}; | |
execVM "Scripts\Gold_Coin_system\init.sqf"; | |
execVM "Scripts\Gold_Coin_system\Bank_Markers\addbankmarkers.sqf"; | |
//execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf"; | |
[] execvm 'AGN\agn_SafeZoneCommander.sqf'; | |
[] execVM "fn_rewardLoyalty.sqf"; | |
[] execvm 'markers.sqf'; | |
[] execVM "teargas.sqf"; | |
#include "\z\addons\dayz_code\system\BIS_Effects\init.sqf" | |
[] execVM "admintools\Activate.sqf"; // Epoch admin tools | |
#include "spawn\class.hpp" | |
#include "spawn\halo.hpp" | |
#include "spawn\spawn.hpp" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment