Fuze95 1 Posted July 10, 2019 How to spawn animals into a specific location and increase animal population? I tried using CEeditor and replacing "env" files in mpmissions folder (DayZ Server). Also updated events.xml file. But nothing happen. same method worked for zombies but not for the animals. Please Help! Share this post Link to post Share on other sites
kidesh 3 Posted July 10, 2019 I am not 100% sure but in your type.xml you can find the animals and maybe up it there. Am still kinda new but hope this helps. <type name="Animal_BosTaurusF_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> 1 Share this post Link to post Share on other sites
Fuze95 1 Posted July 11, 2019 15 hours ago, kidesh said: I am not 100% sure but in your type.xml you can find the animals and maybe up it there. Am still kinda new but hope this helps. <type name="Animal_BosTaurusF_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> Thanks for the reply! But still not working.. There are so many files mentioning about animals. I don't no which one to edit to get animals on the server. so sad... Share this post Link to post Share on other sites
MetalHead2112 43 Posted July 11, 2019 Don't forget to change the animal max count <var name="AnimalMaxCount" type="0" value="200"/> in the globals.xml 1 Share this post Link to post Share on other sites
Fuze95 1 Posted July 11, 2019 3 minutes ago, MetalHead2112 said: Don't forget to change the animal max count <var name="AnimalMaxCount" type="0" value="200"/> in the globals.xml Yes. I have changed it to <var name="AnimalMaxCount" type="0" value="9999"/>. Share this post Link to post Share on other sites
MetalHead2112 43 Posted July 11, 2019 The value could be too high a number ? 1 Share this post Link to post Share on other sites
drgullen 597 Posted July 11, 2019 @Fuze95 Have you tried increasing the SpawnInitial value in globals.xml as well? What do you have that set to? 1 Share this post Link to post Share on other sites
Fuze95 1 Posted July 11, 2019 5 hours ago, drgullen said: @Fuze95 Have you tried increasing the SpawnInitial value in globals.xml as well? What do you have that set to? <var name="SpawnInitial" type="0" value="1200"/> Share this post Link to post Share on other sites
Lt.Master 78 Posted July 11, 2019 (edited) Hello @Fuze95 🙂 Inside you mission folder, open the folder "db" Open the file "events.xml" Look for <event name="AnimalNameOfTheAnimalHere"> Change the nominal value to something higher tweak and min and max value (size of the herd) inside the <children> you have a some "child". Tweak as well the min and max value Now open the "globals.xml" Tweak the "AnimalMaxCount" to a higher value The Env folder is not meant to tweak the number of animals in the server by the way and the "types.xml" won't change anything as well 😛 Edited July 11, 2019 by Lt.Master missing word 1 Share this post Link to post Share on other sites
drgullen 597 Posted July 11, 2019 5 hours ago, Fuze95 said: <var name="SpawnInitial" type="0" value="1200"/> I'm not 100% sure, but I believe you need to increase this value as well. Defaults are 1000 infected and 200 animals equals 1200, so I would try increasing this number much higher to see if it makes a difference. 1 Share this post Link to post Share on other sites
Fuze95 1 Posted July 11, 2019 5 hours ago, Lt.Master said: Hello @Fuze95 🙂 Inside you mission folder, open the folder "db" Open the file "events.xml" Look for <event name="AnimalNameOfTheAnimalHere"> Change the nominal value to something higher tweak and min and max value (size of the herd) inside the <children> you have a some "child". Tweak as well the min and max value Now open the "globals.xml" Tweak the "AnimalMaxCount" to a value The Env folder is not meant to tweak the number of animals in the server by the way and the "types.xml" won't change anything as well 😛 It finally worked.. Thank you so much. BTW do you know how to spawn animals into a specific location? For example, If i want to make a farm, can i spawn cattle, pigs, hen or other animal into a building or into a base? Share this post Link to post Share on other sites
Fuze95 1 Posted July 11, 2019 49 minutes ago, drgullen said: I'm not 100% sure, but I believe you need to increase this value as well. Defaults are 1000 infected and 200 animals equals 1200, so I would try increasing this number much higher to see if it makes a difference. I'll try. Thanks! Share this post Link to post Share on other sites
Lt.Master 78 Posted July 11, 2019 1 hour ago, Fuze95 said: It finally worked.. Thank you so much. BTW do you know how to spawn animals into a specific location? For example, If i want to make a farm, can i spawn cattle, pigs, hen or other animal into a building or into a base? I think I will start to write a complete guide for the CE Editor next week. Including removing/adding spawn location for players/infected/animals 🙂 It's not that easy to explain how to use a tool when you only have your phone x') 1 Share this post Link to post Share on other sites
Fuze95 1 Posted July 11, 2019 (edited) 1 hour ago, Lt.Master said: I think I will start to write a complete guide for the CE Editor next week. Including removing/adding spawn location for players/infected/animals 🙂 It's not that easy to explain how to use a tool when you only have your phone x') Thanks for your support. looking forward to see the CE editor guide. Thanks in advance! 😍 Edited July 11, 2019 by Fuze95 spelling mistake Share this post Link to post Share on other sites