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
  • 0
kensi123

Переливание крови

Кто может скинуть Гайд как поставить Заливку себе и и перелевание другому игроку

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

переливание другому и так заложено в механику эпоча

самозалив ставить в init.sqf

DZE_SelfTransfuse = true; 

DZE_selfTransfuse_Values = [12000, 15, 300]; // default value

[сколько крови восстановит, шанс заболеть %, до след. перезаливки в секундах]

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 dok379
      Как сделать ограничение по приему еды, воды, крови ?
    • By GaspArt
      Как изменить количество получаемого хьюманити за помощь игрокам
      1. Качаем прикрепленный файл, открываем папку с миссией
      2.а. Если миссия голая и в ней не имеется файла compiles.sqf, то просто скидываем все файлы в корень папки миссии и переходим к пункту настройки.
      2.б. Если compiles.sqf имеется, то добавляем в него строку:
      fnc_usec_damageActions = compile preprocessFileLineNumbers "$НАЗВАНИЕ ПАПКИ, В КОТОРОЙ ЛЕЖИТ COMPILES.SQF$\fn_damageActions.sqf";   
      ----------------------------------------------------------------------------------------------------------------
       
       
       
      Скидываем из папки scripts прикрепленного документа фаилы в папку с compiles.sqf
      ----------------------------------------------------------------------------------------------------------------
      3. Открываем fn_damageActions.sqf, через поиск находим блок с путями при помощи слов:" //Allow player to bandage ", и редактируем строки:
       
      //Allow player to bandage if(_injured and _hasBandage) then { r_action = true; _action = _unit addAction [localize "str_actions_medical_04", "$НАЗВАНИЕ ПАПКИ, В КОТОРОЙ ЛЕЖИТ COMPILES.SQF$\medical\bandage.sqf",[_unit], 0, true, true, "", ""]; r_player_actions set [count r_player_actions,_action]; }; //Allow player to give Epinephrine if(_unconscious and _hasEpi) then { r_action = true; _action = _unit addAction [localize "str_actions_medical_05", "$НАЗВАНИЕ ПАПКИ, В КОТОРОЙ ЛЕЖИТ COMPILES.SQF$\medical\epinephrine.sqf",[_unit], 0, true, true]; r_player_actions set [count r_player_actions,_action]; }; //Allow player to give Morphine if((_legsBroke or _armsBroke) and _hasMorphine) then { r_action = true; _action = _unit addAction [localize "str_actions_medical_06", "$НАЗВАНИЕ ПАПКИ, В КОТОРОЙ ЛЕЖИТ COMPILES.SQF$\medical\morphine.sqf",[_unit], 0, true, true, "", ""]; r_player_actions set [count r_player_actions,_action]; }; //Allow player to give Painkillers if(_inPain and _hasPainkillers) then { r_action = true; _action = _unit addAction [localize "str_actions_medical_07", "$НАЗВАНИЕ ПАПКИ, В КОТОРОЙ ЛЕЖИТ COMPILES.SQF$\medical\painkiller.sqf",[_unit], 0, true, true, "", ""]; r_player_actions set [count r_player_actions,_action]; }; //Allow player to transfuse blood if(_lowBlood and _hasBlood) then { r_action = true; _action = _unit addAction [localize "str_actions_medical_08", "$НАЗВАНИЕ ПАПКИ, В КОТОРОЙ ЛЕЖИТ COMPILES.SQF$\medical\transfusion.sqf",[_unit], 0, true, true, "", ""]; r_player_actions set [count r_player_actions,_action]; };  
       
       
       
      Настройка:
      1. Заходим в папку medical и откроем для примера фаил transfusion.sqf
      2. Внизу фаила будет блок:
      if (_finished) then { _unit setVariable["LastTransfusion",time,true]; _unit setVariable["USEC_lowBlood",false,true]; _num_removed = ([player,"ItemBloodbag"] call BIS_fnc_invRemove); if(_num_removed == 1) then { /* PVS/PVC - Skaronator */ PVDZE_send = [_unit,"Transfuse",[_unit,player]]; publicVariableServer "PVDZE_send"; [player,20] call player_humanityChange; }; } else { r_interrupt = false; player switchMove ""; player playActionNow "stop"; };   
      Число 20 означает сколько человечности дадут тому, кто переливал кровь. 
      По такой же системе редактируем другие фаилы.

      ---------------------------------------------------------------------------------------------
      Архив с фаилами: http://puu.sh/8WvuW.rar

      Для наглядности покажу, как по сути должно все выглядеть
       
      :

      Отдельное спасибо модератору NoNameUltima за помощь)

       
    • By pogost89
      Добрый вечер уважаемые форумчане! Вот столкнулся со следующими проблемами:
       
      1. Допустим, хочет игрок нарубить дрова. Для этого рубит чурки, затем доски - все хорошо, но при рубке дров они в инвентаре не появляются.
      2. При тесте крови игрок открывает тест, но он сразу же закрывается. Из инвентаря не пропадает, но постоянно закрывается.
       
      Хочу отметить, что у меня, админа, ни каких проблем не возникает ни с тем не с другим процессом. Вот думаю в Инфистаре что то не так.. Мб кто сможет подсказать что где смотреть/править..? 
       
      Заранее спасибо! :)
    • By vikstar
      здравствуйте  товарищи, поделитесь пожалуйста скриптом на переливание крови самому себе, для DAYZ mod 1.8.0.3, желательно конечно с инструкцией по установке.
  • 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.