DayZ
Community-Online-Tools
Sho 2020 年 2 月 13 日 下午 6:38
Item Sets
I'm having trouble with the item sets features. I formatted my files just like the main file, however, when I try to spawn the item set, a single empty chest spawns.

Here's a gist with my file. If I understand the system properly, this should spawn a crate per 50x ammo boxes.
https://gist.github.com/Shozokui/07fa14ad4d478e712a4dfe01f5d0f4e6
最后由 Sho 编辑于; 2020 年 2 月 13 日 下午 6:39
< >
正在显示第 1 - 1 条,共 1 条留言
realPiecemaker 2020 年 7 月 6 日 上午 8:51 
Hello
You have to remove the last comma "," then it works.

Your Code:
{
"Item": "AmmoBox_9x39AP_20Rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
]
}

Working End Code:
{
"Item": "AmmoBox_9x39AP_20Rnd",
"NumberOfStacks": 50,
"StackSize": 1
}
]
}

Code Complete:
{
"Name": "Ammunition",
"ContainerClassName": "WoodenCrate",
"Items": [
{
"Item": "AmmoBox_556x45Tracer_20Rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
{
"Item": "AmmoBox_308WinTracer_20Rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
{
"Item": "AmmoBox_762x54Tracer_20Rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
{
"Item": "AmmoBox_762x39Tracer_20Rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
{
"Item": "AmmoBox_22_50Rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
{
"Item": "AmmoBox_357_20Rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
{
"Item": "AmmoBox_45ACP_25Rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
{
"Item": "AmmoBox_9x19_25Rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
{
"Item": "AmmoBox_380_35Rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
{
"Item": "AmmoBox_00buck_10rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
{
"Item": "AmmoBox_12gaSlug_10Rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
{
"Item": "AmmoBox_545x39Tracer_20Rnd",
"NumberOfStacks": 50,
"StackSize": 1
},
{
"Item": "AmmoBox_9x39AP_20Rnd",
"NumberOfStacks": 50,
"StackSize": 1
}
]
}
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50