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  
kmiles1990

Make barrels spawn ONLY in containers

Recommended Posts

How do I make barrels spawn ONLY in containers? 

 

Right now I have this.

<type name="Barrel_Red">
        <nominal>500</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>10</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="containers"/>
        <tag name="floor" />
        <usage name="Village" />
    </type>

But it spawns the barrels EVERYWHERE. It's very annoying.

Share this post


Link to post
Share on other sites
<type name="Barrel_Red">
        <nominal>500</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>10</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="containers"/>   <!-- Catégorie d'apparition de butin - (liens vers mapgroupproto.xml)  -->
        <usage name="Industrial"/>	    <!-- Zone d'apparition Industriel -->
    </type>

 

Share this post


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

×