Перейти к публикации
Поиск в
  • Дополнительно...
Искать результаты, содержащие...
Искать результаты в...
  • Нужна помощь?

    Создайте тему в соответствующем разделе
    Не нужно писать всё в чат!
  • Загляните на торговую площадку

    Там вы можете купить
    всё что касается игровых серверов
  • Не хотите бан?

    Пожалуйста, ознакомьтесь с нашими правилами
    Не нарушайте порядок!
  • Продаёте или покупаете?

    Пользуйтесь услугами гаранта
    Мы сделаем вашу сделку безопасной

Поиск по сайту

Результаты поиска по тегам 'мод'.

  • Поиск по тегам

    Введите теги через запятую.
  • Поиск по автору

Тип публикаций


Категории и разделы

  • Основной раздел сайта
    • S-Platoon
    • Приватный раздел
    • Рынок
    • Комната отдыха и развлечений
  • Серверостроение - DayZ Standalone
    • Инструкции
    • Помощь
    • Прочее
    • English section
  • Серверостроение - Общий раздел
    • ARMA 3
    • DayZ мод
    • ARMA 2
    • CS: Global offensive
    • ARK: Survival Evolved
    • Minecraft
    • Rust
  • Темы поддержки товаров

Категории

  • DayZ
    • Сборки серверов
    • Скрипты, моды, карты и т.д.
    • Транспорт
    • Оружие, инструменты, предметы
    • Дополнения для карты
    • Модели
    • Программное обеспечение
    • Прочее
  • Arma 3
    • Сборки серверов
    • Скрипты, моды, карты и т.д.
    • Транспорт
    • Модели
    • Программное обеспечение
    • Прочее

Группы продуктов

  • Привилегии на форуме
  • Реклама на сайте

Искать результаты в...

Искать результаты, содержащие...


Дата создания

  • Начать

    Конец


Последнее обновление

  • Начать

    Конец


Фильтр по количеству...

Зарегистрирован

  • Начать

    Конец


Группа


Вконтакте


Steam


ICQ


Skype


Город


Сайт


Интересы

