Нужна помощь?
Создайте тему в соответствующем разделе
Не нужно писать всё в чат!Загляните на торговую площадку
Там вы можете купить
всё что касается игровых серверовНе хотите бан?
Пожалуйста, ознакомьтесь с нашими правилами
Не нарушайте порядок!Продаёте или покупаете?
Пользуйтесь услугами гаранта
Мы сделаем вашу сделку безопасной
Таблица лидеров
Популярные публикации
Отображаются публикации с наибольшей репутацией на 03/03/21 во всех областях
-
4 баллаКароче Там же еще сохранка должны быть правильной Если он рестрайн или ванкунси - его тупо не сохраняет в бд сервера потому так MissionSerever override void HandleBody(PlayerBase player) { if (player.IsAlive()) { GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).Call(player.Delete); } } PlayerBase modded class PlayerBase extends ManBase { ref TStringArray restrain_Items = {"HandcuffsLocked","RopeLocked","DuctTapeLocked","MetalWireLocked","BarbedWireLocked"}; override void OnConnect() { super.OnConnect(); if (GetItemInHands()) { if (restrain_Items.Find(GetItemInHands().GetType()) >= 0) { BzRestrtainOnConnect(); } } } override void OnReconnect() { super.OnReconnect(); if (GetItemInHands()) { if (restrain_Items.Find(GetItemInHands().GetType()) >= 0) { BzRestrtainOnConnect(); } } } override bool Save() { if (GetPlayerState() == EPlayerStates.ALIVE ) { GetHive().CharacterSave(this); Debug.Log("Restrained player " + this.ToString() + " saved as alive!"); //типа дебаг return true; } return super.Save(); } void BzRestrtainOnConnect() { EntityAI item_in_hands = GetItemInHands(); //Это не обязательно но пусть будет if(item_in_hands) { SetRestrained(true); OnItemInHandsChanged(); SetSynchDirty(); } } } если вышел в наручниках то войдя снова будет в наручниках с ванкунси аналогично Работает чисто серверно
-
1 балл
Добавление иконок dayz_inventory
Pruno отреагировал на ProbusBoss за сообщение в теме
Всем здрасьте. Собственно, как заставить dayz использовать мои иконки, вместо стандартных? В скриптах не разбираюсь, но точно знаю, что это возможно. Ну или есть ли возможность отдельным файлом добавить иконки? Это почти копия dayz_inventory.edds (Если кому надо есть без доп. иконок,(2048х2048) и так же есть в psd) -
1 балл
Версия 1.0.3
24 скачивания
Игра: DayZ Standalone Тип: мод (серверный) Совместимость: 1.15 Автор: Equadro Описание: - Качество патронов зависящее от качества упаковки. - Случайное количество получаемых патронов для каждого качества. - Удалять бумагу после распаковки патронов. Прежде чем покупать обратитесь в продавцу для подробного уточнения функционала. Discord Equadro#6913 Функционал: 04.03.2021 ▸ Удалены не нужные параметры конфига; ▸ Добавлен новый конфиг. 28.02.2021 ▸ Переделан конфиг; ▸ Добавлено качество патронов от состояния упаковки; 25.02.2021 ▸ Случайное кол-во патронов. ▸ Случайное качество патронов. ▸ Включение/Отключение спавна бумаги. ▸ Стаки патронов по 100 шт. (серверно работает не качественно). Конфиг создается в ServerProfile/AmmoPack/config.json Параметры файла настроек: 0 выкл, 1 вкл DeletePaper - удалять бумагу после распаковки. По умолчанию отключено; UsePercentQuality - включаем, если хотим получать качество патронов как у упаковки. UsePercentQuantity - включаем, если хотим настраивать процент получаемых патронов. Ну и тут настраиваем: STATE_PRISTINE_MIN минимальный % кол-ва патронов для состояния НЕТРОНУТО; STATE_PRISTINE_MAX максимальный % кол-ва патронов для состояния НЕТРОНУТО; STATE_WORN_MIN минимальный % кол-ва патронов для состояния ПОНОШЕНО; STATE_WORN_MAX максимальный % кол-ва патронов для состояния ПОНОШЕНО; STATE_DAMAGED_MIN минимальный % кол-ва патронов для состояния ПОВРЕЖДЕНО; STATE_DAMAGED_MAX максимальный % кол-ва патронов для состояния ПОВРЕЖДЕНО; STATE_BADLY_DAMAGED_MIN минимальный % кол-ва патронов для состояния СИЛЬНО ПОВРЕЖДЕНО; STATE_BADLY_DAMAGED_MAX максимальный % кол-ва патронов для состояния СИЛЬНО ПОВРЕЖДЕНО; В мод добавлено расширение стака до 100 патронов, но закомментировано. Game: DayZ Standalone Type: mod (server-side) Compatibility: 1.15 Author: Equadro Description: - The quality of the ammo depends on the quality of the ammobox. - A random count of received ammo for each quality. - On/Off spawn paper. Before buying, contact the seller for a detailed specification of the functionality. Discord Equadro#6913 Function: 03/04/2021 ▸ Deleted trash config; ▸ Added new configuration 02/28/2021 ▸ Changed config; ▸ Added state of the ammo from package state; 02/25/2021 ▸ Random ammo count. ▸ Random ammo quality. ▸ On/Off spawn paper. ▸ StackSize of 100 (server-side poor work). Config creation in folder 'ServerProfile/AmmoPack/config.json' Parameters: DeletePaper - remove paper after unpacking. Disabled by default; UsePercentQuality - enable it if we want get condition of cartridges as for the ammobox. UsePercentQuantity - enable it if we want to adjust the percentage of received ammo. Well, here we set up: STATE_PRISTINE_MIN minimum% of the number of ammo for the PRISTINE condition; STATE_PRISTINE_MAX maximum% of the number of ammo for the PRISTINE condition; STATE_WORN_MIN minimum% of ammo count for WORN condition; STATE_WORN_MAX maximum% of ammo count for WORN condition; STATE_DAMAGED_MIN minimum% of ammo for the DAMAGED condition; STATE_DAMAGED_MAX maximum% of ammo for the DAMAGED condition; STATE_BADLY_DAMAGED_MIN minimum% of ammo for the BADLY DAMAGED condition; STATE_BADLY_DAMAGED_MAX maximum% of ammo for the BADLY DAMAGED condition; Added expansion of the stack to 100 rounds in the mod, but commented out. Спавн патронов и упаковок изношенными. Ammo and ammobox spawn worn. cfgspawnabletypes.xml <!-- MOD --> <!-- AMMOBOX --> <type name="AmmoBox_00buck_10rnd"></type> <type name="AmmoBox_12gaRubberSlug_10Rnd"></type> <type name="AmmoBox_12gaSlug_10Rnd"></type> <type name="AmmoBox_22_50Rnd"></type> <type name="AmmoBox_308WinTracer_20Rnd"></type> <type name="AmmoBox_308Win_20Rnd"></type> <type name="AmmoBox_357_20Rnd"></type> <type name="AmmoBox_380_35rnd"></type> <type name="AmmoBox_45ACP_25rnd"></type> <type name="AmmoBox_545x39Tracer_20Rnd"></type> <type name="AmmoBox_545x39_20Rnd"></type> <type name="AmmoBox_556x45Tracer_20Rnd"></type> <type name="AmmoBox_556x45_20Rnd"></type> <type name="AmmoBox_762x39Tracer_20Rnd"></type> <type name="AmmoBox_762x39_20Rnd"></type> <type name="AmmoBox_762x54Tracer_20Rnd"></type> <type name="AmmoBox_762x54_20Rnd"></type> <type name="AmmoBox_9x19_25rnd"></type> <type name="AmmoBox_9x39AP_20Rnd"></type> <type name="AmmoBox_9x39_20Rnd"></type> <!-- AMMO --> <type name="Ammo_12gaPellets"></type> <type name="Ammo_12gaRubberSlug"></type> <type name="Ammo_12gaSlug"></type> <type name="Ammo_22"></type> <type name="Ammo_308Win"></type> <type name="Ammo_308WinTracer"></type> <type name="Ammo_357"></type> <type name="Ammo_380"></type> <type name="Ammo_45ACP"></type> <type name="Ammo_545x39"></type> <type name="Ammo_545x39Tracer"></type> <type name="Ammo_556x45"></type> <type name="Ammo_556x45Tracer"></type> <type name="Ammo_762x39"></type> <type name="Ammo_762x39Tracer"></type> <type name="Ammo_762x54"></type> <type name="Ammo_762x54Tracer"></type> <type name="Ammo_9x19"></type> <type name="Ammo_9x39"></type> <type name="Ammo_9x39AP"></type> <type name="Ammo_Flare"></type> <type name="Ammo_FlareBlue"></type> <type name="Ammo_FlareGreen"></type> <type name="Ammo_FlareRed"></type> <!-- MOD END -->1,000.00 RUB
-
1 балл
-
1 баллref array<string> gift1 = {"FS_ITEM_MolokoSgus","art_kolobok","FS_ITEM_EnergyShokolat","Orange"}; ref array<string> gift2 = {"art_zvezda","art_glaz","art_pustishka","art_kolobok"}; ref array<string> gift3 = {"Ammo_9x39","art_snejinka","Ammo_12_7x55","Ammo_12x99"}; ref array<string> gift4 = {"art_zvezda","art_glaz","art_busy","art_kolobok"}; Меняй на свой лут
-
1 баллref array<string> giftbox_small = {"Giftbox_Small_1","Giftbox_Small_2","Giftbox_Small_3","Giftbox_Small_4"}; ref array<string> giftbox_medium = {"Giftbox_Medium_1","Giftbox_Medium_2","Giftbox_Medium_3","Giftbox_Medium_4"}; ref array<string> giftbox_large = {"Giftbox_Large_1","Giftbox_Large_2","Giftbox_Large_3","Giftbox_Large_4"}; Меняй класснеймы на свои ящики
-
1 баллДополню. Для отображения рельефа (например Логотипа), нужно добавить строку hiddenSelectionsMaterials[] = {"name.rvmat"} Если есть интересующиеся - в ЛС. Создам тему с разъяснением по нормалям, отражениям и о том, как всё это прописать и создать (как делаю сам). Не ради хайпа - сам очень долго ковырялся в забугорных ВИКИ и Инструкциях от Богемов. Постараюсь объяснить как можно доступней. Автору поста респект! В своё время очень не хватало таких примеров.
-
1 баллclass Zone { int id; int type; vector pos; float radius; } enum ZoneType { SAFE, GAS, RAD, BIO } ref array<ref Zone> ga_zones = new array<ref Zone>; ref ControllerZones ctrl_zones = new ControllerZones; class ControllerZones { void ControllerZones() { int id = 0; vector pos; float radius; int type = 0; id = 1; // Pavlovo pos = "2125 0 3400"; radius = 200.0; AddZone(id, pos, radius); id = 2; // Zeleno pos = "2530 0 5112"; radius = 150.0; AddZone(id, pos, radius); id = 3; // Dichina pos = "4524 0 8290"; radius = 50.0; AddZone(id, pos, radius); id = 4; // Mushkino pos = "332 0 9368"; radius = 100.0; AddZone(id, pos, radius); id = 5; // Aero SW pos = "4586 0 9533"; radius = 220.0; AddZone(id, pos, radius); id = 6; // Aero SE pos = "5177 0 9960"; radius = 350.0; AddZone(id, pos, radius); id = 7; // Aero W pos = "4228 0 10400"; radius = 350.0; AddZone(id, pos, radius); id = 8; // Aero E pos = "4785 0 10530"; radius = 250.0; AddZone(id, pos, radius); id = 9; // Aero N pos = "4290 0 10956"; radius = 250.0; AddZone(id, pos, radius); id = 10; // Tisy pos = "1600 0 14030"; radius = 600.0; AddZone(id, pos, radius); id = 11; // Troitskoe pos = "7893 0 14689"; radius = 300.0; AddZone(id, pos, radius); GetGame().GetCallQueue(CALL_CATEGORY_GAMEPLAY).CallLater(CheckZones, 5000, true); } void ~ControllerZones() { } void AddZone(int id, vector pos, float radius, int type = ZoneType.BIO) { ref Zone zone = new ref Zone; zone.id = id; zone.pos = pos; zone.radius = radius; zone.type = type; ga_zones.Insert(zone); } bool InZone(PlayerBase player, ref Zone zone) { vector player_position = player.GetPosition(); player_position[1] = 0; if( (vector.Distance(player_position, zone.pos)) < zone.radius ) { EntityAI attachment; ItemBase item; string className; float biosafe = 0; attachment = player.FindAttachmentBySlotName("Mask"); if ( attachment && attachment.IsItemBase() ) { item = Class.Cast(attachment); className = item.GetType(); if ( className.Contains("GP5GasMask") ) { //return true; // TEMP FIX biosafe = biosafe + 1.0; } } attachment = player.FindAttachmentBySlotName("Headgear"); if ( attachment && attachment.IsItemBase() ) { item = Class.Cast(attachment); className = item.GetType(); if ( className.Contains("NBCHoodGray") ) { biosafe = biosafe + 1.0; } } attachment = player.FindAttachmentBySlotName("Body"); if ( attachment && attachment.IsItemBase() ) { item = Class.Cast(attachment); className = item.GetType(); if ( className.Contains("NBCJacketGray") ) { biosafe = biosafe + 1.0; } } attachment = player.FindAttachmentBySlotName("Legs"); if ( attachment && attachment.IsItemBase() ) { item = Class.Cast(attachment); className = item.GetType(); if ( className.Contains("NBCPantsGray") ) { biosafe = biosafe + 1.0; } } attachment = player.FindAttachmentBySlotName("Feet"); if ( attachment && attachment.IsItemBase() ) { item = Class.Cast(attachment); className = item.GetType(); if ( className.Contains("NBCBootsGray") ) { biosafe = biosafe + 1.0; } } attachment = player.FindAttachmentBySlotName("Gloves"); if ( attachment && attachment.IsItemBase() ) { item = Class.Cast(attachment); className = item.GetType(); if ( className.Contains("NBCGlovesGray") ) { biosafe = biosafe + 1.0; } } if ( biosafe > 5.0 ) return true; float damage_player; float damage_zone = 6.0; damage_player = player.GetHealth("GlobalHealth", "Health"); player.SetHealth("GlobalHealth", "Health", damage_player - (damage_zone - ((damage_zone / 6) * biosafe))); player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_COUGH); Param1<string> m_MessageParam = new Param1<string>("Вам нужны химзащита и противогаз!"); GetGame().RPCSingleParam(player, ERPCs.RPC_USER_ACTION_MESSAGE, m_MessageParam, true, player.GetIdentity()); return true; } return false; } void CheckZones() { ref array<Man> players = new array<Man>; GetGame().GetPlayers( players ); for ( int i = 0; i < players.Count(); i++ ) { PlayerBase player; Class.CastTo(player, players.Get(i)); for ( int j = 0; j < ga_zones.Count(); j++ ) { if(InZone(player, ga_zones.Get(j))) { break; } } } } } Короче, как пример… Планов было много, но так и не дошли руки… Для нахождения в зонах нужна полная «химза» и противогаз, иначе игрок получает повреждения. Повреждения зависят от кол-ва одетых элементов защиты. Из эффектов: у игрока начинается кашель. Ковыряйте на здоровье. Для работы скрипта достаточно подключить его через #include в init.c
-
0 балловКак интересно живут люди )))))))))))))))))))))))))))))))))))))))
-
Рассылка

Equadro