Step 1: Upload Your JSON File
Click or drag your JSON file into the upload area. The file must contain an `Objects` array, where each object has `name`, `pos` (an array of 3 numbers for X, Y, Z coordinates), and `ypr` (an array of 3 numbers where the first element is used as the angle/yaw).
Step 2: Convert to XML
Click the "Convert to XML" button. The tool performs the following actions:
- It generates an entry for cfgeventspawns.xml, which defines where the event group will spawn, using the position of the first object in your JSON.
- It generates an entry for events.xml, creating a new static event named after the first object in your JSON (e.g., `Static_Land_Ruin_House_2`).
- It generates a group for cfgeventgroups.xml, which lists all objects from your JSON as children, with their positions calculated relative to the first object.
Step 3: Download & Review
The complete generated XML will appear in the editor. You can review or edit it directly. Click "Download XML File" to save the content. The different parts of the XML are commented so you know which file each part belongs to.