Configure animal and zombie territories in your DayZ server using cfgenvironment.xml.
The cfgenvironment.xml file defines territories for various animal and zombie spawns in your DayZ server environment. It controls:
The configuration references several territory files that define spawn areas:
cattle_territories.xml
sheep_goat_territories.xml
red_deer_territories.xml
wolf_territories.xml
bear_territories.xml
zombie_territories.xml
<env>
<territories>
<file path="env/cattle_territories.xml" />
<file path="env/sheep_goat_territories.xml" />
<file path="env/wolf_territories.xml" />
<file path="env/bear_territories.xml" />
<file path="env/zombie_territories.xml" />
<territory type="Herd" name="Wolf" behavior="DZWolfGroupBeh">
<file usable="wolf_territories" />
</territory>
<territory type="Herd" name="Bear" behavior="BlissBearGroupBeh">
<file usable="bear_territories"/>
</territory>
<territory type="Ambient" name="AmbientHen" behavior="DZAmbientLifeGroupBeh">
<file usable="hen_territories" />
<agent type="Male" chance="1">
<spawn configName="Animal_GallusGallusDomesticus" chance="1" />
</agent>
<agent type="Female" chance="3">
<spawn configName="Animal_GallusGallusDomesticusF_Brown" chance="1" />
<spawn configName="Animal_GallusGallusDomesticusF_White" chance="20" />
</agent>
<item name="globalCountMax" val="50" />
<item name="zoneCountMin" val="1" />
<item name="zoneCountMax" val="1" />
</territory>
</territories>
</env>
Territory type (e.g., "Herd")
AI behavior class name
Maximum number of entities globally
Min/Max entities per spawn zone