mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Sync Zupa dialog colors
Heights on the trader menu filter search box and amount box have also been fixed. Old: https://imgur.com/a/ld4XF New: https://imgur.com/a/9T8VP
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
[UPDATED] Locking and unlocking safes now uses call instead of spawn on the server. This fixes the user input lock and safes appearing to disappear momentarily when server FPS is low.
|
[UPDATED] Locking and unlocking safes now uses call instead of spawn on the server. This fixes the user input lock and safes appearing to disappear momentarily when server FPS is low.
|
||||||
[UPDATED] Added cleanup of destroyed vehicles and CraterLong after 5 minutes in sched_corpses.sqf.
|
[UPDATED] Added cleanup of destroyed vehicles and CraterLong after 5 minutes in sched_corpses.sqf.
|
||||||
[UPDATED] Reverted group menu color scheme to A2OA default for consistency with game dialogs
|
[UPDATED] Reverted group menu color scheme to A2OA default for consistency with game dialogs
|
||||||
|
[UPDATED] All Zupa dialogs have been updated to use consistent title bar color, button colors, text style and background. The trader menu background is now semi-transparent for increased visibility of surroundings.
|
||||||
[UPDATED] DZE_ZombieSpeed = [min, max]; has replaced the, now removed, DZE_slowZombies variable. set DZE_ZombieSpeed = [2,2]; for DZE_slowZombies = true; behavior. see configvariables.sqf for more info
|
[UPDATED] DZE_ZombieSpeed = [min, max]; has replaced the, now removed, DZE_slowZombies variable. set DZE_ZombieSpeed = [2,2]; for DZE_slowZombies = true; behavior. see configvariables.sqf for more info
|
||||||
[UPDATED] Reverted increased waves in stormy weather to Chernarus default settings.
|
[UPDATED] Reverted increased waves in stormy weather to Chernarus default settings.
|
||||||
[UPDATED] Removed server control panel, because it is abused by players and not currently used by admins
|
[UPDATED] Removed server control panel, because it is abused by players and not currently used by admins
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#define ZSC_DARK_BLUE 0.3843, 0.7019, 0.8862
|
||||||
|
|
||||||
class ZSC_RscScrollBar
|
class ZSC_RscScrollBar
|
||||||
{
|
{
|
||||||
color[] = {1,1,1,0.6};
|
color[] = {1,1,1,0.6};
|
||||||
@@ -208,14 +210,14 @@ class ZSC_RscButton
|
|||||||
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
||||||
colorText[] = {1,1,1,1.0};
|
colorText[] = {1,1,1,1.0};
|
||||||
colorDisabled[] = {0.4,0.4,0.4,1};
|
colorDisabled[] = {0.4,0.4,0.4,1};
|
||||||
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",0.7};
|
colorBackground[] = {ZSC_DARK_BLUE,0.7};
|
||||||
colorBackgroundActive[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
|
colorBackgroundActive[] = {ZSC_DARK_BLUE,1};
|
||||||
colorBackgroundDisabled[] = {0.95,0.95,0.95,1};
|
colorBackgroundDisabled[] = {0.95,0.95,0.95,1};
|
||||||
offsetX = 0.003;
|
offsetX = 0.003;
|
||||||
offsetY = 0.003;
|
offsetY = 0.003;
|
||||||
offsetPressedX = 0.002;
|
offsetPressedX = 0.002;
|
||||||
offsetPressedY = 0.002;
|
offsetPressedY = 0.002;
|
||||||
colorFocused[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
|
colorFocused[] = {ZSC_DARK_BLUE,1};
|
||||||
colorShadow[] = {0,0,0,1};
|
colorShadow[] = {0,0,0,1};
|
||||||
colorBorder[] = {0,0,0,1};
|
colorBorder[] = {0,0,0,1};
|
||||||
borderSize = 0.0;
|
borderSize = 0.0;
|
||||||
@@ -247,8 +249,8 @@ class ZSC_RscShortcutButton {
|
|||||||
colorFocused[] = {1,1,1,1.0};
|
colorFocused[] = {1,1,1,1.0};
|
||||||
color2[] = {0.95,0.95,0.95,1};
|
color2[] = {0.95,0.95,0.95,1};
|
||||||
colorDisabled[] = {1,1,1,0.25};
|
colorDisabled[] = {1,1,1,0.25};
|
||||||
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
|
colorBackground[] = {ZSC_DARK_BLUE,1};
|
||||||
colorBackgroundFocused[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
|
colorBackgroundFocused[] = {ZSC_DARK_BLUE,1};
|
||||||
colorBackground2[] = {1,1,1,1};
|
colorBackground2[] = {1,1,1,1};
|
||||||
periodFocus = 1.2;
|
periodFocus = 1.2;
|
||||||
periodOver = 0.8;
|
periodOver = 0.8;
|
||||||
@@ -315,12 +317,12 @@ class ZSC_RscButtonMenu : ZSC_RscShortcutButton {
|
|||||||
animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
|
animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
|
||||||
animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
|
animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
|
||||||
animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
|
animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
|
||||||
colorBackground[] = {0,0,0,0.8};
|
colorBackground[] = {ZSC_DARK_BLUE, 0.5};
|
||||||
colorBackgroundFocused[] = {1,1,1,1};
|
colorBackgroundFocused[] = {.9,.9,.9,.5};
|
||||||
colorBackground2[] = {0.75,0.75,0.75,1};
|
colorBackground2[] = {.9,.9,.9,.5};
|
||||||
color[] = {1,1,1,1};
|
color[] = {1,1,1,1};
|
||||||
colorFocused[] = {0,0,0,1};
|
colorFocused[] = {1,1,1,1};
|
||||||
color2[] = {0,0,0,1};
|
color2[] = {1,1,1,1};
|
||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
colorDisabled[] = {1,1,1,0.25};
|
colorDisabled[] = {1,1,1,0.25};
|
||||||
period = 1.2;
|
period = 1.2;
|
||||||
@@ -342,7 +344,7 @@ class ZSC_RscButtonMenu : ZSC_RscShortcutButton {
|
|||||||
{
|
{
|
||||||
font = "Zeppelin32";
|
font = "Zeppelin32";
|
||||||
color = "#E5E5E5";
|
color = "#E5E5E5";
|
||||||
align = "left";
|
align = "center";
|
||||||
shadow = "false";
|
shadow = "false";
|
||||||
};
|
};
|
||||||
class ShortcutPos
|
class ShortcutPos
|
||||||
@@ -412,7 +414,7 @@ class ZSC_RscCheckbox {
|
|||||||
color[] = {0, 0, 0, 0};
|
color[] = {0, 0, 0, 0};
|
||||||
colorBackground[] = {0, 0, 1, 1};
|
colorBackground[] = {0, 0, 1, 1};
|
||||||
colorTextSelect[] = {0, 0.8, 0, 1};
|
colorTextSelect[] = {0, 0.8, 0, 1};
|
||||||
colorSelectedBg[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1};
|
colorSelectedBg[] = {ZSC_DARK_BLUE,1};
|
||||||
colorSelect[] = {0, 0, 0, 1};
|
colorSelect[] = {0, 0, 0, 1};
|
||||||
colorTextDisable[] = {0.4, 0.4, 0.4, 1};
|
colorTextDisable[] = {0.4, 0.4, 0.4, 1};
|
||||||
colorDisable[] = {0.4, 0.4, 0.4, 1};
|
colorDisable[] = {0.4, 0.4, 0.4, 1};
|
||||||
@@ -441,12 +443,13 @@ class ZSC_RscProgress
|
|||||||
shadow = 2;
|
shadow = 2;
|
||||||
colorFrame[] = {0, 0, 0, 1};
|
colorFrame[] = {0, 0, 0, 1};
|
||||||
colorBackground[] = {0,0,0,0.7};
|
colorBackground[] = {0,0,0,0.7};
|
||||||
colorBar[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
|
colorBar[] = {ZSC_DARK_BLUE,0.7};
|
||||||
};
|
};
|
||||||
|
|
||||||
class ZSC_RscListBox
|
class ZSC_RscListBox
|
||||||
{
|
{
|
||||||
style = 16;
|
style = 0; //white outline
|
||||||
|
//style = 16; //no outline
|
||||||
idc = -1;
|
idc = -1;
|
||||||
type = 5;
|
type = 5;
|
||||||
w = 0.275;
|
w = 0.275;
|
||||||
@@ -456,8 +459,8 @@ class ZSC_RscListBox
|
|||||||
colorText[] = {1, 1, 1, 1};
|
colorText[] = {1, 1, 1, 1};
|
||||||
colorBackground[] = {0.28,0.28,0.28,0.28};
|
colorBackground[] = {0.28,0.28,0.28,0.28};
|
||||||
colorSelect2[] = {1, 1, 1, 1};
|
colorSelect2[] = {1, 1, 1, 1};
|
||||||
colorSelectBackground[] = {0.95, 0.95, 0.95, 0.5};
|
colorSelectBackground[] = {.7,.7,.7,.5};
|
||||||
colorSelectBackground2[] = {1, 1, 1, 0.5};
|
colorSelectBackground2[] = {.7,.7,.7,.5};
|
||||||
colorScrollbar[] = {0.2, 0.2, 0.2, 1};
|
colorScrollbar[] = {0.2, 0.2, 0.2, 1};
|
||||||
wholeHeight = 0.45;
|
wholeHeight = 0.45;
|
||||||
rowHeight = 0.04;
|
rowHeight = 0.04;
|
||||||
@@ -472,6 +475,16 @@ class ZSC_RscListBox
|
|||||||
tooltipColorText[] = {1,1,1,1};
|
tooltipColorText[] = {1,1,1,1};
|
||||||
tooltipColorBox[] = {1,1,1,1};
|
tooltipColorBox[] = {1,1,1,1};
|
||||||
tooltipColorShade[] = {0,0,0,0.65};
|
tooltipColorShade[] = {0,0,0,0.65};
|
||||||
|
class ScrollBar {
|
||||||
|
color[] = {1, 1, 1, 0.6};
|
||||||
|
colorActive[] = {1, 1, 1, 1};
|
||||||
|
colorDisabled[] = {1, 1, 1, 0.3};
|
||||||
|
thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
|
||||||
|
arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
|
||||||
|
arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
|
||||||
|
border = "\ca\ui\data\ui_border_scroll_ca.paa";
|
||||||
|
shadow = 0;
|
||||||
|
};
|
||||||
class ListScrollBar: ZSC_RscScrollBar
|
class ListScrollBar: ZSC_RscScrollBar
|
||||||
{
|
{
|
||||||
color[] = {1,1,1,1};
|
color[] = {1,1,1,1};
|
||||||
@@ -494,7 +507,7 @@ class ZSC_RscEdit {
|
|||||||
colorText[] = {0.95, 0.95, 0.95, 1};
|
colorText[] = {0.95, 0.95, 0.95, 1};
|
||||||
colorDisabled[] = {1, 1, 1, 0.25};
|
colorDisabled[] = {1, 1, 1, 0.25};
|
||||||
autocomplete = false;
|
autocomplete = false;
|
||||||
colorSelection[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1};
|
colorSelection[] = {ZSC_DARK_BLUE,1};
|
||||||
canModify = 1;
|
canModify = 1;
|
||||||
soundPush[] = { "", 0, 1 };
|
soundPush[] = { "", 0, 1 };
|
||||||
soundEnter[] = { "", 0, 1 };
|
soundEnter[] = { "", 0, 1 };
|
||||||
@@ -638,38 +651,7 @@ class ZSC_RscToolbox {
|
|||||||
colorSelect[] = {0.95, 0.95, 0.95, 1};
|
colorSelect[] = {0.95, 0.95, 0.95, 1};
|
||||||
colorTextDisable[] = {0.4, 0.4, 0.4, 1};
|
colorTextDisable[] = {0.4, 0.4, 0.4, 1};
|
||||||
colorDisable[] = {0.4, 0.4, 0.4, 1};
|
colorDisable[] = {0.4, 0.4, 0.4, 1};
|
||||||
colorSelectedBg[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
|
colorSelectedBg[] = {ZSC_DARK_BLUE, 0.5};
|
||||||
font = "Zeppelin32";
|
font = "Zeppelin32";
|
||||||
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
|
sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
|
||||||
};
|
|
||||||
|
|
||||||
class ZSC_RscTextT // Used in plot management
|
|
||||||
{
|
|
||||||
//access = 0;
|
|
||||||
type = 0;
|
|
||||||
idc = -1;
|
|
||||||
colorBackground[] = {0,0,0,0};
|
|
||||||
colorText[] = {0.8784,0.8471,0.651,1};
|
|
||||||
text = "";
|
|
||||||
fixedWidth = 0;
|
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
h = 0.037;
|
|
||||||
w = 0.3;
|
|
||||||
style = 0;
|
|
||||||
shadow = 2;
|
|
||||||
font = "Zeppelin32";
|
|
||||||
SizeEx = 0.03921;
|
|
||||||
};
|
|
||||||
|
|
||||||
class ZSC_RscButtonMenuBlue : ZSC_RscButtonMenu // Used in plot management
|
|
||||||
{
|
|
||||||
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
|
|
||||||
class Attributes
|
|
||||||
{
|
|
||||||
font = "Zeppelin32";
|
|
||||||
color = "#E5E5E5";
|
|
||||||
align = "center";
|
|
||||||
shadow = "false";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
@@ -1,35 +1,33 @@
|
|||||||
class AT_Zupa_BlueButton: ZSC_RscButtonMenu {
|
|
||||||
colorBackground[] = {0.2,0.75,1,1};
|
|
||||||
colorText[] = {1,1,1,1};
|
|
||||||
class Attributes
|
|
||||||
{
|
|
||||||
align = "center";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
class AdvancedTrading
|
class AdvancedTrading
|
||||||
{
|
{
|
||||||
idd = 711197;
|
idd = 711197;
|
||||||
class Controls {
|
class Controls {
|
||||||
class RscText_ATBackground1: ZSC_RscText
|
class RscText_ATBackground1
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
x = 0.20 * safezoneW + safezoneX;
|
x = 0.20 * safezoneW + safezoneX;
|
||||||
y = 0.15 * safezoneH + safezoneY;
|
y = 0.15 * safezoneH + safezoneY;
|
||||||
w = 0.40 * safezoneW;
|
w = 0.40 * safezoneW;
|
||||||
h = 0.70 * safezoneH;
|
h = 0.70 * safezoneH;
|
||||||
colorBackground[] = {0.2,0.2,0.2,1};
|
colorBackground[] = {0,0,0,0.8};
|
||||||
|
type = 0;
|
||||||
|
colorText[] = {0.8784,0.8471,0.651,1};
|
||||||
|
text = "";
|
||||||
|
fixedWidth = 0;
|
||||||
|
style = 0;
|
||||||
|
shadow = 2;
|
||||||
|
font = "Zeppelin32";
|
||||||
|
SizeEx = 0.03921;
|
||||||
};
|
};
|
||||||
class RscText_ATBackground2: ZSC_RscText
|
class RscText_ATBackground2: RscText_ATBackground1
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
x = 0.60 * safezoneW + safezoneX;
|
x = 0.60 * safezoneW + safezoneX;
|
||||||
y = 0.15 * safezoneH + safezoneY;
|
y = 0.15 * safezoneH + safezoneY;
|
||||||
w = 0.20 * safezoneW;
|
w = 0.20 * safezoneW;
|
||||||
h = 0.70 * safezoneH;
|
h = 0.70 * safezoneH;
|
||||||
colorBackground[] = {0.1,0.1,0.1,1};
|
|
||||||
};
|
};
|
||||||
class RscText_AT2: ZSC_RscText
|
class RscText_AT2: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_EPOCH_PLAYER_289;
|
text = $STR_EPOCH_PLAYER_289;
|
||||||
@@ -37,11 +35,10 @@ class AdvancedTrading
|
|||||||
y = 0.15 * safezoneH + safezoneY;
|
y = 0.15 * safezoneH + safezoneY;
|
||||||
w = 0.60 * safezoneW;
|
w = 0.60 * safezoneW;
|
||||||
h = 0.04 * safezoneH;
|
h = 0.04 * safezoneH;
|
||||||
colorBackground[] = {0.2,0.75,1,1};
|
colorBackground[] = {ZSC_DARK_BLUE, 0.5};
|
||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
|
class RscText_Zupa_1: ZSC_RscText
|
||||||
class RscText_Zupa_1: ZSC_RscText
|
|
||||||
{
|
{
|
||||||
idc = 7408;
|
idc = 7408;
|
||||||
text = $STR_EPOCH_TRADE_SELLING_GEAR;
|
text = $STR_EPOCH_TRADE_SELLING_GEAR;
|
||||||
@@ -51,7 +48,7 @@ class AdvancedTrading
|
|||||||
h = 0.05 * safezoneH;
|
h = 0.05 * safezoneH;
|
||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_Z1: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_Z1: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_UI_GEAR;
|
text = $STR_UI_GEAR;
|
||||||
@@ -59,10 +56,8 @@ class AdvancedTrading
|
|||||||
y = 0.26 * safezoneH + safezoneY;
|
y = 0.26 * safezoneH + safezoneY;
|
||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
onButtonClick = "[2] call Z_getContainer;";
|
onButtonClick = "[2] call Z_getContainer;";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_Z2: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_Z2: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_EPOCH_TRADE_BACKPACK;
|
text = $STR_EPOCH_TRADE_BACKPACK;
|
||||||
@@ -70,10 +65,8 @@ class AdvancedTrading
|
|||||||
y = 0.26 * safezoneH + safezoneY;
|
y = 0.26 * safezoneH + safezoneY;
|
||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
onButtonClick = "[0] call Z_getContainer;";
|
onButtonClick = "[0] call Z_getContainer;";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_Z3: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_Z3: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_DN_VEHICLE;
|
text = $STR_DN_VEHICLE;
|
||||||
@@ -81,10 +74,8 @@ class AdvancedTrading
|
|||||||
y = 0.26 * safezoneH + safezoneY;
|
y = 0.26 * safezoneH + safezoneY;
|
||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
onButtonClick = "[1] call Z_getContainer;";
|
onButtonClick = "[1] call Z_getContainer;";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_Z4: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_Z4: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7416;
|
idc = 7416;
|
||||||
text = $STR_EPOCH_PLAYER_292;
|
text = $STR_EPOCH_PLAYER_292;
|
||||||
@@ -92,8 +83,6 @@ class AdvancedTrading
|
|||||||
y = 0.26 * safezoneH + safezoneY;
|
y = 0.26 * safezoneH + safezoneY;
|
||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
onButtonClick = "Z_CategoryView = true; Z_ResetContainer = true; call Z_ChangeBuySell;";
|
onButtonClick = "Z_CategoryView = true; Z_ResetContainer = true; call Z_ChangeBuySell;";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class RscText_AT6: ZSC_RscText
|
class RscText_AT6: ZSC_RscText
|
||||||
{
|
{
|
||||||
@@ -115,7 +104,7 @@ class AdvancedTrading
|
|||||||
h = 0.03 * safezoneH;
|
h = 0.03 * safezoneH;
|
||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_BACK: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_BACK: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7449;
|
idc = 7449;
|
||||||
text = $STR_DISP_BACK;
|
text = $STR_DISP_BACK;
|
||||||
@@ -123,8 +112,6 @@ class AdvancedTrading
|
|||||||
y = 0.33 * safezoneH + safezoneY;
|
y = 0.33 * safezoneH + safezoneY;
|
||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
onButtonClick = "Z_Selling = true; Z_CategoryView = true; call Z_ChangeBuySell;"; //Z_Selling is flipped in ChangeBuySell
|
onButtonClick = "Z_Selling = true; Z_CategoryView = true; call Z_ChangeBuySell;"; //Z_Selling is flipped in ChangeBuySell
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class RscText_AT8: ZSC_RscText
|
class RscText_AT8: ZSC_RscText
|
||||||
{
|
{
|
||||||
@@ -146,54 +133,18 @@ class AdvancedTrading
|
|||||||
h = 0.03 * safezoneH;
|
h = 0.03 * safezoneH;
|
||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
class RscBackgroundText_Zupa_1: ZSC_RscText
|
|
||||||
{
|
|
||||||
idc = -1;
|
|
||||||
text = "";
|
|
||||||
x = 0.21* safezoneW + safezoneX;
|
|
||||||
y = 0.41 * safezoneH + safezoneY;
|
|
||||||
w = 0.13 * safezoneW;
|
|
||||||
h = 0.30 * safezoneH;
|
|
||||||
colorText[] = {1,1,1,1};
|
|
||||||
colorBackground[] = {0.1,0.1,0.1,1};
|
|
||||||
};
|
|
||||||
class RscBackgroundText_Zupa_2: ZSC_RscText
|
|
||||||
{
|
|
||||||
idc = -1;
|
|
||||||
text = "";
|
|
||||||
x = 0.46 * safezoneW + safezoneX;
|
|
||||||
y = 0.41* safezoneH + safezoneY;
|
|
||||||
w = 0.13 * safezoneW;
|
|
||||||
h = 0.30 * safezoneH;
|
|
||||||
colorText[] = {1,1,1,1};
|
|
||||||
colorBackground[] = {0.1,0.1,0.1,1};
|
|
||||||
};
|
|
||||||
|
|
||||||
class RscListbox_AT10: ZSC_RscListBox
|
class RscListbox_AT10: ZSC_RscListBox
|
||||||
{
|
{
|
||||||
idc = 7401;
|
idc = 7401;
|
||||||
type = 5;
|
|
||||||
idcLeft = -1;
|
idcLeft = -1;
|
||||||
idcRight = -1;
|
idcRight = -1;
|
||||||
x = 0.21* safezoneW + safezoneX;
|
x = 0.21* safezoneW + safezoneX;
|
||||||
y = 0.41 * safezoneH + safezoneY;
|
y = 0.41 * safezoneH + safezoneY;
|
||||||
w = 0.13 * safezoneW;
|
w = 0.13 * safezoneW;
|
||||||
h = 0.30 * safezoneH;
|
h = 0.30 * safezoneH;
|
||||||
soundSelect[] = {"",0.1,1};
|
soundSelect[] = {"",0.1,1};
|
||||||
colorBackground[] = {0.1,0.1,0.1,0.8};
|
|
||||||
onLBSelChanged = "['sellable',(lbCurSel 7401)] call Z_getItemInfo";
|
onLBSelChanged = "['sellable',(lbCurSel 7401)] call Z_getItemInfo";
|
||||||
class ListScrollBar: ZSC_RscScrollBar{};
|
class ListScrollBar: ZSC_RscScrollBar{};
|
||||||
class ScrollBar
|
|
||||||
{
|
|
||||||
color[] = {1,1,1,0.6};
|
|
||||||
colorActive[] = {1,1,1,1};
|
|
||||||
colorDisabled[] = {1,1,1,0.3};
|
|
||||||
shadow = 0;
|
|
||||||
thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
|
|
||||||
arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
|
|
||||||
arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
|
|
||||||
border = "\ca\ui\data\ui_border_scroll_ca.paa";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
class RscListbox_AT11: ZSC_RscListBox
|
class RscListbox_AT11: ZSC_RscListBox
|
||||||
{
|
{
|
||||||
@@ -203,48 +154,23 @@ class AdvancedTrading
|
|||||||
w = 0.13 * safezoneW;
|
w = 0.13 * safezoneW;
|
||||||
h = 0.30 * safezoneH;
|
h = 0.30 * safezoneH;
|
||||||
soundSelect[] = {"",0.1,1};
|
soundSelect[] = {"",0.1,1};
|
||||||
colorBackground[] = {0.1,0.1,0.1,0.8};
|
|
||||||
onLBSelChanged = "['selling',(lbCurSel 7402)] call Z_getItemInfo";
|
onLBSelChanged = "['selling',(lbCurSel 7402)] call Z_getItemInfo";
|
||||||
class ListScrollBar: ZSC_RscScrollBar{};
|
class ListScrollBar: ZSC_RscScrollBar{};
|
||||||
class ScrollBar
|
|
||||||
{
|
|
||||||
color[] = {1,1,1,0.6};
|
|
||||||
colorActive[] = {1,1,1,1};
|
|
||||||
colorDisabled[] = {1,1,1,0.3};
|
|
||||||
shadow = 0;
|
|
||||||
thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
|
|
||||||
arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
|
|
||||||
arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
|
|
||||||
border = "\ca\ui\data\ui_border_scroll_ca.paa";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
class RscListbox_AT20: ZSC_RscListBox
|
class RscListbox_AT20: ZSC_RscListBox
|
||||||
{
|
{
|
||||||
idc = 7421;
|
idc = 7421;
|
||||||
type = 5;
|
|
||||||
idcLeft = -1;
|
idcLeft = -1;
|
||||||
idcRight = -1;
|
idcRight = -1;
|
||||||
x = 0.21* safezoneW + safezoneX;
|
x = 0.21* safezoneW + safezoneX;
|
||||||
y = 0.41 * safezoneH + safezoneY;
|
y = 0.41 * safezoneH + safezoneY;
|
||||||
w = 0.13 * safezoneW;
|
w = 0.13 * safezoneW;
|
||||||
h = 0.30 * safezoneH;
|
h = 0.30 * safezoneH;
|
||||||
soundSelect[] = {"",0.1,1};
|
soundSelect[] = {"",0.1,1};
|
||||||
colorBackground[] = {0.1,0.1,0.1,0.8};
|
|
||||||
onload = "ctrlShow [_this,false]";
|
onload = "ctrlShow [_this,false]";
|
||||||
onLBDblClick = "if (Z_CategoryView) then {(lbCurSel 7421) call Z_fillCategoryList;};";
|
onLBDblClick = "if (Z_CategoryView) then {(lbCurSel 7421) call Z_fillCategoryList;};";
|
||||||
onLBSelChanged = "if (!Z_CategoryView) then {['buyable',(lbCurSel 7421)] call Z_getItemInfo;};";
|
onLBSelChanged = "if (!Z_CategoryView) then {['buyable',(lbCurSel 7421)] call Z_getItemInfo;};";
|
||||||
class ListScrollBar: ZSC_RscScrollBar{};
|
class ListScrollBar: ZSC_RscScrollBar{};
|
||||||
class ScrollBar
|
|
||||||
{
|
|
||||||
color[] = {1,1,1,0.6};
|
|
||||||
colorActive[] = {1,1,1,1};
|
|
||||||
colorDisabled[] = {1,1,1,0.3};
|
|
||||||
shadow = 0;
|
|
||||||
thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
|
|
||||||
arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
|
|
||||||
arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
|
|
||||||
border = "\ca\ui\data\ui_border_scroll_ca.paa";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
class RscListbox_AT21: ZSC_RscListBox
|
class RscListbox_AT21: ZSC_RscListBox
|
||||||
{
|
{
|
||||||
@@ -254,30 +180,18 @@ class AdvancedTrading
|
|||||||
w = 0.13 * safezoneW;
|
w = 0.13 * safezoneW;
|
||||||
h = 0.30 * safezoneH;
|
h = 0.30 * safezoneH;
|
||||||
soundSelect[] = {"",0.1,1};
|
soundSelect[] = {"",0.1,1};
|
||||||
colorBackground[] = {0.1,0.1,0.1,0.8};
|
|
||||||
onload = "ctrlShow [_this,false]";
|
onload = "ctrlShow [_this,false]";
|
||||||
onLBSelChanged = "['buying',(lbCurSel 7422)] call Z_getItemInfo";
|
onLBSelChanged = "['buying',(lbCurSel 7422)] call Z_getItemInfo";
|
||||||
class ScrollBar
|
|
||||||
{
|
|
||||||
color[] = {1,1,1,0.6};
|
|
||||||
colorActive[] = {1,1,1,1};
|
|
||||||
colorDisabled[] = {1,1,1,0.3};
|
|
||||||
shadow = 0;
|
|
||||||
thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
|
|
||||||
arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
|
|
||||||
arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
|
|
||||||
border = "\ca\ui\data\ui_border_scroll_ca.paa";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
class RscSearchBackground: ZSC_RscText
|
class RscSearchBackground: ZSC_RscListBox
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
x = 0.21 * safezoneW + safezoneX;
|
x = 0.21 * safezoneW + safezoneX;
|
||||||
y = 0.72 * safezoneH + safezoneY;
|
y = 0.72 * safezoneH + safezoneY;
|
||||||
w = 0.13 * safezoneW;
|
w = 0.13 * safezoneW;
|
||||||
h = 0.03 * safezoneH;
|
h = 0.03 * safezoneH;
|
||||||
colorText[] = {1,1,1,1};
|
soundSelect[] = {"",0.1,1};
|
||||||
colorBackground[] = {0.1,0.1,0.1,1};
|
class ListScrollBar: ZSC_RscScrollBar{};
|
||||||
};
|
};
|
||||||
class Zupa_Filter_Edit : ZSC_RscEdit {
|
class Zupa_Filter_Edit : ZSC_RscEdit {
|
||||||
idc = 7444;
|
idc = 7444;
|
||||||
@@ -287,20 +201,18 @@ class AdvancedTrading
|
|||||||
x = 0.21 * safezoneW + safezoneX;
|
x = 0.21 * safezoneW + safezoneX;
|
||||||
y = 0.72 * safezoneH + safezoneY;
|
y = 0.72 * safezoneH + safezoneY;
|
||||||
w = 0.13 * safezoneW;
|
w = 0.13 * safezoneW;
|
||||||
h = 0.04;
|
h = 0.03 * safezoneH;
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_ATTFilter: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_ATTFilter: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7498;
|
idc = 7498;
|
||||||
text = $STR_UI_FILTER;
|
text = $STR_UI_FILTER;
|
||||||
x = 0.21 * safezoneW + safezoneX;
|
x = 0.21 * safezoneW + safezoneX;
|
||||||
y = 0.77 * safezoneH + safezoneY;
|
y = 0.77 * safezoneH + safezoneY;
|
||||||
w = 0.13 * safezoneW;
|
w = 0.13 * safezoneW;
|
||||||
onButtonClick = "if (Z_CategoryView && !Z_Selling) then {(lbCurSel 7421) call Z_fillCategoryList} else {[(ctrlText 7444)] call Z_filterList};";
|
onButtonClick = "if (Z_CategoryView && !Z_Selling) then {(lbCurSel 7421) call Z_fillCategoryList} else {[(ctrlText 7444)] call Z_filterList};";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_AT12: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_AT12: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7430;
|
idc = 7430;
|
||||||
text = " > ";
|
text = " > ";
|
||||||
@@ -308,10 +220,8 @@ class AdvancedTrading
|
|||||||
y = 0.41 * safezoneH + safezoneY;
|
y = 0.41 * safezoneH + safezoneY;
|
||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
onButtonClick = "[(lbCurSel 7401)] call Z_pushItemToList;";
|
onButtonClick = "[(lbCurSel 7401)] call Z_pushItemToList;";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_AT14: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_AT14: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7431;
|
idc = 7431;
|
||||||
text = " >> ";
|
text = " >> ";
|
||||||
@@ -319,10 +229,8 @@ class AdvancedTrading
|
|||||||
y = 0.49 * safezoneH + safezoneY;
|
y = 0.49 * safezoneH + safezoneY;
|
||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
onButtonClick = "call Z_pushAllToList;";
|
onButtonClick = "call Z_pushAllToList;";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_AT13: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_AT13: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7432;
|
idc = 7432;
|
||||||
text = " < ";
|
text = " < ";
|
||||||
@@ -330,10 +238,8 @@ class AdvancedTrading
|
|||||||
y = 0.57 * safezoneH + safezoneY;
|
y = 0.57 * safezoneH + safezoneY;
|
||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
onButtonClick = "[(lbCurSel 7402)] call Z_removeItemFromList;";
|
onButtonClick = "[(lbCurSel 7402)] call Z_removeItemFromList;";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_AT15: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_AT15: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7433;
|
idc = 7433;
|
||||||
text = " << ";
|
text = " << ";
|
||||||
@@ -341,10 +247,8 @@ class AdvancedTrading
|
|||||||
y = 0.65 * safezoneH + safezoneY;
|
y = 0.65 * safezoneH + safezoneY;
|
||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
onButtonClick = "call Z_removeAllToList;";
|
onButtonClick = "call Z_removeAllToList;";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_ATT1: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_ATT1: ZSC_RscButtonMenu
|
||||||
|
|
||||||
{
|
{
|
||||||
idc = 7440;
|
idc = 7440;
|
||||||
@@ -354,10 +258,8 @@ class AdvancedTrading
|
|||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
onButtonClick = "[(lbCurSel 7421),(ctrlText 7441)] call Z_toBuyingList;";
|
onButtonClick = "[(lbCurSel 7421),(ctrlText 7441)] call Z_toBuyingList;";
|
||||||
onload = "ctrlShow [_this,false]";
|
onload = "ctrlShow [_this,false]";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class Zupa_Ammount_Edit : ZSC_RscEdit {
|
class Zupa_Amount_Edit : ZSC_RscEdit {
|
||||||
idc = 7441;
|
idc = 7441;
|
||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
text = "1";
|
text = "1";
|
||||||
@@ -365,10 +267,10 @@ class AdvancedTrading
|
|||||||
x = 0.36 * safezoneW + safezoneX;
|
x = 0.36 * safezoneW + safezoneX;
|
||||||
y = 0.49 * safezoneH + safezoneY;
|
y = 0.49 * safezoneH + safezoneY;
|
||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
h = 0.03;
|
h = 0.03 * safezoneH;
|
||||||
onload = "ctrlShow [_this,false]";
|
onload = "ctrlShow [_this,false]";
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_ATT3: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_ATT3: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7442;
|
idc = 7442;
|
||||||
text = " < ";
|
text = " < ";
|
||||||
@@ -377,10 +279,8 @@ class AdvancedTrading
|
|||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
onButtonClick = "[(lbCurSel 7422)] call Z_removeItemFromBuyingList;";
|
onButtonClick = "[(lbCurSel 7422)] call Z_removeItemFromBuyingList;";
|
||||||
onload = "ctrlShow [_this,false]";
|
onload = "ctrlShow [_this,false]";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_ATT4: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_ATT4: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7443;
|
idc = 7443;
|
||||||
text = " << ";
|
text = " << ";
|
||||||
@@ -389,8 +289,6 @@ class AdvancedTrading
|
|||||||
w = 0.08 * safezoneW;
|
w = 0.08 * safezoneW;
|
||||||
onButtonClick = "call Z_removeAllFromBuyingList;";
|
onButtonClick = "call Z_removeAllFromBuyingList;";
|
||||||
onload = "ctrlShow [_this,false]";
|
onload = "ctrlShow [_this,false]";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class RscText_ATT8: ZSC_RscStructuredText
|
class RscText_ATT8: ZSC_RscStructuredText
|
||||||
{
|
{
|
||||||
@@ -403,16 +301,15 @@ class AdvancedTrading
|
|||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
onload = "ctrlShow [_this,false]";
|
onload = "ctrlShow [_this,false]";
|
||||||
};
|
};
|
||||||
class RscSearchBackground2: ZSC_RscText
|
class RscSearchBackground2: ZSC_RscListBox
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = "";
|
|
||||||
x = 0.46 * safezoneW + safezoneX;
|
x = 0.46 * safezoneW + safezoneX;
|
||||||
y = 0.72 * safezoneH + safezoneY;
|
y = 0.72 * safezoneH + safezoneY;
|
||||||
w = 0.13 * safezoneW;
|
w = 0.13 * safezoneW;
|
||||||
h = 0.03 * safezoneH;
|
h = 0.03 * safezoneH;
|
||||||
colorText[] = {1,1,1,1};
|
soundSelect[] = {"",0.1,1};
|
||||||
colorBackground[] = {0.1,0.1,0.1,1};
|
class ListScrollBar: ZSC_RscScrollBar{};
|
||||||
};
|
};
|
||||||
class RscText_AT18: ZSC_RscText
|
class RscText_AT18: ZSC_RscText
|
||||||
{
|
{
|
||||||
@@ -424,7 +321,7 @@ class AdvancedTrading
|
|||||||
h = 0.03 * safezoneH;
|
h = 0.03 * safezoneH;
|
||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_AT16: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_AT16: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7435;
|
idc = 7435;
|
||||||
text = $STR_EPOCH_PLAYER_292;
|
text = $STR_EPOCH_PLAYER_292;
|
||||||
@@ -432,10 +329,8 @@ class AdvancedTrading
|
|||||||
y = 0.77 * safezoneH + safezoneY;
|
y = 0.77 * safezoneH + safezoneY;
|
||||||
w = 0.13 * safezoneW;
|
w = 0.13 * safezoneW;
|
||||||
onButtonClick = "call Z_SellItems;";
|
onButtonClick = "call Z_SellItems;";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_AT27: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_AT27: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7436;
|
idc = 7436;
|
||||||
text = $STR_EPOCH_PLAYER_291;
|
text = $STR_EPOCH_PLAYER_291;
|
||||||
@@ -444,29 +339,23 @@ class AdvancedTrading
|
|||||||
w = 0.13 * safezoneW;
|
w = 0.13 * safezoneW;
|
||||||
onload = "ctrlShow [_this,false]";
|
onload = "ctrlShow [_this,false]";
|
||||||
onButtonClick = "call Z_BuyItems;";
|
onButtonClick = "call Z_BuyItems;";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_AT28: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_AT28: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
x = 0.63 * safezoneW + safezoneX;
|
x = 0.63 * safezoneW + safezoneX;
|
||||||
y = 0.77 * safezoneH + safezoneY;
|
y = 0.77 * safezoneH + safezoneY;
|
||||||
w = 0.13 * safezoneW;
|
w = 0.13 * safezoneW;
|
||||||
onButtonClick = "[[],0,false,0,[],[],true] call Z_returnChange; ((ctrlParent (_this select 0)) closeDisplay 2); localize ""STR_EPOCH_PLAYER_307"" call dayz_rollingMessages;";
|
onButtonClick = "[[],0,false,0,[],[],true] call Z_returnChange; ((ctrlParent (_this select 0)) closeDisplay 2); localize ""STR_EPOCH_PLAYER_307"" call dayz_rollingMessages;";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
text = $STR_EPOCH_PLAYER_306;
|
text = $STR_EPOCH_PLAYER_306;
|
||||||
};
|
};
|
||||||
class ZSC_RscButtonMenu_AT29: AT_Zupa_BlueButton
|
class ZSC_RscButtonMenu_AT29: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
x = 0.63 * safezoneW + safezoneX;
|
x = 0.63 * safezoneW + safezoneX;
|
||||||
y = 0.80 * safezoneH + safezoneY;
|
y = 0.80 * safezoneH + safezoneY;
|
||||||
w = 0.13 * safezoneW;
|
w = 0.13 * safezoneW;
|
||||||
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 2);";
|
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 2);";
|
||||||
colorBackground[] = {1,1,1,1};
|
|
||||||
color[] = {0,0,0,1};
|
|
||||||
text = $STR_UI_CLOSE;
|
text = $STR_UI_CLOSE;
|
||||||
};
|
};
|
||||||
class RscStrText_AT_PriceInfo: ZSC_RscStructuredText // todo
|
class RscStrText_AT_PriceInfo: ZSC_RscStructuredText // todo
|
||||||
@@ -487,28 +376,28 @@ class AdvancedTrading
|
|||||||
y = 0.38 * safezoneH + safezoneY;
|
y = 0.38 * safezoneH + safezoneY;
|
||||||
w = 0.20 * safezoneW;
|
w = 0.20 * safezoneW;
|
||||||
h = 0.03 * safezoneH;
|
h = 0.03 * safezoneH;
|
||||||
colorBackground[] = {0.2,0.75,1,1};
|
colorBackground[] = {ZSC_DARK_BLUE, 0.5};
|
||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
class RscText_AT_BreakLine: ZSC_RscText
|
class RscText_AT_BreakLine: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
x = 0.60 * safezoneW + safezoneX;
|
x = 0.60 * safezoneW + safezoneX;
|
||||||
y = 0.15 * safezoneH + safezoneY;
|
y = 0.15 * safezoneH + safezoneY;
|
||||||
w = 0.0005 * safezoneW;
|
w = 0.0005 * safezoneW;
|
||||||
h = 0.70 * safezoneH;
|
h = 0.70 * safezoneH;
|
||||||
colorBackground[] = {0.2,0.75,1,1};
|
colorBackground[] = {ZSC_DARK_BLUE, 0.5};
|
||||||
|
};
|
||||||
|
class RscStrText_AT_ItemInfo: ZSC_RscStructuredText
|
||||||
|
{
|
||||||
|
idc = 7445;
|
||||||
|
text = "";
|
||||||
|
x = 0.61 * safezoneW + safezoneX;
|
||||||
|
y = 0.43 * safezoneH + safezoneY;
|
||||||
|
w = 0.19 * safezoneW;
|
||||||
|
h = 0.59 * safezoneH;
|
||||||
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
class RscStrText_AT_ItemInfo: ZSC_RscStructuredText
|
|
||||||
{
|
|
||||||
idc = 7445;
|
|
||||||
text = "";
|
|
||||||
x = 0.61 * safezoneW + safezoneX;
|
|
||||||
y = 0.43 * safezoneH + safezoneY;
|
|
||||||
w = 0.19 * safezoneW;
|
|
||||||
h = 0.59 * safezoneH;
|
|
||||||
colorText[] = {1,1,1,1};
|
|
||||||
};
|
|
||||||
class RscStrText_AT_ContainerInfo: ZSC_RscStructuredText
|
class RscStrText_AT_ContainerInfo: ZSC_RscStructuredText
|
||||||
{
|
{
|
||||||
idc = 7446;
|
idc = 7446;
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ class DoorAccess
|
|||||||
{
|
{
|
||||||
class ZupaBackground_1
|
class ZupaBackground_1
|
||||||
{
|
{
|
||||||
//access = 0;
|
|
||||||
type = 0;
|
type = 0;
|
||||||
colorText[] = {0.8784,0.8471,0.651,1};
|
colorText[] = {0.8784,0.8471,0.651,1};
|
||||||
text = "";
|
text = "";
|
||||||
@@ -27,7 +26,7 @@ class DoorAccess
|
|||||||
colorBackground[] = {0,0,0,0.8};
|
colorBackground[] = {0,0,0,0.8};
|
||||||
};
|
};
|
||||||
|
|
||||||
class ZupaHeader_2: ZSC_RscTextT
|
class ZupaHeader_2: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
x = 0.35 * safezoneW + safezoneX;
|
x = 0.35 * safezoneW + safezoneX;
|
||||||
@@ -35,11 +34,11 @@ class DoorAccess
|
|||||||
w = 0.20 * safezoneW;
|
w = 0.20 * safezoneW;
|
||||||
h = 0.05 * safezoneH;
|
h = 0.05 * safezoneH;
|
||||||
text = $STR_EPOCH_DOORACCESS_TITLE;
|
text = $STR_EPOCH_DOORACCESS_TITLE;
|
||||||
colorBackground[] = {0,0,0,0.8};
|
colorBackground[] = {ZSC_DARK_BLUE, 0.5};
|
||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
|
|
||||||
class ZupaButton_1 : ZSC_RscButtonMenuBlue
|
class ZupaButton_1 : ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_EPOCH_DOORACCESS_SCAN;
|
text = $STR_EPOCH_DOORACCESS_SCAN;
|
||||||
@@ -50,7 +49,7 @@ class DoorAccess
|
|||||||
onButtonClick = "keypadCancel = false; call player_unlockDoor";
|
onButtonClick = "keypadCancel = false; call player_unlockDoor";
|
||||||
};
|
};
|
||||||
|
|
||||||
class ZupaButton_4 : ZSC_RscButtonMenuBlue
|
class ZupaButton_4 : ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_EPOCH_DOORACCESS_MANUAL;
|
text = $STR_EPOCH_DOORACCESS_MANUAL;
|
||||||
@@ -61,7 +60,7 @@ class DoorAccess
|
|||||||
onButtonClick = "call player_enterCode";
|
onButtonClick = "call player_enterCode";
|
||||||
};
|
};
|
||||||
|
|
||||||
class ZupaButton_2: ZSC_RscButtonMenuBlue
|
class ZupaButton_2: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_DISP_CANCEL;
|
text = $STR_DISP_CANCEL;
|
||||||
@@ -71,7 +70,7 @@ class DoorAccess
|
|||||||
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 2);";
|
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 2);";
|
||||||
};
|
};
|
||||||
|
|
||||||
class ZupaButton_3: ZSC_RscButtonMenuBlue
|
class ZupaButton_3: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_EPOCH_ACTIONS_MANAGEDOOR;
|
text = $STR_EPOCH_ACTIONS_MANAGEDOOR;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ class DoorManagement
|
|||||||
idd = 711195;
|
idd = 711195;
|
||||||
onLoad = "if (DZE_doorManagementMustBeClose) then {(_this select 0) displayCtrl 7108 ctrlSetText localize 'STR_EPOCH_HUMANS_NEARBY';};";
|
onLoad = "if (DZE_doorManagementMustBeClose) then {(_this select 0) displayCtrl 7108 ctrlSetText localize 'STR_EPOCH_HUMANS_NEARBY';};";
|
||||||
class Controls {
|
class Controls {
|
||||||
class RscText_7100: ZSC_RscTextT
|
class RscText_7100: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = 7100;
|
idc = 7100;
|
||||||
x = 0.30 * safezoneW + safezoneX;
|
x = 0.30 * safezoneW + safezoneX;
|
||||||
@@ -13,7 +13,7 @@ class DoorManagement
|
|||||||
colorBackground[] = {0,0,0,0.8};
|
colorBackground[] = {0,0,0,0.8};
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscListbox_7101: RscListbox
|
class RscListbox_7101: ZSC_RscListBox
|
||||||
{
|
{
|
||||||
idc = 7101;
|
idc = 7101;
|
||||||
x = 0.31* safezoneW + safezoneX;
|
x = 0.31* safezoneW + safezoneX;
|
||||||
@@ -22,9 +22,12 @@ class DoorManagement
|
|||||||
h = 0.30 * safezoneH;
|
h = 0.30 * safezoneH;
|
||||||
soundSelect[] = {"",0.1,1};
|
soundSelect[] = {"",0.1,1};
|
||||||
colorBackground[] = {0.1,0.1,0.1,0.8};
|
colorBackground[] = {0.1,0.1,0.1,0.8};
|
||||||
|
sizeEx = 0.035;
|
||||||
|
class ListScrollBar: ZSC_RscScrollBar{};
|
||||||
|
style = 16; //no outline
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscListbox_7102: RscListbox
|
class RscListbox_7102: ZSC_RscListBox
|
||||||
{
|
{
|
||||||
idc = 7102;
|
idc = 7102;
|
||||||
x = 0.45 * safezoneW + safezoneX;
|
x = 0.45 * safezoneW + safezoneX;
|
||||||
@@ -33,9 +36,12 @@ class DoorManagement
|
|||||||
h = 0.30 * safezoneH;
|
h = 0.30 * safezoneH;
|
||||||
soundSelect[] = {"",0.1,1};
|
soundSelect[] = {"",0.1,1};
|
||||||
colorBackground[] = {0.1,0.1,0.1,0.8};
|
colorBackground[] = {0.1,0.1,0.1,0.8};
|
||||||
|
sizeEx = 0.035;
|
||||||
|
class ListScrollBar: ZSC_RscScrollBar{};
|
||||||
|
style = 16; //no outline
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscShortcutButton_7104: ZSC_RscButtonMenuBlue
|
class RscShortcutButton_7104: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7104;
|
idc = 7104;
|
||||||
text = $STR_EPOCH_ADD;
|
text = $STR_EPOCH_ADD;
|
||||||
@@ -45,7 +51,7 @@ class DoorManagement
|
|||||||
onButtonClick = "[lbData [7101,lbCurSel 7101]] call DoorAddFriend;";
|
onButtonClick = "[lbData [7101,lbCurSel 7101]] call DoorAddFriend;";
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscShortcutButton_7105: ZSC_RscButtonMenuBlue
|
class RscShortcutButton_7105: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7105;
|
idc = 7105;
|
||||||
text = $STR_DISP_DELETE;
|
text = $STR_DISP_DELETE;
|
||||||
@@ -55,7 +61,7 @@ class DoorManagement
|
|||||||
onButtonClick = "[(lbCurSel 7102)] call DoorRemoveFriend;";
|
onButtonClick = "[(lbCurSel 7102)] call DoorRemoveFriend;";
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscShortcutButton_7106: ZSC_RscButtonMenuBlue
|
class RscShortcutButton_7106: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = 7106;
|
idc = 7106;
|
||||||
text = $STR_UI_CLOSE;
|
text = $STR_UI_CLOSE;
|
||||||
@@ -65,7 +71,7 @@ class DoorManagement
|
|||||||
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 2);";
|
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 2);";
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscText_7107: ZSC_RscTextT
|
class RscText_7107: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = 7107;
|
idc = 7107;
|
||||||
text = $STR_EPOCH_DOORMANAGEMENT_TITLE;
|
text = $STR_EPOCH_DOORMANAGEMENT_TITLE;
|
||||||
@@ -73,11 +79,11 @@ class DoorManagement
|
|||||||
y = 0.30 * safezoneH + safezoneY;
|
y = 0.30 * safezoneH + safezoneY;
|
||||||
w = 0.30 * safezoneW;
|
w = 0.30 * safezoneW;
|
||||||
h = 0.05 * safezoneH;
|
h = 0.05 * safezoneH;
|
||||||
colorBackground[] = {0,0,0,0.8};
|
colorBackground[] = {ZSC_DARK_BLUE, 0.5};
|
||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscText_7108: ZSC_RscTextT
|
class RscText_7108: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = 7108;
|
idc = 7108;
|
||||||
text = $STR_MP_PLAYERS;
|
text = $STR_MP_PLAYERS;
|
||||||
@@ -88,7 +94,7 @@ class DoorManagement
|
|||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscText_7103: ZSC_RscTextT
|
class RscText_7103: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = 71103;
|
idc = 71103;
|
||||||
text = $STR_EPOCH_DOORMANAGEMENT_FRIENDS;
|
text = $STR_EPOCH_DOORMANAGEMENT_FRIENDS;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ class PlotManagement
|
|||||||
idd = 711194;
|
idd = 711194;
|
||||||
onLoad = "if (DZE_plotManagementMustBeClose) then {(_this select 0) displayCtrl 7015 ctrlSetText localize 'STR_EPOCH_HUMANS_NEARBY';};";
|
onLoad = "if (DZE_plotManagementMustBeClose) then {(_this select 0) displayCtrl 7015 ctrlSetText localize 'STR_EPOCH_HUMANS_NEARBY';};";
|
||||||
class Controls {
|
class Controls {
|
||||||
class RscText_7000: ZSC_RscTextT
|
class RscText_7000: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = 7000;
|
idc = 7000;
|
||||||
x = 0.30 * safezoneW + safezoneX;
|
x = 0.30 * safezoneW + safezoneX;
|
||||||
@@ -13,19 +13,19 @@ class PlotManagement
|
|||||||
colorBackground[] = {0,0,0,0.8};
|
colorBackground[] = {0,0,0,0.8};
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscText_7007: ZSC_RscTextT
|
class RscText_7007: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = 7007;
|
idc = 7007;
|
||||||
text = $STR_EPOCH_ACTIONS_MANAGEPLOT;
|
text = $STR_EPOCH_PLOTMANAGEMENT_TITLE;
|
||||||
x = 0.30 * safezoneW + safezoneX;
|
x = 0.30 * safezoneW + safezoneX;
|
||||||
y = 0.15 * safezoneH + safezoneY;
|
y = 0.15 * safezoneH + safezoneY;
|
||||||
w = 0.30 * safezoneW;
|
w = 0.30 * safezoneW;
|
||||||
h = 0.05 * safezoneH;
|
h = 0.05 * safezoneH;
|
||||||
colorBackground[] = {0,0,0,0.8};
|
colorBackground[] = {ZSC_DARK_BLUE, 0.5};
|
||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscShortcutButton_7009: ZSC_RscButtonMenuBlue
|
class RscShortcutButton_7009: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_EPOCH_DOME;
|
text = $STR_EPOCH_DOME;
|
||||||
@@ -35,7 +35,7 @@ class PlotManagement
|
|||||||
onButtonClick = "call PlotPreview;";
|
onButtonClick = "call PlotPreview;";
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscShortcutButton_7010: ZSC_RscButtonMenuBlue
|
class RscShortcutButton_7010: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_EPOCH_ACTIONS_MAINTAIN;
|
text = $STR_EPOCH_ACTIONS_MAINTAIN;
|
||||||
@@ -45,7 +45,7 @@ class PlotManagement
|
|||||||
onButtonClick = "'maintain' call MaintainPlot;";
|
onButtonClick = "'maintain' call MaintainPlot;";
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscShortcutButton_7011: ZSC_RscButtonMenuBlue
|
class RscShortcutButton_7011: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_EPOCH_ACTIONS_MAINTAIN_FORCE;
|
text = $STR_EPOCH_ACTIONS_MAINTAIN_FORCE;
|
||||||
@@ -55,7 +55,7 @@ class PlotManagement
|
|||||||
onButtonClick = "'force' call MaintainPlot;";
|
onButtonClick = "'force' call MaintainPlot;";
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscText_7012: ZSC_RscTextT
|
class RscText_7012: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = 7012;
|
idc = 7012;
|
||||||
text = "";
|
text = "";
|
||||||
@@ -79,7 +79,7 @@ class PlotManagement
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscText_7013: ZSC_RscTextT
|
class RscText_7013: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = 7013;
|
idc = 7013;
|
||||||
text = "";
|
text = "";
|
||||||
@@ -90,7 +90,7 @@ class PlotManagement
|
|||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscText_7008: ZSC_RscTextT
|
class RscText_7008: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = 7015;
|
idc = 7015;
|
||||||
text = $STR_MP_PLAYERS;
|
text = $STR_MP_PLAYERS;
|
||||||
@@ -101,7 +101,7 @@ class PlotManagement
|
|||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscText_7003: ZSC_RscTextT
|
class RscText_7003: ZSC_RscText
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_EPOCH_PLOT_FRIENDS;
|
text = $STR_EPOCH_PLOT_FRIENDS;
|
||||||
@@ -111,8 +111,7 @@ class PlotManagement
|
|||||||
h = 0.03 * safezoneH;
|
h = 0.03 * safezoneH;
|
||||||
colorText[] = {1,1,1,1};
|
colorText[] = {1,1,1,1};
|
||||||
};
|
};
|
||||||
|
class RscListbox_7001: ZSC_RscListBox
|
||||||
class RscListbox_7001: RscListbox
|
|
||||||
{
|
{
|
||||||
idc = 7001;
|
idc = 7001;
|
||||||
x = 0.31* safezoneW + safezoneX;
|
x = 0.31* safezoneW + safezoneX;
|
||||||
@@ -121,9 +120,12 @@ class PlotManagement
|
|||||||
h = 0.30 * safezoneH;
|
h = 0.30 * safezoneH;
|
||||||
soundSelect[] = {"",0.1,1};
|
soundSelect[] = {"",0.1,1};
|
||||||
colorBackground[] = {0.1,0.1,0.1,0.8};
|
colorBackground[] = {0.1,0.1,0.1,0.8};
|
||||||
|
sizeEx = 0.035;
|
||||||
|
class ListScrollBar: ZSC_RscScrollBar{};
|
||||||
|
style = 16; //no outline
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscListbox_7002: RscListbox
|
class RscListbox_7002: ZSC_RscListBox
|
||||||
{
|
{
|
||||||
idc = 7002;
|
idc = 7002;
|
||||||
x = 0.45 * safezoneW + safezoneX;
|
x = 0.45 * safezoneW + safezoneX;
|
||||||
@@ -132,9 +134,12 @@ class PlotManagement
|
|||||||
h = 0.30 * safezoneH;
|
h = 0.30 * safezoneH;
|
||||||
soundSelect[] = {"",0.1,1};
|
soundSelect[] = {"",0.1,1};
|
||||||
colorBackground[] = {0.1,0.1,0.1,0.8};
|
colorBackground[] = {0.1,0.1,0.1,0.8};
|
||||||
|
sizeEx = 0.035;
|
||||||
|
class ListScrollBar: ZSC_RscScrollBar{};
|
||||||
|
style = 16; //no outline
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscShortcutButton_7004: ZSC_RscButtonMenuBlue
|
class RscShortcutButton_7004: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_EPOCH_ADD;
|
text = $STR_EPOCH_ADD;
|
||||||
@@ -144,7 +149,7 @@ class PlotManagement
|
|||||||
onButtonClick = "[lbData [7001,lbCurSel 7001]] call PlotAddFriend;";
|
onButtonClick = "[lbData [7001,lbCurSel 7001]] call PlotAddFriend;";
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscShortcutButton_7005: ZSC_RscButtonMenuBlue
|
class RscShortcutButton_7005: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_DISP_DELETE;
|
text = $STR_DISP_DELETE;
|
||||||
@@ -154,7 +159,7 @@ class PlotManagement
|
|||||||
onButtonClick = "[(lbCurSel 7002)] call PlotRemoveFriend;";
|
onButtonClick = "[(lbCurSel 7002)] call PlotRemoveFriend;";
|
||||||
};
|
};
|
||||||
|
|
||||||
class RscShortcutButton_7006: ZSC_RscButtonMenuBlue
|
class RscShortcutButton_7006: ZSC_RscButtonMenu
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = $STR_UI_CLOSE;
|
text = $STR_UI_CLOSE;
|
||||||
|
|||||||
@@ -35,11 +35,11 @@ if (isNumber (configFile >> 'CfgVehicles' >> _class >> 'transportMaxMagazines'))
|
|||||||
if (Z_SingleCurrency) then {
|
if (Z_SingleCurrency) then {
|
||||||
_formattedText = format [
|
_formattedText = format [
|
||||||
"<img image='%1' size='3' align='center'/><br />" +
|
"<img image='%1' size='3' align='center'/><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%10: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%10: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%13: </t><t color='#ffffff' size='0.7'>%6 %4</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%13: </t><t color='#ffffff' size='0.7'>%6 %4</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%12: </t><t color='#ffffff' size='0.7'>%5 %7</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%12: </t><t color='#ffffff' size='0.7'>%5 %7</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%16: </t><t color='#ffffff' size='0.7'><img image='%14'/> %8 <img image='%15'/> %9</t><br />",
|
"<t color='#bcbcbc' size='0.7'>%16: </t><t color='#ffffff' size='0.7'><img image='%14'/> %8 <img image='%15'/> %9</t><br />",
|
||||||
_picture,
|
_picture,
|
||||||
_display,
|
_display,
|
||||||
_class,
|
_class,
|
||||||
@@ -71,11 +71,11 @@ if (Z_SingleCurrency) then {
|
|||||||
|
|
||||||
_formattedText = format [
|
_formattedText = format [
|
||||||
"<img image='%1' size='3' align='center'/><br />" +
|
"<img image='%1' size='3' align='center'/><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%10: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%10: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%13: </t><t color='#ffffff' size='0.7'>%6 <img image='%17' /> %4</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%13: </t><t color='#ffffff' size='0.7'>%6 <img image='%17' /> %4</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%12: </t><t color='#ffffff' size='0.7'>%5 <img image='%16' /> %7</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%12: </t><t color='#ffffff' size='0.7'>%5 <img image='%16' /> %7</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%18: </t><t color='#ffffff' size='0.7'><img image='%14'/> %8 <img image='%15'/> %9</t><br />",
|
"<t color='#bcbcbc' size='0.7'>%18: </t><t color='#ffffff' size='0.7'><img image='%14'/> %8 <img image='%15'/> %9</t><br />",
|
||||||
_picture,
|
_picture,
|
||||||
_display,
|
_display,
|
||||||
_class,
|
_class,
|
||||||
|
|||||||
@@ -55,10 +55,10 @@ _displayText = getText(configFile >> "CfgMagazines" >> _class >> "descriptionSho
|
|||||||
if (Z_SingleCurrency) then {
|
if (Z_SingleCurrency) then {
|
||||||
_formattedText = format [
|
_formattedText = format [
|
||||||
"<img image='%1' size='3' align='center'/><br />" +
|
"<img image='%1' size='3' align='center'/><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%8: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%8: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%9: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%9: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%6 %7</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%6 %7</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%10: </t><t color='#ffffff' size='0.7'>%5 %7</t><br />",
|
"<t color='#bcbcbc' size='0.7'>%10: </t><t color='#ffffff' size='0.7'>%5 %7</t><br />",
|
||||||
_picture,
|
_picture,
|
||||||
_display,
|
_display,
|
||||||
_class,
|
_class,
|
||||||
@@ -84,10 +84,10 @@ if (Z_SingleCurrency) then {
|
|||||||
};
|
};
|
||||||
_formattedText = format [
|
_formattedText = format [
|
||||||
"<img image='%1' size='3' align='center'/><br />" +
|
"<img image='%1' size='3' align='center'/><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%12: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%12: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%14: </t><t color='#ffffff' size='0.7'>%6 <img image='%10' /> %9</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%14: </t><t color='#ffffff' size='0.7'>%6 <img image='%10' /> %9</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%13: </t><t color='#ffffff' size='0.7'>%5 <img image='%8' /> %7</t><br />",
|
"<t color='#bcbcbc' size='0.7'>%13: </t><t color='#ffffff' size='0.7'>%5 <img image='%8' /> %7</t><br />",
|
||||||
_picture,
|
_picture,
|
||||||
_display,
|
_display,
|
||||||
_class,
|
_class,
|
||||||
@@ -107,14 +107,14 @@ if (Z_SingleCurrency) then {
|
|||||||
|
|
||||||
if (count _compatible > 0) then {
|
if (count _compatible > 0) then {
|
||||||
_formattedText = _formattedText + format [
|
_formattedText = _formattedText + format [
|
||||||
"<t color='#33BFFF' size='0.7'>%1: </t><t color='#ffffff' size='0.7'>%2</t><br />"
|
"<t color='#bcbcbc' size='0.7'>%1: </t><t color='#ffffff' size='0.7'>%2</t><br />"
|
||||||
,localize "STR_EPOCH_COMPATIBLE",_compatibleText
|
,localize "STR_EPOCH_COMPATIBLE",_compatibleText
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
if (_displayText != "") then {
|
if (_displayText != "") then {
|
||||||
_formattedText = _formattedText + format [
|
_formattedText = _formattedText + format [
|
||||||
"<t color='#33BFFF' size='0.7'>%1: </t><t color='#ffffff' size='0.7'>%2</t>"
|
"<t color='#bcbcbc' size='0.7'>%1: </t><t color='#ffffff' size='0.7'>%2</t>"
|
||||||
,localize "STR_EPOCH_DESCRIPTION",_displayText
|
,localize "STR_EPOCH_DESCRIPTION",_displayText
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -115,13 +115,13 @@ _wepText = "";
|
|||||||
if (Z_SingleCurrency) then {
|
if (Z_SingleCurrency) then {
|
||||||
_formattedText = format [
|
_formattedText = format [
|
||||||
"<img image='%1' size='3' /><br />" +
|
"<img image='%1' size='3' /><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%10: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%10: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%13: </t><t color='#ffffff' size='0.7'>%6 %7</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%13: </t><t color='#ffffff' size='0.7'>%6 %7</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%12: </t><t color='#ffffff' size='0.7'>%5 %7</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%12: </t><t color='#ffffff' size='0.7'>%5 %7</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%14: </t><t color='#ffffff' size='0.7'><img image='%15'/> %8 <img image='%16'/> %9 <img image='%26'/> %4</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%14: </t><t color='#ffffff' size='0.7'><img image='%15'/> %8 <img image='%16'/> %9 <img image='%26'/> %4</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%17: </t><t color='#ffffff' size='0.7'>%18 </t><t color='#33BFFF' size='0.7'>%24: </t><t color='#ffffff' size='0.7'>%25</t><br />" + // Armor / Seats
|
"<t color='#bcbcbc' size='0.7'>%17: </t><t color='#ffffff' size='0.7'>%18 </t><t color='#bcbcbc' size='0.7'>%24: </t><t color='#ffffff' size='0.7'>%25</t><br />" + // Armor / Seats
|
||||||
"<t color='#33BFFF' size='0.7'>%21 %22: </t><t color='#ffffff' size='0.7'>%23 </t><t color='#33BFFF' size='0.7'>%19: </t><t color='#ffffff' size='0.7'>%20</t><br />", // MaxSpeed / Fuel
|
"<t color='#bcbcbc' size='0.7'>%21 %22: </t><t color='#ffffff' size='0.7'>%23 </t><t color='#bcbcbc' size='0.7'>%19: </t><t color='#ffffff' size='0.7'>%20</t><br />", // MaxSpeed / Fuel
|
||||||
_picture,
|
_picture,
|
||||||
_display,
|
_display,
|
||||||
_class,
|
_class,
|
||||||
@@ -163,13 +163,13 @@ if (Z_SingleCurrency) then {
|
|||||||
|
|
||||||
_formattedText = format [
|
_formattedText = format [
|
||||||
"<img image='%1' size='3' /><br />" +
|
"<img image='%1' size='3' /><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%13: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%13: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%14: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%14: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%16: </t><t color='#ffffff' size='0.7'>%6 <img image='%12' /> %7</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%16: </t><t color='#ffffff' size='0.7'>%6 <img image='%12' /> %7</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%15: </t><t color='#ffffff' size='0.7'>%5 <img image='%11' /> %10</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%15: </t><t color='#ffffff' size='0.7'>%5 <img image='%11' /> %10</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%17: </t><t color='#ffffff' size='0.7'><img image='%18'/> %8 <img image='%19'/> %9 <img image='%29'/> %4</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%17: </t><t color='#ffffff' size='0.7'><img image='%18'/> %8 <img image='%19'/> %9 <img image='%29'/> %4</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%20: </t><t color='#ffffff' size='0.7'>%21 </t><t color='#33BFFF' size='0.7'>%27: </t><t color='#ffffff' size='0.7'>%28</t><br />" + // Armor / Seats
|
"<t color='#bcbcbc' size='0.7'>%20: </t><t color='#ffffff' size='0.7'>%21 </t><t color='#bcbcbc' size='0.7'>%27: </t><t color='#ffffff' size='0.7'>%28</t><br />" + // Armor / Seats
|
||||||
"<t color='#33BFFF' size='0.7'>%24 %25: </t><t color='#ffffff' size='0.7'>%26 </t><t color='#33BFFF' size='0.7'>%22: </t><t color='#ffffff' size='0.7'>%23</t><br />", // MaxSpeed / Fuel
|
"<t color='#bcbcbc' size='0.7'>%24 %25: </t><t color='#ffffff' size='0.7'>%26 </t><t color='#bcbcbc' size='0.7'>%22: </t><t color='#ffffff' size='0.7'>%23</t><br />", // MaxSpeed / Fuel
|
||||||
_picture,
|
_picture,
|
||||||
_display,
|
_display,
|
||||||
_class,
|
_class,
|
||||||
@@ -204,7 +204,7 @@ if (Z_SingleCurrency) then {
|
|||||||
|
|
||||||
if (count _weapons2 > 0) then {
|
if (count _weapons2 > 0) then {
|
||||||
_formattedText = _formattedText + format [
|
_formattedText = _formattedText + format [
|
||||||
"<t color='#33BFFF' size='0.7'>%1: </t><t color='#ffffff' size='0.7'>%2</t><br />",
|
"<t color='#bcbcbc' size='0.7'>%1: </t><t color='#ffffff' size='0.7'>%2</t><br />",
|
||||||
localize "STR_EPOCH_WEAPONS",_wepText
|
localize "STR_EPOCH_WEAPONS",_wepText
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -64,10 +64,10 @@ _magText = "";
|
|||||||
if (Z_SingleCurrency) then {
|
if (Z_SingleCurrency) then {
|
||||||
_formattedText = format [
|
_formattedText = format [
|
||||||
"<img image='%1' size='3' align='center' /><br />" +
|
"<img image='%1' size='3' align='center' /><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%8: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%8: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%9: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%9: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%6 %7</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%6 %7</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%10: </t><t color='#ffffff' size='0.7'>%5 %7</t><br />",
|
"<t color='#bcbcbc' size='0.7'>%10: </t><t color='#ffffff' size='0.7'>%5 %7</t><br />",
|
||||||
_picture,
|
_picture,
|
||||||
_display,
|
_display,
|
||||||
_class,
|
_class,
|
||||||
@@ -93,10 +93,10 @@ if (Z_SingleCurrency) then {
|
|||||||
};
|
};
|
||||||
_formattedText = format [
|
_formattedText = format [
|
||||||
"<img image='%1' size='3' align='center' /><br />" +
|
"<img image='%1' size='3' align='center' /><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%11: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%12: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%12: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%14: </t><t color='#ffffff' size='0.7'>%6 <img image='%10' /> %8</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%14: </t><t color='#ffffff' size='0.7'>%6 <img image='%10' /> %8</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%13: </t><t color='#ffffff' size='0.7'>%5 <img image='%9' /> %7</t><br />",
|
"<t color='#bcbcbc' size='0.7'>%13: </t><t color='#ffffff' size='0.7'>%5 <img image='%9' /> %7</t><br />",
|
||||||
_picture,
|
_picture,
|
||||||
_display,
|
_display,
|
||||||
_class,
|
_class,
|
||||||
@@ -118,8 +118,8 @@ _parentClasses = [(configFile >> "CfgWeapons" >> _class),true] call BIS_fnc_retu
|
|||||||
|
|
||||||
if !("ItemCore" in _parentClasses or "Binocular" in _parentClasses) then {
|
if !("ItemCore" in _parentClasses or "Binocular" in _parentClasses) then {
|
||||||
_formattedText = _formattedText + format [
|
_formattedText = _formattedText + format [
|
||||||
"<t color='#33BFFF' size='0.7'>%1: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
"<t color='#bcbcbc' size='0.7'>%1: </t><t color='#ffffff' size='0.7'>%2</t><br />" +
|
||||||
"<t color='#33BFFF' size='0.7'>%3: </t><t color='#ffffff' size='0.7'>%4</t><br />"
|
"<t color='#bcbcbc' size='0.7'>%3: </t><t color='#ffffff' size='0.7'>%4</t><br />"
|
||||||
,localize "STR_EPOCH_ATTACHMENTS",_attachText,localize "STR_EPOCH_MAGS",_magText
|
,localize "STR_EPOCH_ATTACHMENTS",_attachText,localize "STR_EPOCH_MAGS",_magText
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ _typeOf = typeOf (unitBackPack player);
|
|||||||
if (_type == "trade_items") then {
|
if (_type == "trade_items") then {
|
||||||
{
|
{
|
||||||
if (isText(configFile >> "CfgWeapons" >> _x >> "Attachments" >> _name) or _name in getArray (configFile >> "CfgWeapons" >> _x >> "magazines")) then {
|
if (isText(configFile >> "CfgWeapons" >> _x >> "Attachments" >> _name) or _name in getArray (configFile >> "CfgWeapons" >> _x >> "magazines")) then {
|
||||||
lbSetColor [Z_AT_BUYABLELIST, _index, [0.2,0.75,1,1]];
|
lbSetColor [Z_AT_BUYABLELIST, _index, [0, 1, 0, 0.8]]; //green
|
||||||
};
|
};
|
||||||
} count _weapons;
|
} count _weapons;
|
||||||
_count = {_x == _name} count magazines player;
|
_count = {_x == _name} count magazines player;
|
||||||
@@ -31,10 +31,10 @@ _typeOf = typeOf (unitBackPack player);
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (_count > 0) then {
|
if (_count > 0) then {
|
||||||
lbSetColor [Z_AT_BUYABLELIST, _index, [0, 1, 0, 1]];
|
lbSetColor [Z_AT_BUYABLELIST, _index, [1, 0.8, 0, 1]]; //yellow
|
||||||
} else {
|
} else {
|
||||||
if ((_x select 6) < 0) then { //color items only allowed to either be sold or purchased
|
if ((_x select 6) < 0) then { //color items only allowed to either be sold or purchased
|
||||||
lbSetColor [Z_AT_BUYABLELIST, _index, [0, 0.57, 1, 1]];
|
lbSetColor [Z_AT_BUYABLELIST, _index, [1, 0, 0, 1]]; //red
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
} count Z_BuyableArray;
|
} count Z_BuyableArray;
|
||||||
|
|||||||
@@ -10,6 +10,6 @@ private "_index";
|
|||||||
_index = lbAdd [Z_AT_SELLABLELIST, _x select 3];
|
_index = lbAdd [Z_AT_SELLABLELIST, _x select 3];
|
||||||
lbSetPicture [Z_AT_SELLABLELIST, _index, _x select 4 ];
|
lbSetPicture [Z_AT_SELLABLELIST, _index, _x select 4 ];
|
||||||
if ((_x select 6) < 0) then { //color items only allowed to either be sold or purchased
|
if ((_x select 6) < 0) then { //color items only allowed to either be sold or purchased
|
||||||
lbSetColor [Z_AT_SELLABLELIST, _index, [0, 0.57, 1, 1]];
|
lbSetColor [Z_AT_SELLABLELIST, _index, [1, 0, 0, 1]]; //red
|
||||||
};
|
};
|
||||||
} count Z_SellableArray;
|
} count Z_SellableArray;
|
||||||
|
|||||||
@@ -612,7 +612,7 @@ if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cur
|
|||||||
_allowed = ((_hasAccess select 0) or (_hasAccess select 2) or (_hasAccess select 3) or (_hasAccess select 4));
|
_allowed = ((_hasAccess select 0) or (_hasAccess select 2) or (_hasAccess select 3) or (_hasAccess select 4));
|
||||||
if (DZE_permanentPlot) then {
|
if (DZE_permanentPlot) then {
|
||||||
if (s_player_plotManagement < 0 && _allowed) then {
|
if (s_player_plotManagement < 0 && _allowed) then {
|
||||||
s_player_plotManagement = player addAction [format["<t color='#0059FF'>%1</t>",localize "STR_EPOCH_ACTIONS_MANAGEPLOT"], "\z\addons\dayz_code\actions\plotManagement\initPlotManagement.sqf", [], 5, false];
|
s_player_plotManagement = player addAction [format["<t color='#b3e6ff'>%1</t>",localize "STR_EPOCH_ACTIONS_MANAGEPLOT"], "\z\addons\dayz_code\actions\plotManagement\initPlotManagement.sqf", [], 5, false];
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
if (s_player_maintain_area < 0) then {
|
if (s_player_maintain_area < 0) then {
|
||||||
@@ -727,7 +727,7 @@ if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cur
|
|||||||
// Check player access
|
// Check player access
|
||||||
_hasAccess = [player, _cursorTarget] call FNC_check_access;
|
_hasAccess = [player, _cursorTarget] call FNC_check_access;
|
||||||
if (s_player_manageDoor < 0 && ((_hasAccess select 0) or (_hasAccess select 2) or (_hasAccess select 3) or (_hasAccess select 4) or (_hasAccess select 5) or (_hasAccess select 6))) then {
|
if (s_player_manageDoor < 0 && ((_hasAccess select 0) or (_hasAccess select 2) or (_hasAccess select 3) or (_hasAccess select 4) or (_hasAccess select 5) or (_hasAccess select 6))) then {
|
||||||
s_player_manageDoor = player addAction [format["<t color='#0059FF'>%1</t>", localize "STR_EPOCH_ACTIONS_MANAGEDOOR"], "\z\addons\dayz_code\actions\doorManagement\initDoorManagement.sqf", _cursorTarget, 5, false];
|
s_player_manageDoor = player addAction [format["<t color='#b3e6ff'>%1</t>", localize "STR_EPOCH_ACTIONS_MANAGEDOOR"], "\z\addons\dayz_code\actions\doorManagement\initDoorManagement.sqf", _cursorTarget, 5, false];
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
player removeAction s_player_manageDoor;
|
player removeAction s_player_manageDoor;
|
||||||
|
|||||||
@@ -15456,6 +15456,11 @@
|
|||||||
<German>Zeige Grundstücksgrenze</German>
|
<German>Zeige Grundstücksgrenze</German>
|
||||||
<Russian>Границы участка</Russian>
|
<Russian>Границы участка</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
|
<Key ID="STR_EPOCH_PLOTMANAGEMENT_TITLE">
|
||||||
|
<English>Plot Management</English>
|
||||||
|
<German>Verwalte Grundstücksmarkierung</German>
|
||||||
|
<Russian>Управление строительным столбом</Russian>
|
||||||
|
</Key>
|
||||||
|
|
||||||
<Key ID="STR_EPOCH_TRADER">
|
<Key ID="STR_EPOCH_TRADER">
|
||||||
<English>Trader</English>
|
<English>Trader</English>
|
||||||
|
|||||||
Reference in New Issue
Block a user