Jump to content
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×