mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add safezone scaling to group dialog buttons
This commit is contained in:
@@ -53,8 +53,8 @@ class DZ_GroupButton: RscButton {
|
|||||||
type = 16;
|
type = 16;
|
||||||
action = "";
|
action = "";
|
||||||
x = .317;
|
x = .317;
|
||||||
w = .14;
|
w = .058 * safeZoneW;
|
||||||
h = .05 * safezoneH;
|
h = .05 * safeZoneH;
|
||||||
color[] = {0.95, 0.95, 0.95, 1.0};
|
color[] = {0.95, 0.95, 0.95, 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};
|
||||||
@@ -87,7 +87,7 @@ class DZ_GroupButton: RscButton {
|
|||||||
};
|
};
|
||||||
class TextPos {
|
class TextPos {
|
||||||
left = .002;
|
left = .002;
|
||||||
top = .0325;
|
top = .0181 * safeZoneH;
|
||||||
right = .002;
|
right = .002;
|
||||||
bottom = .005;
|
bottom = .005;
|
||||||
};
|
};
|
||||||
@@ -197,13 +197,13 @@ class DZ_GroupDialog {
|
|||||||
idc = 5;
|
idc = 5;
|
||||||
text = $STR_EPOCH_DISBAND;
|
text = $STR_EPOCH_DISBAND;
|
||||||
onButtonClick = "(_this select 0) call dayz_disbandGroup;";
|
onButtonClick = "(_this select 0) call dayz_disbandGroup;";
|
||||||
y = .294;
|
y = .349;
|
||||||
};
|
};
|
||||||
class Promote: DZ_GroupButton {
|
class Promote: DZ_GroupButton {
|
||||||
idc = 10;
|
idc = 10;
|
||||||
text = $STR_EPOCH_PROMOTE;
|
text = $STR_EPOCH_PROMOTE;
|
||||||
onButtonClick = "(_this select 0) call dayz_promotePlayer;";
|
onButtonClick = "(_this select 0) call dayz_promotePlayer;";
|
||||||
y = .349;
|
y = .294;
|
||||||
};
|
};
|
||||||
class Leave: DZ_GroupButton {
|
class Leave: DZ_GroupButton {
|
||||||
idc = 6;
|
idc = 6;
|
||||||
|
|||||||
Reference in New Issue
Block a user