Skip to content

Instantly share code, notes, and snippets.

@treeherder
Last active March 7, 2021 16:02
Show Gist options
  • Save treeherder/4cb1757c3b583584a7ef5e0adfc3e0b9 to your computer and use it in GitHub Desktop.
Save treeherder/4cb1757c3b583584a7ef5e0adfc3e0b9 to your computer and use it in GitHub Desktop.
A quick guide for interpreting the Bohemia Interactive tutorial instructions for "Getting Started Modding DayZ."

Setup


Setting up Workbench

Make sure to automatically mount the project drive at startup of tools in the DayZ Tools settings tab. When this is properly configured, you will see the P: drive mounted in your filesystem after launching DayZ Tools.

Follow the mod tutorial at DayZ Modding Basics. For the purpose of clarity in this case, we named the mod developed in this tutoral demo and packed it into the packed_demo directory.

Testing

After following the instructions for "Creating a mod" and "Packing into pbo," we are ready to test the mod in a single player environment.

At this point, we should have a folder in our P: drive called packed_demo with two folders inside of it: Addons and Keys, with demo.pbo inside of Addons.

In order to test the mod, we first need to start Workbench from the tools and run the script editor. Next, open the cmd tool in windows and navigate to your DayZ root directory. For me this looks like E:\SteamLibrary\steamapps\common\DayZ.

From here, we can start the single player mode running our packed_demo mod by typing into the terminal: DayZDiag_x64.exe -mission=E:\SteamLibrary\steamapps\common\DayZServer\mpmissions\testing.ChernarusPlus -mod=P:\packed_demo.

If successful, we should be able to see the output of the script log in the debug window of the script editor: alt text

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment