Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe

И снова здравствуйте! На сей раз такая проблема. После переноса сборки на HUD от Origins(есть гайд на форуме), постоянно активны следующии иконки:

09f0ac4ce80a0fa04fc1b3486473e735.jpg
 
В связи с этим, худ отказывается нормально работать. Также убирал все сторонние худы, оставлял родной, тоже самая проблема. Вопрос в следующем - Откуда могут расти ноги, у данной проблемы?
Спасибо за внимание!
 
P.s. В RDP Клиента\Сервера ничего нет.
Edited by anap (see edit history)

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts




  • 0

 

И снова здравствуйте! На сей раз такая проблема. После переноса сборки на HUD от Origins(есть гайд на форуме), постоянно активны следующии иконки:

09f0ac4ce80a0fa04fc1b3486473e735.jpg
 
В связи с этим, худ отказывается нормально работать. Также убирал все сторонние худы, оставлял родной, тоже самая проблема. Вопрос в следующем - Откуда могут расти ноги, у данной проблемы?
Спасибо за внимание!
 
P.s. В RDP Клиента\Сервера ничего нет.

 

Условия отображения проверь.

Скорее всего либо их нет, либо неправильно.

Скинь кусок кода, где _displayCtrl одной из иконок.

Share this post


Link to post
Share on other sites
  • 0

Условия отображения проверь.

Скорее всего либо их нет, либо неправильно.

Скинь кусок кода, где _displayCtrl одной из иконок.

private ["_display","_ctrlBlood","_ctrlBleed","_bloodVal","_humanityName","_ctrlFood","_ctrlThirst","_thirstVal","_foodVal","_ctrlTemp","_tempVal","_combatVal","_array","_ctrlEar","_ctrlEye","_ctrlCombat","_ctrlFracture","_visualText","_visual","_audibleText","_audible","_blood","_thirstLvl","_foodLvl","_tempImg","_thirst","_food","_temp","_bloodLvl","_tempLvl","_color","_string","_humanity","_size","_friendlies","_rfriendlies","_rfriendlyTo","_distance","_targetControl","_playerUID","_rplayerUID","_ctrlBloodOuter","_ctrlFoodBorder","_ctrlThirstBorder","_ctrlTempBorder"];
disableSerialization;

_foodVal = 1 - (dayz_hunger / SleepFood);
_thirstVal = 1 - (dayz_thirst / SleepWater);
_tempVal = 1 - ((dayz_temperatur - dayz_temperaturmin)/(dayz_temperaturmax - dayz_temperaturmin));
_combatVal = 1 - dayz_combat;
if (uiNamespace getVariable ["DZ_displayUI", 0] == 1) exitWith {
	_array = [_foodVal,_thirstVal];
	_array
};
_display = uiNamespace getVariable 'DAYZ_GUI_display';

