Lower group icons resource layer

Following 12abbfa
This commit is contained in:
ebayShopper
2017-03-31 15:12:24 -04:00
parent 0e244196e5
commit d5e808e4d1
9 changed files with 14 additions and 14 deletions

View File

@@ -152,7 +152,7 @@ _myGroup = group _body;
[_body] joinSilent dayz_firstGroup; [_body] joinSilent dayz_firstGroup;
deleteGroup _myGroup; deleteGroup _myGroup;
80000 cutText ["","PLAIN"]; //Clear group tags 8 cutText ["","PLAIN"]; //Clear group tags
3 cutRsc ["default", "PLAIN",3]; 3 cutRsc ["default", "PLAIN",3];
4 cutRsc ["default", "PLAIN",3]; 4 cutRsc ["default", "PLAIN",3];

View File

@@ -4,7 +4,7 @@ _traderName = _this select 0;
_showText = _this select 1; _showText = _this select 1;
_enterORleave = _this select 2; _enterORleave = _this select 2;
// Do not show cutText when player changes clothes in trader area // Do not show message when player changes clothes in trader area
if ((dayz_lastClothesChange + 3 > diag_tickTime) or (player distance respawn_west_original < 100)) then { if ((dayz_lastClothesChange + 3 > diag_tickTime) or (player distance respawn_west_original < 100)) then {
_showText = false; _showText = false;
}; };

View File

@@ -16,9 +16,9 @@ _holdBreath = if (count (actionKeys "HoldBreath") > 1) then { [true,localize "ST
_turboKey = if (count (actionKeys "Turbo") > 0) then { [true,localize "STR_UI_HOLD_TURBO"] } else { [false,""] }; _turboKey = if (count (actionKeys "Turbo") > 0) then { [true,localize "STR_UI_HOLD_TURBO"] } else { [false,""] };
if ((_holdBreath select 0) or (_turboKey select 0)) then { if ((_holdBreath select 0) or (_turboKey select 0)) then {
4100002 cutRsc ["DZ_BlackScreen","PLAIN"]; 16 cutRsc ["DZ_BlackScreen","PLAIN"];
(uiNamespace getVariable "DZ_BlackScreen") displayCtrl 1 ctrlSetText format ["%1\n%2", (_holdBreath select 1), (_turboKey select 1)]; (uiNamespace getVariable "DZ_BlackScreen") displayCtrl 1 ctrlSetText format ["%1\n%2", (_holdBreath select 1), (_turboKey select 1)];
} else { } else {
4100002 cutText ["","PLAIN"]; 16 cutText ["","PLAIN"];
}; };
*/ */

View File

@@ -25,7 +25,7 @@ R3F_TIRED_FNCT_Voile_Noir = {
R3F_TIRED_ForceWalk = false; R3F_TIRED_ForceWalk = false;
R3F_TIRED_FNCT_Overburdened = { R3F_TIRED_FNCT_Overburdened = {
localize "STR_R3F_WEIGHT_Overburdened" call dayz_rollingMessages; [localize "STR_R3F_WEIGHT_Overburdened",1] call dayz_rollingMessages;
if (!R3F_TIRED_ForceWalk) then { if (!R3F_TIRED_ForceWalk) then {
R3F_TIRED_ForceWalk = true; R3F_TIRED_ForceWalk = true;
@@ -44,7 +44,7 @@ R3F_TIRED_FNCT_Overburdened = {
}; };
R3F_TIRED_ForceWalk = false; R3F_TIRED_ForceWalk = false;
player forceWalk false; player forceWalk false;
cutText ["","PLAIN DOWN"]; // Clear overburdened message ["",1] call dayz_rollingMessages; // Clear overburdened message
}; };
}; };
}; };

View File

@@ -15,5 +15,5 @@ dayz_groupDisbandThread = _group spawn {
deleteGroup _this; deleteGroup _this;
terminate dayz_groupTags; terminate dayz_groupTags;
80000 cutText ["","PLAIN"]; 8 cutText ["","PLAIN"];
}; };

View File

@@ -8,7 +8,7 @@ while {true} do {
[player] joinSilent grpNull; [player] joinSilent grpNull;
if (!isNull findDisplay 80000) then {findDisplay 80000 closeDisplay 2;}; if (!isNull findDisplay 80000) then {findDisplay 80000 closeDisplay 2;};
terminate dayz_groupTags; terminate dayz_groupTags;
80000 cutText ["","PLAIN"]; 8 cutText ["","PLAIN"];
localize "STR_EPOCH_LOST_RADIO_CONTACT" call dayz_rollingMessages; localize "STR_EPOCH_LOST_RADIO_CONTACT" call dayz_rollingMessages;
} else { } else {
if (_inGroup && scriptDone dayz_groupTags) then { if (_inGroup && scriptDone dayz_groupTags) then {

View File

@@ -41,12 +41,12 @@ _refresh = {
while {true} do { while {true} do {
waitUntil {uiSleep 1; DRAW_TAGS}; waitUntil {uiSleep 1; DRAW_TAGS};
80000 cutRsc ["DZ_GroupTags","PLAIN"]; 8 cutRsc ["DZ_GroupTags","PLAIN"];
while {DRAW_TAGS} do { while {DRAW_TAGS} do {
call _refresh; //Must be called to finish in current frame call _refresh; //Must be called to finish in current frame
uiSleep 0.01; uiSleep 0.01;
}; };
80000 cutText ["","PLAIN"]; 8 cutText ["","PLAIN"];
}; };

View File

@@ -15,7 +15,7 @@ if (typeName _add == "SCALAR") exitWith {
if (_uid == getPlayerUID player) then { if (_uid == getPlayerUID player) then {
localize "STR_EPOCH_GROUP_KICKED" call dayz_rollingMessages; localize "STR_EPOCH_GROUP_KICKED" call dayz_rollingMessages;
terminate dayz_groupTags; terminate dayz_groupTags;
80000 cutText ["","PLAIN"]; 8 cutText ["","PLAIN"];
} else { } else {
systemChat format[localize "STR_EPOCH_PLAYER_KICKED",name (_uid call dayz_getPlayer)]; systemChat format[localize "STR_EPOCH_PLAYER_KICKED",name (_uid call dayz_getPlayer)];
}; };
@@ -24,13 +24,13 @@ if (typeName _add == "SCALAR") exitWith {
systemChat format[localize "STR_EPOCH_PLAYER_LEFT",_uid]; systemChat format[localize "STR_EPOCH_PLAYER_LEFT",_uid];
if (count (player call dayz_filterGroup) == 1) then { if (count (player call dayz_filterGroup) == 1) then {
terminate dayz_groupTags; terminate dayz_groupTags;
80000 cutText ["","PLAIN"]; 8 cutText ["","PLAIN"];
}; };
}; };
case 4: { case 4: {
localize "STR_EPOCH_GROUP_DISBANDED" call dayz_rollingMessages; localize "STR_EPOCH_GROUP_DISBANDED" call dayz_rollingMessages;
terminate dayz_groupTags; terminate dayz_groupTags;
80000 cutText ["","PLAIN"]; 8 cutText ["","PLAIN"];
}; };
}; };
}; };

View File

@@ -13,5 +13,5 @@ dayz_groupLeaveThread = [] spawn {
[player] joinSilent grpNull; [player] joinSilent grpNull;
terminate dayz_groupTags; terminate dayz_groupTags;
80000 cutText ["","PLAIN"]; 8 cutText ["","PLAIN"];
}; };