Jump to content
  • 0

Increase number of animals that spawn


_Lance_

Question

Apparently I have a lot of digital hunters on my server and I was asked if I'd increase the animal population a bit. So I went looking for the magic sqf that makes animals spawn and I found this in dayZ_Epoch\addons\dayz_code\init\variables.sqf:

dayz_maxAnimals = 5;
dayz_animalDistance = 500;

So I copied it and added it to the top of my MISSION\dayz_code\init\variables.sqf  and set it to 10 and there was no noticeable change. I then set it to 99 (on the test server) and no change. So I then moved the code to my MISSION\custom\configVariables.sqf and set it to 99, and still nada. Does this need to be in the init.sqf with an "if=isNil" thingy? Have I found the wrong code? Any info or advice is greatly appreciated. - Oh and my apologies if this isn't the right section for this. 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
1 hour ago, JasonTM said:

There is also this variable


dayz_maxGlobalAnimals =	50;

 

Oh dang, well that would do it - geez, thanks Jason - Do you think it's better I place these in my custom variables or configVariables? or init? For now I'll test with variables and see what I get. Thanks again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...