_ctrlBloodOuter = _display displayCtrl 1200;
_ctrlFoodBorder = _display displayCtrl 1201;
_ctrlThirstBorder = _display displayCtrl 1202;
_ctrlTempBorder = _display displayCtrl 1208;
_ctrlBloodOuter ctrlSetTextColor [1,1,1,1];
_ctrlFoodBorder ctrlSetTextColor [1,1,1,1];
_ctrlThirstBorder ctrlSetTextColor [1,1,1,1];
_ctrlTempBorder ctrlSetTextColor [1,1,1,1];
_ctrlBlood = _display displayCtrl 1300;
_ctrlBleed = _display displayCtrl 1303;
_bloodVal = r_player_blood / r_player_bloodTotal;
_ctrlFood = _display displayCtrl 1301;
_ctrlThirst = _display displayCtrl 1302;
_ctrlTemp = _display displayCtrl 1306;
_ctrlEar = _display displayCtrl 1304;
_ctrlEye = _display displayCtrl 1305;
_ctrlCombat = _display displayCtrl 1307;
_ctrlFPS = _display displayCtrl 1321;
_ctrlFPSOuter = _display displayCtrl 1322;
_ctrlFracture = _display displayCtrl 1203;
_ctrlBloodAmount = _display displayCtrl 1420;
_ctrlHumanityAmount = _display displayCtrl 1421;
_ctrlServerRestart = _display displayCtrl 1422;
_ctrlPlayerMoney = _display displayCtrl 1427;
_fps = round diag_FPS;
_ctrlFPS ctrlSetText str(_fps);
_ctrlFPS ctrlSetTextColor [0.6, 0.73, 0.0, 0.75];
_PlayerMoney = player getVariable['cashMoney', 0];
_bloodTotal = r_player_blood;
_RestartTime = 239-(round(serverTime/60));
_ctrlBloodAmount ctrlSetText str(_bloodTotal);
_ctrlHumanityAmount ctrlSetText str(player getVariable['humanity', 0]);
_ctrlServerRestart ctrlSetText str(_RestartTime);
_ctrlPlayerMoney ctrlSetText str(_PlayerMoney);
_ctrlhumanKills = _display displayCtrl 1400;
_ctrlbanditKills = _display displayCtrl 1402;
_ctrlzombieKills = _display displayCtrl 1403;
_ctrlhumanKills ctrlSetText str(player getVariable["humanKills", 0]);
_ctrlbanditKills ctrlSetText str(player getVariable["banditKills", 0]);
_ctrlzombieKills ctrlSetText str(player getVariable["zombieKills", 0]);
_ctrlBlood ctrlSetTextColor [(Dayz_GUI_R + (0.3 * (1-_bloodVal))),(Dayz_GUI_G * _bloodVal),(Dayz_GUI_B * _bloodVal), 0.5];
_ctrlFood ctrlSetTextColor [(Dayz_GUI_R + (0.3 * (1-_foodVal))),(Dayz_GUI_G * _foodVal),(Dayz_GUI_B * _foodVal), 0.5];
_ctrlThirst ctrlSetTextColor [(Dayz_GUI_R + (0.3 * (1-_thirstVal))),(Dayz_GUI_G * _thirstVal),(Dayz_GUI_B * _thirstVal), 0.5];
_ctrlTemp ctrlSetTextColor [(Dayz_GUI_R + (0.3 * (1-_tempVal))), (Dayz_GUI_G * _tempVal), _tempVal, 0.5];
_ctrlCombat ctrlSetTextColor [(Dayz_GUI_R + (0.3 * (1-_combatVal))),(Dayz_GUI_G * _combatVal),(Dayz_GUI_B * _combatVal), 0.5];
_blood = "";
_thirst = "";
_food = "";
_temp = "";
_tempImg = 0;
_bloodLvl = round((r_player_blood / 2) / 1000);
_thirstLvl = round(_thirstVal / 0.25);
_foodLvl = round(_foodVal / 0.25);
_tempLvl = round(dayz_temperatur);
if (_bloodLvl <= 0) then {
	_blood = "\z\addons\dayz_code\gui\status\status_blood_inside_1_ca.paa";
	} else {
	_blood = "\z\addons\dayz_code\gui\status\status_blood_inside_" + str(_bloodLvl) + "_ca.paa";
};
if (_thirstLvl < 0) then { _thirstLvl = 0 };
_thirst = "\z\addons\dayz_code\gui\status\status_thirst_inside_" + str(_thirstLvl) + "_ca.paa";
if (_foodLvl < 0) then { _foodLvl = 0 };
_food = "\z\addons\dayz_code\gui\status\status_food_inside_" + str(_foodLvl) + "_ca.paa";
if ( _tempLvl >= 36 ) then { _tempImg = 4 };
if ( _tempLvl > 33 && _tempLvl < 36 ) then { _tempImg = 3 };
if ( _tempLvl >= 30 && _tempLvl <= 33 ) then { _tempImg = 2 };
if ( _tempLvl > 28 && _tempLvl < 30 ) then { _tempImg = 1 };
if ( _tempLvl <= 28 ) then { _tempImg = 0 };
_temp = "\z\addons\dayz_code\gui\status\status_temp_" + str(_tempImg) + "_ca.paa";
_ctrlBlood ctrlSetText _blood;
_ctrlThirst ctrlSetText _thirst;
_ctrlFood ctrlSetText _food;
_ctrlTemp ctrlSetText _temp;
_visual = (dayz_disVisual / 185) min 1;
if (_visual < 0.2) then {_visual = 0.2;};
_ctrlEye  ctrlSetTextColor [1, 1, 1, _visual];
_audible = (dayz_disAudial / 40) min 1;
if (_audible < 0.2) then {_audible = 0.2;};
_ctrlEar ctrlSetTextColor [1, 1, 1, _audible];
if (!canStand player) then {
	if (!(ctrlShown _ctrlFracture)) then {
		r_fracture_legs = true;
		_ctrlFracture ctrlShow true;
	};
};
if (_combatVal == 0) then {
	_ctrlCombat call player_guiControlFlash;
};
if (_bloodVal < 0.2) then {
	_ctrlBlood call player_guiControlFlash;
};
if (_thirstVal < 0.2) then {
	_ctrlThirst call player_guiControlFlash;
};
if (_foodVal < 0.2) then {
	_ctrlFood call player_guiControlFlash;
};
if (_tempVal > 0.8) then {
	_ctrlTemp call player_guiControlFlash;
} else {
	_ctrlTemp ctrlShow true;
};
if (r_player_injured) then {
	_ctrlBleed call player_guiControlFlash;
};
_string = "";
_humanityTarget = cursorTarget;
if (!isNull _humanityTarget && isPlayer _humanityTarget && alive _humanityTarget) then {
	_distance = player distance _humanityTarget;
	if (_distance < DZE_HumanityTargetDistance) then {
		_size = (1-(floor(_distance/5)*0.1)) max 0.1;
		_friendlies = player getVariable ["friendlies", []];
		_playerUID = getPlayerUID player;
		_rplayerUID = getPlayerUID _humanityTarget;
		_rfriendlies = _humanityTarget getVariable ["friendlies", []];
		_rfriendlyTo = _humanityTarget getVariable ["friendlyTo", []];
		if ((_rplayerUID in _friendlies) && (_playerUID in _rfriendlies)) then {
			if !(_playerUID in _rfriendlyTo) then {
				_rfriendlyTo set [count _rfriendlyTo, _playerUID];
				_humanityTarget setVariable ["friendlyTo", _rfriendlyTo, true];
			};
			_color = "color='#339933'";
			_string = format["<t %2 align='center' size='%3'>%1</t>",(name _humanityTarget),_color,_size];
		} else {
			_humanity = _humanityTarget getVariable ["humanity",0];
			_color = "color='#ffffff'";
			if(_humanity < -5000) then {
				_color = "color='#ff0000'";
			} else {
				if(_humanity > 5000) then {
					_color = "color='#232DF9'";
				};
			};
			if((_humanityTarget getVariable ["DZE_display_name", false]) || (DZE_ForceNameTagsInTrader && isInTraderCity)) then {
				_string = format["<t %2 align='center' size='%3'>%1</t>",(name _humanityTarget),_color,_size];
			};
		};
	};
};
if (dayz_humanitytarget != _string) then {
	_targetControl = _display displayCtrl 1199;
	_targetControl ctrlSetStructuredText (parseText _string);
	dayz_humanitytarget = _string;
};
_array = [_foodVal,_thirstVal];
_array

