Skip to content

TimeConfig ​

Inherits: DatabaseResource < Resource

Configuration for time flow and day/night cycle timing

Description ​

Controls how time progresses in the game. Rarely overridden per-map, but useful for special zones like time-frozen dungeons or fast-time dream sequences.

Properties ​

floatday_length_seconds86400.0
floattime_multiplier1.0
floatstarting_time8.0

Property descriptions ​

Day Length

float day_length_seconds = 86400.0 ​

Real-world seconds for a full 24-hour game day (default: 86400 = realtime 1:1) Common values: 86400 (realtime), 1440 (1 real minute = 1 game hour), 3600 (1 real hour = 1 game day)

float time_multiplier = 1.0 ​

Time speed multiplier (1.0 = normal, 2.0 = twice as fast, 0.5 = half speed, 0.0 = frozen time)

Starting Time

float starting_time = 8.0 ​

Starting time when this config is applied (in hours, 0-24)