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
OLDS

Как сделать пар изо рта?

Как сделать пар изо рта в dayz?На каком-то сервере видел идёт пар изо рта,хочу на свой запилить.Как этот скрипт называется?И где искать его?

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0


doobreath = {

private ["_pos", "_ps"];

sleep random 2;

_pos = _this selectionposition "neck";

while {_this distance player < 800 and alive _this and vehicle _this == _this and _pos select 2 != 0} do {

_pos = _this selectionposition "neck";

_ps = "#particlesource" createvehiclelocal getpos _this;

_ps setparticleparams [["\ca\data\particleeffects\universal\universal.p3d", 16, 12, 13, 0], "", "Billboard", 0.5, 0.5, [_pos select 0, (_pos select 1) + 0.15, _pos select 2], [0, 0.2, -0.2], 1, 1.275, 1, 0.2, [0, 0.2, 0], [[1, 1, 1, 0.01], [1, 1, 1, 0.01], [1, 1, 1, 0]], [1000], 1, 0.04, "", "", _this];

_ps setparticlerandom [2, [0, 0, 0], [0.25, 0.25, 0.25], 0, 0.5, [0, 0, 0, 0.1], 0, 0, 10];

_ps setdropinterval 0.001;

_this setvariable ["runningbreath", floor time + 5];

sleep 0.5;

deletevehicle _ps;

sleep 2 + random 2;

};

};

 

[] spawn {

while {true} do {

sleep 5;

_nearGetBreath = nearestobjects [player, ["Man"], 500];

{

if (!(_x isKindOf "zZombie_base") and alive _x and vehicle _x == _x and _x getvariable ["runningbreath", -1] < time) then {

_x setvariable ["runningbreath", floor time + 5];

_x spawn doobreath;

};

} foreach _nearGetBreath;

};

};

Share this post


Link to post
Share on other sites



  • 0

Это скрипт на изменение погоды, т.е температуры окружающей, если я не ошибаюсь, ищи на форуме

Share this post


Link to post
Share on other sites
  • 0

 

doobreath = {
	private ["_pos", "_ps"];
	sleep random 2;
	_pos = _this selectionposition "neck";
	while {_this distance player < 800 and alive _this and vehicle _this == _this and _pos select 2 != 0} do {
		_pos = _this selectionposition "neck";
		_ps = "#particlesource" createvehiclelocal getpos _this;
		_ps setparticleparams [["\ca\data\particleeffects\universal\universal.p3d", 16, 12, 13, 0], "", "Billboard", 0.5, 0.5, [_pos select 0, (_pos select 1) + 0.15, _pos select 2], [0, 0.2, -0.2], 1, 1.275, 1, 0.2, [0, 0.2, 0], [[1, 1, 1, 0.01], [1, 1, 1, 0.01], [1, 1, 1, 0]], [1000], 1, 0.04, "", "", _this];
		_ps setparticlerandom [2, [0, 0, 0], [0.25, 0.25, 0.25], 0, 0.5, [0, 0, 0, 0.1], 0, 0, 10];
		_ps setdropinterval 0.001;
		_this setvariable ["runningbreath", floor time + 5];
		sleep 0.5;
		deletevehicle _ps;
		sleep 2 + random 2;
	};
};

[] spawn {
	while {true} do {
		sleep 5;
		_nearGetBreath = nearestobjects [player, ["Man"], 500];
		{
			if (!(_x isKindOf "zZombie_base") and alive _x and vehicle _x == _x and _x getvariable ["runningbreath", -1] < time) then {
				_x setvariable ["runningbreath", floor time + 5];
				_x spawn doobreath;
			};
		} foreach _nearGetBreath;
	};
};

А есть тема?Куда?Что вписывать?

Share this post


Link to post
Share on other sites
  • 0

А есть тема?Куда?Что вписывать?

как и все скрипты exec в ините

Share this post


Link to post
Share on other sites
  • 0

как и все скрипты exec в ините

благодарствую

Share this post


Link to post
Share on other sites
  • 0

 

