ONCREATE EXTENSION V1.0.0.2

ONCREATE EXTENSION V1.0.0.1

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

Features currently implemented:
Rotator (THRotator.onCreate)
Allows rotating an object along a specified axis. Can be used with AnimatedObjects.
NightlightFlicker (THNightlightFlicker.onCreate)
Causes a light object to randomly flicker. Can be set to only flicker when turned on (i.e. AnimatedObjects) or simply turn on and flicker at night.
Butterfly (THButterfly.onCreate)
Causes butterflies to pop up and fly around 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)
Causes any object (does not have to be a ship) to move along a predefined spline. Multiple clones of the object can move around the spline if desired.
Firefly (THFirefly.onCreate)
Custom onCreate used to create a firefly effect on an object. Time off and on can be set in a range that randomly occurs.

More features are planned in the future. These are just the ones I have finished so far. There is an example.txt file in the /placeables folder of this mod along with a modified cow barn that shows how each onCreate can be used.

Changelog:

ChangeLog v1.0.0.2
ChurchClock onCreate has been added (THChurchClock.onCreate)
Updated to newer version coding style
Example placeable now enabled in-game by default

Credits:

ThundR

Download mod

File File size
zip FS22_TH_OnCreateExtension 5 MB

You may also like...

Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Crozzwell
Crozzwell
1 year ago

bruh, lol I know its just a game but if your going to put an air conditioner as a spotlight on this mod, maybe just notice that the air conditioner in the window is a condensing unit for a miniature ductless A/C aka mini-split. those go outside then refrigerant lines are piped to an indoor coil… uhh before I get too technical (Commercial HVAC tech) ill just stop lmao.

1
0
Would love your thoughts, please comment.x
()
x