Elephant Roaming V1
You need to own this item to leave a rating.
5498 Triangles, 8 animations, 4 textures, 196 kbs, cannot be scaled
Scripted Elephant. It roams around freely, automated to play a total of 7 animations (walking, idling, looking around, sniffing etc.) and driven by very few intuitive rules. 8 animations in total counting the sitting animations.
You can find a setup tutorial here:
Most importantly your terrain and floor needs to be labeled with "Terrain". It is not case sensitive so you can just add "terrain" to your floor or terrain name.
The NPC label helps the script to avoid collisions with other NPC characters. The difference compared to avoiding regular obstacles is that it will look closer and turn more immediately.
Seed, please choose a 6+ digit random number for each of your elephants. This way they will be nicely randomized.
Max Idle Time: The minimum time the deer will idle. The elephant has pretty long idle poses which will add to the idle time.
Max Move Time: Keep your elephants moving around. The move time should be a lot longer than the idle time as the walk cycles are much shorter, but you decide what you like. The times are randomized for a more natural effect.
The elephant has build in sitting animations. They get triggered when the elephant finds objects with the label "grass". The elephant will not height adjust when walking over objects labeled grass. However avatars will be raised because of the necessary collision. Therefore you want to lower the collision of your food objects to be very near the ground.
So that your animals do not walk out of the experience you can set a radius that they will attempt to stay in. This is the center of the radius used.
Max Roam Radius:
Radius to keep your elephants in. This is a soft border so that the movement of the elephant looks more natural.
Max Roam Height: The elephant adjusts to the terrain height, but having four legs certainly cannot handle steep terrain changes. The best values for your terrain height are small values. Please experiment.
The label “phantom” can be used on any object that the elephant should ignore. It will walk right through the object even if it has a collision. This can be very useful for ground plants.
Please contact either Medhue or Bagnaria in Discord if you need help with the setup or found a situation where the elephants does not work as expected.