doobreath = {
	private ["_pos", "_ps"];
	sleep random 2;
	_pos = _this selectionposition "neck";
	while {_this distance player < 800 and alive _this and vehicle _this == _this and _pos select 2 != 0} do {
		_pos = _this selectionposition "neck";
		_ps = "#particlesource" createvehiclelocal getpos _this;
		_ps setparticleparams [["\ca\data\particleeffects\universal\universal.p3d", 16, 12, 13, 0], "", "Billboard", 0.5, 0.5, [_pos select 0, (_pos select 1) + 0.15, _pos select 2], [0, 0.2, -0.2], 1, 1.275, 1, 0.2, [0, 0.2, 0], [[1, 1, 1, 0.01], [1, 1, 1, 0.01], [1, 1, 1, 0]], [1000], 1, 0.04, "", "", _this];
		_ps setparticlerandom [2, [0, 0, 0], [0.25, 0.25, 0.25], 0, 0.5, [0, 0, 0, 0.1], 0, 0, 10];
		_ps setdropinterval 0.001;
		_this setvariable ["runningbreath", floor time + 5];
		sleep 0.5;
		deletevehicle _ps;
		sleep 2 + random 2;
	};
};

[] spawn {
	while {true} do {
		sleep 5;
		_nearGetBreath = nearestobjects [player, ["Man"], 500];
		{
			if (!(_x isKindOf "zZombie_base") and alive _x and vehicle _x == _x and _x getvariable ["runningbreath", -1] < time) then {
				_x setvariable ["runningbreath", floor time + 5];
				_x spawn doobreath;
			};
		} foreach _nearGetBreath;
	};
};

Cпасибо большое, поставил все работает, БОЛЬШОЙ + в репу!

Share this post


Link to post
Share on other sites
  • 0

Залей пошаговую инструкцию!

Share this post


Link to post
Share on other sites
  • 0

Залей пошаговую инструкцию!

Че там ее делать, сказали же выше просто в init.sqf подключить.

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 Serdce
      Данный скрипт, меняет процесс ремонта вашей техники, делая её более логичней, как было в А2.
      Для замены колеса, на нужно собственно само колесо, и тд. и тп. 
      Подробный список чего и для чего вы найдёте в файлах.
       
      Итак, преступим!
      Я не автор, я всего лишь перевожу.
      Первоисточник - https://github.com/aussie-battler/Exilemod-Super-Advanced-Repair-System-SARS
      По ссылке выше скачиваем архив, распаковываем в удобное место.
      Распаковываем ваше миссию "Exile.ваша карта"
      Из архива копируем папку "Custom" в папку вашей миссии "Exile.ваша карта"
      Открываем ваш description.ext  в нем мы ищем showHUD[] = 
      и полностью меняем на это - 
      Далее открываем ваш - initPLayerLocal.sqf
      В этом файле, сразу после строки - if (!hasInterface || isServer) exitWith {};
      Мы добавляем 
      //Bones Super Advanced Repair System (SARS)
      Bones_fnc_salvageAndRepairMenu = compileFinal preprocessFileLineNumbers "Custom\advancedRepair\Bones_fnc_salvageAndRepairMenu.sqf"; 
      Далее открываем ваш - config.cpp
      В нем мы ищем - class Car
      Внутри этого класса мы ищем
       
      И меняем на 
      Так же далее чуть ниже - class Air
      В нем мы также меняем это
      На это 
       
      Далее для если у вас есть Infistar!
      Распаковываем ваш инфистар и открываем его конфиг.
      В нём ищем     KCM = "true"; /* Just close ALL CommandingMenus */
      И меняем значение на false
      Чуть ниже в строке allowedCommandingMenus
      Мы добавляем  "#USER:ASL_Show_Repair_Options_Menu_Array"
      Ну вот и всё готово, всё сохранили и запаковали как было!
       
    • By fedotovyasha
      Хочу немного изменить сообщения перед отправкой клиенту
    • By fedotovyasha
      Пишу свой лаунчер на c#. Скачал клиент в котором был loader.exe. С ним работает норм, но я хочу без него запускать игру. Как это сделать? (Пиратка)
    • By Miduznya
      Собственно как, как отключить battleye на сервере античит

      параметр BattlEye=0; не работает я так понял 
    • By DrTauren
      На нашем сайте предусмотрена возможность рекламирования вашего игрового сервера/сайта/програмного обеспечения при помощи баннеров и ссылок.
       
      Баннеры под первым сообщением темы ↓
       
      Баннер на главной странице (над чатом) ↓
       
      Ссылки над первым сообщением темы ↓
       
      Ссылка на главной странице (над чатом) ↓
       
       

      Заявку вы можете заполнить в этой же теме, либо написать мне в ЛС.
      Любые сообщения не по теме запрещены.
  • 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.