User:AmasterAmaster/Day & Night System

From Resonite Wiki
Revision as of 06:48, 21 May 2024 by AmasterAmaster (talk | contribs) (Created a page for AmasterAmaster's Day & Night System.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
AmasterAmaster's Day And Night System
The Day And Night System by AmasterAmaster

About

Amaster's Day And Night System is a item made by AmasterAmaster. It is a simple UIX Panel with a lot of buttons that do different things in relation to Time and Day & Night Cycles. This can be used in world creation or role play scenarios that needs time as a system.

Uses

This item was created as a way to easily make a day and night cycle, rotating the sun over time to help make realism in worlds. You can also use this with skybox slots to rotate them instead of a sun slot.

How To Use

The Day & Night System is made of many different parts (lots of buttons), and each thing has a function and use.

Target Slot

This is the input field in the top left corner. While holding a slot (using the inspector) in your hand, drop it in this field and the system will focus that slot as the target for rotations.

Time And Speed Info

The text in the top center tells you what time it is and how fast the slot is rotating.

Setting Toggles

The checkboxes in the top right are used to turn the system on/off, and to set the slot rotation for only the local user (local rotation not implemented yet...).

Time Input

The buttons on the left let the user set the current time in different ways, here is what they do:

  • Set Current Time Now: This sets the current user's time into the Clock Setter
  • Set Time From Input: This sets the actual clock to whatever is in the Clock Setter, making it match that time.
  • Realtime: This sets the current user's time into the actual clock, making the target slot rotate along the same speed as the real life time.
  • Reset: This Resets the Clock Setter.

Clock Setter

In the middle there is a row of numbers and arrow buttons, this is the Clock Setter. Using the up and down arrows in each column changes the numbers in the middle (Representing Days, Hours, Minutes, Seconds, and Milliseconds respectivly). This wont actually set the time until you press the "Set Time From Input" button on the left (colored green).

World Clock

In the middle there is a world showing the time and a cycling sun and moon. This shows where the sun position is at any given moment, as well as showing the current hour around the ring.

Time Controls

To the right of the panel there are buttons that can control how fast the time goes and the rotation of the target slot. Here is what they do:

  • Reverse Time: Pressing this button will reverse the clock and the speed of the target slot's rotation.
  • Stop Time: Pressing this button will stop the clock and the speed of the target slot's rotation.
  • Advance Time: Pressing this button will advance the clock and the speed of the target slot's rotation.
  • Slow Down Time: Pressing this button will slow down the speed of the clock and the target slot's rotation.
  • Speed Up Time: Pressing this button will speed up the speed of the clock and the target slot's rotation.

Time Presets

At the bottom of the panel, there is a row of buttons, each with a different preset to set the time at. Here is what they all do:

  • Dawn: This sets the clock and target slot rotation to a dawn preset (6:00am).
  • Noon: This sets the clock and target slot rotation to a noon preset (12:00pm).
  • Dusk: This sets the clock and target slot rotation to a dusk preset (6:00pm/18:00).
  • Midnight: This sets the clock and target slot rotation to a midnight preset (12:00am/00:00).
  • +1 Hour: This adds one hour to the clock and increments the rotation accordingly.
  • -1 Hour: This removes one hour to the clock and decrements the rotation accordingly.
  • +1 Minute: This adds one minute to the clock and increments the rotation accordingly.
  • -1 Minute: This removes one minute to the clock and decrements the rotation accordingly.
  • +1 Second: This adds one second to the clock and increments the rotation accordingly.
  • -1 Second: This removes one second to the clock and decrements the rotation accordingly.