Клиентский rpt приложи

"DayZ Epoch: PRELOAD Functions\init [[L 1-1-A:1 REMOTE],any]"
"DayZ Epoch: MPframework inited"
No owner
No owner
No owner
Group B 1-1-A (0x41450100) - network ID 2:4103
 - no main subgroup
Network simulation, time = 0.050
Group B 1-1-A (0x41450100) - network ID 2:4103
 - no main subgroup
Group B 1-1-A (0x41450100) - network ID 2:4103
 - no main subgroup
Group B 1-1-A (0x41450100) - network ID 2:4103
 - no main subgroup
Group B 1-1-A (0x41450100) - network ID 2:4103
 - no main subgroup
Group B 1-1-A (0x41450100) - network ID 2:4103
 - no main subgroup
Group B 1-1-A (0x41450100) - network ID 2:4103
 - no main subgroup
Group B 1-1-A (0x41450100) - network ID 2:4103
 - no main subgroup
"DEBUG: loadscreen guard started."
"Res3tting B!S effects..."
"[Создание предметов]: Старт скрипта..."
"[Создание предметов]: Инициализация массива создаваемых предметов..."
"[Создание предметов]: Инициализация массива создаваемых предметов, - завершена."
"[Создание предметов]: Компиляция клиентских функций..."
"[Создание предметов]: Компиляция клиентских функций завершена."
"[Создание предметов]: Скрипт инициализирован, и работает."
"PLAYER RESULT: true"
"PLOGIN: Login loop completed!"
"[АнтиХак] - [RandVar]: randvar26 создан за (237.581)"
"[АнтиХак] - [RandVar]: randvar1 запущен за (237.67)"
"[АнтиХак] - [RandVar]: randvar1 создан за randvar27a (237.723)"
"[АнтиХак] - [Клиент]: 04012015IAHAT342 - Успешно загружен на клиенте ID1983 (237.723)"
"[АнтиХак] - [RandVar]: randvar1 создал randvar27 за (237.723)"
Warning: looped for animation: ca\anims\characters\data\anim\sdr\mov\erc\stp\non\non\amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end.rtm differs (looped now 0)! MoveName: amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end
Cannot create non-ai vehicle c_grasstall,
"DayZ Epoch: PRELOAD Functions\init [[<No group>:0 (FunctionsManager)],any]"
"DayZ Epoch: MPframework inited"
Edited by anap (see edit history)

