Animal husbandry

Nugisepojad109
Posts: 8
Joined: Sun Dec 02, 2018 9:32 pm

Animal husbandry

Post by Nugisepojad109 »

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?
Nugisepojad109
Posts: 8
Joined: Sun Dec 02, 2018 9:32 pm

Re: Animal husbandry

Post by Nugisepojad109 »

pump
Nugisepojad109
Posts: 8
Joined: Sun Dec 02, 2018 9:32 pm

Re: Animal husbandry

Post by Nugisepojad109 »

pump
Nugisepojad109
Posts: 8
Joined: Sun Dec 02, 2018 9:32 pm

Re: Animal husbandry

Post by Nugisepojad109 »

pump
Nugisepojad109
Posts: 8
Joined: Sun Dec 02, 2018 9:32 pm

Re: Animal husbandry

Post by Nugisepojad109 »

pump
User avatar
D3nnisd
Posts: 125
Joined: Tue Dec 27, 2011 3:52 pm

Re: Animal husbandry

Post by D3nnisd »

Whats the max size of the Chicken in terms of area? Might be that.
Nugisepojad109
Posts: 8
Joined: Sun Dec 02, 2018 9:32 pm

Re: Animal husbandry

Post by Nugisepojad109 »

D3nnisd wrote: Thu Dec 13, 2018 1:54 pm Whats the max size of the Chicken in terms of area? Might be that.
The chicken pen size dosen't matter large or small pen or even cows etc. If you change maxNumAnimals to whatever it still only allows you to get 511 and then shows pen is full.
Nugisepojad109
Posts: 8
Joined: Sun Dec 02, 2018 9:32 pm

Re: Animal husbandry

Post by Nugisepojad109 »

pump
kesboer
Posts: 5
Joined: Mon Dec 06, 2010 8:31 pm

Re: Animal husbandry

Post by kesboer »

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..
Nugisepojad109
Posts: 8
Joined: Sun Dec 02, 2018 9:32 pm

Re: Animal husbandry

Post by Nugisepojad109 »

pump
Eische
Posts: 3805
Joined: Thu Oct 18, 2018 5:17 pm

Re: Animal husbandry

Post by Eische »

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:

Code: Select all

	<extraSourceFiles>
	<sourceFile filename="ChangeMaxAnimals.lua"/>
	</extraSourceFiles>
Make sure that the </modDesc> is still the last line of the modDesc.xml file.
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
Post Reply