Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.
For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms:
Discord,
Twitter/X,
Facebook.
Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!
Can you maybe share your cfgspawnabletypes.xml & cfgrandompresets.xml ? somehow I can make items spawn inside the backpack when they are on the ground (world loot spawn)
But backpacks on zombie stay empty 😞
Omg this is genius, totally understand the logic now, going to test it now, thanks so much for your reply man! really appreciate it been working to fix this for many hours now lol ❤️
Hello 😃
I've been tweaking around with loot in my server and I am currently adjusting the loot zombies drop
I found out that in cfgrandompresets I can make nice loot tables with % drops
And inside cfgspawnabletypes I can adjust what a zombie has as cargo, and which attachments it carries.
So what I did was (for testing purposes) I added a 100% chance ZmbM_priestPopSkinny will spawn with a backpack, and this worked.
Now what I am trying to do but I keep failing is add loot inside this backpack that the zombie is carrying.
My question is: How do I accomplish to get the backpack the zombie is carrying to have loot inside it ?
cfgspawnabletypes.xml :
<type name="ZmbM_priestPopSkinny">
<cargo preset="foodHermit" />
<attachments>
<item name="TaloonBag_Violet" chance="1.00">
<cargo preset="GenesisLoott" />
</item>
</attachments>
<cargo preset="testLoottt" />
<cargo preset="testLoott" />
<cargo preset="testLoot" />
</type>
The code above doesn't work but it was my attempt to get loot to spawn inside the backpack