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
DimonButkovski

[ГАЙД] HUD для SC 2.0

Recommended Posts

Как и обещал , HUD Origins с монеткой и сейфом для SC 2.0

 

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

 

Установка :

 

Качаем архив https://yadi.sk/d/Kb2Vg3HrddJz3

 

Папку addons и hud кидаем в корень вашей mpmission

 

Файл player_updateGui кидаем куда вам угодно (у меня ето папка compile в mpmission ) меняем путь к файлу в compile.sqf  

 

Открываем ваш description.ext и перед class RscTitles вставляем :

 

 

class RscPictureGUI
{
    access = 0;
    type = 0;
    idc = -1;
    colorBackground[] = {0,0,0,0};
    colorText[] = {0.38,0.63,0.26,0.75};
    font = "TahomaB";
    sizeEx = 0;
    lineSpacing = 0;
    text = "";
    style = "0x30 + 0x100";
    x = 0;
    y = 0;
    w = 0.2;
    h = 0.15;
};
class RscTextGUIK {
    type = 0;
    idc = -1;
    style = 0x02;
    colorBackground[] = {0,0,0,0};
    colorText[] = {1, 1, 1, 0.5};
    //color[] = {1, 1, 1, 0.5};
    font = "TahomaB";
    size = 0.03;
    sizeEx = 0.03;
    x = 0;
    y = 0;
    w = 0.1;
    h = 0.2;
}; 

 

 

 

 

Теперь в class RscTitles вставляем :

 

#include "hud\RscPlayerUI.hpp"

Пример

 

 

class RscPictureGUI
{
    access = 0;
    type = 0;
    idc = -1;
    colorBackground[] = {0,0,0,0};
    colorText[] = {0.38,0.63,0.26,0.75};
    font = "TahomaB";
    sizeEx = 0;
    lineSpacing = 0;
    text = "";
    style = "0x30 + 0x100";
    x = 0;
    y = 0;
    w = 0.2;
    h = 0.15;
};
class RscTextGUIK {
    type = 0;
    idc = -1;
    style = 0x02;
    colorBackground[] = {0,0,0,0};
    colorText[] = {1, 1, 1, 0.5};
    //color[] = {1, 1, 1, 0.5};
    font = "TahomaB";
    size = 0.03;
    sizeEx = 0.03;
    x = 0;
    y = 0;
    w = 0.1;
    h = 0.2;
};

class RscTitles
{
#include "addons\playerhud\hud.hpp"	
#include "hud\RscPlayerUI.hpp"

}; 

 

 

 

Все! :thumbsup: 

 

Share this post


Link to post
Share on other sites



В принципе для 3.0 подойдет вырезать в файле .hpp банк и в player_updategui и так же работать будет 

Share this post


Link to post
Share on other sites

В принципе для 3.0 подойдет вырезать в файле .hpp банк и в player_updategui и так же работать будет 

Смотрите не перережьте

Для 3.0 уже делаю ( еще красивее будет)

Share this post


Link to post
Share on other sites

Смотрите не перережьте

Для 3.0 уже делаю ( еще красивее будет)

Давай, будет тебе еще 1 лайк тога)

Share this post


Link to post
Share on other sites

При большой сумме денег в банке или наличных строчки перемещяюся

 

Пример..(сори фото заливать лень)

Сумма денег в банке тут

а значек тут

Share this post


Link to post
Share on other sites

При большой сумме денег в банке или наличных строчки перемещяюся

 

Пример..(сори фото заливать лень)

Сумма денег в банке тут

а значек тут

ДА, ну ето же лучше чем бы писало до центра монитора цифры , лично у себя на сервере не видел игроков у которых было столько деняг  :smile: 

 

После 9 000 000 они перемещаются 

Все окуратно и красиво .

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Edited by Bandit3 (see edit history)

Share this post


Link to post
Share on other sites

