How to Use the Loadout Generator

The Loadout Generator is a user-friendly tool that allows you to create and manage custom loadouts for your dayz server. Here is a step-by-step guide on how to use the various features of the generator:

Please note: During your time on the Loadout Generator, your json code will automatically update every 5 minutes. You will be notified of its completion every 5 minutes.

  1. Initialize the Tool:

    • Open the tool, and it will automatically initialize with CodeMirror for JSON editing and set up necessary event listeners and attachment slots.

  2. Create a Loadout:

    • Enter Loadout Name:

      • Locate the input field labeled "Loadout Name" at the top of the tool.

      • Enter a name for your loadout in this field. (example: Player)

    • Configure Attachment Slots:

      • Below the loadout name, you will see a list of attachment slots (e.g., ShoulderL, ShoulderR, Vest, etc.).

      • For each slot, select an item from the dropdown menu.

      • Set the quick slot value if applicable by entering a number in the "Quickslot" input field.

      • Add child items (both simple and complex) by using the "Add Simple Child" and "Add Complex Child" buttons within each slot section.

  3. Add Discrete Item Sets:

    • Click the "Add Discrete Set" button to create a new discrete item set.

    • A new section will appear where you can:

      • Enter the set name.

      • Set the spawn weight, health min, health max, quantity min, and quantity max.

      • Add complex items by selecting from the dropdown menu and clicking the "Add Complex Item" button.

      • Add simple items by selecting from the dropdown menu and clicking the "Add Simple Item" button.

      • Each added item will appear in a list below the dropdown menu.

      • You can toggle the visibility of the discrete set content by clicking the "Toggle" button.

  4. Generate and Update Loadout JSON:

    • As you make changes, the tool will automatically update the JSON representation of your loadout.

    • To manually update and view the latest JSON, click the "Generate Loadout" button at the bottom of the form.

  5. Export the Loadout:

    • Copy Loadout to Clipboard:

      • Click the "Copy Loadout" button to copy the generated JSON to your clipboard.

      • A confirmation message will appear once the loadout is successfully copied.

    • Download Loadout as JSON File:

      • Click the "Download Loadout" button.

      • A dialog will appear prompting you to enter a filename.

      • You can also check the option to save the loadout to the DayZ BoosterZ database.

      • Click "Download" to save the JSON file to your local system.

      • If you opted to save to the database, the tool will handle this and provide instructions for using the loadout in your game configuration.

  6. Import an Existing Loadout:

    • Click the "Import Loadout" button.

    • A file input dialog will appear where you can select a JSON file to import.

    • After selecting the file, the tool will validate the JSON structure and update the interface to reflect the imported data.

    • You can then modify the imported loadout as needed using the same interface for creating new loadouts.

  7. Resetting and Toggling Sections:

    • To reset an attachment slot, click the "Reset" button next to the respective slot. This will clear the selected item and quick slot value.

    • To toggle the visibility of attachment slot content or discrete set content, click the "Toggle" button within each respective section.

Please note: Before you can copy or download a loadout, you must first always click the "Generate Loadout" button. This is to ensure that everything you have selected is added correctly to the CodeMirror textarea.

By following these steps, you can efficiently create, manage, and export custom loadouts for your server. The tool's intuitive interface and helpful prompts ensure a seamless experience.

Last updated