SpawnSelecter and PlayerUI cfg in a #ifdef

This commit is contained in:
Skaronator
2013-11-16 15:02:42 +01:00
parent 3e0a1cc2b1
commit 8fdb9a9b7d
4 changed files with 734 additions and 407 deletions

View File

@@ -0,0 +1,120 @@
class RscDisplaySpawnSelecter {
idd = 6903;
enableDisplay = 1;
onLoad = "dayz_DisplaySpawnSelecter = true;";
//onUnload = "dayz_DisplaySpawnSelecter = false;";
class controlsBackground {
class Mainback : RscPicture {
idc = -1;
text = "\z\addons\dayz_code\gui\spawn\spawn_bg.paa";
x = 0 * safezoneW + safezoneX;
y = 0 * safezoneH + safezoneY;
w = 1 * safezoneW;
h = 1 * safezoneH;
};
};
class controls
{
class RscSelectedRegion1 : RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_kamenka.paa";
x = 0.524899 * safezoneW + safezoneX;
y = 0.591199 * safezoneH + safezoneY;
w = 0.234287 * safezoneW;
h = 0.3044 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 1;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion2: RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_balota.paa";
x = 0.230417 * safezoneW + safezoneX;
y = 0.610615 * safezoneH + safezoneY;
w = 0.223688 * safezoneW;
h = 0.270356 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 0;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion3: RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_cherno.paa";
x = 0.234564 * safezoneW + safezoneX;
y = 0.116375 * safezoneH + safezoneY;
w = 0.234375 * safezoneW;
h = 0.275 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 2;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion4: RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_elektro.paa";
x = 0.212005 * safezoneW + safezoneX;
y = 0.371473 * safezoneH + safezoneY;
w = 0.234683 * safezoneW;
h = 0.274546 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 3;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion5: RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_sol.paa";
x = 0.565892 * safezoneW + safezoneX;
y = 0.365922 * safezoneH + safezoneY;
w = 0.246438 * safezoneW;
h = 0.275001 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 4;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion6: RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_berezino.paa";
x = 0.517793 * safezoneW + safezoneX;
y = 0.13013 * safezoneH + safezoneY;
w = 0.234375 * safezoneW;
h = 0.275 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 5;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegionRandom: RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_random.paa";
x = 0.420865 * safezoneW + safezoneX;
y = 0.336926 * safezoneH + safezoneY;
w = 0.168843675 * safezoneW;
h = 0.331135035 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 9;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
};
};

View File

