Tokyo Xtreme Racer (2025)

For tutorials, see Importing custom decals into Tokyo Xtreme Racer (2025).

Dynamic Day/Night Cycle

Last update: July 17, 2025

Fully dynamic time of day.

This Lua script enables a full day/night cycle in the Ultra Dynamic Sky UE5 plugin, used by the game.

Features

  • Full 24-hour day/night cycle with realistic sunrise and sunset times reflecting the path of the sun in real-life Tokyo.
  • Adjustable simulation speed, by default configured to 30x speed (1 real second = 30 in-game seconds).
  • An option to synchronize the in-game time with the system clock.
  • “Dusk-Night-Dawn” mode, where the simulation loops only through the night.
  • Randomized clouds/fog each night.
  • Persisted time of day and weather in Parking Areas. The time resets only once the player returns to the garage.
  • An option to freeze time with Alt + F.
  • Fully compatible with manual time/weather adjustments done by Car_Killer’s Time of Day/Weather Control script.

Credits

  • Car_Killer - the original Time of Day/Weather Control script

Setup instructions

  1. Download UE4SS and extract the archive to TokyoXtremeRacer/Binaries/Win64 in the game directory. You must use the UE4SS version from this page (or at least the config file), as it’s preconfigured for TXR2025.
  2. Download Dynamic Day/Night Cycle and extract the archive to TokyoXtremeRacer/Binaries/Win64/ue4ss/Mods in the game directory. This directory was extracted from the UE4SS archive in the previous step.
  3. To adjust the configuration options, open TokyoXtremeRacer/Binaries/Win64/ue4ss/Mods/TXR_DayNightCycle\scripts\main.lua with Notepad and reconfigure the variables at the very top of the script.

Setup instructions


Download UE4SS Download Day/Night Cycle

See source on GitHub

Buy the game:

Buy on Steam

Related reads: