GithubHelp home page GithubHelp logo

ghostiam-dayz / dayz-mod-template Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 2.0 286 KB

Template for creating mod for DayZ Standalone

License: MIT License

C 22.01% C++ 5.52% Batchfile 72.47%
dayz dayzstandalone dayzmod dayz-modding template-project dayz-template

dayz-mod-template's Introduction

DayZ-Mod-Template

Русский

Шаблон для создания модов для DayZ Standalone.

Примеры проектов:

https://github.com/ghostiam-DayZ/InventoryDump
импорт мода CF, сборка мода в разные пакеты(для сервера и клиента), и всё это с рабочим дебагером! (смотрите mod.cfg параметры Additional*Mods).

Порядок действий для нового прокта

  1. Склонировать(или скачать) репозиторий.
  2. Открыть файл mod.cfg в текстовом редакторе.
  3. Отредактировать параметры под себя.
  4. Скачать если необходимо, оффлайн карту для локального теста и положить в папку с игрой.
  5. Переименовать папки Mod/Ghost/MyFirstMod по формату из конфига Mod/ВашПрефикс/НазваниеМода.
  6. Отредактировать файл Mod/Ghost/MyFirstMod/config.cpp под себя.
  7. Запустить скрипт ModInit.bat который создаст все необходимые ссылки для работы мода.

Инструменты

В папке Tools находятся скрипты, которые позволяют вам автоматизировать рутинные вещи, от удаления логов, до сборки вашего мода.

Работа с Workbench

Чтобы открыть Workbench с модом, нужно запустить скрипт Tools/StartWorkbench.bat.
Данные мода будут доступны в SourceData/ВашПрефикс/НазваниеМода, скрипты уже будут подгруженны в редактор скриптов(с рабочим дебагером).
Так же, скрипт подгружает плагины для Workbench, которые доступны в меню Plugins или через шорткаты.
Плагины с суффиксом "Production" предназначены для итогового тестирования мода, перед загрузкой в Workshop(необходимо сначала запустить BuildModProduction, а потом StartMPProduction).

English

Template for creating mods for DayZ Standalone.

Example projects:

https://github.com/ghostiam-DayZ/InventoryDump
import CF mod, mod building into different packages (for server and client), and all this with a working debugger! (see mod.cfg for Additional*Mods options).

Setup for a new project

  1. Clone (or download) the repository.
  2. Open the mod.cfg file in a text editor.
  3. Edit the parameters.
  4. Download, if necessary, offline map for a local test and put it in the game folder.
  5. Rename the Mod/Ghost/MyFirstMod folders according to the format from the Mod/YourPrefix/ModName config.
  6. Edit the file Mod/Ghost/MyFirstMod/config.cpp.
  7. Run the script ModInit.bat which will create all the necessary links for the mod to work.

Tools

The Tools folder contains scripts that allow you to automate routine things, from removing logs to building your mod.

Working with the Workbench

To open the Workbench with a mod, you need to run the script Tools/StartWorkbench.bat.
Mod data will be available in SourceData/YourPrefix/ModName, scripts will already be loaded into the script editor (with a working debugger).
Also, the script loads plugins for the Workbench, which are available in the Plugins menu or via shortcuts.
Plugins with the "Production" suffix are intended for final testing of the mod, before uploading it to the Workshop (you must first run BuildModProduction, and then StartMPProduction).

dayz-mod-template's People

Contributors

ghostiam avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.