diff --git a/SQF/dayz_code/gui/description.hpp b/SQF/dayz_code/gui/description.hpp new file mode 100644 index 000000000..2f39c1b94 --- /dev/null +++ b/SQF/dayz_code/gui/description.hpp @@ -0,0 +1,156 @@ + +class RscText +{ + type = 0; + idc = -1; + x = 0; + y = 0; + h = 0.037; + w = 0.3; + style = 0x100; + font = Zeppelin32; + SizeEx = 0.03921; + colorText[] = {1,1,1,1}; + colorBackground[] = {0, 0, 0, 0}; + linespacing = 1; +}; + +class RscPicture +{ + access=0; + type=0; + idc=-1; + style=48; + colorBackground[]={0,0,0,0}; + colorText[]={1,1,1,1}; + font="TahomaB"; + sizeEx=0; + lineSpacing=0; + text=""; +}; + +class RscLoadingText : RscText +{ + style = 2; + x = 0.323532; + y = 0.666672; + w = 0.352944; + h = 0.039216; + sizeEx = 0.03921; + colorText[] = {0.543,0.5742,0.4102,1.0}; +}; + +class RscProgress +{ + x = 0.344; + y = 0.619; + w = 0.313726; + h = 0.0261438; + texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; + colorFrame[] = {0,0,0,0}; + colorBar[] = {1,1,1,1}; +}; + +class RscProgressNotFreeze +{ + idc = -1; + type = 45; + style = 0; + x = 0.022059; + y = 0.911772; + w = 0.029412; + h = 0.039216; + texture = "#(argb,8,8,3)color(0,0,0,0)"; +}; + +// +// the loading screen itself +// + +class DayZ_loadingScreen +{ + idd = -1; + duration = 10e10; + fadein = 0; + fadeout = 0; + name = "loading screen"; + class controlsBackground + { + class blackBG : RscText + { + x = safezoneX; + y = safezoneY; + w = safezoneW; + h = safezoneH; + text = ""; + colorText[] = {0,0,0,0}; + colorBackground[] = {0,0,0,1}; + }; + }; + class controls + { + class Title1 : RscLoadingText + { + text = "$STR_LOADING"; // "Loading" text in the middle of the screen + }; + class CA_Progress : RscProgress // progress bar, has to have idc 104 + { + idc = 104; + type = 8; // CT_PROGRESS + style = 0; // ST_SINGLE + texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; + }; + class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse + { + idc = 103; + }; + class Name2: RscText // the text on the top-left + { + idc = 101; + x = 0.05; + y = 0.029412; + w = 0.9; + h = 0.04902; + text = ""; + sizeEx = 0.05; + colorText[] = {0.543,0.5742,0.4102,1.0}; + }; + }; +}; + +// logo watermark +class RscTitles { + class wm_disp { + idd = -1; + onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]"; + fadein = 0; + fadeout = 0; + duration = 10e10; + controlsBackground[] = {}; + objects[] = {}; + class controls { + class wm_text2 { + idc = 1; + x = safeZoneX+0.027;//safeZoneW*0.01; + y = safeZoneY+safeZoneH-0.16; + w = 0.151*safeZoneH; + h = 0.057*safeZoneH; + shadow = 2; + class Attributes + { + font = "EtelkaNarrowMediumPro"; + color = "#24FFFFFF"; + align = "left"; // put "center" here if you want some background + valign = "middle"; + shadow = 2; + }; + colorBackground[] = { 1, 0.3, 0, 0 }; // uncomment and increase 4th number to have a background + font = "EtelkaNarrowMediumPro"; + size = 0.06*safeZoneH; + type = 13; + style = 0; + text=""; + }; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/system/watermark.sqf b/SQF/dayz_code/system/watermark.sqf new file mode 100644 index 000000000..2328accb0 --- /dev/null +++ b/SQF/dayz_code/system/watermark.sqf @@ -0,0 +1,7 @@ +// Logo watermark: adding a logo in the bottom left corner of the screen with the server name in it +[] spawn { + waitUntil {(!isNull Player) and (alive Player) and (player == player)}; + waituntil {!(isNull (findDisplay 46))}; + 5 cutRsc ["wm_disp","PLAIN"]; + ((uiNamespace getVariable "wm_disp") displayCtrl 1) ctrlSetText dayZ_serverName; +}; diff --git a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/description.ext b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/description.ext index 6a2b01bca..c926e1921 100644 --- a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/description.ext @@ -1,154 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ Epoch Takistan"; +onLoadMission = "DayZ Epoch Takistan"; OnLoadIntro = "Welcome to Takistan"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; + class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf index 6b4e04678..fdbb50110 100644 --- a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 1; //The instance +dayZ_instance = 1; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -84,6 +85,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/description.ext b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/description.ext index 0baa35d12..5ca2f155b 100644 --- a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ_Epoch Mountains ACR"; +onLoadMission = "DayZ Epoch Mountains ACR"; OnLoadIntro = "Welcome to Mountains ACR"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf index ab75511bb..64f6255be 100644 --- a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 10; //The instance +dayZ_instance = 10; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -83,6 +84,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/description.ext b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/description.ext index 91e4ec31f..a70d8b348 100644 --- a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission= "DayZ Epoch Chernarus"; -OnLoadIntro = "Welcome to DayZ Epoch Chernarus"; +onLoadMission = "DayZ Epoch Chernarus"; +OnLoadIntro = "Welcome to Chernarus"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]= {0,2,6}; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf index dbb93206f..2e8049e38 100644 --- a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 11; //The instance +dayZ_instance = 11; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -143,6 +144,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/description.ext b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/description.ext index 9e86ceb69..0e92a6d8a 100644 --- a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ Epoch Isla Duala"; +onLoadMission = "DayZ Epoch Isla Duala"; OnLoadIntro = "Welcome to Isla Duala"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf index 72905d6c9..241a3286f 100644 --- a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf @@ -8,6 +8,7 @@ enableSaving [false, false]; //REALLY IMPORTANT VALUES dayZ_instance = 12; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -82,6 +83,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/description.ext b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/description.ext index c55c122a8..dae59536a 100644 --- a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ_Epoch Taviana"; +onLoadMission = "DayZ Epoch Taviana"; OnLoadIntro = "Welcome to Taviana"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf index 7eabb4b00..554c0b9af 100644 --- a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf @@ -8,6 +8,7 @@ enableSaving [false, false]; //REALLY IMPORTANT VALUES dayZ_instance = 13; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -86,6 +87,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/description.ext b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/description.ext index 00c86e97c..5f6c114d8 100644 --- a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ_Epoch Namalsk"; +onLoadMission = "DayZ Epoch Namalsk"; OnLoadIntro = "Welcome to Namalsk"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf index 63852cef1..f81c4a753 100644 --- a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf @@ -8,6 +8,7 @@ enableSaving [false, false]; //REALLY IMPORTANT VALUES dayZ_instance = 15; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -85,6 +86,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/description.ext b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/description.ext index 76e886c77..78a6ac749 100644 --- a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ_Epoch Panthera"; +onLoadMission = "DayZ Epoch Panthera"; OnLoadIntro = "Welcome to Panthera Island"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf index c11b5b6f7..73d8085e3 100644 --- a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf @@ -8,6 +8,7 @@ enableSaving [false, false]; //REALLY IMPORTANT VALUES dayZ_instance = 16; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -85,6 +86,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/description.ext b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/description.ext index 53428379e..99e1373c7 100644 --- a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission= "DayZ Epoch Chernarus"; -OnLoadIntro = "Welcome to DayZ Epoch Chernarus"; +onLoadMission = "DayZ Epoch Chernarus"; +OnLoadIntro = "Welcome to Chernarus"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf index c2389fba3..64439a0eb 100644 --- a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 11; //The instance +dayZ_instance = 11; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -83,6 +84,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_18.Sara/description.ext b/Server Files/MPMissions/DayZ_Epoch_18.Sara/description.ext index 5741d2d1c..3fd28c802 100644 --- a/Server Files/MPMissions/DayZ_Epoch_18.Sara/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_18.Sara/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission= "DayZ Epoch Sahrani"; -OnLoadIntro = "Welcome to DayZ Epoch Sahrani"; +onLoadMission = "DayZ Epoch Sahrani"; +OnLoadIntro = "Welcome to Sahrani"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_18.Sara/init.sqf b/Server Files/MPMissions/DayZ_Epoch_18.Sara/init.sqf index 0ca0ce5ae..bce8fb58f 100644 --- a/Server Files/MPMissions/DayZ_Epoch_18.Sara/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_18.Sara/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 18; //The instance +dayZ_instance = 18; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -83,6 +84,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/description.ext b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/description.ext index 2f34b7296..039322637 100644 --- a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/description.ext @@ -1,154 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission= "DayZ_Epoch Podagorsk"; +onLoadMission = "DayZ Epoch Podagorsk"; OnLoadIntro = "Welcome to Podagorsk"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,1,2}; +disableChannels[] = {0,1,2}; 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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; + class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf index ea4cd62d1..bcf074c4c 100644 --- a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 19; //The instance +dayZ_instance = 19; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -82,6 +83,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Utes/description.ext b/Server Files/MPMissions/DayZ_Epoch_2.Utes/description.ext index b6a507718..9f529a9b2 100644 --- a/Server Files/MPMissions/DayZ_Epoch_2.Utes/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_2.Utes/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ_Epoch Utes"; +onLoadMission = "DayZ Epoch Utes"; OnLoadIntro = "Welcome to Utes"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf index f1c4a5851..c652064a7 100644 --- a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 2; //The instance +dayZ_instance = 2; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -84,6 +85,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/description.ext b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/description.ext index ff5ea8da9..0d265ba19 100644 --- a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ Epoch Fapovo"; +onLoadMission = "DayZ Epoch Fapovo"; OnLoadIntro = "Welcome to Fapovo Island"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf index fe1b20519..28407461b 100644 --- a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf @@ -8,6 +8,7 @@ enableSaving [false, false]; //REALLY IMPORTANT VALUES dayZ_instance = 20; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -83,6 +84,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/description.ext b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/description.ext index a245c62b8..13372b558 100644 --- a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ Epoch Caribou Frontier"; -OnLoadIntro = "Welcome to DayZ Epoch Caribou Frontier"; +onLoadMission = "DayZ Epoch Caribou Frontier"; +OnLoadIntro = "Welcome to Caribou Frontier"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf index 9635704df..a04c9ec22 100644 --- a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf @@ -8,6 +8,7 @@ enableSaving [false, false]; //REALLY IMPORTANT VALUES dayZ_instance = 21; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -83,6 +84,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/description.ext b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/description.ext index b3ab22da7..3e7a43c03 100644 --- a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; onLoadMission= "DayZ Epoch SMD Sahrani"; -OnLoadIntro = "Welcome to DayZ Epoch SMD Sahrani"; +OnLoadIntro = "Welcome to SMD Sahrani"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf index 4fbc4148c..aea8ad7ae 100644 --- a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 22; //The instance +dayZ_instance = 22; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -83,6 +84,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/description.ext b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/description.ext index 06598f741..e34bf4532 100644 --- a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission= "DayZ Epoch Ovaron"; -OnLoadIntro = "Welcome to DayZ Epoch Ovaron"; +onLoadMission = "DayZ Epoch Ovaron"; +OnLoadIntro = "Welcome to Ovaron"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf index fa3dac31b..26c17cc24 100644 --- a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 11; //The instance +dayZ_instance = 11; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -81,6 +82,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_24.Napf/description.ext b/Server Files/MPMissions/DayZ_Epoch_24.Napf/description.ext index 341ffb1d2..058b18749 100644 --- a/Server Files/MPMissions/DayZ_Epoch_24.Napf/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_24.Napf/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ_Epoch Napf"; +onLoadMission = "DayZ Epoch Napf"; OnLoadIntro = "Welcome to Napf"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf index 492775cc5..4a6f2ac09 100644 --- a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 24; //The instance +dayZ_instance = 24; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -85,6 +86,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/description.ext b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/description.ext index 463685748..ecfc20ce3 100644 --- a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ_Epoch Sauerland"; +onLoadMission = "DayZ Epoch Sauerland"; OnLoadIntro = "Welcome to Sauerland"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" \ No newline at end of file diff --git a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf index b91c5a1a4..9d875c35e 100644 --- a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 25; //The instance +dayZ_instance = 25; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -85,6 +86,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/description.ext b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/description.ext index 7ca3a97af..47fda1830 100644 --- a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission= "DayZ Epoch Shapur"; -OnLoadIntro = "Welcome to DayZ Epoch Shapur"; +onLoadMission = "DayZ Epoch Shapur"; +OnLoadIntro = "Welcome to Shapur"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf index 9dc4ae541..20917ae61 100644 --- a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 3; //The instance +dayZ_instance = 3; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -84,6 +85,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/description.ext b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/description.ext index 610dc3bbc..e1701bd0e 100644 --- a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/description.ext @@ -1,154 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ_Epoch Zargabad"; +onLoadMission = "DayZ Epoch Zargabad"; OnLoadIntro = "Welcome to Zargabad"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; + class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf index 1d497d043..9e8bbe0f3 100644 --- a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 4; //The instance +dayZ_instance = 4; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -84,6 +85,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/description.ext b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/description.ext index 8e16b7a65..7389584eb 100644 --- a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ_Epoch Bootcamp ACR"; +onLoadMission = "DayZ Epoch Bootcamp ACR"; OnLoadIntro = "Welcome to Bootcamp ACR"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf index 385ccc4ba..183bcc6a8 100644 --- a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 5; //The instance +dayZ_instance = 5; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -83,6 +84,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_6.Dingor/description.ext b/Server Files/MPMissions/DayZ_Epoch_6.Dingor/description.ext index bead2f645..dd243f4c8 100644 --- a/Server Files/MPMissions/DayZ_Epoch_6.Dingor/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_6.Dingor/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ Epoch Dingor"; +onLoadMission = "DayZ Epoch Dingor"; OnLoadIntro = "Welcome to Dingor Island"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_6.Dingor/init.sqf b/Server Files/MPMissions/DayZ_Epoch_6.Dingor/init.sqf index 56d7885d8..e86f736ea 100644 --- a/Server Files/MPMissions/DayZ_Epoch_6.Dingor/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_6.Dingor/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 6; //The instance +dayZ_instance = 6; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -84,6 +85,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/description.ext b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/description.ext index dace1dfe8..c586f6bf1 100644 --- a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ Epoch Lingor"; +onLoadMission = "DayZ Epoch Lingor"; OnLoadIntro = "Welcome to Lingor Island"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf index 92b3b62c0..40b534307 100644 --- a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 7; //The instance +dayZ_instance = 7; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -84,6 +85,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/description.ext b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/description.ext index 7e27b4636..3efd5a21a 100644 --- a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ_Epoch Proving Grounds PMC"; +onLoadMission = "DayZ Epoch Proving Grounds PMC"; OnLoadIntro = "Welcome to Proving Grounds PMC"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf index b9afce144..565afbd5f 100644 --- a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 8; //The instance +dayZ_instance = 8; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -83,6 +84,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/description.ext b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/description.ext index 2372c7368..93b764575 100644 --- a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/description.ext +++ b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission="DayZ_Epoch Woodland ACR"; +onLoadMission = "DayZ Epoch Woodland ACR"; OnLoadIntro = "Welcome to Woodland ACR"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; -enableItemsDropping=0; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" diff --git a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf index bb5d5a550..05715925f 100644 --- a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 9; //The instance +dayZ_instance = 9; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -83,6 +84,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather diff --git a/Server Files/MPMissions/TEMPLATE/description.ext b/Server Files/MPMissions/TEMPLATE/description.ext index 53428379e..dba07c66b 100644 --- a/Server Files/MPMissions/TEMPLATE/description.ext +++ b/Server Files/MPMissions/TEMPLATE/description.ext @@ -1,155 +1,32 @@ respawn = "BASE"; respawndelay = 5; -onLoadMission= "DayZ Epoch Chernarus"; -OnLoadIntro = "Welcome to DayZ Epoch Chernarus"; +onLoadMission = "DayZ Epoch Chernarus"; +OnLoadIntro = "Welcome to Chernarus"; OnLoadIntroTime = 0; OnLoadMissionTime = 0; disabledAI = 1; -disableChannels[]={0,2,6}; +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"}; -briefing = 0; -debriefing = 0; - -onPauseScript = ""; loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { - gameType = COOP; //DM, Team, Coop, ... - minPlayers = 1; //min # of players the mission supports - maxPlayers = 100; //Max # of players the mission supports + 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; -class RscText -{ - type = 0; - idc = -1; - x = 0; - y = 0; - h = 0.037; - w = 0.3; - style = 0x100; - font = Zeppelin32; - SizeEx = 0.03921; - colorText[] = {1,1,1,1}; - colorBackground[] = {0, 0, 0, 0}; - linespacing = 1; -}; -class RscPicture -{ - access=0; - type=0; - idc=-1; - style=48; - colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,1}; - font="TahomaB"; - sizeEx=0; - lineSpacing=0; - text=""; -}; -class RscLoadingText : RscText -{ - style = 2; - x = 0.323532; - y = 0.666672; - w = 0.352944; - h = 0.039216; - sizeEx = 0.03921; - colorText[] = {0.543,0.5742,0.4102,1.0}; -}; -class RscProgress -{ - x = 0.344; - y = 0.619; - w = 0.313726; - h = 0.0261438; - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - colorFrame[] = {0,0,0,0}; - colorBar[] = {1,1,1,1}; -}; -class RscProgressNotFreeze -{ - idc = -1; - type = 45; - style = 0; - x = 0.022059; - y = 0.911772; - w = 0.029412; - h = 0.039216; - texture = "#(argb,8,8,3)color(0,0,0,0)"; -}; -// -// the loading screen itself -// -class DayZ_loadingScreen -{ - idd = -1; - duration = 10e10; - fadein = 0; - fadeout = 0; - name = "loading screen"; - class controlsBackground - { - class blackBG : RscText - { - x = safezoneX; - y = safezoneY; - w = safezoneW; - h = safezoneH; - text = ""; - colorText[] = {0,0,0,0}; - colorBackground[] = {0,0,0,1}; - }; - /* - class nicePic : RscPicture - { - style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO - x = safezoneX + safezoneW/2 - 0.25; - y = safezoneY + safezoneH/2 - 0.2; - w = 0.5; - h = 0.4; - text = "img\nicePic.paa"; - }; - */ - }; - class controls - { - class Title1 : RscLoadingText - { - text = "$STR_LOADING"; // "Loading" text in the middle of the screen - }; - class CA_Progress : RscProgress // progress bar, has to have idc 104 - { - idc = 104; - type = 8; // CT_PROGRESS - style = 0; // ST_SINGLE - texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; - }; - class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse - { - idc = 103; - }; - class Name2: RscText // the text on the top-left - { - idc = 101; - x = 0.05; - y = 0.029412; - w = 0.9; - h = 0.04902; - text = ""; - sizeEx = 0.05; - colorText[] = {0.543,0.5742,0.4102,1.0}; - }; - }; -}; +#include "\z\addons\dayz_code\gui\description.hpp" \ No newline at end of file diff --git a/Server Files/MPMissions/TEMPLATE/init.sqf b/Server Files/MPMissions/TEMPLATE/init.sqf index 38529e787..9075a53d2 100644 --- a/Server Files/MPMissions/TEMPLATE/init.sqf +++ b/Server Files/MPMissions/TEMPLATE/init.sqf @@ -7,7 +7,8 @@ cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 11; //The instance +dayZ_instance = 11; //The instance +dayZ_serverName = ""; //Shown to all players in the bottom left of the screen dayzHiveRequest = []; initialized = false; dayz_previousID = 0; @@ -81,6 +82,7 @@ if (!isDedicated) then { //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; + if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; }; }; #include "\z\addons\dayz_code\system\REsec.sqf" //Start Dynamic Weather