Community Forum

Animal pasture

Forum Overview >> Scripting

CategoryScripting
Created09.07.2015 10:09


Gorgan Andrei (Unknown) 09.07.2015 10:15
Hi everyone ! So I had an idea that it would be cool to have a mod that let's you get the cows to a grass field so they can eat. But i only have 2 problems wich i can't get over :
1. How should i make a trailer in order for it to be able to carry cows
2. How to make the cows to be able to move out of their navigation mesh so i can transport them elsewhere ?
Please just confirm me if this is actualy possible or not

Best Regards Andrew

Bilbo Beutlin (BBeutlin) 09.07.2015 10:28
To make it short: not possible.
You had to write totally new scripts for the whole animal handling.

Master Saygo (Unknown) 09.08.2015 09:11
There is a way of moving cattle, but only for short distance. Open your map in GE. Have NavMesh showing. Now all you need do is make a one square NavNesh from where they are to where you want them to go. Then move any feed items to new location. Fense the new area leaving an opening for them to enter. Then place something near that opening. Something you can move or push with a tractor. They will only follow the NavMesh, so no fence needed between 2 locations. Fence is just for eye candy. Once you start the game and buy cattle, they will automatically head for water or food. once they are at new location. Then just push the placed item in a way to block exit. Cows now happy in new home. Kind of what we do with our cattle when we move them from winter pasture to summer pasture. Except we use a cattle grate to keep them at new pasture.

Dirk Peeters (Unknown) 23.08.2015 12:46
hi,
1. How should i make a trailer in order for it to be able to carry cows
the animals need to be a extra fruitType 'COW', the trailer must have all fruitTypes defined.
then you also need a Load/Unload Trigger. where to the trailers respond. This could only be used for selling or if you write your own system, that system.

2. How to make the cows to be able to move out of their navigation mesh so i can transport them elsewhere ?
Please just confirm me if this is actualy possible or not

their is no posibility to have multiply navMeshes per animalType, you can simulate a second mesh or loadingpoint by hidding the part of mesh behind a building, so the player could not see the animals walk from cowLand to cowLoad.

or

create a animated animal, trigger the animation when a player is in range, and like this again simulate the feeling that the animals walks from land to trailer, maby create a animation for the trailer also that load/unload. (this i did in fs2013 whit my cattleTrailer, only the animation is with static animals).

grts
jengske_BE



Note: Log in to post. Create a new account here.