Share this post


Link to post
Share on other sites
  • 0

На сколько могу судить по коду - обращение идет к стандартным файлам, проверь правильно ли ты установил

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By Mozart
      Доброго времени суток , пытаюсь сделать  простенький HUD для вывода параметров жизнедеятельности  еда вода здоровье и тд . Собственно в чем вопрос, как его обернуть в графическую оболочку? например покрасить каждый параметр в свой собственный цвет, задать обводку, или  сгруппировать их друг под друга?  может сталкивался кто с таким вопросом? буду благодарен за любую наводку!

      Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
    • By ZizionarD
      Описание:
      Данный скрипт добавляет HUD в левый нижний угол. В нем вы можете увидеть 5 или 4 предмета (в зависимости от конфигурации) с основным оружием, вашем вторичным оружием, обезболивающим и бинтом, так же используются горячих клавиш которые можно использовать чтобы активировать каждый предмет.
       
       
      Установка:
      На чистый сервер
      1. Скачать архив CUSTOMWEAPONHUD-MASTER.ZIP
      2. Разархивировать скаченный архив
      3. Папки dayz_code и rlnt, а так же файлы description.ext и init.sqf поместить в корень папки миссии
      4. Если у вас не стоит InfiStar, то шаг 4 и 5, если у вас стоит InfiStar, то в файле AHconfig.sqf добавить 7000,7001,7002,7003 в массиве "_ALLOWED_Dialogs"
      5. В файле AT.sqf найдите:
      if(_key == 0x05)then{call admin_fly_up;}; if(_key == 0x06)then{call admin_tpdirection;}; и замените их на:
      if(_key == 0x09)then{call admin_fly_up;}; if(_key == 0x0A)then{call admin_tpdirection;}; Найдите:
      adminadd = adminadd + [" 4 - Fly Up","","0","1","0","0",[]]; adminadd = adminadd + [" 5 - TP LookingDirection","","0","1","0","0",[]]; и замените на:
      adminadd = adminadd + [" 8 - Fly Up","","0","1","0","0",[]]; adminadd = adminadd + [" 9 - TP LookingDirection","","0","1","0","0",[]]; 6. Вот и все.
       
      На измененный сервер
      1. Скачать архив CUSTOMWEAPONHUD-MASTER.ZIP
      2. Разархивировать скаченный архив
      3. В корне миссии открыть файл init.sqf и найти:
      DZE_selfTransfuse_Values = [12000,15,120]; после этой строки добавить:
      DZE_TwoPrimaries = 2; //Copy this only if you don't have it yet DZE_weaponHUD = true; /* RLNT - WeaponHUD */ Далее найти:
      call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; После добавить:
      call compile preprocessFileLineNumbers "dayz_code\init\compiles.sqf"; call compile preprocessFileLineNumbers "rlnt\client\init\compiles.sqf"; /* RLNT - Relentless */ Далее найти:
      if (isServer) then { if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\chernarus11.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; после добавить:
      if (!isServer) then { //RLNT - Relentless execVM "rlnt\scripts\Weapon HUD\weaponhud_init.sqf"; /* RLNT - WeaponHUD */ }; 4. Открыть файл description.ext и найти:
      #include "\z\addons\dayz_code\gui\description.hpp" заменить ее на:
      #include "dayz_code\gui\description.hpp" #include "rlnt\dialogs\rlnt_defines.hpp" /* RLNT - WeaponHUD */ class RscTitles { #include "rlnt\dialogs\rlnt_weaponhud.hpp" /* RLNT - WeaponHUD */ class wm_disp { idd = -1; onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]"; fadein = 0; fadeout = 0; duration = 10e10; controlsBackground[] = {}; objects[] = {}; class controls { class wm_text2 { idc = 1; x = safeZoneX+0.027; y = safeZoneY+safeZoneH-0.16; w = 0.151*safeZoneH; h = 0.057*safeZoneH; shadow = 2; class Attributes { font = "EtelkaNarrowMediumPro"; color = "#24FFFFFF"; align = "left"; valign = "middle"; shadow = 2; }; colorBackground[] = { 1, 0.3, 0, 0 }; font = "EtelkaNarrowMediumPro"; size = 0.06*safeZoneH; type = 13; style = 0; text=""; }; }; }; }; 5. Папки dayz_code и rlnt залить в корень миссии
      6. Если у вас уже используется кастомный файл keyboard.sqf то найдите в нем:
      _rifle = { 2 call dz_fn_switchWeapon; _handled = true; }; _pistol = { 3 call dz_fn_switchWeapon; _handled = true; }; _melee = { // Also works for rifle on back if DZE_TwoPrimaries = 2; 4 call dz_fn_switchWeapon; _handled = true; }; _throwable = { // select next non empty throwable weapon if (vehicle player == player) then { _ammo_throwable = []; _muzzles_throwable = []; _weapon_throwable = []; { _weapon = _x; _muzzles = getArray(configFile >> "cfgWeapons" >> _weapon >> "muzzles"); if (count _muzzles == 0) then { _muzzles = [_weapon ]; }; { _muzz = _x; { if (_x in magazines player) then { _ammo_throwable set [ count _ammo_throwable, getText(configFile >> "cfgMagazines" >> _x >> "ammo") ]; _muzzles_throwable set [ count _muzzles_throwable, _muzz ]; _weapon_throwable set [ count _weapon_throwable, _weapon ]; }; } forEach getArray(configFile >> "cfgWeapons" >> _weapon >> _muzz >> "magazines"); } forEach _muzzles; } forEach ["Throw"]; _magCount = count _ammo_throwable; if (_magCount > 0) then { if (isNil "KB_CurrentThrowable") then { KB_CurrentThrowable = -1; }; _currentAmmo = (weaponState player) select 3; _idx = _ammo_throwable find _currentAmmo; if (_idx >= 0) then { KB_CurrentThrowable = _idx; }; KB_CurrentThrowable = (KB_CurrentThrowable + 1) mod _magCount; player selectWeapon (_muzzles_throwable select KB_CurrentThrowable); _handled = true; }; }; }; и замените на:
      _rifle1 = { 2 call dz_fn_switchWeapon; _handled = true; }; _rifle2 = { 4 call dz_fn_switchWeapon; _handled = true; }; _pistol = { 3 call dz_fn_switchWeapon; _handled = true; }; _painkiller = { [0,0,0,[player]] execVM "rlnt\scripts\Weapon HUD\actions\rlnt_painkiller.sqf"; _handled = true; }; _bandage = { [0,0,0,[player]] execVM "rlnt\scripts\Weapon HUD\actions\rlnt_bandage.sqf"; _handled = true; }; найдите:
      DIK_8,DIK_7,DIK_6,DIK_5,DIK_4], _block] call _addArray; и замените на:
      DIK_8,DIK_7,DIK_6], _block] call _addArray; найдите строчку:
      if (!isNil "bis_fnc_halo_keydown_eh") then {bis_fnc_halo_keydown_eh = (finddisplay 46) displayaddeventhandler ["keydown","_this call bis_fnc_halo_keydown;"];}; // halo in progress и удалите ее.
      7. Если у вас не стоит InfiStar, то шаг 4 и 5, если у вас стоит InfiStar, то в файле AHconfig.sqf добавить 7000,7001,7002,7003 в массиве "_ALLOWED_Dialogs"
      8. В файле AT.sqf найдите:
      if(_key == 0x05)then{call admin_fly_up;}; if(_key == 0x06)then{call admin_tpdirection;}; и замените их на:
      if(_key == 0x09)then{call admin_fly_up;}; if(_key == 0x0A)then{call admin_tpdirection;}; Найдите:
      adminadd = adminadd + [" 4 - Fly Up","","0","1","0","0",[]]; adminadd = adminadd + [" 5 - TP LookingDirection","","0","1","0","0",[]]; и замените на:
      adminadd = adminadd + [" 8 - Fly Up","","0","1","0","0",[]]; adminadd = adminadd + [" 9 - TP LookingDirection","","0","1","0","0",[]]; 9. Вот и все.
       
      TODO:
      18.06.18 - Обновление ссылок
    • By MrMiBl
      Чёт не могу понять, как вписать температуру в этот дебаг?
       
      private ["_display","_symbol","_percent","_stats","_time", "_hours", "_minutes", "_pic", "_coins","_bloodlvl","_dir","_d","_txt","_nearestCity","_textCity","_thirst ","_thirststat ","_hunger ","_hungerstat ","_servername","_spacer","_img","_primary"]; disableSerialization; //--------------------------------------------------------------------------------------------// _display = uiNameSpace getVariable "DEBUGMONITOR"; _stats = _display displayCtrl 9000; //--------------------------------------------------------------------------------------------// _servername = "Название"; _spacer = "-------------------------------------"; _symbol = "°"; _percent = "%"; //--------------------------------------------------------------------------------------------// while {1 == 1} do { _nearestCity = nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],800]; _textCity = "Wilderness"; if (count _nearestCity > 0) then {_textCity = text (_nearestCity select 0)}; _img = (getText (configFile >> 'CfgVehicles' >> (typeOf vehicle player) >> 'picture')); if(player == vehicle player)then{ _img = (getText (configFile >> 'CfgWeapons' >> (currentWeapon player) >> 'picture')); }else{ _img = (getText (configFile >> 'CfgVehicles' >> (typeOf vehicle player) >> 'picture')); }; _time = (round(180-(serverTime)/60)); _hours = (floor(_time/60)); _minutes = (_time - (_hours * 60)); switch(_minutes) do { case 9: {_minutes = "09"}; case 8: {_minutes = "08"}; case 7: {_minutes = "07"}; case 6: {_minutes = "06"}; case 5: {_minutes = "05"}; case 4: {_minutes = "04"}; case 3: {_minutes = "03"}; case 2: {_minutes = "02"}; case 1: {_minutes = "01"}; case 0: {_minutes = "00"}; }; _d = getdir player; if (_d >= 337.5 || _d < 22.5) then {_dir = "North";}; if (_d >= 292.5 && _d < 337.5) then {_dir = "NWest";}; if (_d >= 247.5 && _d < 292.5) then {_dir = "West";}; if (_d >= 202.5 && _d < 247.5) then {_dir ="SWest";}; if (_d >= 157.5 && _d < 202.5) then {_dir ="South";}; if (_d >= 112.5 && _d < 157.5) then {_dir ="SE";}; if (_d >= 67.5 && _d < 112.5) then {_dir ="East";}; if (_d >= 22.5 && _d < 67.5) then {_dir ="NEast";}; _hunger = round(100 - (dayz_hunger / SleepFood) * 100); _thirst = round(100 - (dayz_thirst / SleepWater) * 100); _bloodlvl = round((r_player_blood / r_player_bloodTotal) * 100); //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------// _txt = format ["<br/><t size='1.5' font='Zeppelin32' align='center' color='#A81E13'>%1</t><br/><br/>", _servername]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='left' color='#E5E5E5'>Zombies Killed: </t><t size='1.2' font='Zeppelin32' align='right' color='#FFFFFF'>%1</t><br/>", player getVariable['zombieKills', 0]]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='left' color='#E5E5E5'>Survivors Killed: </t><t size='1.2' font='Zeppelin32' align='right' color='#FFFFFF'>%1</t><br/>", player getVariable['humanKills', 0]]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='left' color='#E5E5E5'>Bandits Killed: </t><t size='1.2' font='Zeppelin32' align='right' color='#FFFFFF'>%1</t><br/>", player getVariable['banditKills', 0]]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='left' color='#E5E5E5'>Humanity: </t><t size='1.2' font='Zeppelin32' align='right' color='#FFFFFF'>%1</t><br/>", round(player getVariable['humanity', 0])]; /*-----------*/ _txt = _txt + format ["<t size='1' font='Zeppelin32' align='left' color='#CCCCCC'>%1</t><br/>", _spacer]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='left' color='#E5E5E5'>Zombies: </t><t size='1.2' font='Zeppelin32' align='left' color='#FFFFFF'>%1</t>", count entities "zZombie_Base"]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='right' color='#E5E5E5'>Players: </t><t size='1.2' font='Zeppelin32' align='right' color='#FFFFFF'>%1</t><br/>", count playableUnits]; /*-----------*/ _txt = _txt + format ["<t size='1' font='Zeppelin32' align='left' color='#CCCCCC'>%1</t><br/>", _spacer]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='center' color='#E5E5E5'>Blood: </t><t size='1.2' font='Zeppelin32' align='center' color='#FFFFFF'>%1%2</t><br/>", _bloodlvl, _percent]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='left' color='#E5E5E5'>Hunger: </t><t size='1.1' font='Zeppelin32' align='left' color='#FFFFFF'>%1%2</t>", _hunger, _percent]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='right' color='#E5E5E5'>Thirst: </t><t size='1.1' font='Zeppelin32' align='right' color='#FFFFFF'>%1%2</t><br/>", _thirst, _percent]; /*-----------*/ _txt = _txt + format ["<t size='1' font='Zeppelin32' align='left' color='#CCCCCC'>%1</t><br/>", _spacer]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='left' color='#E5E5E5'>%1</t>", _textcity]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='right' color='#E5E5E5'>%1%2 %3</t><br/>", round (getDir vehicle player),_symbol, _dir]; _txt = _txt + format ["<img size='4.5' align='center' image='%1' /><br/>", _img]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='left' color='#E5E5E5'>GPS: </t><t size='1.2' font='Zeppelin32' align='left' color='#FFFFFF'>%1 </t>", (mapGridPosition getPos player)]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='right' color='#E5E5E5'>FPS: </t><t size='1.2' font='Zeppelin32' align='right' color='#FFFFFF'>%1</t><br/>", round diag_fps]; /*-----------*/ _txt = _txt + format ["<t size='1' font='Zeppelin32' align='left' color='#CCCCCC'>%1</t><br/>", _spacer]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='left' color='#E5E5E5'>Coins: </t><t size='1.2' font='Zeppelin32' align='right' color='#FFFFFF'>%1</t><br/>", player getVariable[Z_MoneyVariable,0]]; // _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='left' color='#D0F000'>Bank: </t><t size='1.2' font='Zeppelin32' align='right' color='#FFFFFF'>%1</t><br/>", player getVariable[Z_bankVariable,0]]; /*-----------*/ _txt = _txt + format ["<t size='1' font='Zeppelin32' align='left' color='#CCCCCC'>%1</t><br/>", _spacer]; _txt = _txt + format ["<t size='1.2' font='Zeppelin32' align='center' color='#E5E5E5'>Restart in: </t><t size='1.2' font='Zeppelin32' align='center' color='#FFFFFF'>%1:%2</t><br/>", _hours, _minutes]; //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------// _stats ctrlSetStructuredText parseText _txt; uiSleep 2; }; Подскажите пж
  • Our picks

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.