Tokyo Xtreme Racer (2025)

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

Dynamic Day/Night Cycle

Last update: February 4, 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, as it contains multiple fixes essential for this mod to work that are not yet part of the mainline UE4SS.
  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: