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

Just John_8

NewAnimalEvent

Recommended Posts

Hi everybody!
I need help, I'm confused.
I made a new animal event.
I will describe it step by step.
1.
I created the locations of the type in the env folder
env/mutantguardian_territories.xml

2.
I added the following lines to cfgenvironment.xml
<file path="env/mutantguardian_territories.xml" />
 

<territory type="Herd" name="MutantGuardian" behavior="BlissBearGroupBeh">
            <file usable="mutantguardian_territories" />
</territory>
 

3.

I created an event for her in the db / events.xml file

<event name="AnimalMutantGuardian">
        <nominal>4</nominal>
        <min>4</min>
        <max>6</max>
        <lifetime>180</lifetime>
        <restock>0</restock>
        <saferadius>200</saferadius>
        <distanceradius>0</distanceradius>
        <cleanupradius>0</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>custom</limit>
        <active>1</active>
        <children>
            <child lootmax="0" lootmin="0" max="1" min="1" type="KARP_Guardian"/>
        </children>
    </event>

I tested it and it works!
I sent the files to someone else to make their own event based on it.
Of course they fail and say it doesn't work.
I have two questions, 1. Did I make a mistake if it's good for me? 2. is there a simpler solution?
 

 

Share this post


Link to post
Share on other sites

×