OnCreate Extension v1.0.0.1
0 128 46

Mod OnCreate Extension v1.0.0.1 for Farming Simulator 2022


This mod allows you to use various onCreate functions with dynamic objects such as placeables. Some new custom onCreate functions have also been added. All onCreate functions can be used with maps as before, including the new ones.
If this mod is not loaded, the onCreate functions associated with the mod or map that uses them will simply be skipped. You shouldn't see errors simply because you are using a custom onCreate and this mod is not loaded.

The following features are currently implemented:
Rotator (THRotator.onCreate)
Allows you to rotate the object along the specified axis. Can be used with AnimatedObjects.
NightlightFlicker(THNightlightFlicker.onCreate)
Causes a light object to flicker randomly. You can set it to only flicker when enabled (for example, AnimatedObjects) or just enable and flicker at night.
Butterfly (THButterfly.onCreate)
Makes butterflies appear and fly when you get close to them. Butterflies move on a spline and have a "wings up" and "wings down" mesh associated with them.
Ship (THShip.onCreate)
Forces any object (not necessarily a ship) to move along a given spline. If desired, several object clones can be moved along the spline.
Firefly (THFirefly.onCreate)
The custom onCreate is used to create a firefly effect on an object. The turn-off and turn-on time can be set in a random range.

Additional features are planned for the future. These are just the ones I have completed so far. In the /placeables folder of this mod, there is an example.txt file along with a modified barn that shows how each onCreate can be used.

Credits: ThundR

Photo


Download5.1 MB


TAGS:Extension, OnCreate, V1.0.0.1

SIMILAR MODIFICATIONS

COMMENTS
avatar