Code Monkey home page Code Monkey logo

dayz-editor-loader's Introduction

DayZ-Mod-Template

A Comprehensive Mod Template for DayZ. Optimized with Workbench for Advanced Scripting and pboProject for Efficient Building. This is my personal template, that I ues for all projects

Repository Setup

Follow these steps to clone the DayZ Mod Template, set up your project environment, and initialize your own Git repository.

Creating Your Project from a Template

  1. Use the Template Repository:

    • Navigate to the DayZ Mod Template repository on GitHub: https://github.com/InclementDab/DayZ-Mod-Template
    • Click on the "Use this template" button near the top of the repository page.
  2. Set Up Your New Repository:

    • Enter a name for your new repository, like DayZ-Mod-Name.
    • Optionally, provide a description.
    • Choose the repository visibility (public or private).
    • Click on "Create repository from template" to generate your new repository.

Cloning Your New Repository

  1. Clone Your New Repository:

    • Once your repository is created, clone it to your local machine:
      git clone https://github.com/yourusername/DayZ-Mod-Name.git
    • Replace yourusername with your actual GitHub username.
  2. Navigate to the Cloned Directory:

    • Change your directory to the one you just cloned:
      cd DayZ-Mod-Name
  3. Run the Installation Script:

    • If the template includes an installation script (Install.ps1), run it:
      ./Install.ps1

Workbench

Mounting to the Workdrive

  1. Run the Batch File to Mount:
    • Navigate to the SetupWorkdrive.bat file in your mod directory.
      ../DayZ-Mod-Name/SetupWorkdrive.bat 
      
    • Execute this batch file. It will automatically mount all folders containing a 'Workbench' folder in your repository directory to your Workdrive.

Opening the Project in Workbench

  1. Access the Project Directory:

    • Go to the mod's project directory:
      ../DayZ-Mod-Name/ModName/Workbench
      
    • Here, you will find the dayz.gproj file.
  2. Open the Project File:

    • Double-click on dayz.gproj.
    • If prompted, choose to open it with Workbench. You can find Workbench in steamapps/common/DayZ Tools/Bin/Workbench.

Configuring Source Data Directory in Workbench

This step only needs to be completed one time, unless you change your DayZ install directory.

  1. Set the Source Data Directory:

    • In Workbench, navigate to Workbench -> Options.
    • Set "Source Data Directory" to your DayZ installation path, such as C:/Program Files (x86)/Steam/steamapps/common/DayZ Exp.
  2. Handle the Restart Prompt:

    • Upon setting the directory, a prompt to restart Workbench will appear. Select 'No' to decline this automatic restart.
  3. Manually Restart Workbench:

    • Close the Resource Browser to ensure all settings are applied.
    • Exit and then reopen Workbench.
    • Reopen the dayz.gproj file.

With Dabs Framework on your machine, your project will automatically have plugins built-in. To use these plugins, follow Using the Workbench Plugins in the wiki.

License

Your tool is licensed under MIT License.

For any additional questions or feedback, please raise an issue in this repository or contact Dab.

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.