For now i have changed the husbandryChickenLarge.xml and i changed maxNumAnimals to 1000 but it only allowes me to have 511 even in a small chicken coop if i change the max number.
Is there another file or something that controlles the amount of animals in one pen?
Animal husbandry
11 posts
Page 1 of 1
Re: Animal husbandry
Whats the max size of the Chicken in terms of area? Might be that.
-
- Posts: 8
- Joined: Sun Dec 02, 2018 9:32 pm
Re: Animal husbandry
Same here I edited the default pigsty to 1200 pigs so i could have 4x 195 pigs(all breeds) instead of building 4 pigsty.
but it let me only have 511 pigs in one pigsty..
but it let me only have 511 pigs in one pigsty..
Re: Animal husbandry
The max number of 511 is set by default.
To increase there is a fix posted here:
viewtopic.php?f=895&t=144184
With this .lua file, the max number of animals will be increased to 4096 if I remember correctly.
To load that additional .lua script you need to add following lines to the modDesc.xml of your map:
Make sure that the </modDesc> is still the last line of the modDesc.xml file.
To increase there is a fix posted here:
viewtopic.php?f=895&t=144184
With this .lua file, the max number of animals will be increased to 4096 if I remember correctly.
To load that additional .lua script you need to add following lines to the modDesc.xml of your map:
Code: Select all
<extraSourceFiles>
<sourceFile filename="ChangeMaxAnimals.lua"/>
</extraSourceFiles>
Playing on PC - Win10
Ryzen 3600
RX 5500XT
16GB Ram
How to post log file
How to upload pictures
Please report bugs for FS22 using the bugtracker
Ryzen 3600
RX 5500XT
16GB Ram
How to post log file
How to upload pictures
Please report bugs for FS22 using the bugtracker
11 posts
Page 1 of 1