ДА, ну ето же лучше чем бы писало до центра монитора цифры , лично у себя на сервере не видел игроков у которых было столько деняг  :smile: 

 

После 9 000 000 они перемещаются 

Все окуратно и красиво .

attachicon.gifArmA2OA 2014-12-29 19-22-22-540.jpg

На моем сервере где 30 000 000 это только тот момент когда игрок начинает хорошо жить)

Ну а так я уменьшил размер букв и значка и все стало вроде норм пока

Share this post


Link to post
Share on other sites

На моем сервере где 30 000 000 это только тот момент когда игрок начинает хорошо жить)

Ну а так я уменьшил размер букв и значка и все стало вроде норм пока

Делайте как вам нравится , но етот вариант как по мне (лучше).

Share this post


Link to post
Share on other sites

как можно скрестить худ для вот такой сборки, что не тулил постоянно крашит (ссылка)

Share this post


Link to post
Share on other sites

как можно скрестить худ для вот такой сборки, что не тулил постоянно крашит (ссылка)

Всмысле скрестить , что бы было два худа???!!!

 я проверял с етой сборкой , все работает...просто замените все файлы.. и путь к player_updateGui поменяйте d compile....

Если не получается сделать такой простой вещи ,  не нужно вам етим заниматся

Share this post


Link to post
Share on other sites

накинул на только что скаченную сборку, без допилинга, не крашит - но не грузится сервак...  а так то круто было бы, если настроить)

 

 

с горем пополам запустил сервак, не считает пока что коины и нету рамок на всех статусах (пить, жрать, холод и т д)

Edited by bevich (see edit history)

Share this post


Link to post
Share on other sites

А как добавить кровь не как не выходит вставляю 

<t size='0.8' align='right'> %1 </t><img size='1.5' align='right' image='addons\playerhud\icons\Health.paa'/>   <br/>

не выходит


disableSerialization;


while {true} do
{
    1000 cutRsc ["AsReMixhud","PLAIN"];
    _wpui = uiNameSpace getVariable "AsReMixhud";
    _vitals = _wpui displayCtrl 4900;
	
	_thePlayer = player;
	
	AsReMixhud_zombieKills 	= _thePlayer getVariable["zombieKills",0];
	AsReMixhud_headshots 	= _thePlayer getVariable["headShots",0];
	AsReMixhud_killsH 		= _thePlayer getVariable["humanKills",0];
	_cashMoney 				= _thePlayer getVariable["cashMoney",0];
    _bankMoney 				= _thePlayer getVariable["bankMoney",0];
	AsReMixhud_killsB 		= _thePlayer getVariable["banditKills",0];
	AsReMixhud_humanity 	= _thePlayer getVariable["humanity",0];
	AsReMixhud_zombies 		= "";
	AsReMixhud_zombiesAlive = "";
	AsReMixhud_blood		= "";
	AsReMixhud_pid			= "";
	AsReMixhud_puid			= "";
    AsReMixhud_hmnicon 		= "";
	AsReMixhud_fps 			= (round diag_fps);
	AsReMixhud_svrname		= "UPG";
	
	_stime = 0;
	if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;};
	_hours = (_stime/60/60);
	_hours = toArray (str _hours);
	_hours resize 1;
	_hours = toString _hours;
	_hours = compile _hours;
	_hours = call  _hours;
	_minutes = floor(_stime/60);
	_minutes2 = ((_minutes - (_hours*60)) min 60) max 0;if (_minutes2 < 10) then {_minutes2 = format ['0%1',_minutes2];};
	