@@ -0,0 +1,319 @@
class RscTitles
{
titles[] = {"DeathScreen","TitleScreen","RscTitleStructuredText"};
class DeathScreen
{
idd = -1;
movingEnable = "false";
duration = 120;
fadein = 0;
name = "DeathScreen";
controls[] = {"DeathScreen"};
class DeathScreen: RscPicture
{
x = "0.00001 * safezoneW + safezoneX";
y = "0.00001 * safezoneH + safezoneY";
w = "1 * safezoneW";
h = "1 * safezoneH";
text = "\z\addons\dayz_epoch\ui\screen_death_ca.paa";
};
};
class TitleScreen
{
idd = -1;
movingEnable = "false";
duration = 120;
fadein = 0;
name = "TitleScreen";
controls[] = {"TitleScreen"};
class TitleScreen: RscPicture
{
x = "0.00001 * safezoneW + safezoneX";
y = "0.00001 * safezoneH + safezoneY";
w = "1 * safezoneW";
h = "1 * safezoneH";
text = "\dayz\ui\screen_title_ca.paa";
};
};
class Default
{
idd = -1;
movingEnable = 0;
duration = 4;
};
class playerKillScore {
idd = 6902;
movingEnable = 0;
duration = 5;
name = "playerKillScore";
onLoad = "uiNamespace setVariable ['DAYZ_GUI_kills', _this select 0];";
class ControlsBackground {
class RscPicture_1201: RscPictureGUI
{
idc = 1400;
text = "\z\addons\dayz_code\gui\stats_kills_human_ca.paa";
x = 0.044687 * safezoneW + safezoneX;
y = 0.934779 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1200: RscPictureGUI
{
idc = 1401;
text = "\z\addons\dayz_code\gui\stats_kills_zombie_ca.paa";
x = 0.044687 * safezoneW + safezoneX;
y = 0.876025 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
};
class Controls{
class RscText1: RscStructuredTextGUI
{
idc = 1410;
text = "10";
x = (0.044687 * safezoneW + safezoneX) - 0.01;
y = 0.934779 * safezoneH + safezoneY;
w = 0.08;
h = 0.08;
};
class RscText2: RscStructuredTextGUI
{
idc = 1411;
text = "1000";
x = (0.044687 * safezoneW + safezoneX) - 0.01;
y = 0.876025 * safezoneH + safezoneY;
w = 0.08;
h = 0.08;
};
};
};
class playerStatusWaiting {
idd = 6901;
movingEnable = 0;
duration = 100000;
name = "playerStatusWaiting";
onLoad = "uiNamespace setVariable ['DAYZ_GUI_waiting', _this select 0];";
class ControlsBackground {
class RscText_1402: RscPictureGUI
{
idc = 1402;
text = "#(argb,8,8,3)color(1,1,1,1)";
x = 0.473572 * safezoneW + safezoneX;
y = 0.418158 * safezoneH + safezoneY;
w = 0.0634286 * safezoneW;
h = 0.136829 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscText_1400: RscPictureGUI
{
idc = 1400;
text = "#(argb,8,8,3)color(1,1,1,1)";
x = 0.473572 * safezoneW + safezoneX;
y = 0.418158 * safezoneH + safezoneY;
w = 0.0634286 * safezoneW;
h = 0; //0.136829 * safezoneH;
colorText[] = {0,0,0,1};
};
};
class Controls {
class RscPicture_1401: RscPictureGUI
{
idc = 1401;
text = "\z\addons\dayz_code\gui\status_waiting_ca.paa";
x = 0.434999 * safezoneW + safezoneX;
y = 0.392207 * safezoneH + safezoneY;
w = 0.141 * safezoneW;
h = 0.188013 * safezoneH;
colorText[] = {0.38,0.63,0.26,1};
};
};
};
class playerStatusGUI {
idd = 6900;
movingEnable = 0;
duration = 100000;
name = "statusBorder";
onLoad = "uiNamespace setVariable ['DAYZ_GUI_display', _this select 0];";
class ControlsBackground {
class RscPicture_1901: RscPictureGUI
{
idc = 1901;
text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.86 * safezoneH + safezoneY;//2
w = 0.075;
h = 0.10;
};
class RscPicture_1201: RscPictureGUI
{
idc = 1201;
text = "\z\addons\dayz_code\gui\status\status_food_border_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.86 * safezoneH + safezoneY;//2
w = 0.075;
h = 0.10;
};
class RscPicture_1900: RscPictureGUI
{
idc = 1900;
text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.79 * safezoneH + safezoneY; //3
w = 0.075;
h = 0.10;
};
class RscPicture_1200: RscPictureGUI
{
idc = 1200;
//text = "\z\addons\dayz_code\gui\status\status_blood_border_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.79 * safezoneH + safezoneY; //3
w = 0.075;
h = 0.10;
};
class RscPicture_1902: RscPictureGUI
{
idc = 1902;
text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.93 * safezoneH + safezoneY; //1
w = 0.075;
h = 0.10;
};
class RscPicture_1202: RscPictureGUI
{
idc = 1202;
text = "\z\addons\dayz_code\gui\status\status_thirst_border_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.93 * safezoneH + safezoneY; //1
w = 0.075;
h = 0.10;
};
class RscPicture_1908: RscPictureGUI
{
idc = 1908;
text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY; //3
w = 0.075;
h = 0.10;
};
class RscPicture_1208: RscPictureGUI
{
idc = 1208;
text = "\z\addons\dayz_code\gui\status\status_temp_outside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY; //3
w = 0.075;
h = 0.10;
};
class RscPicture_1203: RscPictureGUI
{
idc = 1203;
text = "\z\addons\dayz_code\gui\status\status_effect_brokenleg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.58 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
colorText[] = {1,1,1,1};
};
class RscPicture_1204: RscPictureGUI
{
idc = 1204;
text = "\z\addons\dayz_code\gui\status\status_connection_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.51 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
colorText[] = {1,1,1,1};
};
class RscPicture_1205: RscPictureGUI
{
idc = 1205;
text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.30 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
class RscPicture_1206: RscPictureGUI
{
idc = 1206;
text = "\z\addons\dayz_code\gui\status\status_bg.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.37 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
};
class Controls {
class RscPicture_1301: RscPictureGUI
{
idc = 1301;
//text = "\z\addons\dayz_code\gui\status\status_food_inside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.86 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
class RscPicture_1300: RscPictureGUI
{
idc = 1300;
//text = "\z\addons\dayz_code\gui\status\status_blood_inside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.79 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
class RscPicture_1302: RscPictureGUI
{
idc = 1302;
//text = "\z\addons\dayz_code\gui\status\status_thirst_inside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.93 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
class RscPicture_1306: RscPictureGUI
{
idc = 1306;
//text = "\z\addons\dayz_code\gui\status\status_temp_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
class RscPicture_1303: RscPictureGUI
{
idc = 1303;
text = "\z\addons\dayz_code\gui\status\status_bleeding_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.79 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
colorText[] = {1,1,1,0.5};
};
class RscPicture_1304: RscPictureGUI
{
idc = 1304;
text = "\z\addons\dayz_code\gui\status\status_noise.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.30 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
class RscPicture_1305: RscPictureGUI
{
idc = 1305;
text = "\z\addons\dayz_code\gui\status\status_visible.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.37 * safezoneH + safezoneY;
w = 0.075;
h = 0.10;
};
};
};
};

View File

@@ -0,0 +1,287 @@
class RscTitles
{
titles[] = {"DeathScreen","TitleScreen","RscTitleStructuredText"};
class DeathScreen
{
idd = -1;
movingEnable = "false";
duration = 120;
fadein = 0;
name = "DeathScreen";
controls[] = {"DeathScreen"};
class DeathScreen: RscPicture
{
x = "0.00001 * safezoneW + safezoneX";
y = "0.00001 * safezoneH + safezoneY";
w = "1 * safezoneW";
h = "1 * safezoneH";
text = "\z\addons\dayz_epoch\ui\screen_death_ca.paa";
};
};
class TitleScreen
{
idd = -1;
movingEnable = "false";
duration = 120;
fadein = 0;
name = "TitleScreen";
controls[] = {"TitleScreen"};
class TitleScreen: RscPicture
{
x = "0.00001 * safezoneW + safezoneX";
y = "0.00001 * safezoneH + safezoneY";
w = "1 * safezoneW";
h = "1 * safezoneH";
text = "\dayz\ui\screen_title_ca.paa";
};
};
class Default
{
idd = -1;
movingEnable = 0;
duration = 4;
};
class playerKillScore
{
idd = 6902;
movingEnable = 0;
duration = 5;
name = "playerKillScore";
onLoad = "uiNamespace setVariable ['DAYZ_GUI_kills', _this select 0];";
class ControlsBackground {
class RscPicture_1201: RscPictureGUI
{
idc = 1400;
text = "\z\addons\dayz_code\gui\stats_kills_human_ca.paa";
x = 0.044687 * safezoneW + safezoneX;
y = 0.934779 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1200: RscPictureGUI
{
idc = 1401;
text = "\z\addons\dayz_code\gui\stats_kills_zombie_ca.paa";
x = 0.044687 * safezoneW + safezoneX;
y = 0.876025 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
};
class Controls{
class RscText1: RscStructuredTextGUI
{
idc = 1410;
text = "10";
x = (0.044687 * safezoneW + safezoneX) - 0.01;
y = 0.934779 * safezoneH + safezoneY;
w = 0.08;
h = 0.08;
};
class RscText2: RscStructuredTextGUI
{
idc = 1411;
text = "1000";
x = (0.044687 * safezoneW + safezoneX) - 0.01;
y = 0.876025 * safezoneH + safezoneY;
w = 0.08;
h = 0.08;
};
};
};
class playerStatusWaiting
{
idd = 6901;
movingEnable = 0;
duration = 100000;
name = "playerStatusWaiting";
onLoad = "uiNamespace setVariable ['DAYZ_GUI_waiting', _this select 0];";
class ControlsBackground {
class RscText_1402: RscPictureGUI
{
idc = 1402;
text = "#(argb,8,8,3)color(1,1,1,1)";
x = 0.473572 * safezoneW + safezoneX;
y = 0.418158 * safezoneH + safezoneY;
w = 0.0634286 * safezoneW;
h = 0.136829 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscText_1400: RscPictureGUI
{
idc = 1400;
text = "#(argb,8,8,3)color(1,1,1,1)";
x = 0.473572 * safezoneW + safezoneX;
y = 0.418158 * safezoneH + safezoneY;
w = 0.0634286 * safezoneW;
h = 0; //0.136829 * safezoneH;
colorText[] = {0,0,0,1};
};
};
class Controls {
class RscPicture_1401: RscPictureGUI
{
idc = 1401;
text = "\z\addons\dayz_code\gui\status_waiting_ca.paa";
x = 0.434999 * safezoneW + safezoneX;
y = 0.392207 * safezoneH + safezoneY;
w = 0.141 * safezoneW;
h = 0.188013 * safezoneH;
colorText[] = {0.38,0.63,0.26,1};
};
};
};
class playerStatusGUI
{
idd = 6900;
movingEnable = 0;
duration = 100000;
name = "statusBorder";
onLoad = "uiNamespace setVariable ['DAYZ_GUI_display', _this select 0];";
class ControlsBackground {
class RscStructuredText_1199: RscStructuredText
{
idc = 1199;
x = 0.250001;
y = 0.350001;
w = 0.5;
h = 0.1;
};
class RscPicture_1203: RscPictureGUI
{
idc = 1203;
text = "\z\addons\dayz_code\gui\status_fracture_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.58 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
colorText[] = {1,1,1,1};
};
class RscPicture_1204: RscPictureGUI
{
idc = 1204;
text = "\z\addons\dayz_code\gui\status_connection_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.51 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
colorText[] = {1,1,1,1};
};
class RscPicture_1205: RscPictureGUI
{
idc = 1205;
text = "\z\addons\dayz_code\gui\status_ear_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.30 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1206: RscPictureGUI
{
idc = 1206;
text = "\z\addons\dayz_code\gui\status_eye_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.37 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
};
class Controls{
class RscPicture_1301: RscPictureGUI
{
idc = 1301;
//text = "\z\addons\dayz_code\gui\status_food_inside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.93 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1300: RscPictureGUI
{
idc = 1300;
//text = "\z\addons\dayz_code\gui\status_blood_inside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.86 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1302: RscPictureGUI
{
idc = 1302;
//text = "\z\addons\dayz_code\gui\status_thirst_inside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.79 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1306: RscPictureGUI
{
idc = 1306;
//text = "\z\addons\dayz_code\gui\status_temp_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1303: RscPictureGUI
{
idc = 1303;
text = "\z\addons\dayz_code\gui\status_bleeding_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.86 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
colorText[] = {1,1,1,0.5};
};
class RscPicture_1304: RscPictureGUI
{
idc = 1304;
text = "";
x = 0.935313 * safezoneW + safezoneX;
y = 0.3 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1305: RscPictureGUI
{
idc = 1305;
text = "";
x = 0.935313 * safezoneW + safezoneX;
y = 0.37 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1307 : RscPictureGUI {
idc = 1307;
text = "\z\addons\dayz_code\gui\status_combat_inside_ca.paa";
x = "0.955313 * safezoneW + safezoneX";
y = "0.65 * safezoneH + safezoneY";
w = 0.06;
h = 0.08;
};
class RscPicture_1701: RscPictureGUI
{
idc = 1701;
//text = "\z\addons\dayz_code\gui\status_food_inside_ca.paa";
x = 0.945313 * safezoneW + safezoneX;
y = 0.95 * safezoneH + safezoneY;
w = 0.04;
h = 0.053333;
};
class RscPicture_1702: RscPictureGUI
{
idc = 1702;
//text = "\z\addons\dayz_code\gui\status_thirst_inside_ca.paa";
x = 0.945313 * safezoneW + safezoneX;
y = 0.816666 * safezoneH + safezoneY;
w = 0.04;
h = 0.053333;
};
};
};
};

View File

@@ -1633,411 +1633,12 @@ class DZ_ItemInteraction {
};
};
#ifdef NewPlayerUI
#include "RscDisplay\RscNewPlayerUI.hpp"
#else
#include "RscDisplay\RscOldPlayerUI.hpp"
#endif
class RscTitles
{
titles[] = {"DeathScreen","TitleScreen","RscTitleStructuredText"};
class DeathScreen
{
idd = -1;
movingEnable = "false";
duration = 120;
fadein = 0;
name = "DeathScreen";
controls[] = {"DeathScreen"};
class DeathScreen: RscPicture
{
x = "0.00001 * safezoneW + safezoneX";
y = "0.00001 * safezoneH + safezoneY";
w = "1 * safezoneW";
h = "1 * safezoneH";
text = "\z\addons\dayz_epoch\ui\screen_death_ca.paa";
};
};
class TitleScreen
{
idd = -1;
movingEnable = "false";
duration = 120;
fadein = 0;
name = "TitleScreen";
controls[] = {"TitleScreen"};
class TitleScreen: RscPicture
{
x = "0.00001 * safezoneW + safezoneX";
y = "0.00001 * safezoneH + safezoneY";
w = "1 * safezoneW";
h = "1 * safezoneH";
text = "\dayz\ui\screen_title_ca.paa";
};
};
class Default
{
idd = -1;
movingEnable = 0;
duration = 4;
};
class playerKillScore
{
idd = 6902;
movingEnable = 0;
duration = 5;
name = "playerKillScore";
onLoad = "uiNamespace setVariable ['DAYZ_GUI_kills', _this select 0];";
class ControlsBackground {
class RscPicture_1201: RscPictureGUI
{
idc = 1400;
text = "\z\addons\dayz_code\gui\stats_kills_human_ca.paa";
x = 0.044687 * safezoneW + safezoneX;
y = 0.934779 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1200: RscPictureGUI
{
idc = 1401;
text = "\z\addons\dayz_code\gui\stats_kills_zombie_ca.paa";
x = 0.044687 * safezoneW + safezoneX;
y = 0.876025 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
};
class Controls{
class RscText1: RscStructuredTextGUI
{
idc = 1410;
text = "10";
x = (0.044687 * safezoneW + safezoneX) - 0.01;
y = 0.934779 * safezoneH + safezoneY;
w = 0.08;
h = 0.08;
};
class RscText2: RscStructuredTextGUI
{
idc = 1411;
text = "1000";
x = (0.044687 * safezoneW + safezoneX) - 0.01;
y = 0.876025 * safezoneH + safezoneY;
w = 0.08;
h = 0.08;
};
};
};
class playerStatusWaiting
{
idd = 6901;
movingEnable = 0;
duration = 100000;
name = "playerStatusWaiting";
onLoad = "uiNamespace setVariable ['DAYZ_GUI_waiting', _this select 0];";
class ControlsBackground {
class RscText_1402: RscPictureGUI
{
idc = 1402;
text = "#(argb,8,8,3)color(1,1,1,1)";
x = 0.473572 * safezoneW + safezoneX;
y = 0.418158 * safezoneH + safezoneY;
w = 0.0634286 * safezoneW;
h = 0.136829 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscText_1400: RscPictureGUI
{
idc = 1400;
text = "#(argb,8,8,3)color(1,1,1,1)";
x = 0.473572 * safezoneW + safezoneX;
y = 0.418158 * safezoneH + safezoneY;
w = 0.0634286 * safezoneW;
h = 0; //0.136829 * safezoneH;
colorText[] = {0,0,0,1};
};
};
class Controls {
class RscPicture_1401: RscPictureGUI
{
idc = 1401;
text = "\z\addons\dayz_code\gui\status_waiting_ca.paa";
x = 0.434999 * safezoneW + safezoneX;
y = 0.392207 * safezoneH + safezoneY;
w = 0.141 * safezoneW;
h = 0.188013 * safezoneH;
colorText[] = {0.38,0.63,0.26,1};
};
};
};
class playerStatusGUI
{
idd = 6900;
movingEnable = 0;
duration = 100000;
name = "statusBorder";
onLoad = "uiNamespace setVariable ['DAYZ_GUI_display', _this select 0];";
class ControlsBackground {
class RscStructuredText_1199: RscStructuredText
{
idc = 1199;
x = 0.250001;
y = 0.350001;
w = 0.5;
h = 0.1;
};
class RscPicture_1203: RscPictureGUI
{
idc = 1203;
text = "\z\addons\dayz_code\gui\status_fracture_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.58 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
colorText[] = {1,1,1,1};
};
class RscPicture_1204: RscPictureGUI
{
idc = 1204;
text = "\z\addons\dayz_code\gui\status_connection_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.51 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
colorText[] = {1,1,1,1};
};
class RscPicture_1205: RscPictureGUI
{
idc = 1205;
text = "\z\addons\dayz_code\gui\status_ear_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.30 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1206: RscPictureGUI
{
idc = 1206;
text = "\z\addons\dayz_code\gui\status_eye_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.37 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
};
class Controls{
class RscPicture_1301: RscPictureGUI
{
idc = 1301;
//text = "\z\addons\dayz_code\gui\status_food_inside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.93 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1300: RscPictureGUI
{
idc = 1300;
//text = "\z\addons\dayz_code\gui\status_blood_inside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.86 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1302: RscPictureGUI
{
idc = 1302;
//text = "\z\addons\dayz_code\gui\status_thirst_inside_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.79 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1306: RscPictureGUI
{
idc = 1306;
//text = "\z\addons\dayz_code\gui\status_temp_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1303: RscPictureGUI
{
idc = 1303;
text = "\z\addons\dayz_code\gui\status_bleeding_ca.paa";
x = 0.955313 * safezoneW + safezoneX;
y = 0.86 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
colorText[] = {1,1,1,0.5};
};
class RscPicture_1304: RscPictureGUI
{
idc = 1304;
text = "";
x = 0.935313 * safezoneW + safezoneX;
y = 0.3 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1305: RscPictureGUI
{
idc = 1305;
text = "";
x = 0.935313 * safezoneW + safezoneX;
y = 0.37 * safezoneH + safezoneY;
w = 0.06;
h = 0.08;
};
class RscPicture_1307 : RscPictureGUI {
idc = 1307;
text = "\z\addons\dayz_code\gui\status_combat_inside_ca.paa";
x = "0.955313 * safezoneW + safezoneX";
y = "0.65 * safezoneH + safezoneY";
w = 0.06;
h = 0.08;
};
class RscPicture_1701: RscPictureGUI
{
idc = 1701;
//text = "\z\addons\dayz_code\gui\status_food_inside_ca.paa";
x = 0.945313 * safezoneW + safezoneX;
y = 0.95 * safezoneH + safezoneY;
w = 0.04;
h = 0.053333;
};
class RscPicture_1702: RscPictureGUI
{
idc = 1702;
//text = "\z\addons\dayz_code\gui\status_thirst_inside_ca.paa";
x = 0.945313 * safezoneW + safezoneX;
y = 0.816666 * safezoneH + safezoneY;
w = 0.04;
h = 0.053333;
};
};
};
};
class RscDisplaySpawnSelecter {
idd = 6903;
enableDisplay = 1;
onLoad = "dayz_DisplaySpawnSelecter = true;";
//onUnload = "dayz_DisplaySpawnSelecter = false;";
class controlsBackground {
class Mainback : RscPicture {
idc = -1;
text = "\z\addons\dayz_code\gui\spawn\spawn_bg.paa";
x = 0 * safezoneW + safezoneX;
y = 0 * safezoneH + safezoneY;
w = 1 * safezoneW;
h = 1 * safezoneH;
};
};
class controls
{
class RscSelectedRegion1 : RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_kamenka.paa";
x = 0.524899 * safezoneW + safezoneX;
y = 0.591199 * safezoneH + safezoneY;
w = 0.234287 * safezoneW;
h = 0.3044 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 1;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion2: RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_balota.paa";
x = 0.230417 * safezoneW + safezoneX;
y = 0.610615 * safezoneH + safezoneY;
w = 0.223688 * safezoneW;
h = 0.270356 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 0;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion3: RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_cherno.paa";
x = 0.234564 * safezoneW + safezoneX;
y = 0.116375 * safezoneH + safezoneY;
w = 0.234375 * safezoneW;
h = 0.275 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 2;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion4: RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_elektro.paa";
x = 0.212005 * safezoneW + safezoneX;
y = 0.371473 * safezoneH + safezoneY;
w = 0.234683 * safezoneW;
h = 0.274546 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 3;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion5: RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_sol.paa";
x = 0.565892 * safezoneW + safezoneX;
y = 0.365922 * safezoneH + safezoneY;
w = 0.246438 * safezoneW;
h = 0.275001 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 4;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegion6: RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_berezino.paa";
x = 0.517793 * safezoneW + safezoneX;
y = 0.13013 * safezoneH + safezoneY;
w = 0.234375 * safezoneW;
h = 0.275 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 5;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
class RscSelectedRegionRandom: RscActiveText
{
idc = -1;
style = 48;
text = "\z\addons\dayz_code\gui\spawn\spawn_random.paa";
x = 0.420865 * safezoneW + safezoneX;
y = 0.336926 * safezoneH + safezoneY;
w = 0.168843675 * safezoneW;
h = 0.331135035 * safezoneH;
color[] = { 0.5, 0.5, 0.5, 1 };
colorActive[] = { 1, 1, 1, 1 };
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 9;";
onMouseEnter = "ctrlSetFocus (_this select 0)";
};
};
};
#ifdef SpawnSelecter
#include "RscDisplay\RscDisplaySpawnSelecter.hpp"
#endif