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

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

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

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

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

Таблица лидеров


Популярные публикации

Отображаются публикации с наибольшей репутацией на 03/12/24 во всех областях

  1. 2 балла
    siman

    Vending Machine

    Версия 2.0

    69 скачиваний

    Торговые автоматы, заменяют NPC трейдеров. Возможно нанесение логотипа вашего сервера и добавление торговых автоматов Продажа с исходным материалом Vending machines replace NPC traders. It is possible to apply the logo of your server and add vending machines Sale with source material

    630.00 RUB

  2. 1 балл
    Что делает скрипт : Скрипт добавляет на ваш сервер систему выдачи лута при появлении игрока, либо определенного лута человеку по steamid64 (донатеру к примеру). Как это сделать? Для этого нам понадобится зайти в главную папку с вашей картой, к примеру чернарусь (Путь: DayZServer\mpmissions\dayzOffline.chernarusplus) После того как вы зашли, в этой папке нужно найти файл с названием init.c Открываем файл и видим строки кода, нам нужна строчка с началом ( class CustomMission: MissionServer ). Начиная с нее нам нужно вставить код до строчки как на скриншоте клик class CustomMission : MissionServer { private const static string m_SpawnLoadoutDirectory = "$profile:SpawnLoadout/"; // root directory for SpawnLoadout private const static string m_DonatorDirectory = m_SpawnLoadoutDirectory + "Donators/"; // directory for donator loadout text files private const static string m_RegularLoadout = m_SpawnLoadoutDirectory + "Regular.txt"; // file for regular loadout private const static string m_CommonItems = m_SpawnLoadoutDirectory + "CommonItems.txt"; // file for in common items for both regular and donator void CustomMission() { FileHandle templateFile; if (!FileExist(m_SpawnLoadoutDirectory)) { MakeDirectory(m_SpawnLoadoutDirectory) // create default CommonItems.txt templateFile = OpenFile(m_CommonItems, FileMode.WRITE); FPrintln(templateFile, "Rag 4\nHuntingKnife\nMatchbox\nHatchet\nFlashlight\nBattery9V\nSodaCan_Cola\nBakedBeansCan"); CloseFile(templateFile); // create default Regular.txt templateFile = OpenFile(m_RegularLoadout, FileMode.WRITE); FPrintln(templateFile, "BomberJacket_Grey\nJeans_Black\nTaloonBag_Blue\nAthleticShoes_Grey"); CloseFile(templateFile); } if (!FileExist(m_DonatorDirectory)) { string template = GetDonatorFile("STEAMIDHERE"); MakeDirectory(m_DonatorDirectory); // create template donator file templateFile = OpenFile(template, FileMode.WRITE); FPrintln(templateFile, "BomberJacket_Blue\nJeans_Grey\nTaloonBag_Orange\nAthleticShoes_Brown"); CloseFile(templateFile); } } //!!! REPLACES EXISTING METHOD override void StartingEquipSetup(PlayerBase player, bool clothesChosen) { player.RemoveAllItems(); // clear all default spawning items FileHandle donatorFile; string line; TStringArray contents = new TStringArray(); string file = GetDonatorFile(player.GetIdentity().GetPlainId()); if (FileExist(file)) { SpawnLoadout(player, ReadFileLines(file)); // spawn donator loadout return; } SpawnLoadout(player, ReadFileLines(m_RegularLoadout)); // spawn regular player loadout } private void SpawnLoadout(PlayerBase player, ref TStringArray loadout) { FileHandle loadoutFile; string line; // creates clothes loadout foreach (string clothes : loadout) player.GetInventory().CreateInInventory(clothes); // creates common items TStringArray items = ReadFileLines(m_CommonItems); foreach (string item : items) { if (item.Contains(" ")) // check for space, which signifies a quantity item { CreateQuantityItem(player, item); continue; } player.GetInventory().CreateInInventory(item); } } private void CreateQuantityItem(PlayerBase player, string item) { TStringArray quantity = new TStringArray(); item.Split(" ", quantity); ItemBase quantityItem = player.GetInventory().CreateInInventory(quantity[0]); quantityItem.SetQuantity(quantity[1].ToFloat()); } private string GetDonatorFile(string id) { return string.Format("%1%2.txt", m_DonatorDirectory, id); } private TStringArray ReadFileLines(string path) { FileHandle file; string line; TStringArray contents = new TStringArray(); file = OpenFile(path, FileMode.READ); while (FGets(file, line) > 0) { line.Trim(); if (line != string.Empty) { contents.Insert(line); line = string.Empty; } } CloseFile(file); return contents; } }; После того как вы вставили код, сохраняйте файл. И запускайте сервер! Если ничего не вылезло и сервер нормально запустился, в папке profiles появится папка Spawnloadout. В ней вы видите файлы: Regular.txt ; CommonItems.txt Эти файлы нужны для стартового снаряжения игрока при спавне. Regular - Для одежды ; CommonItems - Для предметов Папка Donator отвечает за кастомные сета игрокам по SteamID64. В этой папке будет файл STEAMIDHERE.txt Чтобы прописать сет по SteamID64 нужно изменить название файла и в нем прописать все что нужно выдавать игроку, тут нету разделения на файлы, все нужно писать в 1 файл (Чтобы небыло багов пишите сначало одежду а потом предметы) Все обновляется в реальном времени ничего перезапускать не нужно. P.S: Автор не я !!!
  3. 1 балл
    Armor

    Claymore

    Версия 1.0.2

    67 скачиваний

    Мод подразделяется на 2 части(клиент, сервер). Весь функционал можно увидеть в ролике. Описание: Варианты установки. Установка с автоматической активацией, происходит как у обычной противопехотной мины. The mod is divided into 2 parts(client, server). All the functionality can be seen in the video. Description: Installation options. Installation with automatic activation, occurs as in a conventional anti-personnel mine. При такой установке детонация идет от «лицевой» стороны которая подписана «FRONT TOWARD ENEMY» Красная прямоугольная зона, является триггером который активирует детонацию ловушки. Длинна красной зоны 2 метра от мины. Зеленая зона безопасна для передвижения игрока. With this installation, the detonation comes from the "front" side, which is signed " FRONT TOWARDS ENEMY» The red rectangular area is the trigger that activates the detonation of the trap. The length of the red zone is 2 meters from the mine. The green area is safe for the player to move around. Так же, уже поставленную мину, можно привязать к пульту управления. You can also link a mine that has already been placed to the control panel. У пульта есть несколько функции. Радиус действия сигнала пульта ~300 метров. К пульту может быть привязано несколько мин. Детонация 1 мины. Взрыв по очереди или с выбором по списку. Детонация всех мин которые привязаны к пульту. Очистка подключений пульта к минам. The remote control has several functions. The range of the remote control signal is ~300 meters. Several mines can be linked to the remote control. Detonation of 1 mine. Blast in turn or with a choice from a list. Detonation of all mines that are tied to the remote control. Clearing the remote control connections to mines. Привязка происходит с пультом в руках, наведясь на мину вы увидите надпись Link mine. Explode <1> взрыв первой подключенной мины. Linking takes place with the remote control in your hands, hovering over the mine you will see the inscription Link mini. Explode <1> the first connected mine explodes. Explode ALL детонация всех подключенных мин. Explode ALL detonation of all connected mines. Clear ALL очистка всех подключенных мин к пульту. Мина может быть установлена в лежачем состоянии, в этом случае фронтальный датчик не будет работать, активация мины будет только через пульт управления. В таком виде, мину можно положить в контейнер, машину или рюкзак. Clear ALL clears all connected mines to the remote control. The mine can be installed in a lying state, in this case, the front sensor will not work, the activation of the mine will only be through the control panel. In this form, the mine can be put in a container, car or backpack.

    1,500.00 RUB

×
×
  • Создать...

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

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

Поддержка