if((AsReMixhud_humanity >= 5000) && (AsReMixhud_humanity <= 7499))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H1.paa'/>"; };
if((AsReMixhud_humanity >= 7500) && (AsReMixhud_humanity <= 9999))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H1-2.paa'/>"; };
if((AsReMixhud_humanity >= 10000) && (AsReMixhud_humanity <= 14999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H2.paa'/>"; };
if((AsReMixhud_humanity >= 15000) && (AsReMixhud_humanity <= 19999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H2-3.paa'/>"; };
if(AsReMixhud_humanity >= 20000) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H3.paa'/>"; };
	
if((AsReMixhud_humanity <= 4999) && (AsReMixhud_humanity >= -4999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\S1.paa'/>"; };
	
if((AsReMixhud_humanity <= -5000) && (AsReMixhud_humanity >= -7499))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B1.paa'/>"; };
if((AsReMixhud_humanity <= -7500) && (AsReMixhud_humanity >= -9999))then { AsReMixhud_hmnicon = "<img size='4' image='addons\playerhud\icons\B1-2.paa'/>"; };
if((AsReMixhud_humanity <= -10000) && (AsReMixhud_humanity >= -14999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B2.paa'/>"; };
if((AsReMixhud_humanity <= -15000) && (AsReMixhud_humanity >= -19999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B2-3.paa'/>"; };
if(AsReMixhud_humanity <= -20000) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B3.paa'/>"; };
	
	_vitals ctrlSetStructuredText parseText format ["	
        <t size='1.5' align='right'>%5 </t>  <br/>
		<t size='0.9' align='right'> %2 </t>  <br/>
		<t size='0.8' align='right'> %4 </t><img size='2.5' align='right' image='addons\playerhud\icons\sz.paa'/>   <br/>
		<t size='0.8' align='right'> %9 </t><img size='2.5' align='right' image='addons\playerhud\icons\sb.paa'/>   <br/>
		<t size='0.8' align='right'> %10 </t><img size='2.5' align='right' image='addons\playerhud\icons\sh.paa'/>   <br/>
		<t size='0.8' align='right'> %1 </t><img size='1.5' align='right' image='addons\playerhud\icons\Health.paa'/>   <br/>
		<t size='0.8' align='right'> %13 </t><img size='1.5' align='right' image='addons\playerhud\icons\Fps.paa'/>   <br/>
		<t size='0.8' align='right'> %11:%12 </t><img size='1.5' align='right' image='addons\playerhud\icons\Uptime.paa'/>   <br/>
		<t size='1.5' align='right'>%6 </t>  <br/>
	",
	AsReMixhud_blood,   //1
	AsReMixhud_humanity,//2
	[_cashMoney] call BIS_fnc_numberText,//3
	AsReMixhud_zombiekills,//4
	AsReMixhud_hmnicon,//5
	name player,//6
	AsReMixhud_zombiesAlive,//7
	AsReMixhud_zombies,//8
	AsReMixhud_killsB,//9
	AsReMixhud_killsH,//10
	_hours,//11
	_minutes2,//12
	AsReMixhud_fps,//13
	[_bankMoney] call BIS_fnc_numberText,//14
	AsReMixhud_svrname //15
	];
	_vitals ctrlCommit 0;
        
    sleep 2;
};

 

Edited by BIG_MONSTR (see edit history)

Share this post


Link to post
Share on other sites

 

А как добавить кровь не как не выходит вставляю 

<t size='0.8' align='right'> %1 </t><img size='1.5' align='right' image='addons\playerhud\icons\Health.paa'/>   <br/>

не выходит


disableSerialization;


while {true} do
{
    1000 cutRsc ["AsReMixhud","PLAIN"];
    _wpui = uiNameSpace getVariable "AsReMixhud";
    _vitals = _wpui displayCtrl 4900;
	
	_thePlayer = player;
	
	AsReMixhud_zombieKills 	= _thePlayer getVariable["zombieKills",0];
	AsReMixhud_headshots 	= _thePlayer getVariable["headShots",0];
	AsReMixhud_killsH 		= _thePlayer getVariable["humanKills",0];
	_cashMoney 				= _thePlayer getVariable["cashMoney",0];
    _bankMoney 				= _thePlayer getVariable["bankMoney",0];
	AsReMixhud_killsB 		= _thePlayer getVariable["banditKills",0];
	AsReMixhud_humanity 	= _thePlayer getVariable["humanity",0];
	AsReMixhud_zombies 		= "";
	AsReMixhud_zombiesAlive = "";
	AsReMixhud_blood		= "";
	AsReMixhud_pid			= "";
	AsReMixhud_puid			= "";
    AsReMixhud_hmnicon 		= "";
	AsReMixhud_fps 			= (round diag_fps);
	AsReMixhud_svrname		= "UPG";
	
	_stime = 0;
	if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;};
	_hours = (_stime/60/60);
	_hours = toArray (str _hours);
	_hours resize 1;
	_hours = toString _hours;
	_hours = compile _hours;
	_hours = call  _hours;
	_minutes = floor(_stime/60);
	_minutes2 = ((_minutes - (_hours*60)) min 60) max 0;if (_minutes2 < 10) then {_minutes2 = format ['0%1',_minutes2];};
	
if((AsReMixhud_humanity >= 5000) && (AsReMixhud_humanity <= 7499))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H1.paa'/>"; };
if((AsReMixhud_humanity >= 7500) && (AsReMixhud_humanity <= 9999))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H1-2.paa'/>"; };
if((AsReMixhud_humanity >= 10000) && (AsReMixhud_humanity <= 14999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H2.paa'/>"; };
if((AsReMixhud_humanity >= 15000) && (AsReMixhud_humanity <= 19999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H2-3.paa'/>"; };
if(AsReMixhud_humanity >= 20000) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H3.paa'/>"; };
	
if((AsReMixhud_humanity <= 4999) && (AsReMixhud_humanity >= -4999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\S1.paa'/>"; };
	
if((AsReMixhud_humanity <= -5000) && (AsReMixhud_humanity >= -7499))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B1.paa'/>"; };
if((AsReMixhud_humanity <= -7500) && (AsReMixhud_humanity >= -9999))then { AsReMixhud_hmnicon = "<img size='4' image='addons\playerhud\icons\B1-2.paa'/>"; };
if((AsReMixhud_humanity <= -10000) && (AsReMixhud_humanity >= -14999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B2.paa'/>"; };
if((AsReMixhud_humanity <= -15000) && (AsReMixhud_humanity >= -19999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B2-3.paa'/>"; };
if(AsReMixhud_humanity <= -20000) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B3.paa'/>"; };
	
	_vitals ctrlSetStructuredText parseText format ["	
        <t size='1.5' align='right'>%5 </t>  <br/>
		<t size='0.9' align='right'> %2 </t>  <br/>
		<t size='0.8' align='right'> %4 </t><img size='2.5' align='right' image='addons\playerhud\icons\sz.paa'/>   <br/>
		<t size='0.8' align='right'> %9 </t><img size='2.5' align='right' image='addons\playerhud\icons\sb.paa'/>   <br/>
		<t size='0.8' align='right'> %10 </t><img size='2.5' align='right' image='addons\playerhud\icons\sh.paa'/>   <br/>
		<t size='0.8' align='right'> %1 </t><img size='1.5' align='right' image='addons\playerhud\icons\Health.paa'/>   <br/>
		<t size='0.8' align='right'> %13 </t><img size='1.5' align='right' image='addons\playerhud\icons\Fps.paa'/>   <br/>
		<t size='0.8' align='right'> %11:%12 </t><img size='1.5' align='right' image='addons\playerhud\icons\Uptime.paa'/>   <br/>
		<t size='1.5' align='right'>%6 </t>  <br/>
	",
	AsReMixhud_blood,   //1
	AsReMixhud_humanity,//2
	[_cashMoney] call BIS_fnc_numberText,//3
	AsReMixhud_zombiekills,//4
	AsReMixhud_hmnicon,//5
	name player,//6
	AsReMixhud_zombiesAlive,//7
	AsReMixhud_zombies,//8
	AsReMixhud_killsB,//9
	AsReMixhud_killsH,//10
	_hours,//11
	_minutes2,//12
	AsReMixhud_fps,//13
	[_bankMoney] call BIS_fnc_numberText,//14
	AsReMixhud_svrname //15
	];
	_vitals ctrlCommit 0;
        
    sleep 2;
};

 

Дак уже есть кровь , если хотите заменить иконку...просто поменять иконку и все ....а кровь вообще то в player_updateGui....

Share this post


Link to post
Share on other sites

Дак уже есть кровь , если хотите заменить иконку...просто поменять иконку и все ....а кровь вообще то в player_updateGui....

Дак иконку я сам вставил только не появляется, иконка есть а число крови нету, а где там кровь и как её подружить с этим скриптом в player_updateGui.... 

Share this post


Link to post
Share on other sites

Дак иконку я сам вставил только не появляется, иконка есть а число крови нету, а где там кровь и как её подружить с этим скриптом в player_updateGui.... 

Место расположение вашей иконки где ??? (Новое место или там где сейчас кровь) 

Подружить , просто перенаправьте путь в player_updateGui  к вашей новой иконке....( вы хоть видите от куда он воспроизводит иконку крови .( не из МПмиссио)

Вы новую иконку поместили в addons\playerhud\icons ,вот и поменяйте путь к ней (в player_updateGui)

Share this post


Link to post
Share on other sites

Место расположение вашей иконки где ??? (Новое место или там где сейчас кровь) 

Подружить , просто перенаправьте путь в player_updateGui  к вашей новой иконке....( вы хоть видите от куда он воспроизводит иконку крови .( не из МПмиссио)

Вы новую иконку поместили в addons\playerhud\icons ,вот и поменяйте путь к ней (в player_updateGui)

Извини за грубость, но разве ты не видищь я же написал что сам вставил, иконка есть а показателя нету

 

 

 

 

Сам решил задачку надо было ставить 

AsReMixhud_blood		= _thePlayer getVariable["USEC_BloodQty",12000];

чтобы вышло вот так

 

disableSerialization;


while {true} do
{
    1000 cutRsc ["AsReMixhud","PLAIN"];
    _wpui = uiNameSpace getVariable "AsReMixhud";
    _vitals = _wpui displayCtrl 4900;
	
	_thePlayer = player;
	
	AsReMixhud_zombieKills 	= _thePlayer getVariable["zombieKills",0];
	AsReMixhud_headshots 	= _thePlayer getVariable["headShots",0];
	AsReMixhud_killsH 		= _thePlayer getVariable["humanKills",0];
	_cashMoney 				= _thePlayer getVariable["cashMoney",0];
    _bankMoney 				= _thePlayer getVariable["bankMoney",0];
	AsReMixhud_killsB 		= _thePlayer getVariable["banditKills",0];
	AsReMixhud_humanity 	= _thePlayer getVariable["humanity",0];
	AsReMixhud_zombies 		= "";
	AsReMixhud_zombiesAlive = "";
	AsReMixhud_blood		= _thePlayer getVariable["USEC_BloodQty",12000];
	AsReMixhud_pid			= "";
	AsReMixhud_puid			= "";
    AsReMixhud_hmnicon 		= "";
	AsReMixhud_fps 			= (round diag_fps);
	AsReMixhud_svrname		= "BIG";
	AsReMixhud_Players      = (count playableUnits);
	
	_stime = 0;
	if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;};
	_hours = (_stime/60/60);
	_hours = toArray (str _hours);
	_hours resize 1;
	_hours = toString _hours;
	_hours = compile _hours;
	_hours = call  _hours;
	_minutes = floor(_stime/60);
	_minutes2 = ((_minutes - (_hours*60)) min 60) max 0;if (_minutes2 < 10) then {_minutes2 = format ['0%1',_minutes2];};
	
if((AsReMixhud_humanity >= 5000) && (AsReMixhud_humanity <= 7499))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H1.paa'/>"; };
if((AsReMixhud_humanity >= 7500) && (AsReMixhud_humanity <= 9999))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H1-2.paa'/>"; };
if((AsReMixhud_humanity >= 10000) && (AsReMixhud_humanity <= 14999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H2.paa'/>"; };
if((AsReMixhud_humanity >= 15000) && (AsReMixhud_humanity <= 19999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H2-3.paa'/>"; };
if(AsReMixhud_humanity >= 20000) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H3.paa'/>"; };
	
if((AsReMixhud_humanity <= 4999) && (AsReMixhud_humanity >= -4999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\S1.paa'/>"; };
	
if((AsReMixhud_humanity <= -5000) && (AsReMixhud_humanity >= -7499))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B1.paa'/>"; };
if((AsReMixhud_humanity <= -7500) && (AsReMixhud_humanity >= -9999))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B1-2.paa'/>"; };
if((AsReMixhud_humanity <= -10000) && (AsReMixhud_humanity >= -14999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B2.paa'/>"; };
if((AsReMixhud_humanity <= -15000) && (AsReMixhud_humanity >= -19999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B2-3.paa'/>"; };
if(AsReMixhud_humanity <= -20000) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B3.paa'/>"; };
	
	_vitals ctrlSetStructuredText parseText format ["	
		<t size='1.5' align='right'> %5 </t><br/>
        <t size='0.9' align='right'> %2 H</t>     <br/>
		<t size='0.8' align='right'> %4 </t><img size='2.5' align='right' image='addons\playerhud\icons\sz.paa'/>   <br/>
		<t size='0.8' align='right'> %9 </t><img size='2.5' align='right' image='addons\playerhud\icons\sb.paa'/>   <br/>
		<t size='0.8' align='right'> %10 </t><img size='2.5' align='right' image='addons\playerhud\icons\sh.paa'/>   <br/>
		<t size='1.0' align='right'> %1 </t><img size='1.0' align='right' image='addons\playerhud\icons\Health.paa'/> <br/>
        <t size='1.0' align='right'> %11:%12 </t><img size='1.0' align='right' image='addons\playerhud\icons\Uptime.paa'/> <br/>		
		<t size='1.0' align='right'> %13 </t><img size='1.0' align='right' image='addons\playerhud\icons\Fps.paa'/> <br/>
		<t size='1.0' align='right'> %16 </t><img size='1.0' align='right' image='addons\playerhud\icons\Players.paa'/> <br/> 
	",
	AsReMixhud_blood,   //1
	AsReMixhud_humanity,//2
	[_cashMoney] call BIS_fnc_numberText,//3
	AsReMixhud_zombiekills,//4
	AsReMixhud_hmnicon,//5
	name player,//6
	AsReMixhud_zombiesAlive,//7
	AsReMixhud_zombies,//8
	AsReMixhud_killsB,//9
	AsReMixhud_killsH,//10
	_hours,//11
	_minutes2,//12
	AsReMixhud_fps,//13
	[_bankMoney] call BIS_fnc_numberText,//14
	AsReMixhud_svrname, //15
	AsReMixhud_Players  //16
	];
	_vitals ctrlCommit 0;
        
    sleep 2;
};

Edited by BIG_MONSTR (see edit history)

Share this post


Link to post
Share on other sites

 

Извини за грубость, но разве ты не видищь я же написал что сам вставил, иконка есть а показателя нету

 

 

 

 

Сам решил задачку надо было ставить 

AsReMixhud_blood		= _thePlayer getVariable["USEC_BloodQty",12000];

чтобы вышло вот так

 

disableSerialization;


while {true} do
{
    1000 cutRsc ["AsReMixhud","PLAIN"];
    _wpui = uiNameSpace getVariable "AsReMixhud";
    _vitals = _wpui displayCtrl 4900;
	
	_thePlayer = player;
	
	AsReMixhud_zombieKills 	= _thePlayer getVariable["zombieKills",0];
	AsReMixhud_headshots 	= _thePlayer getVariable["headShots",0];
	AsReMixhud_killsH 		= _thePlayer getVariable["humanKills",0];
	_cashMoney 				= _thePlayer getVariable["cashMoney",0];
    _bankMoney 				= _thePlayer getVariable["bankMoney",0];
	AsReMixhud_killsB 		= _thePlayer getVariable["banditKills",0];
	AsReMixhud_humanity 	= _thePlayer getVariable["humanity",0];
	AsReMixhud_zombies 		= "";
	AsReMixhud_zombiesAlive = "";
	AsReMixhud_blood		= _thePlayer getVariable["USEC_BloodQty",12000];
	AsReMixhud_pid			= "";
	AsReMixhud_puid			= "";
    AsReMixhud_hmnicon 		= "";
	AsReMixhud_fps 			= (round diag_fps);
	AsReMixhud_svrname		= "BIG";
	AsReMixhud_Players      = (count playableUnits);
	
	_stime = 0;
	if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;};
	_hours = (_stime/60/60);
	_hours = toArray (str _hours);
	_hours resize 1;
	_hours = toString _hours;
	_hours = compile _hours;
	_hours = call  _hours;
	_minutes = floor(_stime/60);
	_minutes2 = ((_minutes - (_hours*60)) min 60) max 0;if (_minutes2 < 10) then {_minutes2 = format ['0%1',_minutes2];};
	
if((AsReMixhud_humanity >= 5000) && (AsReMixhud_humanity <= 7499))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H1.paa'/>"; };
if((AsReMixhud_humanity >= 7500) && (AsReMixhud_humanity <= 9999))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H1-2.paa'/>"; };
if((AsReMixhud_humanity >= 10000) && (AsReMixhud_humanity <= 14999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H2.paa'/>"; };
if((AsReMixhud_humanity >= 15000) && (AsReMixhud_humanity <= 19999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H2-3.paa'/>"; };
if(AsReMixhud_humanity >= 20000) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\H3.paa'/>"; };
	
if((AsReMixhud_humanity <= 4999) && (AsReMixhud_humanity >= -4999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\S1.paa'/>"; };
	
if((AsReMixhud_humanity <= -5000) && (AsReMixhud_humanity >= -7499))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B1.paa'/>"; };
if((AsReMixhud_humanity <= -7500) && (AsReMixhud_humanity >= -9999))then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B1-2.paa'/>"; };
if((AsReMixhud_humanity <= -10000) && (AsReMixhud_humanity >= -14999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B2.paa'/>"; };
if((AsReMixhud_humanity <= -15000) && (AsReMixhud_humanity >= -19999)) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B2-3.paa'/>"; };
if(AsReMixhud_humanity <= -20000) then { AsReMixhud_hmnicon = "<img size='3' image='addons\playerhud\icons\B3.paa'/>"; };
	
	_vitals ctrlSetStructuredText parseText format ["	
		<t size='1.5' align='right'> %5 </t><br/>
        <t size='0.9' align='right'> %2 H</t>     <br/>
		<t size='0.8' align='right'> %4 </t><img size='2.5' align='right' image='addons\playerhud\icons\sz.paa'/>   <br/>
		<t size='0.8' align='right'> %9 </t><img size='2.5' align='right' image='addons\playerhud\icons\sb.paa'/>   <br/>
		<t size='0.8' align='right'> %10 </t><img size='2.5' align='right' image='addons\playerhud\icons\sh.paa'/>   <br/>
		<t size='1.0' align='right'> %1 </t><img size='1.0' align='right' image='addons\playerhud\icons\Health.paa'/> <br/>
        <t size='1.0' align='right'> %11:%12 </t><img size='1.0' align='right' image='addons\playerhud\icons\Uptime.paa'/> <br/>		
		<t size='1.0' align='right'> %13 </t><img size='1.0' align='right' image='addons\playerhud\icons\Fps.paa'/> <br/>
		<t size='1.0' align='right'> %16 </t><img size='1.0' align='right' image='addons\playerhud\icons\Players.paa'/> <br/> 
	",
	AsReMixhud_blood,   //1
	AsReMixhud_humanity,//2
	[_cashMoney] call BIS_fnc_numberText,//3
	AsReMixhud_zombiekills,//4
	AsReMixhud_hmnicon,//5
	name player,//6
	AsReMixhud_zombiesAlive,//7
	AsReMixhud_zombies,//8
	AsReMixhud_killsB,//9
	AsReMixhud_killsH,//10
	_hours,//11
	_minutes2,//12
	AsReMixhud_fps,//13
	[_bankMoney] call BIS_fnc_numberText,//14
	AsReMixhud_svrname, //15
	AsReMixhud_Players  //16
	];
	_vitals ctrlCommit 0;
        
    sleep 2;
};

Можно глянут фото ?) 

Share this post


Link to post
Share on other sites

Что надо сделать чтоб вставить свои дополнительные иконки типо фон в центре слева и справа на них те что есть индикаторы.

Edited by Koha (see edit history)

Share this post


Link to post
Share on other sites

как вставить фон разобрался встаёт вопрос как изменить прозрачность и растянуть а то она как стандартный фон  нужно один на индикаторы питья еды крови перелома воды второй на индикаторы видимости и слышимости  третьий фон на убитых.

Edited by Koha (see edit history)

Share this post


Link to post
Share on other sites

Ребята, а как на 3.0  поставить?

Share this post


Link to post
Share on other sites

Доброго всем времени суток! Решил прикрутить данный скрипт, но почему то нижнии иконки нормально отображаются кровь жажда итд. а вот хумка деньги и зомби нет! Хотя всё на месте проверял.



Я вот думаю В дескрипшион class RscTitles уже стоит вот такая строчка #include "ZSC\config\ZSChud.hpp" может она конфликтовать с этим?

Share this post


Link to post
Share on other sites

 

Не работает этот худ с SC 3.0

Все работает, настроить только нужно

Share this post


Link to post
Share on other sites

Все работает, настроить только нужно

Ну да, сначала прописать класс HW_RscText, а потом полностью переделать худ и поженить его с SC 3.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 Troy1
      Всем привет. Подскжите ну или помогите пожалуйста решить вопрос.
      Вопрос звучит так. На сервере есть трейдер зоны и базы игроков. 
      Если в течение определённого времени, на пример 1 - 2 часа с машиной не кто не взаимодействует и машина не находится в зоне трейдера или на теретории базы, то машина отлетает в гараж или на штраф стоянку.
      На сервере используется TraderPlus.
       
      Есть такие решения у кого?
      За ранние благодарю.
    • By Troy1
      Всем привет. Подскжите ну или помогите пожалуйста решить вопрос.
      Вопрос звучит так. Нужно сделать так, что бы на всей карте был запрет на строительство. 
      Если нужно построить например базу с палатками, то нужно установить верстак или флаг, который установит зону для строительства с радиусом примерно 20-25 метров от центра и желательно что бы зона была квадратной.
      Есть такие решения у кого?
      За ранние благодарю.
    • By BR0wi
      Подскажите где найти людей, которые делаю моды на заказ. К кому вообще обращаться? Или что бы реализовать свои идеи нужно самому "год" сидеть и изучать все механики модинга?
    • By CubeIn
      Приветствую господа, хочу создать новый проект, уникальный, но для этого нужен маппер.
      Я оставлю здесь свой дискрод, напишите в лс, кто готов взяться за крупный проект.
      4me#4542
    • By 6agu
      Поставил
      Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
  • 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.