Найдено 12 результатов

  1. Всем привет. Подскжите ну или помогите пожалуйста решить вопрос. Вопрос звучит так. На сервере есть трейдер зоны и базы игроков. Если в течение определённого времени, на пример 1 - 2 часа с машиной не кто не взаимодействует и машина не находится в зоне трейдера или на теретории базы, то машина отлетает в гараж или на штраф стоянку. На сервере используется TraderPlus. Есть такие решения у кого? За ранние благодарю.
  2. Credits - @i_kolobov - Documentation and Code snippets @Arkensor - Code snippets @FIDOv - Documentation @Revelin - Code snippets https://www.reddit.com/r/dayz/comments/9l1rny/mod_airdrop/ Github - https://github.com/mov3ax/airdrop Topic with teaser - https://www.reddit.com/r/dayz/comments/9k545v/teaser_airdrop/ Код class CustomMission: MissionServer { /* DayZ 0.63 AirDrop plugin by mov3ax / mov3ax.pro */ /* ### ### ### ### ### ### ### ### */ float TimesliceMultiplyier = 0.01; // Timeslice multiplyier, default value is 0.01 (60 FPS) float AirPlaneSpeed = 0.25; // Airplane fly speed float AirPlaneHeight = 500; // Airplane fly height float AirDropFallSpeed = 0.2; // Airdrop fall speed // 600 Seconds = 10 Minutes float TicksTimerFromStart = 600 / TimesliceMultiplyier; // How much time will pass from the server start to first airdrop bool PrintInformationMessages = true; // Show in chat when airplane flew out and when airdrop is landed bool PrintInformationCoordinates = true; // Show in chat coordinates where airdrop is landed // 36000 Seconds = 1 Hour float RemoveTime = 36000 / TimesliceMultiplyier; // After how much time airplane and loot will be removed and new airplane will be spawned bool PrintDebugMessages = false; // Show debug messages (Debug) bool DropOnStart = false; // Drop airdrop instantly after airplane (Debug) bool TeleportDebug = false; // Teleport to airplane and airdrop during flight (Debug) bool RayReady = true; // Raycast for airdrop container fall math Object m_AirPlane; // Global airplane object Object m_AirDrop; // Glbal airdrop container object EntityAI m_AirDropLoot; // Airdrop container body ItemBase m_AirDropBase; // Airdrop container base Particle DropEffect; // Airdrop land particle effect float RandomRot = 0; // Default random rotation variable // 100 Seconds float RandomTime = 100; // Default random drop variable float Delay = 0; // Local variable for security int AirDropTime = 0; // Local variable int AirTimer = 0; // Local variable int RemoveTimer = 0; // Local variable bool TimerPassed = false; // Local variable bool AirPassed = false; // Local variable bool RemovePased = false; // Local variable bool DropTime = false; // Local variable bool PassTime = false; // Local variable vector RandomRotOrientation; // Local variable void SendMessage(string message) // Send message in global chat { ref array<Man> players = new array<Man>; GetGame().GetPlayers( players ); for ( int i = 0; i < players.Count(); i++ ) { PlayerBase player1; Class.CastTo(player1, players.Get(i)); Param1<string> m_AirTimer = new Param1<string>(message); GetGame().RPCSingleParam(player1, ERPCs.RPC_USER_ACTION_MESSAGE, m_AirTimer, true, player1.GetIdentity()); } } void SendPos(vector pos) // Teleport all players to position, debug { ref array<Man> players = new array<Man>; GetGame().GetPlayers( players ); for ( int i = 0; i < players.Count(); i++ ) { PlayerBase player1; Class.CastTo(player1, players.Get(i)); player1.SetPosition(pos); } } string GetRandomLoot() // Random Loot Presets { string loot; switch (Math.RandomInt(0, 6)) { case 0: loot = "LandMineTrap"; break; case 1: loot = "TTSKOPants"; break; case 2: loot = "TacticalBaconCan"; break; case 3: loot = "M4A1"; break; case 4: loot = "PlateCarrierComplete"; break; case 5: loot = "BakedBeansCan"; break; case 6: loot = "WaterBottle"; break; } return loot; } // Generating random airdrop position from list // You can get coordinates using debug monitor or this map https://dayz.ginfo.gg/ vector GetAirPlanePos() { protected vector airplane_yaw; // Local variable airplane_yaw[1] = AirPlaneHeight; // Airplane fly height switch (Math.RandomInt(0, 2)) { case 0: airplane_yaw[0] = 5500; airplane_yaw[2] = 500; break; case 1: airplane_yaw[0] = 2700; airplane_yaw[2] = 700; break; case 2: airplane_yaw[0] = 10000; airplane_yaw[2] = 1000; break; } return airplane_yaw; } void SpawnAirPlaneAndTeleportPlayer_DEBUG() { // Seconds devide on value of TimesliceMultiplyier (By default it is 0.01) RandomTime = Math.RandomFloat(75 / TimesliceMultiplyier, 180 / TimesliceMultiplyier); // Random drop bounds RandomRot = Math.RandomFloat(130, 190); // Random rot bounds if (PrintDebugMessages) SendMessage("Debug - RandomRot " + RandomRot); // Dynamic movement forward float rotationYaw = RandomRot; float f = rotationYaw * 0.017453292; float motionX = (double)(Math.Sin(f) * 7.5); // 7.5 is airdrop container motion speed float motionZ = (double)(Math.Cos(f) * 7.5); // 7.5 is airdrop container motion speed // Fixed position, if we dont multiply value to -1 it will move backwards protected vector m_AirPlaneFixedPosition; m_AirPlaneFixedPosition[0] = motionX * -1; m_AirPlaneFixedPosition[1] = 10; m_AirPlaneFixedPosition[2] = motionZ * -1; RandomRotOrientation[0] = RandomRot; m_AirPlane = GetGame().CreateObject( "Land_Wreck_C130J", GetAirPlanePos(), false, true ); // Create airplane model m_AirPlane.SetOrientation(RandomRotOrientation); // Rotate it to random angles in yaw //FIXME: Broken sound raduis GetGame().CreateSoundOnObject(m_AirPlane, "powerGeneratorLoop", 10000, true, false); // Attach airplane sound to itself if (PrintInformationMessages) SendMessage("Airplane flew out!"); protected vector m_AirPlanePos = m_AirPlane.GetPosition(); protected vector m_NewAirPlanePos = m_AirPlanePos - "0 0 0"; m_AirPlane.SetPosition(m_NewAirPlanePos); protected vector m_AirPlanePosDYN = m_AirPlane.GetPosition(); protected vector m_NewAirPlanePosDYN = (m_AirPlanePos) - m_AirPlaneFixedPosition; protected vector m_DropPos = m_NewAirPlanePosDYN; if (DropOnStart) // For debug puproses only { RayReady = false; m_AirDrop = GetGame().CreateObject( "Land_Container_1Bo", m_DropPos, false, true ); // Create airdrop model, in this case it is red container if (PrintInformationMessages) SendMessage("Airdrop dropped!"); // Reset it to default values RemoveTimer = 0; RemovePased = false; } if (PrintDebugMessages) { if (PrintInformationMessages) SendMessage("Airdrop dropped!"); if (TeleportDebug) SendPos(m_AirPlane.GetPosition()); } } void SpawnAirPlaneAndMove_DEBUG() { // Dynamic movement forward float rotationYaw = RandomRot; float f = rotationYaw * 0.017453292; float motionX = (double)(Math.Sin(f) * AirPlaneSpeed); // Airplane speed float motionZ = (double)(Math.Cos(f) * AirPlaneSpeed); // Airplane speed // Fixed position, if we dont multiply value to -1 it will move backwards protected vector m_AirPlaneFixedPosition; m_AirPlaneFixedPosition[0] = motionX * -1; m_AirPlaneFixedPosition[1] = 0; m_AirPlaneFixedPosition[2] = motionZ * -1; protected vector m_AirPlanePos = m_AirPlane.GetPosition(); protected vector m_NewAirPlanePos = m_AirPlanePos + m_AirPlaneFixedPosition; m_AirPlane.SetPosition(m_NewAirPlanePos); protected vector m_AirDropFallSpeed; m_AirDropFallSpeed[0] = 0; m_AirDropFallSpeed[1] = AirDropFallSpeed; m_AirDropFallSpeed[2] = 0; protected vector m_OldAirDropPos = m_AirDrop.GetPosition(); protected vector m_NewAirDropPos = m_OldAirDropPos - m_AirDropFallSpeed; // Raycast, check if airdrop is on ground vector rayStart = m_AirDrop.GetPosition() - "0 1.1 0"; vector rayEnd = m_NewAirDropPos; vector hitPos; vector hitNormal; int hitComponentIndex; protected vector m_AirPlanePosDYN = m_AirPlane.GetPosition(); protected vector m_NewAirPlanePosDYN = m_AirPlanePos - "0 10 0"; protected vector m_DropPos = m_NewAirPlanePosDYN; if (!RayReady) { if (DayZPhysics.RaycastRV(rayStart, rayEnd, hitPos, hitNormal, hitComponentIndex, NULL, NULL, m_AirDrop)) { m_AirDrop.SetPosition(hitPos + "0 1.1 0"); m_AirDrop.SetOrientation(hitNormal); // Create airdrop lootable container, in this case it is sea chest m_AirDropLoot = EntityAI.Cast(GetGame().CreateObject( "SeaChest", m_AirDrop.GetPosition(), false, true )); // We can't add barrel because it have to be opened // You can extend items count inside airdrop container or make it random m_AirDropLoot.GetInventory().CreateInInventory(GetRandomLoot()); m_AirDropLoot.GetInventory().CreateInInventory(GetRandomLoot()); m_AirDropLoot.GetInventory().CreateInInventory(GetRandomLoot()); m_AirDropLoot.GetInventory().CreateInInventory(GetRandomLoot()); m_AirDropLoot.GetInventory().CreateInInventory(GetRandomLoot()); m_AirDropLoot.GetInventory().CreateInInventory(GetRandomLoot()); m_AirDropBase = ItemBase.Cast(m_AirDropLoot); // Cast items to airdrop container // Play particle when airdrop container, in this case it is red container DropEffect = Particle.Play( ParticleList.EXPLOSION_LANDMINE, m_AirDrop.GetPosition() ); if (PrintInformationMessages && !PrintInformationCoordinates) SendMessage("Airdrop landed!"); else if (PrintInformationMessages && PrintInformationCoordinates) SendMessage("Airdrop landed at " + m_AirDrop.GetPosition() + "!"); // Reset it to default values RayReady = true; } else { m_AirDrop.SetPosition(m_NewAirDropPos); } } if (DropTime && !DropOnStart) { RayReady = false; m_AirDrop = GetGame().CreateObject( "Land_Container_1Bo", m_DropPos, false, true ); // Create airdrop model, in this case it is red container // Reset it to default values RemoveTimer = 0; RemovePased = false; DropTime = false; } } void CreateAirDrop() { // Remove timer if (RemoveTimer <= RemoveTime) { RemoveTimer++; } else { // Removing all objects when remove timer is passed if (!RemovePased) { m_AirDrop.SetPosition(vector.Zero); GetGame().ObjectDelete( m_AirDrop ); m_AirDrop = NULL; m_AirPlane.SetPosition(vector.Zero); GetGame().ObjectDelete( m_AirPlane ); m_AirPlane = NULL; m_AirDropBase.SetPosition(vector.Zero); GetGame().ObjectDelete( m_AirDropBase ); m_AirDropBase = NULL; m_AirDropLoot.SetPosition(vector.Zero); GetGame().ObjectDelete( m_AirDropLoot ); m_AirDropLoot = NULL; // Reset it to default values AirPassed = false; TimerPassed = false; AirDropTime = 0; AirTimer = 0; DropTime = false; RemovePased = true; } } // After how much time after restart need to wait before airplane spawn if (AirTimer <= TicksTimerFromStart) { AirTimer++; if (PrintDebugMessages) SendMessage("Debug - " + AirTimer); } else { // Reset it to default values TimerPassed = true; } if (TimerPassed && !AirPassed) { if (PrintDebugMessages) SendMessage("Debug - Ticks Passed!"); SpawnAirPlaneAndTeleportPlayer_DEBUG(); if (PrintDebugMessages) SendMessage("Debug - Test! Spawned via timer"); // Reset it to default values AirPassed = true; } if (AirPassed) { if (m_AirPlane) { SpawnAirPlaneAndMove_DEBUG(); } } if (AirDropTime <= RandomTime) { AirDropTime++; if (PrintDebugMessages) { if (TeleportDebug) SendPos(m_AirPlane.GetPosition()); SendMessage("Debug Time - " + AirDropTime); SendMessage("Random Time - " + RandomTime); } } else { if (Delay <= 1000) { Delay++; } else { if (!RayReady) { if (TeleportDebug) SendPos(m_AirDrop.GetPosition()); } if (!PassTime) { // Reset it to default values DropTime = true; PassTime = true; } } } } /* ### ### ### ### ### ### ### ### */ float TimerSlice; override void OnUpdate( float timeslice ) { super.OnUpdate( timeslice ); // FPS Fix TimerSlice += timeslice; if (TimerSlice >= TimesliceMultiplyier) { CreateAirDrop(); TimerSlice = 0; } } }; Mission CreateCustomMission(string path) { return new CustomMission(); }
  3. 6agu

    не падает CodeLock

    Поставил мод CodeLock, не падет при рейде стен, что с этим можно сделать и может ли кто оказать помощь ?
  4. Еще одна тема, по которой возникают вопросы - как залить свой мод в steam Видео пару минут, надеюсь все понятно
  5. BR0wi

    Мод на машины

    Подскажите кто занимается модовыми машинами в дейз.
  6. BR0wi

    Мододелы и скриптеры

    Подскажите где найти людей, которые делаю моды на заказ. К кому вообще обращаться? Или что бы реализовать свои идеи нужно самому "год" сидеть и изучать все механики модинга?
  7. Всем привет! Давно уже не играл в dayz. Какой мод актуален на сегодняшний день? Стоит ли вообще начинать играть или лучше купить какой-нибудь пабг и бегать там?
  8. NooBIK

    Кравт модовых вещей

    Доброго времени суток. На некоторых модах есть кравт вещей, который является не ванильным. Вопрос собственно такой: Где и в каком файле узнать кравт вещей? (какие комбинируются вещи) в частности интересует dayzundergraunmod. В описании мода такой инфы нет в дискорде тоже.
  9. ZigoFrend

    Мод Code Lock

    Установил мод code lock всё нормально запускается но не могу заспавнить замок через админку хотя он там числится Да и на карте не спавнится хотя прописан в types
  10. Sancezz063

    Мод FS

    Привет, выдает вот эту ошибку Мод закинул , ключи тоже, или ещё что-то нужно закинуть ?
  11. Ниже написаны правила добавления новой темы в этом разделе, а также форма, по которой нужно оформлять тему. Оформил - тебе +. Не оформил - баллы нарушений Для удобства читающих нужно нормально описать мод своими словами, добавить скриншоты, перевести описание из мастерской (написать особенности мода), написать инструкцию по установке мода. Пример правильного оформления темы: http://s-platoon.ru/topic/7498-op_baseitems-novye-obekty-dlya-obustroystva-baz/ Форма добавления мода: Описание мода своими словами Скриншоты из мастерской Особенности: особенность раз особенность два и так далее Инструкция по установке: 1) пункт один 2) пункт два 3) и так далее Ссылка на мод в мастерской Благодарю за внимание
  12. Не могу найти гайд по добавлению данного мода, очень неплохо было б заиметь его у себя на серве! Плиз хелп!!) Установил, вроде работает, только, как теперь эту технику заспавнить или купить?((
×
×
  • Создать...

Важная информация

Используя этот сайт, вы автоматически обязуетесь соблюдать наши Правила и Политика конфиденциальности.
Чтобы сделать этот веб-сайт лучше, мы разместили cookies на вашем устройстве. Вы можете изменить свои настройки cookies, в противном случае мы будем считать, что вы согласны с этим.

Поддержка