This tool helps you create spawnabletypes.xml code for weapons and their attachments.
Step 1: Add Weapons
Use the dropdown menu to select a weapon you want to configure, then click the "Add Weapon" button. A new configuration card for that weapon will appear below. You can repeat this process to configure multiple weapons at the same time.
Step 2: Configure Attachments
In each weapon's card, you will find several dropdowns for different attachment types (Optics, Magazines, etc.).
- Click a dropdown (e.g., "Add Optic...") and select an attachment from the list. These lists only show attachments that are compatible with that specific weapon.
- Once an attachment is selected, a new row will appear below it with a slider. Use the slider to set the spawn chance for that item (from 0.00 to 1.00).
- You can add multiple attachments of different types to each weapon. To remove an attachment, click the red trash can icon next to it.
Step 3: Generate & Download
When you are finished, click the "Generate XML" button. The code for all the weapons you configured will be created as a full cfgspawnabletypes.xml document and validated before download. You can then copy or download the final XML file.