Recolor lobby and player list to dark grey

This commit is contained in:
ebaydayz
2016-11-04 18:56:06 -04:00
parent 497b065663
commit 6732e5cb67
3 changed files with 153 additions and 18 deletions

View File

@@ -13,9 +13,9 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay
guerLocked = "ca\ui\data\flag_none_ca.paa";
civlUnlocked = "ca\ui\data\flag_none_ca.paa";
civlLocked = "ca\ui\data\flag_none_ca.paa";
colorNotAssigned[] = {.8,.8,.8,1};
colorAssigned[] = {.8,.8,.8,1};
colorConfirmed[] = {.8,.8,.8,1};
colorNotAssigned[] = {0, 1, 0, 1};
colorAssigned[] = {0, 1, 0, 1};
colorConfirmed[] = {0, 1, 0, 1};
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): { }; }; };";
@@ -99,9 +99,47 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay
y = "(02/100) * SafeZoneH + SafeZoneY";
w = "(96/100) * SafeZoneW";
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;
};
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
{
idc = 1003;
@@ -162,16 +200,68 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay
x = "(2/100) * SafeZoneW + SafeZoneX"; // to left
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;
default = 0;
shortcuts[] = {"0x00050000 + 1"};
shortcuts[] = {0x00050000 + 1};
x = "(68/100) * SafeZoneW + SafeZoneX";
y = "(93/100) * SafeZoneH + SafeZoneY";
w = 0.203825;
text = "$STR_DISP_BACK";
text = $STR_DISP_BACK;
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
{
@@ -197,16 +287,6 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay
y = 0.9;
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
{
idc = 300;