Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

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!

Stay safe out there,
Your DayZ Team

Sign in to follow this  
John Mccalum

loot zombies

Recommended Posts

Hi everybody.
I'm looking for where to go to add loot in zombies when they die, and also in the equipment that we find. What ficghier to modify and what to put?

thank you

Share this post


Link to post
Share on other sites

I could be wrong, but i believe that's in \DayZServer\mpmissions\*YourMissionFolder*\db\events.xml

 

for example,

 <event name="InfectedPrisoner">
        <waves>0</waves>
        <nominal>50</nominal>
        <min>25</min>
        <max>100</max>
        <lifetime>3</lifetime>
        <restock>0</restock>
        <saferadius>100</saferadius>
        <distanceradius>50</distanceradius>
        <cleanupradius>100</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1" sec_spawner="0"/>
        <position>player</position>
        <limit>custom</limit>
        <active>1</active>
        <children>
            <child lootmax="5" lootmin="0" max="0" min="100" type="ZmbM_PrisonerSkinny"/>
        </children>
    </event>

 

Share this post


Link to post
Share on other sites
3 hours ago, mccalum said:

Thank you and you have to change what to loot?

Change the "lootmin" and "lootmax" to change how much spawns, not sure how to change WHAT spawns.

Share this post


Link to post
Share on other sites

\DayZServer\mpmissions\*YourMissionFolder*\cfgspawnabletypes.xml

using same from above example... you would look at this part

<children>
	<child lootmax="5" lootmin="0" max="0" min="100" type="ZmbM_PrisonerSkinny"/>
</children>

 

more importantly 'ZmbM_PrisonerSkinny', if you search for that in cfgspawnabletypes.xml

you find

<!-- Prisoner -->
<type name="ZmbM_PrisonerSkinny">
	<cargo chance="0.10">
		<item name="Rope" chance="0.14" />
	</cargo>
</type>

hope that helps :)

Edited by Zze

Share this post


Link to post
Share on other sites
Sign in to follow this  

×