mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Recolor lobby and player list to dark grey
This commit is contained in:
@@ -13,9 +13,9 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay
|
|||||||
guerLocked = "ca\ui\data\flag_none_ca.paa";
|
guerLocked = "ca\ui\data\flag_none_ca.paa";
|
||||||
civlUnlocked = "ca\ui\data\flag_none_ca.paa";
|
civlUnlocked = "ca\ui\data\flag_none_ca.paa";
|
||||||
civlLocked = "ca\ui\data\flag_none_ca.paa";
|
civlLocked = "ca\ui\data\flag_none_ca.paa";
|
||||||
colorNotAssigned[] = {.8,.8,.8,1};
|
colorNotAssigned[] = {0, 1, 0, 1};
|
||||||
colorAssigned[] = {.8,.8,.8,1};
|
colorAssigned[] = {0, 1, 0, 1};
|
||||||
colorConfirmed[] = {.8,.8,.8,1};
|
colorConfirmed[] = {0, 1, 0, 1};
|
||||||
|
|
||||||
onload = "with uiNameSpace do{RscDisplayMultiplayerSetup=_this select 0}; [_this] execVM 'z\addons\dayz_code\init\lobbyAutoJoin.sqf'"; //#70
|
onload = "with uiNameSpace do{RscDisplayMultiplayerSetup=_this select 0}; [_this] execVM 'z\addons\dayz_code\init\lobbyAutoJoin.sqf'"; //#70
|
||||||
onMouseHolding = "with uiNameSpace do { switch (1 == 1) do { case(isNil 'RscDMSLoad'): { RscDMSLoad = diag_tickTime; }; case(RscDMSLoad == -1): {}; case(RscDMSLoad == -2): {}; case(diag_tickTime - RscDMSLoad > 7): { RscDMSLoad = diag_tickTime; }; case(diag_tickTime - RscDMSLoad > 5): { }; }; };";
|
onMouseHolding = "with uiNameSpace do { switch (1 == 1) do { case(isNil 'RscDMSLoad'): { RscDMSLoad = diag_tickTime; }; case(RscDMSLoad == -1): {}; case(RscDMSLoad == -2): {}; case(diag_tickTime - RscDMSLoad > 7): { RscDMSLoad = diag_tickTime; }; case(diag_tickTime - RscDMSLoad > 5): { }; }; };";
|
||||||
@@ -99,9 +99,47 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay
|
|||||||
y = "(02/100) * SafeZoneH + SafeZoneY";
|
y = "(02/100) * SafeZoneH + SafeZoneY";
|
||||||
w = "(96/100) * SafeZoneW";
|
w = "(96/100) * SafeZoneW";
|
||||||
h = "(06/100) * SafeZoneH";
|
h = "(06/100) * SafeZoneH";
|
||||||
colorBackground[] = {49/255, 36/255, 25/255, 173/255};
|
colorBackground[] = {0.1, 0.1, 0.1, 0.68};
|
||||||
text = $STR_UI_LOBBY;
|
text = $STR_UI_LOBBY;
|
||||||
};
|
};
|
||||||
|
class TextMission : RscText {
|
||||||
|
idc = 1002;
|
||||||
|
x = "(02/100) * SafeZoneW + SafeZoneX";
|
||||||
|
y = "(9.5/100) * SafeZoneH + SafeZoneY";
|
||||||
|
w = "(18/100) * SafeZoneW";
|
||||||
|
h = "(3/100) * SafeZoneH";
|
||||||
|
SizeEx = 0.03;
|
||||||
|
text = $STR_DISP_SRVSETUP_NAME;
|
||||||
|
colorText[] = {0.95, 0.95, 0.95, 1};
|
||||||
|
};
|
||||||
|
class ValueMission : RscText {
|
||||||
|
idc = 101;
|
||||||
|
x = "(20/100) * SafeZoneW + SafeZoneX";
|
||||||
|
y = "(9.5/100) * SafeZoneH + SafeZoneY";
|
||||||
|
w = "(40/100) * SafeZoneW";
|
||||||
|
h = "(3/100) * SafeZoneH";
|
||||||
|
SizeEx = 0.03;
|
||||||
|
colorText[] = {0.95, 0.95, 0.95, 1};
|
||||||
|
};
|
||||||
|
class CA_TextDescription : RscText {
|
||||||
|
idc = 1004;
|
||||||
|
x = "(02/100) * SafeZoneW + SafeZoneX";
|
||||||
|
y = "(12.5/100) * SafeZoneH + SafeZoneY";
|
||||||
|
w = "(18/100) * SafeZoneW";
|
||||||
|
h = "(3/100) * SafeZoneH";
|
||||||
|
SizeEx = 0.03;
|
||||||
|
text = $STR_DISP_SRVSETUP_DESC;
|
||||||
|
colorText[] = {0.95, 0.95, 0.95, 1};
|
||||||
|
};
|
||||||
|
class CA_ValueDescription : RscText {
|
||||||
|
idc = 103;
|
||||||
|
x = "(20/100) * SafeZoneW + SafeZoneX";
|
||||||
|
y = "(12.5/100) * SafeZoneH + SafeZoneY";
|
||||||
|
w = "(78/100) * SafeZoneW";
|
||||||
|
h = "(3/100) * SafeZoneH";
|
||||||
|
SizeEx = 0.03;
|
||||||
|
colorText[] = {0.95, 0.95, 0.95, 1};
|
||||||
|
};
|
||||||
class TextIsland: RscText
|
class TextIsland: RscText
|
||||||
{
|
{
|
||||||
idc = 1003;
|
idc = 1003;
|
||||||
@@ -162,16 +200,68 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay
|
|||||||
x = "(2/100) * SafeZoneW + SafeZoneX"; // to left
|
x = "(2/100) * SafeZoneW + SafeZoneX"; // to left
|
||||||
w = "(96/100) * SafeZoneW"; // wide
|
w = "(96/100) * SafeZoneW"; // wide
|
||||||
};
|
};
|
||||||
class CA_ButtonCancel: RscShortcutButton
|
class CA_B_Lock : RscShortcutButton {
|
||||||
{
|
idc = 118;
|
||||||
|
x = "(39/100) * SafeZoneW + SafeZoneX";
|
||||||
|
y = "(93/100) * SafeZoneH + SafeZoneY";
|
||||||
|
w = 0.183825;
|
||||||
|
color[] = {0.95, 0.95, 0.95, 1.0};
|
||||||
|
animTextureNormal = "\z\addons\dayz_code\gui\grey\ui_button_normal_ca.paa";
|
||||||
|
animTextureDisabled = "\z\addons\dayz_code\gui\grey\ui_button_disabled_ca.paa";
|
||||||
|
animTextureOver = "\z\addons\dayz_code\gui\grey\ui_button_over_ca.paa";
|
||||||
|
animTextureFocused = "\z\addons\dayz_code\gui\grey\ui_button_focus_ca.paa";
|
||||||
|
animTexturePressed = "\z\addons\dayz_code\gui\grey\ui_button_down_ca.paa";
|
||||||
|
animTextureDefault = "\z\addons\dayz_code\gui\grey\ui_button_default_ca.paa";
|
||||||
|
};
|
||||||
|
class CA_B_DSinterface : RscShortcutButton {
|
||||||
|
idc = 1012;
|
||||||
|
default = 0;
|
||||||
|
onButtonClick = "openDSInterface;";
|
||||||
|
shortcuts[] = {};
|
||||||
|
x = "(2.75/100) * SafeZoneW + SafeZoneX";
|
||||||
|
y = "(93/100) * SafeZoneH + SafeZoneY";
|
||||||
|
w = 0.26;
|
||||||
|
text = $STR_DISP_SERVER_CONTROL;
|
||||||
|
color[] = {0.95, 0.95, 0.95, 1.0};
|
||||||
|
animTextureNormal = "\z\addons\dayz_code\gui\grey\ui_button_normal_ca.paa";
|
||||||
|
animTextureDisabled = "\z\addons\dayz_code\gui\grey\ui_button_disabled_ca.paa";
|
||||||
|
animTextureOver = "\z\addons\dayz_code\gui\grey\ui_button_over_ca.paa";
|
||||||
|
animTextureFocused = "\z\addons\dayz_code\gui\grey\ui_button_focus_ca.paa";
|
||||||
|
animTexturePressed = "\z\addons\dayz_code\gui\grey\ui_button_down_ca.paa";
|
||||||
|
animTextureDefault = "\z\addons\dayz_code\gui\grey\ui_button_default_ca.paa";
|
||||||
|
};
|
||||||
|
class CA_ButtonContinue : RscShortcutButton {
|
||||||
|
idc = 1;
|
||||||
|
default = 1;
|
||||||
|
shortcuts[] = {0x00050000 + 0, 28, 57, 156};
|
||||||
|
x = "(83/100) * SafeZoneW + SafeZoneX";
|
||||||
|
y = "(93/100) * SafeZoneH + SafeZoneY";
|
||||||
|
text = $STR_DISP_OK;
|
||||||
|
onButtonClick = "((findDisplay 70) displayCtrl 300) ctrlShow false;";
|
||||||
|
color[] = {0.95, 0.95, 0.95, 1.0};
|
||||||
|
animTextureNormal = "\z\addons\dayz_code\gui\grey\ui_button_normal_ca.paa";
|
||||||
|
animTextureDisabled = "\z\addons\dayz_code\gui\grey\ui_button_disabled_ca.paa";
|
||||||
|
animTextureOver = "\z\addons\dayz_code\gui\grey\ui_button_over_ca.paa";
|
||||||
|
animTextureFocused = "\z\addons\dayz_code\gui\grey\ui_button_focus_ca.paa";
|
||||||
|
animTexturePressed = "\z\addons\dayz_code\gui\grey\ui_button_down_ca.paa";
|
||||||
|
animTextureDefault = "\z\addons\dayz_code\gui\grey\ui_button_default_ca.paa";
|
||||||
|
};
|
||||||
|
class CA_ButtonCancel : RscShortcutButton {
|
||||||
idc = 2;
|
idc = 2;
|
||||||
default = 0;
|
default = 0;
|
||||||
shortcuts[] = {"0x00050000 + 1"};
|
shortcuts[] = {0x00050000 + 1};
|
||||||
x = "(68/100) * SafeZoneW + SafeZoneX";
|
x = "(68/100) * SafeZoneW + SafeZoneX";
|
||||||
y = "(93/100) * SafeZoneH + SafeZoneY";
|
y = "(93/100) * SafeZoneH + SafeZoneY";
|
||||||
w = 0.203825;
|
w = 0.203825;
|
||||||
text = "$STR_DISP_BACK";
|
text = $STR_DISP_BACK;
|
||||||
onButtonClick = "with uiNameSpace do {RscDMSLoad=nil;};"; // autologon at logon on next server
|
onButtonClick = "with uiNameSpace do {RscDMSLoad=nil;};"; // autologon at logon on next server
|
||||||
|
color[] = {0.95, 0.95, 0.95, 1.0};
|
||||||
|
animTextureNormal = "\z\addons\dayz_code\gui\grey\ui_button_normal_ca.paa";
|
||||||
|
animTextureDisabled = "\z\addons\dayz_code\gui\grey\ui_button_disabled_ca.paa";
|
||||||
|
animTextureOver = "\z\addons\dayz_code\gui\grey\ui_button_over_ca.paa";
|
||||||
|
animTextureFocused = "\z\addons\dayz_code\gui\grey\ui_button_focus_ca.paa";
|
||||||
|
animTexturePressed = "\z\addons\dayz_code\gui\grey\ui_button_down_ca.paa";
|
||||||
|
animTextureDefault = "\z\addons\dayz_code\gui\grey\ui_button_default_ca.paa";
|
||||||
};
|
};
|
||||||
class Y_GamerCard: RscActiveText
|
class Y_GamerCard: RscActiveText
|
||||||
{
|
{
|
||||||
@@ -197,16 +287,6 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay
|
|||||||
y = 0.9;
|
y = 0.9;
|
||||||
w = 0.15;
|
w = 0.15;
|
||||||
};
|
};
|
||||||
class CA_ButtonContinue: RscShortcutButton
|
|
||||||
{
|
|
||||||
idc = 1;
|
|
||||||
default = 1;
|
|
||||||
shortcuts[] = {"0x00050000 + 0",28,57,156};
|
|
||||||
x = "(83/100) * SafeZoneW + SafeZoneX";
|
|
||||||
y = "(93/100) * SafeZoneH + SafeZoneY";
|
|
||||||
text = "OK";
|
|
||||||
onButtonClick = "((findDisplay 70) displayCtrl 300) ctrlShow false;";
|
|
||||||
};
|
|
||||||
class infoText: RscText
|
class infoText: RscText
|
||||||
{
|
{
|
||||||
idc = 300;
|
idc = 300;
|
||||||
|
|||||||
@@ -398,6 +398,61 @@ class RscDisplayDiary {
|
|||||||
delete DiaryBackground;
|
delete DiaryBackground;
|
||||||
delete CA_PlayerName;
|
delete CA_PlayerName;
|
||||||
delete CA_CurrentTaskLabel;
|
delete CA_CurrentTaskLabel;
|
||||||
|
class CA_MainBackground : IGUIBack {
|
||||||
|
idc = 1020;
|
||||||
|
x = "SafeZoneX + 0.010 * SafeZoneW";
|
||||||
|
y = "SafeZoneY + 0.031";
|
||||||
|
w = "0.98*SafeZoneW";
|
||||||
|
h = 0.082;
|
||||||
|
colorbackground[] = {0.1, 0.1, 0.1, 0.85};
|
||||||
|
};
|
||||||
|
class CA_TopicsBackground : IGUIBack {
|
||||||
|
idc = 1021;
|
||||||
|
x = "0.010*SafeZoneW + SafeZoneX";
|
||||||
|
y = "SafeZoneY + 0.117";
|
||||||
|
w = "0.146*SafeZoneW";
|
||||||
|
h = 0.53;
|
||||||
|
colorbackground[] = {0.1, 0.1, 0.1, 0.85};
|
||||||
|
};
|
||||||
|
class CA_SubTopicsBackground : IGUIBack {
|
||||||
|
idc = 1022;
|
||||||
|
x = "0.16*SafeZoneW + SafeZoneX";
|
||||||
|
y = "SafeZoneY + 0.117";
|
||||||
|
w = "0.283*SafeZoneW";
|
||||||
|
h = 0.53;
|
||||||
|
colorbackground[] = {0.1, 0.1, 0.1, 0.85};
|
||||||
|
};
|
||||||
|
class CA_ContentBackground : IGUIBack {
|
||||||
|
idc = 1023;
|
||||||
|
x = "0.446*SafeZoneW + SafeZoneX";
|
||||||
|
y = "SafeZoneY + 0.117";
|
||||||
|
w = "SafeZoneW * 0.544";
|
||||||
|
h = 0.832;
|
||||||
|
colorbackground[] = {0.1, 0.1, 0.1, 0.85};
|
||||||
|
};
|
||||||
|
class DiaryList : RscIGUIListBox {
|
||||||
|
idc = 1001;
|
||||||
|
onLBSelChanged = "[_this select 0, _this select 1, 'List'] call compile preprocessFileLineNumbers 'ca\Warfare2\Scripts\Client\GUI\GUI_logEH.sqf'; private ['_dummy']; _dummy = [_this,'onLBSelChanged'] call compile preprocessfile '\ca\ui\scripts\server_interface.sqf';";
|
||||||
|
default = 1;
|
||||||
|
x = "0.010*SafeZoneW + SafeZoneX";
|
||||||
|
y = "SafeZoneY + 0.137";
|
||||||
|
w = "0.146*SafeZoneW";
|
||||||
|
h = 0.6;
|
||||||
|
colorSelectBackground[] = {0, 0, 0, 1.0};
|
||||||
|
colorSelectBackground2[] = {0, 0, 0, 0.8};
|
||||||
|
};
|
||||||
|
class CA_DiaryIndex : RscIGUIListBox {
|
||||||
|
idc = 1002;
|
||||||
|
onLBSelChanged = "[_this select 0, _this select 1, 'Index'] call compile preprocessFileLineNumbers 'ca\Warfare2\Scripts\Client\GUI\GUI_logEH.sqf';";
|
||||||
|
default = 0;
|
||||||
|
x = "0.16*SafeZoneW + SafeZoneX";
|
||||||
|
y = "SafeZoneY + 0.137";
|
||||||
|
w = "0.283*SafeZoneW";
|
||||||
|
h = 0.6;
|
||||||
|
sizeEx = 0.034;
|
||||||
|
colorSelectBackground[] = {0, 0, 0, 1.0};
|
||||||
|
colorSelectBackground2[] = {0, 0, 0, 0.8};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
BIN
SQF/dayz_code/gui/grey/loadscreen_progressbar_ca.paa
Normal file
BIN
SQF/dayz_code/gui/grey/loadscreen_progressbar_ca.paa
Normal file
Binary file not shown.
Reference in New Issue
Block a user