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 serversDon'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



-
Similar Content
-
By
MrMiBl
Всем привет! С наступающим!
Проблема такая: безсознанка очень долгая (от двух минут и больше от рандомной пульки...)
Собственно вопрос: как её отключить либо сократить время?
покопавшись в файлах нашел такую тему: fn_unconscious.sqf
// (c) facoptere@gmail.com, licensed to DayZMod for the community private ["_count","_anim","_weapon","_sprint","_stance","_transmove","_start","_timeout","_short","_sandLevel","_speed"]; if (r_player_unconsciousInProgress) exitWith {}; r_player_unconsciousInProgress = true; r_player_unconsciousInputDisabled = true; //this is like this in order to release the current user input disableUserInput true; disableUserInput true; disableUserInput false; disableUserInput false; disableUserInput true; disableUserInput true; _start = diag_tickTime; _timeout = abs r_player_timeout; _short = _timeout < 4; if (!_short) then { 4 cutRsc ["playerStatusWaiting", "PLAIN",1]; playSound "heartbeat_1"; }; _count = 0; // can be set to false by medEPI.sqf, during the 'while' loop r_player_unconscious = true; player setVariable ["NORRN_unconscious", r_player_unconscious, true]; _sandLevel = ctrlPosition ((uiNamespace getVariable 'DAYZ_GUI_waiting') displayCtrl 1400); //diag_log [(diag_tickTime - _start) < _timeout , !r_player_unconscious , alive player ]; dayz_autoRun = false; if (player == vehicle player) then { player playAction "CanNotMove"; }; "dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [2]; "dynamicBlur" ppEffectCommit 0; "colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 0.1], [1, 1, 1, 0.0]];"colorCorrections" ppEffectCommit 0; if (dayz_soundMuted) then {call player_toggleSoundMute;}; // hide icon before fadeSound 0 fadeSound 0.05; while { (diag_tickTime - _start) < _timeout and r_player_unconscious and alive player } do { player setVariable ["unconsciousTime", _timeout - diag_tickTime + _start, (_count % 10) == 0]; if (!_short) then { _sandLevel set [ 3, 0.136829 * safezoneH * (diag_tickTime - _start) / _timeout ]; ((uiNamespace getVariable 'DAYZ_GUI_waiting') displayCtrl 1400) ctrlSetPosition _sandLevel; ((uiNamespace getVariable 'DAYZ_GUI_waiting') displayCtrl 1400) ctrlCommit 0.05; }; /*_veh = vehicle player; if ((player != _veh) and {(_veh iskindOf "LandVehicle")}) then { _speed = [0,0,0] distance velocity _veh; if (_speed > 10) then { _veh engineOn false; } else { player action ["eject", _veh]; player leaveVehicle _veh; [] spawn { uiSleep 0.1; player playMoveNow "amovppnemstpsnonwnondnon"; }; // instant prone }; }; if (player == _veh) then { player setVelocity [0,0,0]; }; */ uiSleep 0.1; _count = _count + 1; }; if (!_short) then{ 4 cutRsc ["default", "PLAIN",0]; }; r_player_unconscious = false; player setVariable ["NORRN_unconscious", r_player_unconscious, true]; r_player_timeout = 0; player setVariable ["unconsciousTime", r_player_timeout, true]; r_player_cardiac = false; player setVariable ["USEC_isCardiac",r_player_cardiac, true]; r_player_unconsciousInProgress = false; 4 cutRsc ["default", "PLAIN",1]; if (player == vehicle player) then { // "AinjPpneMstpSnonWnonDnon" rolls from back first (jarring transition if player was knocked out prone or fell to stomach) [nil, player, rSWITCHMOVE, "AmovPpneMstpSnonWnonDnon_healed"] call RE; player SWITCHMOVE "AmovPpneMstpSnonWnonDnon_healed"; PVDZ_plr_SwitchMove = [player,"AmovPpneMstpSnonWnonDnon_healed"]; publicVariableServer "PVDZ_plr_SwitchMove"; //Needed to execute switchMove on server machine. rSwitchMove only executes on other clients player playMoveNow "AmovPpneMstpSnonWnonDnon_healed"; }; 10 fadeSound 1; "dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5; "colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1], [1, 1, 1, 1]];"colorCorrections" ppEffectCommit 5; if ({getNumber (configFile >> "CfgWeapons" >> _x >> "type") in [1,2]} count (weapons player) > 0) then { //Prevent firing while weapon is still shown on back or holstered. AmovPpneMstpSnonWnonDnon_healed has disableWeapons=0 in config (should be 1) waitUntil {uiSleep 1; !(animationState player in ["ainjppnemstpsnonwnondnon_rolltofront","amovppnemstpsnonwnondnon_healed","amovppnemstpsnonwnondnon"])}; }; //once more to be safe disableUserInput false; disableUserInput false; disableUserInput true; disableUserInput true; disableUserInput false; disableUserInput false; r_player_unconsciousInputDisabled = false; //diag_log [ __FILE__, diag_tickTime, "done" ]; Копать тут или где-то в другом месте?
-
By ZizionarD
Простые сценарии, для того, чтобы склеить обоймы вместе, увеличивая количество патронов для установленных обойм. На основе
Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
2. Из архива переместить файлы в папку scripts которая находится в корне вашей миссии
3. Установить скрипт Click Actions, если установлен, пропускаем пункт
4. Переходим в папку scripts\clickActions и открываем файл config.sqf и находим строки:
DZE_CLICK_ACTIONS = [ ["ItemGPS",localize "STR_CL_CA_SCAN_NEARBY","if(isNil 'CA_GPS_RANGE') then {CA_GPS_RANGE = 1500;};CA_ZOMBIE_COUNT = count ((position player) nearEntities ['zZombie_Base',CA_GPS_RANGE]); CA_MAN_COUNT = count ((position player) nearEntities ['CAManBase',CA_GPS_RANGE]); format[localize 'STR_CL_CA_SCAN',CA_GPS_RANGE,CA_MAN_COUNT - CA_ZOMBIE_COUNT,count ((position player) nearEntities ['zZombie_Base',CA_GPS_RANGE]),count ((position player) nearEntities ['allVehicles',CA_GPS_RANGE]) - CA_MAN_COUNT] call dayz_rollingMessages;","true"], ["ItemGPS",localize "STR_CL_CA_RANGE_UP","if(isNil 'CA_GPS_RANGE') then {CA_GPS_RANGE = 1500;};CA_GPS_RANGE = (CA_GPS_RANGE + 100) min 2500; format[localize 'STR_CL_CA_RANGE_GPS',CA_GPS_RANGE] call dayz_rollingMessages;","true"], ["ItemGPS",localize "STR_CL_CA_RANGE_DOWN","if(isNil 'CA_GPS_RANGE') then {CA_GPS_RANGE = 1500;};CA_GPS_RANGE = (CA_GPS_RANGE - 100) max 1000; format[localize 'STR_CL_CA_RANGE_GPS',CA_GPS_RANGE] call dayz_rollingMessages;","true"] ]; внутри этого блока ниже вставляем
,["30Rnd_545x39_AK","Tape Mags","execVM 'scripts\AK.sqf';","true"], ["30Rnd_545x39_AKSD","Tape Mags","execVM 'scripts\AKSD.sqf';","true"], ["30Rnd_556x45_Stanag","Tape Mags","execVM 'scripts\Stanag.sqf';","true"], ["30Rnd_556x45_StanagSD","Tape Mags","execVM 'scripts\StanagSD.sqf';","true"], ["30Rnd_762x39_AK47","Tape Mags","execVM 'scripts\AK47.sqf';","true"] должно получиться примерно так
DZE_CLICK_ACTIONS = [ ["ItemGPS",localize "STR_CL_CA_SCAN_NEARBY","if(isNil 'CA_GPS_RANGE') then {CA_GPS_RANGE = 1500;};CA_ZOMBIE_COUNT = count ((position player) nearEntities ['zZombie_Base',CA_GPS_RANGE]); CA_MAN_COUNT = count ((position player) nearEntities ['CAManBase',CA_GPS_RANGE]); format[localize 'STR_CL_CA_SCAN',CA_GPS_RANGE,CA_MAN_COUNT - CA_ZOMBIE_COUNT,count ((position player) nearEntities ['zZombie_Base',CA_GPS_RANGE]),count ((position player) nearEntities ['allVehicles',CA_GPS_RANGE]) - CA_MAN_COUNT] call dayz_rollingMessages;","true"], ["ItemGPS",localize "STR_CL_CA_RANGE_UP","if(isNil 'CA_GPS_RANGE') then {CA_GPS_RANGE = 1500;};CA_GPS_RANGE = (CA_GPS_RANGE + 100) min 2500; format[localize 'STR_CL_CA_RANGE_GPS',CA_GPS_RANGE] call dayz_rollingMessages;","true"], ["ItemGPS",localize "STR_CL_CA_RANGE_DOWN","if(isNil 'CA_GPS_RANGE') then {CA_GPS_RANGE = 1500;};CA_GPS_RANGE = (CA_GPS_RANGE - 100) max 1000; format[localize 'STR_CL_CA_RANGE_GPS',CA_GPS_RANGE] call dayz_rollingMessages;","true"] ,["30Rnd_545x39_AK","Tape Mags","execVM 'scripts\AK.sqf';","true"], ["30Rnd_545x39_AKSD","Tape Mags","execVM 'scripts\AKSD.sqf';","true"], ["30Rnd_556x45_Stanag","Tape Mags","execVM 'scripts\Stanag.sqf';","true"], ["30Rnd_556x45_StanagSD","Tape Mags","execVM 'scripts\StanagSD.sqf';","true"], ["30Rnd_762x39_AK47","Tape Mags","execVM 'scripts\AK47.sqf';","true"] ]; 5. Сохраняем, закрываем
6. Готово
-
By ZizionarD
Простой скрипт, который выводит ник владельца (или первого друга в списке), когда игрок входит в радиус плота. Это может быть полезно для серверов, которым нравится совершать набеги на базы, и в целом позволяет игрокам наносить на карту местоположения баз.
Установка:
1. Скачать архив
2. Переходим в корень вашей миссии и в папку custom переносим файл plot_owner.sqf из архива
3. В корне вашей миссии открываем файл init.sqf и находим троку:
execVM "\z\addons\dayz_code\system\antihack.sqf"; ниже добавляем
execVM "custom\plot_owner.sqf"; 4. Сохраняем, закрываем
5. Установка завершена
Оригинал статьи: epochmod.com
-
By ZizionarD
Скрипт дает возможность дистанционно закрывать машину, проверить состояние двигателя или выгнать игроков из машины.
Установка:
1. Скачать архив
2. Для создания кастомных файлов вам нужно посетить эту тему:
3. Если у вас не установлен скрипт на "Действие на правую кнопку мыши" то посетите эту тему:
4. Из архива папку scripts переносим в корень вашей миссии
5. Открываем кастомный файл compiles.sqf и находим код:
if (!isDedicated) then { в этот блок вставляем
if (!isDedicated) then { remoteVehicle = compile preprocessFileLineNumbers "scripts\remoteVehicle\remoteVehicle.sqf"; }; 6. Сохраняем, закрываем
7. Отредактируйте файл scripts\clickActions\config.sqf и добавьте эту строку в массив DZE_CLICK_ACTIONS:
["ItemKey",localize "STR_CL_RV_CA_EJECT","spawn remoteVehicle;","true",1], ["ItemKey",localize "STR_CL_RV_CA_ENGINE","spawn remoteVehicle;","true",2], ["ItemKey",localize "STR_CL_RV_CA_UNLOCK","spawn remoteVehicle;","true",3], ["ItemKey",localize "STR_CL_RV_CA_LOCK","spawn remoteVehicle;","true",4], ["ItemKey",localize "STR_CL_RV_CA_LIGHTS","spawn remoteVehicle;","true",5] Пример:
DZE_CLICK_ACTIONS = [ ["ItemGPS","Scan Nearby","if(isNil 'DZE_CLICK_ACTIONS_GPS_RANGE') then {DZE_CLICK_ACTIONS_GPS_RANGE = 1500;};DZE_CLICK_ACTIONS_ZOMBIE_COUNT = count ((position player) nearEntities ['zZombie_Base',DZE_CLICK_ACTIONS_GPS_RANGE]); DZE_CLICK_ACTIONS_MAN_COUNT = count ((position player) nearEntities ['CAManBase',DZE_CLICK_ACTIONS_GPS_RANGE]); format['Within %1 Meters: %2 AI/players, %3 zombies, %4 vehicles',DZE_CLICK_ACTIONS_GPS_RANGE,DZE_CLICK_ACTIONS_MAN_COUNT - DZE_CLICK_ACTIONS_ZOMBIE_COUNT,count ((position player) nearEntities ['zZombie_Base',DZE_CLICK_ACTIONS_GPS_RANGE]),count ((position player) nearEntities ['allVehicles',DZE_CLICK_ACTIONS_GPS_RANGE]) - DZE_CLICK_ACTIONS_MAN_COUNT] call dayz_rollingMessages;","true"], ["ItemGPS","Range Up" ,"if(isNil 'DZE_CLICK_ACTIONS_GPS_RANGE') then {DZE_CLICK_ACTIONS_GPS_RANGE = 1500;};DZE_CLICK_ACTIONS_GPS_RANGE = (DZE_CLICK_ACTIONS_GPS_RANGE + 100) min 2500; format['GPS RANGE: %1',DZE_CLICK_ACTIONS_GPS_RANGE] call dayz_rollingMessages;","true"], ["ItemGPS","Range Down" ,"if(isNil 'DZE_CLICK_ACTIONS_GPS_RANGE') then {DZE_CLICK_ACTIONS_GPS_RANGE = 1500;};DZE_CLICK_ACTIONS_GPS_RANGE = (DZE_CLICK_ACTIONS_GPS_RANGE - 100) max 1000; format['GPS RANGE: %1',DZE_CLICK_ACTIONS_GPS_RANGE] call dayz_rollingMessages;","true"], ["ItemKey",localize "STR_CL_RV_CA_EJECT","spawn remoteVehicle;","true",1], ["ItemKey",localize "STR_CL_RV_CA_ENGINE","spawn remoteVehicle;","true",2], ["ItemKey",localize "STR_CL_RV_CA_UNLOCK","spawn remoteVehicle;","true",3], ["ItemKey",localize "STR_CL_RV_CA_LOCK","spawn remoteVehicle;","true",4], ["ItemKey",localize "STR_CL_RV_CA_LIGHTS","spawn remoteVehicle;","true",5] ]; 8. Открываем файл description.ext и добавляем строку в самый конец:
#include "scripts\remoteVehicle\remoteVehicle.hpp" 9. Сохраняем, закрываем
Battleye фильтры:
1. Открываем файл scripts.txt и находим строку:
1 compile в самый конец вставляем
!="ay\",\"_exit\"];\n\nif (isNil \"rv_init\") then {\nrv_vehicleInfo = compile preprocessFileLineNumbers \"scripts\\remoteVehicle\\vehicleInfo" далее находим строку
5 createDialog в самый конец вставляем
!=";\n\nif (count rv_vehicleList > 1) then {\nrv_isOk = false;\n\ncreateDialog \"remoteVehicle\";\n\n_display = uiNamespace getVariable[\"rv_" далее находим строку
5 lbSet в самый конец вставляем
!="ive DZE_myVehicle} && {DZE_myVehicle == _x}) then {\n_control lbSetColor [(lbSize _control)-1,[0, 1, 0, 1]];\n};\n} count rv_vehicl" далее находим строку
5 title в самый конец вставляем
!="play displayCtrl 8801 ctrlSetText(format[localize \"STR_CL_RV_TITLE\",_keyDisplay]);\n\n_control = ((findDisplay 8800) displayCtrl 8"
Оригинал статьи: epochmod.com
-
By ZizionarD
Скрипт дает возможность хоронить и разделывать тела
Установка:
1. Скачать архив
2. Для установки вам понадобятся кастомные файлы которые можно сделать по этой теме
3. Открываем ваш кастомный fn_selfactions.sqf и находим строку:
// ZSC if (Z_singleCurrency) then { выше вставляем
if (!_isAlive && _isMan && !_isZombie && {!(_cursorTarget isKindOf "Animal")}) then { local _isButchered = _cursorTarget getVariable ["bodyButchered",false]; if (!_isButchered) then { if ("ItemEtool" in _itemsPlayer) then { if (s_player_bury_human < 0) then { s_player_bury_human = player addAction [format["<t color='#0059FF'>%1</t>",localize "STR_CL_BA_BURY"],"scripts\buryActions.sqf",[_cursorTarget,"bury"],0,false,true]; }; } else { player removeAction s_player_bury_human; s_player_bury_human = -1; }; if ({_x in ["ItemKnife","ItemKnife5","ItemKnife4","ItemKnife3","ItemKnife2","ItemKnife1"]} count _itemsPlayer > 0) then { if (s_player_butcher_human < 0) then { s_player_butcher_human = player addAction [format["<t color='#0059FF'>%1</t>",localize "STR_CL_BA_BUTCHER"],"scripts\buryActions.sqf",[_cursorTarget,"butcher"],0,false,true]; }; } else { player removeAction s_player_butcher_human; s_player_butcher_human = -1; }; }; }; далее находим
player removeAction s_bank_dialog3; s_bank_dialog3 = -1; player removeAction s_player_checkWallet; s_player_checkWallet = -1; ниже добавляем
player removeAction s_player_bury_human; s_player_bury_human = -1; player removeAction s_player_butcher_human; s_player_butcher_human = -1; 4. Сохраняем, закрываем
5. Открываем кастомный variables.sqf и в блок if (!isDedicated) then { вставляем это:
dayz_resetSelfActions = { s_player_equip_carry = -1; s_player_fire = -1; s_player_cook = -1; s_player_boil = -1; s_player_packtent = -1; s_player_packtentinfected = -1; s_player_fillfuel = -1; s_player_grabflare = -1; s_player_removeflare = -1; s_player_studybody = -1; s_player_deleteBuild = -1; s_player_flipveh = -1; s_player_sleep = -1; s_player_fillfuel210 = -1; s_player_fillfuel20 = -1; s_player_fillfuel5 = -1; s_player_siphonfuel = -1; s_player_repair_crtl = -1; s_player_fishing = -1; s_player_fishing_veh = -1; s_player_gather = -1; s_player_destroytent = -1; // Epoch Additions s_player_packvault = -1; s_player_lockvault = -1; s_player_unlockvault = -1; s_player_attack = -1; s_player_callzombies = -1; s_player_showname = -1; s_player_pzombiesattack = -1; s_player_pzombiesvision = -1; s_player_pzombiesfeed = -1; s_player_tamedog = -1; s_player_parts_crtl = -1; s_player_movedog = -1; s_player_speeddog = -1; s_player_calldog = -1; s_player_feeddog = -1; s_player_waterdog = -1; s_player_staydog = -1; s_player_trackdog = -1; s_player_barkdog = -1; s_player_warndog = -1; s_player_followdog = -1; s_player_information = -1; s_player_fuelauto = -1; s_player_fuelauto2 = -1; s_player_fillgen = -1; s_player_upgrade_build = -1; s_player_maint_build = -1; s_player_downgrade_build = -1; s_player_towing = -1; s_halo_action = -1; s_player_SurrenderedGear = -1; s_player_maintain_area = -1; s_player_maintain_area_force = -1; s_player_maintain_area_preview = -1; s_player_heli_lift = -1; s_player_heli_detach = -1; s_player_lockUnlock_crtl = -1; s_player_lockUnlockInside_ctrl = -1; s_player_toggleSnap = -1; s_player_toggleSnapSelect = -1; snapActions = -1; s_player_plot_boundary = -1; s_player_plotManagement = -1; s_player_toggleDegree = -1; degreeActions = -1; s_player_toggleVector = -1; vectorActions = -1; s_player_manageDoor = -1; s_player_hide_body = -1; s_player_changeDoorCode = -1; s_player_changeVaultCode = -1; s_givemoney_dialog = -1; s_bank_dialog = -1; s_bank_dialog1 = -1; s_bank_dialog2 = -1; s_bank_dialog3 = -1; s_player_checkWallet = -1; s_player_bury_human = -1; s_player_butcher_human = -1; }; call dayz_resetSelfActions; 6. Сохраняем, закрываем
7. Замените файлы из архива dayz_server\system\scheduler
8. Готово
Battleye фильтры:
1. Откройте файл scripts.txt и найдите строку:
5 addBackpack в конце добавьте
!="forEachIndex]} forEach (_backPackMag select 0);};\n\n_crate addBackpackCargoGlobal [_backPack,1];\n};\n\n_sound = _corpse getVariable" далее найдите строку
5 addWeapon в конце добавьте
!="ect 2];\n_cross setVariable [\"bury\",true,true];\n};\n\n{_crate addWeaponCargoGlobal [_x,1]} forEach weapons _corpse;\n{_crate addMaga" далее находим строку
1 humanity в конце добавьте
!="ckMag\",\"_backPackWpn\",\"_crate\",\"_corpse\",\"_cross\",\"_gain\",\"_humanityAmount\",\"_isBury\",\"_grave\",\"_name\",\"_playerNear\",\"_backPack\"" далее найдите строку
1 nearEntities в конце добавьте
!="erNear = {isPlayer _x} count (([_corpse] call FNC_GetPos) nearEntities [\"CAManBase\", 10]) > 1;\nif (_playerNear) exitWith {dayz_a" 2. Сохраняем, закрываем
3. Открываем файл createvehicle.txt и находим строку:
5 !(^DZ_|^z_|^pz_|^WeaponHolder|Box|dog|PZombie_VB|^Smoke|^Chem|^._40mm|_DZ$|^Trap) в конце добавьте
!=GraveCross1 4. Сохраняем, закрываем
Оригинал статьи: epochmod.com
-
-
Our picks