diff --git a/Server Files/DZE_Server_Config/2_chernarus_winter.bat b/Server Files/DZE_Server_Config/2_chernarus_winter.bat new file mode 100644 index 000000000..3558d52f2 --- /dev/null +++ b/Server Files/DZE_Server_Config/2_chernarus_winter.bat @@ -0,0 +1,2 @@ +@echo off +start "arma2" /min /high arma2oaserver.exe -port=2302 "-config=C:\DZE_Server_Config\2_chernarus_winter.cfg" "-cfg=C:\DZE_Server_Config\basic.cfg" "-profiles=C:\DZE_Server_Config" -name=server "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;" diff --git a/Server Files/DZE_Server_Config/2_chernarus_winter.cfg b/Server Files/DZE_Server_Config/2_chernarus_winter.cfg new file mode 100644 index 000000000..b0fc1d3a5 --- /dev/null +++ b/Server Files/DZE_Server_Config/2_chernarus_winter.cfg @@ -0,0 +1,40 @@ +hostName = "DayZ Epoch Chernarus Winter Server (1.0.7/144629)"; +password = ""; +passwordAdmin = "changeme"; +maxPlayers = 50; +steamport = 2304; +steamqueryport = 2303; + +motd[] = {"DayZ Epoch","Have fun!"}; +motdInterval = 0; + +logFile = "server_log.txt"; +voteThreshold = 2; +voteMissionPlayers = 999; +timeStampFormat = "short"; + +vonCodecQuality = 11; +disableVoN = 0; +kickduplicate = 1; +verifySignatures = 2; +persistent = 1; +BattlEye = 1; +doubleIdDetected = ""; + +onUserConnected = ""; +onUserDisconnected = ""; +onUnsignedData = "kick (_this select 0)"; +onHackedData = "kick (_this select 0)"; +onDifferentData = ""; + +regularCheck = ""; +requiredBuild = 144629; +class Missions +{ + class Mission1 + { + template = "DayZ_Epoch_2.Chernarus_Winter"; + difficulty="veteran"; + }; + +}; diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/description.ext b/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/description.ext new file mode 100644 index 000000000..f5f083f49 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/description.ext @@ -0,0 +1,35 @@ +respawn = "BASE"; +respawnDelay = 0; +respawnDialog = 0; +onLoadMission = "DayZ Epoch Chernarus Winter"; +OnLoadIntro = "Welcome to Chernarus Winter"; +OnLoadIntroTime = 0; +OnLoadMissionTime = 0; +disabledAI = 1; +disableChannels[] = {0,2,6}; +enableItemsDropping = 0; +onPauseScript = ""; +briefing = 0; +debriefing = 0; + +titleParam1 = "AutoLogin:"; +valuesParam1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 31}; +defValueParam1 = 10; //auto login time limit in seconds, set value to 31 to disable auto login +textsParam1[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, "Disabled"}; + +loadScreen = "\z\addons\dayz_code\gui\loadingscreen.paa"; + +class Header +{ + gameType = COOP; //DM, Team, Coop, ... + minPlayers = 1; //min # of players the mission supports + maxPlayers = 100; //Max # of players the mission supports +}; + +aiKills = 1; +diagRadio = 1; +diagHit = 1; + +#include "\z\addons\dayz_code\gui\description.hpp" +#include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp" +#include "\z\addons\dayz_code\Configs\CfgServerTrader\CfgServerTrader.hpp" \ No newline at end of file diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/init.sqf b/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/init.sqf new file mode 100644 index 000000000..836ed7f06 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/init.sqf @@ -0,0 +1,151 @@ +/* + For DayZ Epoch + Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz +*/ + +//Server settings +dayZ_instance = 2; //Instance ID of this server +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen (country code + server number) + +//Game settings +dayz_antihack = 1; // DayZ Antihack / 1 = enabled // 0 = disabled +dayz_REsec = 1; // DayZ RE Security / 1 = enabled // 0 = disabled +dayz_enableRules = true; //Enables a nice little news/rules feed on player login (make sure to keep the lists quick). +dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkeys 1,2,3) False = enable animations, True = disable animations +dayz_POIs = false; //Adds Point of Interest map additions (negatively impacts FPS) +dayz_infectiousWaterholes = false; //Randomly adds some bodies, graves and wrecks by ponds (negatively impacts FPS) +dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. + +//DayZMod presets +dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" + +//Only need to edit if you are running a custom server. +if (dayz_presets == "Custom") then { + dayz_enableGhosting = false; //Enable disable the ghosting system. + dayz_ghostTimer = 60; //Sets how long in seconds a player must be disconnected before being able to login again. + dayz_spawnselection = 0; //(Chernarus only) Turn on spawn selection 0 = random only spawns, 1 = spawn choice based on limits + dayz_spawncarepkgs_clutterCutter = 0; //0 = loot hidden in grass, 1 = loot lifted, 2 = no grass + dayz_spawnCrashSite_clutterCutter = 0; // heli crash options 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass + dayz_spawnInfectedSite_clutterCutter = 0; // infected base spawn 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass + dayz_bleedingeffect = 2; //1 = blood on the ground (negatively impacts FPS), 2 = partical effect, 3 = both + dayz_OpenTarget_TimerTicks = 60 * 10; //how long can a player be freely attacked for after attacking someone unprovoked + dayz_nutritionValuesSystem = true; //true, Enables nutrition system, false, disables nutrition system. + dayz_classicBloodBagSystem = true; // disable blood types system and use the single classic ItemBloodbag + dayz_enableFlies = false; // Enable flies on dead bodies (negatively impacts FPS). +}; + +//Temp settings +dayz_DamageMultiplier = 2; //1 - 0 = Disabled, anything over 1 will multiply damage. Damage Multiplier for Zombies. +dayz_maxGlobalZeds = 500; //Limit the total zeds server wide. +dayz_temperature_override = false; // Set to true to disable all temperature changes. + +enableRadio false; +enableSentences false; + +// EPOCH CONFIG VARIABLES START // +#include "\z\addons\dayz_code\configVariables.sqf" // Don't remove this line +// See the above file for a full list including descriptions and default values +// Uncomment the lines below to change the default loadout +//DefaultMagazines = ["HandRoadFlare","ItemBandage","ItemPainkiller","8Rnd_9x18_Makarov","8Rnd_9x18_Makarov"]; +//DefaultWeapons = ["Makarov_DZ","ItemFlashlight"]; +//DefaultBackpack = "DZ_Patrol_Pack_EP1"; +//DefaultBackpackItems = []; // Can include both weapons and magazines i.e. ["PDW_DZ","30Rnd_9x19_UZI"]; +dayz_paraSpawn = false; // Halo spawn +DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zones +DZE_BuildOnRoads = false; // Allow building on roads +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status +DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly. +DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. +DZE_GodModeBase = false; // Make player built base objects indestructible +DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On +DZE_PlotPole = [30,45]; // Radius owned by plot pole [Regular objects,Other plotpoles]. Difference between them is the minimum buffer between bases. +DZE_BuildingLimit = 150; // Max number of built objects allowed in DZE_PlotPole radius +DZE_SafeZonePosArray = [[[6325,7807,0],100],[[4063,11664,0],100],[[11447,11364,0],100],[[1621.91,7797,0],100],[[12944,12766,0],100],[[12060,12638,0],100]]; // Format is [[[3D POS],RADIUS],[[3D POS],RADIUS]]; Stops loot and zed spawn, salvage and players being killed if their vehicle is destroyed in these zones. +DZE_SelfTransfuse = true; // Allow players to bloodbag themselves +DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount given, infection chance %, cooldown in seconds] +DZE_SnowFall = true; +MaxDynamicDebris = 500; // Max number of random road blocks to spawn around the map +MaxVehicleLimit = 300; // Max number of random vehicles to spawn around the map +spawnArea = 1400; // Distance around markers to find a safe spawn position +spawnShoremode = 1; // Random spawn locations 1 = on shores, 0 = inland +EpochEvents = [ //[year,month,day of month, minutes,name of file - .sqf] If minutes is set to -1, the event will run once immediately after server start. + ["any","any","any","any",-1,"Care_Packages"], + //["any","any","any","any",-1,"Infected_Camps"], // (negatively impacts FPS) + ["any","any","any","any",-1,"CrashSites"] +]; +// EPOCH CONFIG VARIABLES END // + + +diag_log 'dayz_preloadFinished reset'; +dayz_preloadFinished=nil; +onPreloadStarted "diag_log [diag_tickTime,'onPreloadStarted']; dayz_preloadFinished = false;"; +onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFinished = true;"; +with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon + +if (!isDedicated) then { + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; + progressLoadingScreen 0; + dayz_loadScreenMsg = localize 'str_login_missionFile'; + progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; + 0 cutText ['','BLACK',0]; + 0 fadeSound 0; + 0 fadeMusic 0; +}; + +initialized = false; +call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; +progressLoadingScreen 0.05; +call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; +progressLoadingScreen 0.1; +call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; +progressLoadingScreen 0.15; +call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; +progressLoadingScreen 0.25; +call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus11.sqf"; //Add trader city objects locally on every machine early +initialized = true; + +setTerrainGrid 25; +if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; + +if !(DZE_SnowFall) then { + execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; +} else { + DZE_WeatherVariables = [10, 20, 5, 10, 0, 0.2, 0.5, 1, 0, 0.6, 0, 8, 25, 30, 0, false, 0.8, 1, 100]; + execVM "\z\addons\dayz_code\system\DynamicWeatherEffectsSnow.sqf"; +}; + +if (isServer) then { + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; + call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\chernarus11.sqf"; //Add trader agents + + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; +}; + +if (!isDedicated) then { + call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\server_traders\chernarus11.sqf"; + + if (toLower worldName == "chernarus") then { + execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf"; + }; + + //Enables Plant lib fixes + execVM "\z\addons\dayz_code\system\antihack.sqf"; + + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; }; + execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; + //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (DZE_R3F_WEIGHT) then {execVM "\z\addons\dayz_code\external\R3F_Realism\R3F_Realism_Init.sqf";}; + waitUntil {scriptDone progress_monitor}; + cutText ["","BLACK IN", 3]; + 3 fadeSound 1; + 3 fadeMusic 1; + endLoadingScreen; +}; \ No newline at end of file diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/mission.sqm b/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/mission.sqm new file mode 100644 index 000000000..5b94fc3db --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/mission.sqm @@ -0,0 +1,494 @@ +version=11; +class Mission +{ + addOns[]= + { + "chernarus_winter", + "map_eu", + "ca_modules_animals", + "dayz_anim", + "dayz_code", + "dayz_communityassets", + "dayz_weapons", + "dayz_equip", + "cacharacters_pmc", + "ca_modules_functions", + "zero_buildings", + "dayz_epoch", + "glt_m300t", + "pook_h13", + "csj_gyroac", + "jetskiyanahuiaddon", + "redryder", + "Anzio_20" + }; + addOnsAuto[]= + { + "dayz_weapons", + "ca_modules_functions", + "chernarus_winter" + }; + randomSeed=11171215; + class Intel + { + briefingName="DayZ Epoch Chernarus Winter"; + briefingDescription="Version 1.0.7"; + startWeather=0; + forecastWeather=0; + year=2008; + month=10; + day=1; + hour=12; + }; + class Groups + { + items=2; + class Item0 + { + side="WEST"; + class Vehicles + { + items=100; + #define PLRDEF position[]={-18700,0,25800};azimut=0;side="WEST";vehicle="Survivor1_DZ";skill=0.6;init="this enableSimulation false;this allowDamage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';";player="PLAY CDG"; + class Item0{id=0;PLRDEF}; + class Item1 + { + position[]={-18700,0,25800}; + azimut=0; + id=0; + side="WEST"; + vehicle="Survivor1_DZ"; + player="PLAYER COMMANDER"; + leader=1; + rank="SERGEANT"; + skill=0.6; + init="this enableSimulation false;this allowDamage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';"; + }; + class Item2{id=2;PLRDEF}; + class Item3{id=3;PLRDEF}; + class Item4{id=4;PLRDEF}; + class Item5{id=5;PLRDEF}; + class Item6{id=6;PLRDEF}; + class Item7{id=7;PLRDEF}; + class Item8{id=8;PLRDEF}; + class Item9{id=9;PLRDEF}; + class Item10{id=10;PLRDEF}; + class Item11{id=11;PLRDEF}; + class Item12{id=12;PLRDEF}; + class Item13{id=13;PLRDEF}; + class Item14{id=14;PLRDEF}; + class Item15{id=15;PLRDEF}; + class Item16{id=16;PLRDEF}; + class Item17{id=17;PLRDEF}; + class Item18{id=18;PLRDEF}; + class Item19{id=19;PLRDEF}; + class Item20{id=20;PLRDEF}; + class Item21{id=21;PLRDEF}; + class Item22{id=22;PLRDEF}; + class Item23{id=23;PLRDEF}; + class Item24{id=24;PLRDEF}; + class Item25{id=25;PLRDEF}; + class Item26{id=26;PLRDEF}; + class Item27{id=27;PLRDEF}; + class Item28{id=28;PLRDEF}; + class Item29{id=29;PLRDEF}; + class Item30{id=30;PLRDEF}; + class Item31{id=31;PLRDEF}; + class Item32{id=32;PLRDEF}; + class Item33{id=33;PLRDEF}; + class Item34{id=34;PLRDEF}; + class Item35{id=35;PLRDEF}; + class Item36{id=36;PLRDEF}; + class Item37{id=37;PLRDEF}; + class Item38{id=38;PLRDEF}; + class Item39{id=39;PLRDEF}; + class Item40{id=40;PLRDEF}; + class Item41{id=41;PLRDEF}; + class Item42{id=42;PLRDEF}; + class Item43{id=43;PLRDEF}; + class Item44{id=44;PLRDEF}; + class Item45{id=45;PLRDEF}; + class Item46{id=46;PLRDEF}; + class Item47{id=47;PLRDEF}; + class Item48{id=48;PLRDEF}; + class Item49{id=49;PLRDEF}; + class Item50{id=50;PLRDEF}; + class Item51{id=51;PLRDEF}; + class Item52{id=52;PLRDEF}; + class Item53{id=53;PLRDEF}; + class Item54{id=54;PLRDEF}; + class Item55{id=55;PLRDEF}; + class Item56{id=56;PLRDEF}; + class Item57{id=57;PLRDEF}; + class Item58{id=58;PLRDEF}; + class Item59{id=59;PLRDEF}; + class Item60{id=60;PLRDEF}; + class Item61{id=61;PLRDEF}; + class Item62{id=62;PLRDEF}; + class Item63{id=63;PLRDEF}; + class Item64{id=64;PLRDEF}; + class Item65{id=65;PLRDEF}; + class Item66{id=66;PLRDEF}; + class Item67{id=67;PLRDEF}; + class Item68{id=68;PLRDEF}; + class Item69{id=69;PLRDEF}; + class Item70{id=70;PLRDEF}; + class Item71{id=71;PLRDEF}; + class Item72{id=72;PLRDEF}; + class Item73{id=73;PLRDEF}; + class Item74{id=74;PLRDEF}; + class Item75{id=75;PLRDEF}; + class Item76{id=76;PLRDEF}; + class Item77{id=77;PLRDEF}; + class Item78{id=78;PLRDEF}; + class Item79{id=79;PLRDEF}; + class Item80{id=80;PLRDEF}; + class Item81{id=81;PLRDEF}; + class Item82{id=82;PLRDEF}; + class Item83{id=83;PLRDEF}; + class Item84{id=84;PLRDEF}; + class Item85{id=85;PLRDEF}; + class Item86{id=86;PLRDEF}; + class Item87{id=87;PLRDEF}; + class Item88{id=88;PLRDEF}; + class Item89{id=89;PLRDEF}; + class Item90{id=90;PLRDEF}; + class Item91{id=91;PLRDEF}; + class Item92{id=92;PLRDEF}; + class Item93{id=93;PLRDEF}; + class Item94{id=94;PLRDEF}; + class Item95{id=95;PLRDEF}; + class Item96{id=96;PLRDEF}; + class Item97{id=97;PLRDEF}; + class Item98{id=98;PLRDEF}; + class Item99{id=99;PLRDEF}; + }; + }; + class Item1 + { + side="LOGIC"; + class Vehicles + { + items=1; + class Item0 + { + position[]={708,0,3533}; + id=50; + side="LOGIC"; + vehicle="FunctionsManager"; + leader=1; + lock="UNLOCKED"; + skill=0.6; + }; + }; + }; + }; + class Markers + { + items=20; + class Item0 + { + position[]={7839,0,8414}; + name="center"; + type="Empty"; + a=7500;b=7000; + }; + class Item1 + { + position[]={-18700,0,25800}; + name="respawn_west"; + type="Empty"; + }; + class Item2 + { + position[]={4932,0,1989}; + name="spawn0"; //spawn_balota + type="Empty"; + }; + class Item3 + { + position[]={2236,0,1923}; + name="spawn1"; //spawn_kamenka + type="Empty"; + }; + class Item4 + { + position[]={6901,0,2509}; //8738,0,2122 + name="spawn2"; //spawn_cherno + type="Empty"; + }; + class Item5 + { + position[]={10294,0,2191}; // OLD 10909,0,2422 + name="spawn3"; //spawn_elektro + type="Empty"; + }; + class Item6 + { + position[]={13510,0,5249}; + name="spawn4"; //spawn_sol + type="Empty"; + }; + class Item7 + { + position[]={12048,0,8352}; + name="spawn5"; //spawn_berezino + type="Empty"; + }; + class Item8 + { + position[]={7049,0,9241}; + name="crashsites"; + type="Empty"; + a=4880;b=7000; + }; + class Item9 + { + position[]={7542,0,7134}; + name="carepackages"; + type="Empty"; + a=6150;b=0; + }; + class Item10 + { + position[]={6326,0,7809}; + name="Tradercitystary"; + text="Trader City Stary"; + type="mil_circle"; + colorName="ColorBlack"; + }; + class Item11 + { + position[]={4361,3,2259}; + name="Wholesaler1"; + text="Wholesaler"; + type="mil_box"; + colorName="ColorBlack"; + }; + class Item12 + { + position[]={13532,0,6355}; + name="Wholesaler2"; + text="Wholesaler"; + type="mil_box"; + colorName="ColorBlack"; + }; + class Item13 + { + position[]={7989,0,2900}; + name="BoatTrader1"; + text="Boat Trader"; + type="mil_box"; + colorName="ColorBlack"; + }; + class Item14 + { + position[]={12060,0,12638}; + name="Aircraftrader"; + text="Aircraft Trader"; + type="mil_triangle"; + colorName="ColorBlack"; + }; + class Item15 + { + position[]={1621.91,0,7797}; + name="BanditVendor"; + text="Bandit Vendor"; + type="mil_dot"; + colorName="ColorRed"; + }; + class Item16 + { + position[]={11447,0,11364}; + name="Klen"; + text="Trader City Klen"; + type="mil_circle"; + colorName="ColorGreen"; + }; + class Item17 + { + position[]={13441,0,5429}; + name="BoatTrader2"; + text="Boat Trader"; + type="mil_box"; + colorName="ColorBlack"; + }; + class Item18 + { + position[]={4064,0,11665}; + name="TradercityBash"; + text="Trader City Bash"; + type="mil_circle"; + colorName="ColorBlack"; + }; + class Item19 + { + position[]={12944,0,12766}; + name="HeroVendor"; + text="Hero Vendor"; + type="mil_dot"; + colorName="ColorBlue"; + }; + }; + class Sensors + { + items=10; + #define TRGDEF a=100;b=100;activationBy="WEST";repeating=1;interruptable=1;age="UNKNOWN";class Effects{}; + class Item0 + { + position[]={6325,0,7807}; + TRGDEF + name="zonestary"; + expCond="(player distance zonestary) < 100;"; + expActiv="[""Trader City Stary"",true,""enter""] call player_traderCity;"; + expDesactiv="[""Trader City Stary"",true,""leave""] call player_traderCity;"; + }; + class Item1 + { + position[]={4063,0,11664}; + TRGDEF + name="zonebash"; + expCond="(player distance zonebash) < 100;"; + expActiv="[""Trader City Bash"",true,""enter""] call player_traderCity;"; + expDesactiv="[""Trader City Bash"",true,""leave""] call player_traderCity;"; + }; + class Item2 + { + position[]={11447,0,11364}; + TRGDEF + name="zoneklen"; + expCond="(player distance zoneklen) < 100;"; + expActiv="[""Trader City Klen"",true,""enter""] call player_traderCity;"; + expDesactiv="[""Trader City Klen"",true,""leave""] call player_traderCity;"; + }; + class Item3 + { + position[]={1621.91,0,7797}; + TRGDEF + name="zonebandit"; + expCond="(player distance zonebandit) < 100;"; + expActiv="[""Bandit Vendor"",true,""enter""] call player_traderCity;"; + expDesactiv="[""Bandit Vendor"",true,""leave""] call player_traderCity;"; + }; + class Item4 + { + position[]={12944,0,12766}; + TRGDEF + name="zonehero"; + expCond="(player distance zonehero) < 100;"; + expActiv="[""Hero Vendor"",true,""enter""] call player_traderCity;"; + expDesactiv="[""Hero Vendor"",true,""leave""] call player_traderCity;"; + }; + class Item5 + { + position[]={12060,0,12638}; + TRGDEF + name="zoneaircraft"; + expCond="(player distance zoneaircraft) < 100;"; + expActiv="[""Aircraft Trader"",true,""enter""] call player_traderCity;"; + expDesactiv="[""Aircraft Trader"",true,""leave""] call player_traderCity;"; + }; + class Item6 + { + position[]={4361,3,2259}; + TRGDEF + name="zonewholesale1"; + expCond="(player distance zonewholesale1) < 100;"; + expActiv="[""Wholesaler"",true,""enter""] call player_traderCity;"; + expDesactiv="[""Wholesaler"",true,""leave""] call player_traderCity;"; + }; + class Item7 + { + position[]={13532,0,6355}; + TRGDEF + name="zonewholesale2"; + expCond="(player distance zonewholesale2) < 100;"; + expActiv="[""Wholesaler"",true,""enter""] call player_traderCity;"; + expDesactiv="[""Wholesaler"",true,""leave""] call player_traderCity;"; + }; + class Item8 + { + position[]={7989,0,2900}; + TRGDEF + name="zoneboat1"; + expCond="(player distance zoneboat1) < 100;"; + expActiv="[""Boat Trader"",true,""enter""] call player_traderCity;"; + expDesactiv="[""Boat Trader"",true,""leave""] call player_traderCity;"; + }; + class Item9 + { + position[]={13441,0,5429}; + TRGDEF + name="zoneboat2"; + expCond="(player distance zoneboat2) < 100;"; + expActiv="[""Boat Trader"",true,""enter""] call player_traderCity;"; + expDesactiv="[""Boat Trader"",true,""leave""] call player_traderCity;"; + }; + }; +}; +class Intro +{ + addOns[]= + { + "chernarus_winter" + }; + addOnsAuto[]= + { + "chernarus_winter" + }; + randomSeed=6913869; + class Intel + { + startWeather=0; + forecastWeather=0; + year=2008; + month=10; + day=11; + hour=9; + minute=20; + }; +}; +class OutroWin +{ + addOns[]= + { + "chernarus_winter" + }; + addOnsAuto[]= + { + "chernarus_winter" + }; + randomSeed=4081731; + class Intel + { + startWeather=0; + forecastWeather=0; + year=2008; + month=10; + day=11; + hour=9; + minute=20; + }; +}; +class OutroLoose +{ + addOns[]= + { + "chernarus_winter" + }; + addOnsAuto[]= + { + "chernarus_winter" + }; + randomSeed=4975929; + class Intel + { + startWeather=0; + forecastWeather=0; + year=2008; + month=10; + day=11; + hour=9; + minute=20; + }; +}; diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/rules.sqf b/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/rules.sqf new file mode 100644 index 000000000..c94ee9ba0 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_2.Chernarus_Winter/rules.sqf @@ -0,0 +1,29 @@ +private ["_messages","_timeout"]; + +_messages = [ + ["DayZ Epoch", "Welcome "+(name player)], + ["World", worldName], + ["Teamspeak", "some TS info"], + ["Website/Forums", "some website info"], + ["Server Rules", "Duping, glitching or using any
exploit will result in a
permanent ban."], + ["Server Rules", "No talking in side."], + ["Server Rules", "Hackers will be banned permanently
Respect others"], + ["News", "Some random new info!
Random news
"] +]; + +_timeout = 5; +{ + private ["_title","_content","_titleText"]; + uiSleep 2; + _title = _x select 0; + _content = _x select 1; + _titleText = format[("%1
%2"), _title, _content]; + [ + _titleText, + [safezoneX + safezoneW - 0.8,0.50], //DEFAULT: 0.5,0.35 + [safezoneY + safezoneH - 0.8,0.7], //DEFAULT: 0.8,0.7 + _timeout, + 0.5 + ] spawn BIS_fnc_dynamicText; + uiSleep (_timeout * 1.1); +} forEach _messages; \ No newline at end of file