Convert and spawn objects dynamically with ease using our Spawn Object Convert tool.
Locate a building or object that has entries in the mapgrouppos.xml
file you want to decorate
In the DayZ Editor, create a DZE and place your building/wreck with an RPY of 0 (zero)
Export the building and objects to a .C file - ensure the building is at the top of the list
Copy your spawn objects and paste them into this tool to generate the JSON format
Use the "Fill Building Chance" to set the probability of objects appearing in buildings
Basic structure of spawn object calls:
SpawnObject(objectName, position, rotation, chance);
// Example of multiple spawn objects
SpawnObject("Land_House_1W08", "12203.709961 143.007538 12479.150391", "0.000000 -0.000000 -0.000000", 1);
SpawnObject("StaticObj_Misc_WoodPile1", "12210.200195 143.233002 12482.625977", "-179.999985 0.000000 0.000000", 0.99999);
SpawnObject("StaticObj_Furniture_tools_racking", "12210.261719 141.036850 12481.516602", "90.000000 0.000000 0.000000", 0.999999);