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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×