mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-20 07:02:56 +03:00
Updated Displays
Disabled new gear system
This commit is contained in:
1110
SQF/dayz_code/Configs/RscDisplay/RscDisplayCraftingMenu.hpp
Normal file
1110
SQF/dayz_code/Configs/RscDisplay/RscDisplayCraftingMenu.hpp
Normal file
File diff suppressed because it is too large
Load Diff
1016
SQF/dayz_code/Configs/RscDisplay/RscDisplayGear.hpp
Normal file
1016
SQF/dayz_code/Configs/RscDisplay/RscDisplayGear.hpp
Normal file
File diff suppressed because it is too large
Load Diff
54
SQF/dayz_code/Configs/RscDisplay/RscDisplayGenderSelect.hpp
Normal file
54
SQF/dayz_code/Configs/RscDisplay/RscDisplayGenderSelect.hpp
Normal file
@@ -0,0 +1,54 @@
|
||||
class RscDisplayGenderSelect
|
||||
{
|
||||
idd = 6902;
|
||||
enableDisplay = 1;
|
||||
class controls
|
||||
{
|
||||
class GenderPic_Man : RscActiveText
|
||||
{
|
||||
idc = -1;
|
||||
style = 48;
|
||||
text = "z\addons\dayz_code\gui\gender_menu_man.paa";
|
||||
x = 0.28 * safezoneW + safezoneX;
|
||||
y = 0.24 * safezoneH + safezoneY;
|
||||
w = 0.117188 * safezoneW;
|
||||
h = 0.542373 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;dayz_selectGender = 'Survivor2_DZ';";
|
||||
};
|
||||
class GenderPic_Woman : RscActiveText
|
||||
{
|
||||
idc = -1;
|
||||
style = 48;
|
||||
text = "z\addons\dayz_code\gui\gender_menu_woman.paa";
|
||||
x = 0.6 * safezoneW + safezoneX;
|
||||
y = 0.24 * safezoneH + safezoneY;
|
||||
w = 0.117188 * safezoneW;
|
||||
h = 0.542373 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;dayz_selectGender = 'SurvivorW2_DZ';";
|
||||
};
|
||||
class Gender_Title: RscStructuredText
|
||||
{
|
||||
idc = -1;
|
||||
text = "$STR_UI_GENDER_TITLE";
|
||||
x = 0.4 * safezoneW + safezoneX;
|
||||
y = 0.221864 * safezoneH + safezoneY;
|
||||
w = 0.2 * safezoneW;
|
||||
h = 0.05 * safezoneH;
|
||||
colorBackground[] = {-1,-1,-1,0};
|
||||
};
|
||||
class Gender_Description: RscStructuredText
|
||||
{
|
||||
idc = -1;
|
||||
text = "$STR_UI_GENDER_DESC";
|
||||
x = 0.4 * safezoneW + safezoneX;
|
||||
y = 0.366134 * safezoneH + safezoneY;
|
||||
w = 0.2 * safezoneW;
|
||||
h = 0.3 * safezoneH;
|
||||
colorBackground[] = {-1,-1,-1,0};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -2,9 +2,6 @@ class RscDisplaySpawnSelecter {
|
||||
idd = 6903;
|
||||
enableDisplay = 1;
|
||||
|
||||
onLoad = "DZE_DisplaySpawnSelector = true;";
|
||||
//onUnload = "DZE_DisplaySpawnSelector = false;";
|
||||
|
||||
class controlsBackground {
|
||||
class Mainback : RscPicture {
|
||||
idc = -1;
|
||||
@@ -28,7 +25,7 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.3044 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 1;";
|
||||
action = "closeDialog 0;dayz_selectRegion = 1;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
class RscSelectedRegion2: RscActiveText
|
||||
@@ -42,7 +39,7 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.270356 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 0;";
|
||||
action = "closeDialog 0;dayz_selectRegion = 0;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
class RscSelectedRegion3: RscActiveText
|
||||
@@ -56,7 +53,7 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.275 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 2;";
|
||||
action = "closeDialog 0;dayz_selectRegion = 2;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
class RscSelectedRegion4: RscActiveText
|
||||
@@ -70,7 +67,7 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.274546 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 3;";
|
||||
action = "closeDialog 0;dayz_selectRegion = 3;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
class RscSelectedRegion5: RscActiveText
|
||||
@@ -84,7 +81,7 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.275001 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 4;";
|
||||
action = "closeDialog 0;dayz_selectRegion = 4;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
class RscSelectedRegion6: RscActiveText
|
||||
@@ -98,7 +95,7 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.275 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 5;";
|
||||
action = "closeDialog 0;dayz_selectRegion = 5;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
class RscSelectedRegionRandom: RscActiveText
|
||||
@@ -112,7 +109,7 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.331135035 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;DZE_DisplaySpawnSelector = false;dayz_selectRegion = 9;";
|
||||
action = "closeDialog 0;dayz_selectRegion = 9;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
|
||||
|
||||
300
SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp
Normal file
300
SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp
Normal file
@@ -0,0 +1,300 @@
|
||||
class RscTitles
|
||||
{
|
||||
class Default
|
||||
{
|
||||
idd = -1;
|
||||
movingEnable = 0;
|
||||
duration = 4;
|
||||
};
|
||||
titles[] = {"DeathScreen_DZ","RscTitleStructuredText"};
|
||||
class DeathScreen_DZ {
|
||||
idd = -1;
|
||||
movingEnable = "false";
|
||||
duration = 120;
|
||||
fadein = 0;
|
||||
name = "DeathScreen";
|
||||
controls[] = {"DeathScreen"};
|
||||
class DeathScreen: RscPicture {
|
||||
x = 0 * safezoneW + safezoneX;
|
||||
y = 0 * safezoneH + safezoneY;
|
||||
w = 1 * safezoneW;
|
||||
h = 1 * safezoneH;
|
||||
text = "\z\addons\dayz_code\gui\deathscreen.paa";
|
||||
};
|
||||
};
|
||||
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\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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
6
SQF/dayz_code/Configs/RscDisplay/includes.hpp
Normal file
6
SQF/dayz_code/Configs/RscDisplay/includes.hpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "RscDisplayCraftingMenu.hpp"
|
||||
//#include "RscDisplayGear.hpp"
|
||||
#include "RscDisplayGenderSelect.hpp"
|
||||
#include "RscDisplaySpawnSelecter.hpp"
|
||||
#include "RscPlayerUI.hpp"
|
||||
#include "RscMap.hpp"
|
||||
Reference in New Issue
Block a user