DayZ
Radioactive Animals
Wickedquick1 15 Oct, 2022 @ 11:14am
Figuring out setup for this mod
I went through the process of figuring out how to add these beauties into a server with little help and was able to pull it off
< >
Showing 1-15 of 18 comments
Wickedquick1 15 Oct, 2022 @ 11:16am 
First.

Create a new types file for the mod types

Name this file Radioactivetypes.xml


<?xml version="1.0" encoding="utf-8"?>
<types>
<type name="Radioactive_wolf_pelt">
<nominal>0</nominal>
<lifetime>10800</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="clothes" />
</type>
<type name="Radioactive_bear_pelt">
<nominal>0</nominal>
<lifetime>10800</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="clothes" />
</type>
<type name="Radioactive_bear_Meat">
<nominal>0</nominal>
<lifetime>10800</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="clothes" />
</type>
<type name="Radioactive_wolf_Meat">
<nominal>0</nominal>
<lifetime>10800</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="clothes" />
</type>
<type name="Radioactive_Bear_juggernaut">
<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="Radioactive_Bear_Beast">
<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="Radioactive_Bear_Tough">
<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="Radioactive_Wolf_juggernaut">
<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="Radioactive_Wolf_Beast">
<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="Radioactive_Wolf_Tough">
<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>
</types>
Last edited by Wickedquick1; 15 Oct, 2022 @ 11:19am
Wickedquick1 15 Oct, 2022 @ 11:18am 
Second.

Create an Events file for the mod types

Name this file RadioactiveEvents.xml

TO SPAWN ANIMALS THE EVENT NAME MUST START WITH ANIMAL

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<events>
<event name="AnimalRadioactive_Bear_juggernaut">
<nominal>1</nominal>
<min>1</min>
<max>1</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>child</limit>
<active>1</active>
<children>
<child lootmax="0" lootmin="0" max="6" min="2" type="Radioactive_Bear_juggernaut"/>
</children>
</event>
<event name="AnimalRadioactive_Bear_Beast">
<nominal>1</nominal>
<min>1</min>
<max>1</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>child</limit>
<active>1</active>
<children>
<child lootmax="0" lootmin="0" max="6" min="2" type="Radioactive_Bear_Beast"/>
</children>
</event>
<event name="AnimalRadioactive_Bear_Tough">
<nominal>1</nominal>
<min>1</min>
<max>1</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>child</limit>
<active>1</active>
<children>
<child lootmax="0" lootmin="0" max="6" min="2" type="Radioactive_Bear_Tough"/>
</children>
</event>
<event name="AnimalRadioactive_Wolf_juggernaut">
<nominal>1</nominal>
<min>1</min>
<max>1</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>child</limit>
<active>1</active>
<children>
<child lootmax="0" lootmin="0" max="6" min="2" type="Radioactive_Wolf_juggernaut"/>
</children>
</event>
<event name="AnimalRadioactive_Wolf_Beast">
<nominal>1</nominal>
<min>1</min>
<max>1</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>child</limit>
<active>1</active>
<children>
<child lootmax="0" lootmin="0" max="6" min="2" type="Radioactive_Wolf_Beast"/>
</children>
</event>
<event name="AnimalRadioactive_Wolf_Tough">
<nominal>1</nominal>
<min>1</min>
<max>1</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>child</limit>
<active>1</active>
<children>
<child lootmax="0" lootmin="0" max="6" min="2" type="Radioactive_Wolf_Tough"/>
</children>
</event>

</events>
Last edited by Wickedquick1; 15 Oct, 2022 @ 11:19am
Wickedquick1 15 Oct, 2022 @ 11:21am 
Add your new

Radiactivetypes.xml and RadioactiveEvents.xml files

to your central economy by creating a NEW FOLDER "Radioactive_ce"

it goes here

C:\Program Files (x86)\Steam\steamapps\common\DayZServer\mpmissions\empty.deerisle
Wickedquick1 15 Oct, 2022 @ 11:23am 
Add these lines to your

