Add initial DayZ Rat mod integration. This begins work on adding support for mods that touch the cfgenvironment.xml file.

This commit is contained in:
Daniel Ceregatti 2023-10-15 11:09:04 -07:00
parent ac0caeb45a
commit 10063f20de
5 changed files with 103 additions and 0 deletions

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<env>
<territories>
<territory type="Ambient" name="AmbientRat" behavior="DZRatGroupBeh">
<file usable="rat_territories" />
<!-- different agent types - class has to begin with AgentType:w -->
<agent type="Male" chance="1">
<spawn configName="Animal_Rat_Grey" chance="1" />
</agent>
<agent type="Female" chance="3">
<spawn configName="Animal_Rat_White" chance="10" />
</agent>
<item name="globalCountMax" val="50" />
<item name="zoneCountMin" val="1" />
<item name="zoneCountMax" val="1" />
<item name="playerSpawnRadiusNear" val="25" />
<item name="playerSpawnRadiusFar" val="75" />
</territory>
</territories>
</env>

View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<events>
<event name="AmbientRat">
<nominal>3</nominal>
<min>0</min>
<max>50</max>
<lifetime>33</lifetime>
<restock>15</restock>
<saferadius>40</saferadius>
<distanceradius>0</distanceradius>
<cleanupradius>0</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="0"/>
<position>fixed</position>
<limit>mixed</limit>
<active>1</active>
<children>
<child lootmax="0" lootmin="0" max="2" min="1" type="Animal_Rat_Grey"/>
<child lootmax="0" lootmin="0" max="4" min="1" type="Animal_Rat_White"/>
</children>
</event>
</events>

View file

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<types>
<type name="Animal_Rat_Grey">
<nominal>0</nominal>
<lifetime>1800</lifetime>
<restock>0</restock>
<min>0</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"/>
</type>
<type name="Animal_Rat_White">
<nominal>0</nominal>
<lifetime>1800</lifetime>
<restock>0</restock>
<min>0</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"/>
</type>
<type name="SkinnedRat">
<nominal>0</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>0</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="1" deloot="0"/>
<category name="food"/>
</type>
<type name="DeadRat_Grey">
<nominal>0</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>0</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="1" deloot="0"/>
<category name="food"/>
</type>
<type name="DeadRat_White">
<nominal>0</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>0</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="1" deloot="0"/>
<category name="food"/>
</type>
</types>

View file

@ -0,0 +1,5 @@
# banov, chernarus, livonia, namalsk, yiprit
TERRITORRIES=./rat_territories/chernarus/rat_territories.xml
CFGENVIRONMENT=local
TYPES=local
EVENTS=local

1
files/mods/@DayZRat Symbolic link
View file

@ -0,0 +1 @@
2950280649