cfgeconomycore.xml file

<ce folder="Radioactive_ce">
<file name="RadioactiveEvents.xml" type="events" />
<file name="Radioactivetypes.xml" type="types" />
</ce>
Wickedquick1 15 Oct, 2022 @ 11:26am 
Next you must create the TERRITORIES for each.

the new files go here
C:\Program Files (x86)\Steam\steamapps\common\DayZServer\mpmissions\empty.deerisle\env

name them

radioactive_bear_territories.xml
radioactive_wolf_territories.xml


example for a bear territory

<?xml version="1.0" encoding="UTF-8"?>
<territory-type>
<territory color="2812936192">
<zone name="Graze" smin="0" smax="0" dmin="0" dmax="0" x="9613.33" z="1221.3" r="300"/>
</territory>
</territory-type>


you can have them spawn wherever you like
by changing coordinates or adding several
Wickedquick1 15 Oct, 2022 @ 11:29am 
Then in your cfgenvironment.xml

add these lines

<file path="env/radioactive_wolf_territories.xml" />
<file path="env/radioactive_bear_territories.xml" />

you can add them directly below


<file path="env/pig_territories.xml" />
Wickedquick1 15 Oct, 2022 @ 11:30am 
In the same file cfgenvironment.xml for each radioactive type you must add lines like this

example

<territory type="Herd" name="Radioactive_Bear_juggernaut" behavior="BlissBearGroupBeh">
<file usable="radioactive_bear_territories"/>
<agent type="Male" chance="1">
<spawn configName="Radioactive_Bear_juggernaut" chance="1" />
</agent>

<item name="globalCountMax" val="30" />
<item name="zoneCountMin" val="1" />
<item name="zoneCountMax" val="1" />
<item name="playerSpawnRadiusNear" val="100" />
<item name="playerSpawnRadiusFar" val="200" />
</territory>
Wickedquick1 15 Oct, 2022 @ 11:31am 
If done correctly you can have these animals spawn in on their own.

hope this helps....im no expert but finally got it working after a few days
Ph4tPigeon 19 Oct, 2022 @ 1:17pm 
Thank you for this, a great help for a noob like me!
Nuggus 28 Oct, 2022 @ 2:42pm 
Followed this, but made it a bit easier using the server's existing types and events files.

Updated existing TYPES.xml

Updated EVENTS.xml

Skipped cfgeconomycore.xml directions

Updated Territories by copying existing bear and wolf territories and renaming. This should have them spawn in place of regular bears and wolves.

Updated cfgenvironment.xml for the territory association.
Last edited by Nuggus; 28 Oct, 2022 @ 2:44pm
Wickedquick1 1 Nov, 2022 @ 6:08pm 
Thats one way to do it, but if you have several mods it congests your files. thanks for the tips though homie
DUBZ 27 May, 2023 @ 1:27pm 
so how would you word the wolf cfgenvironment.xml? like what would i replace "BlissBearGroupBeh" with is my main question.
Last edited by DUBZ; 27 May, 2023 @ 1:47pm
Wickedquick1 10 Jun, 2023 @ 12:30pm 
Originally posted by xxxDUBZYxxx:
so how would you word the wolf cfgenvironment.xml? like what would i replace "BlissBearGroupBeh" with is my main question.
Yes that would be how to do the wolves
Bastelbude 28 Jul, 2023 @ 2:16pm 
something seems to be missing there. am 1:1 the instruction followed...

[CE][AnimalRespawner] (PRIRadioactiveWolf) :: !!! Missing AI Template "HerdRadioactiveWolf" for DE: "AnimalRadioactiveWolf"
[CE][AnimalRespawner] (PRIRadioactiveBear) :: !!! Missing AI Template "HerdRadioactiveBear" for DE: "AnimalRadioactiveBear"
TH3DUCKONQUACK 5 Sep, 2023 @ 6:35pm 
i tried this maybe i did something wrong can i add your discord and send me the files?
< >
Showing 1-15 of 18 comments
Per page: 1530 50